/* ==========================================================================
   Страница «Доставка и оплата» по макету Delivery.dc.html: карточки цен,
   приписка про крупные композиции, способы оплаты карточками с иконкой,
   призыв рассчитать стоимость. Токены — на .delivery-page, шапка и подвал
   сайта остаются в прежнем стиле. Шрифты: Libre Caslon Text (заголовки),
   Karla (текст).
   ========================================================================== */

.delivery-page {
  --cream: #FAF3EF;
  --blush: #F8E8E8;
  --ink: #231B1B;
  --ink-soft: #796B69;
  --rose: #C25A72;
  --rose-dark: #9E4A59;
  --rose-soft: #F3D9DC;
  --gold: #2A2420;
  --gold-soft: #F3D9DC;
  --line: #E5D7D3;
  --card: #FFFFFF;
  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  /* Единый радиус сайта — как у фото на первом экране главной (18px). */
  --r-lg: 18px;
  --r-md: 18px;

  max-width: 820px;
  margin: 0 auto;
  padding: 64px 40px 96px;
  font-family: var(--sans);
  color: var(--ink);
}

.delivery-page__head { margin-bottom: 40px; }

.delivery-page__head .eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0 0 14px;
}

.delivery-page__title {
  font-family: var(--serif);
  font-size: 2.375rem;
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
}

.delivery-sec { margin-bottom: 48px; }

.delivery-sec:last-child { margin-bottom: 0; }

.delivery-sec__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 20px;
}

/* ----- Доставка: карточки цен ----- */

.delivery-prices {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.delivery-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  background: var(--card);
}

.delivery-price__label {
  font-size: 0.90625rem;
}

.delivery-price__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rose);
  white-space: nowrap;
}

.delivery-note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  background: var(--blush);
  margin: 14px 0 0;
}

/* ----- Оплата: способы ----- */

.delivery-sec__intro {
  font-size: 0.90625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.delivery-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.delivery-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  background: var(--card);
}

.delivery-method__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
}

.delivery-method__label {
  font-size: 0.84375rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ----- Призыв рассчитать стоимость ----- */

.delivery-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--rose-soft);
  border-radius: var(--r-md);
  padding: 22px;
  margin-top: 48px;
}

.delivery-cta__text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.delivery-cta__btn {
  margin-left: auto;
  flex: none;
  background: var(--rose);
  color: white;
  padding: 11px 20px;
  border-radius: var(--r-md);
  font-size: 0.84375rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease;
}

.delivery-cta__btn:hover,
.delivery-cta__btn:focus-visible {
  background: var(--rose-dark);
}

/* ---------- Телефон (≤720px) ---------- */
@media (max-width: 720px) {
  .delivery-page {
    padding: 40px 16px 64px;
  }

  .delivery-page__head { margin-bottom: 32px; }

  .delivery-page__title { font-size: 1.875rem; }

  .delivery-sec__title { font-size: 1.375rem; }

  .delivery-price { padding: 16px 18px; }

  .delivery-price__label { font-size: 0.9375rem; }

  .delivery-price__value { font-size: 1.0625rem; }

  .delivery-note,
  .delivery-sec__intro,
  .delivery-cta__text { font-size: 0.9375rem; }

  .delivery-methods {
    grid-template-columns: 1fr;
  }

  .delivery-method {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
    padding: 14px 18px;
  }

  .delivery-method__icon { flex: none; }

  .delivery-method__label { font-size: 0.9375rem; }

  .delivery-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .delivery-cta__btn {
    margin-left: 0;
    text-align: center;
    font-size: 0.9375rem;
    padding: 13px 20px;
  }
}