/* =========================================================================
   page.css — стили для информационных страниц (доставка, возврат, гид, размер)
   Единый дизайн с бордовыми акцентами в стиле Diamand Lady
   ========================================================================= */

.info-page { padding: 80px 0 100px; background: #fafaf7; min-height: 60vh; }
/* Все страницы «Важная информация» — единая широкая ширина, текст не сжимаем */
.info-page .container { max-width: 1240px; }
.guide-page .container { max-width: 1240px; }

/* ---- Hero ---- */
.info-hero { text-align: center; padding: 30px 0 50px; margin-bottom: 40px; border-bottom: 1px solid #e8e3d5; }
.info-eyebrow { font-family: 'Playfair Display', serif; font-style: italic; color: #6b1234; font-size: 14px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 18px; }
.info-title { font-family: 'Playfair Display', serif; font-size: clamp(36px, 6vw, 64px); font-weight: 400; color: #1a1a1f; line-height: 1.1; margin-bottom: 20px; }
.info-title em { font-style: italic; color: #6b1234; }
.info-lead { font-size: 19px; line-height: 1.6; color: #2a2a30; max-width: 760px; margin: 0 auto; font-weight: 300; }

/* ---- Section structure ---- */
.info-section { margin-bottom: 56px; position: relative; }
.info-section-num { font-family: 'Playfair Display', serif; font-size: 90px; line-height: 1; color: rgba(107,18,52,0.08); position: absolute; left: -20px; top: -32px; pointer-events: none; user-select: none; font-weight: 700; }
.info-h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 36px); font-weight: 400; color: #1a1a1f; margin-bottom: 22px; line-height: 1.2; position: relative; padding-bottom: 16px; }
.info-h2 em { font-style: italic; color: #6b1234; }
.info-h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background: #6b1234; }
.info-h3 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500; color: #1a1a1f; margin: 28px 0 14px; }
.info-paragraph { font-size: 16px; line-height: 1.75; color: #2a2a30; margin-bottom: 14px; }
.info-paragraph strong { color: #1a1a1f; font-weight: 600; }
.info-note { font-size: 13px; color: #6b6b6b; font-style: italic; }

/* ---- Lists ---- */
.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { position: relative; padding: 10px 0 10px 30px; line-height: 1.65; color: #2a2a30; border-bottom: 1px dashed rgba(107,18,52,0.15); }
.info-list li:last-child { border-bottom: none; }
.info-list li::before { content: '◆'; position: absolute; left: 0; top: 12px; color: #6b1234; font-size: 11px; }
.info-list li ul { list-style: none; padding: 0; }
.info-list li ul li::before { content: '·'; font-size: 18px; top: 8px; }

/* Guide page list override — left aligned (old layout) */
.guide-page .info-list { text-align: left; }
.guide-page .info-list li { text-align: left; padding: 10px 0 10px 30px; }
.guide-page .info-list li::before { position: absolute; left: 0; top: 12px; display: inline; margin-bottom: 0; font-size: 11px; }

/* ---- Callouts ---- */
.info-callout { padding: 18px 22px; border-radius: 10px; margin: 24px 0; font-size: 15px; line-height: 1.7; color: #2a2a30; text-align: center; }
.info-callout strong { color: #1a1a1f; }
.info-callout.warn { background: #fdf2f8; border-left: 4px solid #db2777; }
.info-callout.info { background: #f7edf0; border-left: 4px solid #6b1234; }
.info-callout.err { background: #fdf2f8; border-left: 4px solid #db2777; color: #831843; }
.info-callout.important { background: transparent; color: #2a2a30; border: none; padding: 18px 20px; font-size: 16px; font-style: italic; }
.info-callout.important strong { color: #6b1234; }

/* ---- Cards group ---- */
.info-card-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.info-card { background: #fff; border: 1px solid #e8e3d5; border-radius: 12px; padding: 26px 24px; transition: all 0.3s ease; }
.info-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(107,18,52,0.08); border-color: rgba(107,18,52,0.25); }
.info-card-eyebrow { font-family: 'Playfair Display', serif; font-style: italic; color: #6b1234; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #e8e3d5; }
.info-card-icon { font-size: 32px; margin-bottom: 12px; display: none; }
.info-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 500; color: #1a1a1f; margin-bottom: 10px; line-height: 1.3; }
.info-card p { font-size: 14px; line-height: 1.65; color: #4a4a50; margin-bottom: 8px; }
.info-card-block + .info-card-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid #f0ede5; }

/* ---- CTA buttons ---- */
.info-cta { text-align: center; padding: 50px 0 20px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.info-cta-inline { margin: 16px 0; }
.btn-primary-lg, .btn-secondary-lg, .btn-download {
  display: inline-block; padding: 14px 32px; font-size: 14px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; border-radius: 50px;
  transition: all 0.25s ease; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary-lg { background: #1a1a1f; color: #fff !important; }
.btn-primary-lg:hover { background: #6b1234; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(107,18,52,0.25); }
.btn-primary-lg:disabled { background: #ccc; color: #888 !important; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary-lg { background: transparent; color: #1a1a1f !important; border-color: #1a1a1f; }
.btn-secondary-lg:hover { background: #1a1a1f; color: #fff !important; }
.btn-download { background: #6b1234; color: #fff !important; padding: 12px 26px; font-size: 13px; }
.btn-download:hover { background: #8b1844; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(107,18,52,0.25); }

/* =========================================================================
   GUIDE PAGE — slider, rules, cards, hero photo
   ========================================================================= */
/* Центрируем заголовки и текст разделов гида — в стиле «Памятки по уходу» */
.guide-page .info-section { text-align: center; }
.guide-page .info-h2 { text-align: center; }
.guide-page .info-h2::after { left: 50%; transform: translateX(-50%); }
.guide-page .info-h3 { text-align: center; }
/* Все текстовые блоки разделов — одной ширины (во всю ширину страницы, как блок с правилами) */
.guide-page .info-paragraph { text-align: center; max-width: none; margin-left: 0; margin-right: 0; }
.guide-page .info-hero { text-align: center; }
/* Вводный текст в шапке (Обмен и возврат и т.п.) — на всю ширину */
.guide-page .info-hero .info-lead { max-width: none; }
/* Списки-тире: текст по центру, без маркеров-тире (аккуратно, как уход) */
.guide-page .guide-dash-list { max-width: none; margin: 16px 0 20px; }
.guide-page .guide-dash-list li { text-align: center; padding-left: 0; }
.guide-page .guide-dash-list li::before { display: none; }
/* Маркированные списки (◆) — тоже по центру, без маркера, с тонким разделителем */
.guide-page .info-list { max-width: none; margin: 16px 0 24px; }
.guide-page .info-list li { text-align: center; padding: 12px 0; }
.guide-page .info-list li::before { display: none; }

/* Hero — title + intro + numbered rules on the left, photo on the right.
   On mobile: title → intro → photo → numbered rules (grid areas reorder). */
.guide-hero-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "head img"
    "rules img";
  gap: 8px 48px;
  margin: 0 0 56px;
  align-items: start;
}
.guide-hero-head { grid-area: head; text-align: center; }
.guide-hero-head .info-title { text-align: center; margin: 0 0 22px; }
.guide-hero-head .info-lead { text-align: center; max-width: none; margin: 0 0 8px; }
.guide-hero-row .guide-rules-num { grid-area: rules; }
.guide-hero-row .guide-hero-rules-block { grid-area: rules; text-align: left; }
.guide-hero-row .guide-hero-rules-block .guide-rules-num { margin: 14px 0 0; }
.guide-hero-row .guide-hero-img-wrap { grid-area: img; align-self: stretch; }
.guide-hero-btn { margin-top: 28px; }

/* Numbered rules list (1–7) */
.guide-rules-num { list-style: none; counter-reset: r; padding: 0; margin: 0; }
.guide-rules-num li { counter-increment: r; position: relative; padding: 9px 0 9px 36px; line-height: 1.55; color: #2a2a30; font-size: 16px; }
.guide-rules-num li::before { content: counter(r) "."; position: absolute; left: 0; top: 9px; font-family: 'Playfair Display', serif; color: #6b1234; font-weight: 600; }
.guide-rules-num li em { font-style: italic; color: #6b1234; font-weight: 600; }

.guide-hero-img-wrap { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
/* Десктоп: фото на всю высоту блока (заголовок+правила), чтобы все цифры были напротив картинки */
.guide-hero-photo { margin: 0; width: 100%; height: 100%; }
.guide-hero-photo img { width: 100%; height: 100%; max-height: none; border-radius: 12px; box-shadow: 0 14px 50px rgba(0,0,0,0.12); object-fit: cover; }

/* Dash list with bold lead-in (old layout) */
.guide-dash-list { list-style: none; padding: 0; margin: 16px 0 20px; }
.guide-dash-list li { position: relative; padding: 8px 0 8px 24px; line-height: 1.75; color: #2a2a30; font-size: 16px; }
.guide-dash-list li::before { content: '–'; position: absolute; left: 0; top: 8px; color: #6b1234; }
.guide-dash-list li strong { color: #1a1a1f; font-weight: 600; }

/* Bold-italic emphasis lead line */
.guide-emph { font-weight: 600; font-style: italic; color: #1a1a1f; }

@media (max-width: 768px) {
  .guide-hero-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "img"
      "rules";
    gap: 22px;
  }
  .guide-hero-head .info-lead { margin-bottom: 0; }
  /* На мобиле заголовок и вводный текст — по центру (удобнее читать) */
  .guide-hero-head .info-title { text-align: center; }
  .guide-hero-head .info-lead { text-align: center; }
  .guide-hero-img-wrap { margin: 4px 0; }
  .guide-hero-photo { height: auto; }
  .guide-hero-photo img { max-width: 360px; height: auto; object-fit: contain; }
}

.guide-rules-section { background: #fff; padding: 40px 36px; border-radius: 14px; margin: 40px 0; border: 1px solid #e8e3d5; }
.guide-rules { list-style: none; counter-reset: rule; padding: 0; margin: 0; display: grid; gap: 14px; }
.guide-rules li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #f0ede5; line-height: 1.65; color: #2a2a30; }
.guide-rules li:last-child { border-bottom: none; }
.guide-rules li em { font-style: italic; color: #6b1234; font-weight: 600; }
.rule-num { flex-shrink: 0; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 16px; color: #6b1234; margin-right: 6px; line-height: 1.55; }

.guide-tip { background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%); border: 1px solid rgba(219,39,119,0.25); border-radius: 12px; padding: 22px 26px; margin: 24px auto; max-width: 760px; text-align: center; }
.guide-tip-label { font-family: 'Playfair Display', serif; font-style: italic; color: #db2777; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.guide-tip p { font-size: 15px; line-height: 1.7; color: #831843; margin: 0; }

.guide-checklist { list-style: none; padding: 0; margin: 0 auto; max-width: 700px; text-align: center; }
.guide-checklist li { padding: 12px 0; line-height: 1.65; color: #2a2a30; font-size: 15px; border-bottom: 1px solid rgba(107,18,52,0.1); }
.guide-checklist li:last-child { border-bottom: none; }
.guide-checklist li strong { color: #6b1234; font-weight: 600; }

.guide-eyebrow { text-align: center; font-family: 'Playfair Display', serif; font-style: italic; color: #6b1234; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 26px; }

/* Slider */
.guide-slider-section { margin: 50px 0; }
.guide-slider { position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; border-radius: 14px; box-shadow: 0 14px 50px rgba(0,0,0,0.12); background: #f0ede5; }
.slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
.slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 1px solid rgba(0,0,0,0.08); cursor: pointer; font-size: 22px; line-height: 1; color: #1a1a1f; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; z-index: 2; }
.slider-nav:hover { background: #6b1234; color: #fff; }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.55); border: none; cursor: pointer; padding: 0; transition: all 0.2s ease; }
.slider-dot.active { background: #6b1234; transform: scale(1.2); }

.guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px auto; max-width: 760px; }
.guide-card { padding: 28px 26px; background: #fff; border: 1px solid #e8e3d5; border-radius: 12px; transition: all 0.3s ease; text-align: center; }
.guide-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(107,18,52,0.08); }
.guide-card-icon { font-size: 32px; margin-bottom: 10px; }
.guide-card h3 { font-family: 'Playfair Display', serif; font-style: italic; font-size: 22px; font-weight: 500; color: #1a1a1f; margin-bottom: 10px; }
.guide-card p { font-size: 14px; line-height: 1.7; color: #4a4a50; }
.guide-card-dark { background: #1a1a1f; color: #f0ede5; border-color: #1a1a1f; }
.guide-card-dark h3 { color: #fff; }
.guide-card-dark p { color: #c0bdb2; }

/* =========================================================================
   RING-SIZE PAGE
   ========================================================================= */
/* Hero: photo left (full height), title+intro top-right, calculator bottom-right.
   Mobile: title+intro -> photo -> calculator. */
.ring-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px 50px;
  align-items: center;
  margin: 0 0 36px;
}
.ring-hero-head { text-align: center; }
.ring-hero-head .info-title { text-align: center; margin: 0 0 20px; }
.ring-hero-head .info-lead { text-align: center; max-width: none; margin: 0 auto; }
.ring-hero .ring-hero-photo { align-self: center; order: -1; }

/* Калькулятор — компактный горизонтальный бар на всю ширину */
.ring-calc-wrap { margin: 0 0 56px; }
.ring-calc-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 24px; padding: 22px 28px; text-align: left; }
.ring-calc-bar-title { text-align: left; }
.ring-calc-bar .ring-calc-eyebrow { margin: 0 0 2px; }
.ring-calc-bar .ring-calc-label { margin: 0; }
.ring-calc-bar .ring-calc-input-wrap input { width: 150px; padding: 12px 50px 12px 18px; font-size: 22px; }
.ring-calc-bar .ring-calc-arrow { font-size: 22px; }
.ring-calc-bar .ring-calc-result { padding: 10px 20px; min-width: 130px; }
.ring-calc-bar .ring-calc-result-value { font-size: 28px; }
.ring-calc-bar .ring-calc-cta { margin: 0; }
.ring-calc-bar .ring-calc-hint { flex-basis: 100%; text-align: center; margin: 2px 0 0; }
@media (max-width: 680px) {
  .ring-calc-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .ring-calc-bar-title { text-align: center; }
  .ring-calc-bar .ring-calc-arrow { display: none; }
  /* Все элементы одинаковой ширины — ровный столбик.
     max-width:none — перебиваем старое правило max-width:260px,
     из-за которого поле сужалось, а «мм» уезжал к правому краю. */
  .ring-calc-bar .ring-calc-input-wrap { width: 100%; max-width: none; }
  .ring-calc-bar .ring-calc-input-wrap input { width: 100%; max-width: none; box-sizing: border-box; text-align: center; }
  .ring-calc-bar .ring-calc-result { width: 100%; max-width: none; min-width: 0; box-sizing: border-box; }
  .ring-calc-bar .ring-calc-cta { width: 100%; box-sizing: border-box; }
}

.ring-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin: 30px 0 50px; }
.ring-hero-photo img { width: 100%; max-width: 460px; margin: 0 auto; display: block; border-radius: 12px; }

/* Дополнительные советы — карточки в ряд, заголовок по центру */
.ring-advice .info-h2 { text-align: center; }
.ring-advice .info-h2::after { left: 50%; transform: translateX(-50%); }
.ring-tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.ring-tip { background: #fff; border: 1px solid #e8e3d5; border-radius: 12px; padding: 34px 26px; text-align: center; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.ring-tip:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(107,18,52,0.08); border-color: rgba(107,18,52,0.25); }
.ring-tip p { font-size: 15px; line-height: 1.7; color: #2a2a30; margin: 0; }
.ring-tip strong { color: #6b1234; }

@media (max-width: 768px) {
  .ring-hero { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .ring-hero-head .info-title { text-align: center; }
  .ring-hero-head .info-lead { text-align: center; }
  .ring-hero .ring-hero-photo { order: 1; }
  .ring-hero-photo img { max-width: 320px; margin: 0 auto; }
}
@media (max-width: 900px) { .ring-tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ring-tips { grid-template-columns: 1fr; } }

.ring-calc-section { margin: 40px 0 60px; }
.ring-calc { background: linear-gradient(135deg, #ffffff 0%, #fafaf7 100%); border: 1px solid #e8e3d5; border-radius: 16px; padding: 40px 36px; box-shadow: 0 14px 50px rgba(0,0,0,0.06); text-align: center; }
.ring-calc-eyebrow { font-family: 'Playfair Display', serif; font-style: italic; color: #6b1234; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.ring-calc-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 38px); font-weight: 400; color: #1a1a1f; margin-bottom: 24px; }
.ring-calc-title em { font-style: italic; color: #6b1234; }
.ring-calc-label { display: block; font-size: 13px; color: #6b6b6b; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.ring-calc-row { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.ring-calc-input-wrap { position: relative; }
.ring-calc-input-wrap input { width: 200px; padding: 18px 60px 18px 22px; font-size: 26px; font-family: 'Playfair Display', serif; font-weight: 500; border: 2px solid #e8e3d5; border-radius: 10px; background: #fff; color: #1a1a1f; text-align: center; transition: all 0.25s ease; }
.ring-calc-input-wrap input:focus { outline: none; border-color: #6b1234; box-shadow: 0 0 0 4px rgba(107,18,52,0.1); }
.ring-calc-input-wrap input::-webkit-inner-spin-button { opacity: 0.4; }
.ring-calc-unit { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: #888; font-size: 16px; font-style: italic; pointer-events: none; }
.ring-calc-arrow { font-size: 28px; color: #6b1234; font-weight: 300; }
.ring-calc-result { background: #1a1a1f; color: #fff; padding: 14px 28px; border-radius: 10px; min-width: 200px; text-align: center; }
.ring-calc-result-label { display: block; font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 4px; }
.ring-calc-result-value { display: block; font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 500; line-height: 1.1; color: #fff; }
.ring-calc-cta { margin-top: 6px; }
.ring-calc-hint { margin-top: 16px; font-size: 13px; color: #6b6b6b; line-height: 1.6; }
.ring-calc-hint strong { color: #6b1234; }

.ring-step { background: #fff; border: 1px solid #e8e3d5; border-radius: 12px; padding: 26px 22px; text-align: center; position: relative; transition: all 0.3s ease; }
.ring-step:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(107,18,52,0.08); border-color: rgba(107,18,52,0.25); }
.ring-step-num { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 24px; color: #6b1234; margin: 0 0 8px; line-height: 1; }
.ring-step h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 500; color: #1a1a1f; margin-bottom: 10px; line-height: 1.3; }
.ring-step p { font-size: 13px; line-height: 1.6; color: #4a4a50; margin: 0; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 760px) {
  .info-page { padding: 50px 0 70px; }
  .info-hero { padding: 20px 0 30px; margin-bottom: 30px; }
  .info-section { margin-bottom: 38px; }
  .info-section-num { font-size: 60px; left: -8px; top: -20px; }
  .guide-rules-section { padding: 28px 22px; }
  .guide-rules li { flex-direction: row; gap: 12px; }
  .rule-num { width: 30px; height: 30px; font-size: 14px; }
  .guide-cards { grid-template-columns: 1fr; }
  .slider-nav { width: 38px; height: 38px; font-size: 18px; }
  .ring-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .ring-calc { padding: 28px 20px; }
  .ring-calc-row { gap: 12px; }
  .ring-calc-arrow { display: none; }
  .ring-calc-input-wrap input { width: 100%; max-width: 260px; }
  .ring-calc-result { width: 100%; max-width: 260px; }
  .info-cta { flex-direction: column; align-items: stretch; }
  .btn-primary-lg, .btn-secondary-lg { width: 100%; }
}




/* =========================================================================
   CARE PAGE — чередование фото/текст, заголовки и текст по центру
   ========================================================================= */
.care-page .container { max-width: 1240px; }

/* Вводный текст под заголовком */
.care-intro { text-align: center; max-width: 920px; margin: 0 auto 56px; }
.care-intro .info-lead { max-width: none; }

/* Ряд: фото с одной стороны, заголовок+текст с другой.
   Десктоп: фото сбоку (во всю высоту), заголовок над текстом.
   Мобила: заголовок -> фото -> текст. */
.care-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px; align-items: stretch; margin: 0 0 68px; }
/* Высоту задаёт ТЕКСТ; фото абсолютно заполняет колонку ровно по высоте текста */
.care-img { position: relative; }
.care-img figure { position: absolute; inset: 0; margin: 0; }
.care-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; box-shadow: 0 14px 50px rgba(0,0,0,0.12); }
.care-side { text-align: center; }
.care-side .care-h2 { margin-bottom: 18px; }
@media (max-width: 768px) {
  /* Мобила: фото обычным блоком (нет соседнего текста для высоты) */
  .care-row { grid-template-columns: 1fr; align-items: start; }
  .care-img { position: static; }
  .care-img figure { position: static; }
  .care-img img { height: auto; aspect-ratio: 4 / 5; }
  /* Фото всегда над заголовком/текстом (в т.ч. жемчуг над «Обратите внимание») */
  .care-row .care-img { order: -1; margin-bottom: 18px; }
  .care-row .care-side { order: 0; }
  /* Исключение — «Как носить»: текст с заголовком над фото */
  .care-text-first .care-img { order: 0; margin-bottom: 0; }
  .care-text-first .care-side { order: -1; margin-bottom: 18px; }
}

.care-h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 40px); font-weight: 400; color: #1a1a1f; margin: 0 0 18px; line-height: 1.15; text-align: center; }
.care-h2 em { font-style: italic; color: #6b1234; }

.care-text { text-align: center; }
.care-text p { font-size: 16px; line-height: 1.75; color: #2a2a30; margin: 0 0 14px; }
.care-text p:last-child { margin-bottom: 0; }

/* «Обратите внимание!» — на всю ширину, без фото */
.care-full { text-align: center; max-width: 1140px; margin: 0 auto 68px; }
/* Горизонтальный баннер с жемчугом — между «Как хранить» и «Обратите внимание» */
.care-banner { max-width: 1140px; margin: 0 auto 68px; }
.care-banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; border-radius: 12px; box-shadow: 0 14px 50px rgba(0,0,0,0.12); }
.care-full .care-h2 { margin-bottom: 22px; }
.care-full p { font-size: 16px; line-height: 1.75; color: #2a2a30; margin: 0 0 14px; }
.care-full p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .care-row.img-left, .care-row.img-right {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "img" "text";
    gap: 18px;
    margin-bottom: 48px;
  }
}

/* ---- Authenticity page: centered hero + steps/photo row ---- */
/* Вводный текст — на всю ширину, по центру (как нижний блок на главной) */
.auth-lead { max-width: none !important; text-align: center; margin: 0 auto; }

.auth-steps-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: stretch;          /* колонки одной высоты — ровные края */
  margin: 8px 0 0;
}
/* Левая колонка: шаги + кнопка по центру по вертикали */
.auth-steps-left { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.auth-steps-title { font-size: 17px; line-height: 1.5; color: #1a1a1f; margin: 0 0 18px; }
.auth-steps-title strong { color: #1a1a1f; font-weight: 600; }
.auth-steps-list { list-style: none; padding: 0; margin: 0 0 24px; }
.auth-steps-list li { padding: 9px 0; line-height: 1.55; color: #2a2a30; font-size: 16px; border-bottom: 1px dashed rgba(107,18,52,0.15); }
.auth-steps-list li:last-child { border-bottom: none; }
.auth-steps-left .guide-hero-btn { margin: 0; text-align: center; }

/* Картинка — той же высоты, что и блок шагов (ровные края сверху и снизу) */
.auth-img { display: flex; }
.auth-img figure { margin: 0; width: 100%; display: flex; }
.auth-img img { width: 100%; height: 100%; max-height: 540px; object-fit: cover; border-radius: 12px; box-shadow: 0 14px 50px rgba(0,0,0,0.12); }

/* Плашка — внизу, по центру, на всю ширину, с ровной чертой сверху */
.auth-callout-bottom { text-align: center; max-width: none; margin: 28px 0 8px; padding-top: 26px; border-top: 1px solid #e8e3d5; }

@media (max-width: 768px) {
  /* Мобила: текст (lead уже сверху) → картинка → шаги → кнопка */
  .auth-steps-row { display: flex; flex-direction: column; gap: 24px; align-items: stretch; }
  .auth-img { order: -1; }
  .auth-img img { height: auto; max-width: 100%; max-height: 360px; }
}

/* Care: одно фото («Как ухаживать») крупнее/шире — заполняет блок как соседние */
.care-img-fill img { aspect-ratio: 4 / 5; object-fit: cover; }

/* ---- Документы (Обмен и возврат и т.п.): текст по левому краю, заголовки по центру ---- */
.doc-page .info-hero { text-align: center; }
.doc-page .info-lead { max-width: none; text-align: center; margin: 0 auto; }
.doc-page .info-h2 { text-align: center; }
.doc-page .info-h2::after { left: 50%; transform: translateX(-50%); }
.doc-page .info-h3 { text-align: left; }
.doc-page .info-paragraph { text-align: left; max-width: none; margin-left: 0; margin-right: 0; }
.doc-page .info-list { max-width: none; }
.doc-page .info-list li { text-align: left; }

/* Перевозчики / способы оплаты — видимые значки на странице «Доставка и оплата» */
.ship-badges-title { text-align: center; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #6b6b6b; margin: 26px 0 14px; font-weight: 600; }
.ship-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 8px; }
.ship-badge { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid #e3d9cf; border-radius: 10px; background: #fff; font-size: 15px; font-weight: 600; color: #1a1a1f; box-shadow: 0 2px 8px rgba(0,0,0,0.04); min-width: 120px; }
.ship-badges.pay .ship-badge { min-width: 90px; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 6px; }
.pay-logo { width: 60px; height: 38px; border-radius: 5px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* Логотипы перевозчиков */
.carrier-logos { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; margin-bottom: 8px; }
.carrier-logo { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; height: 78px; padding: 12px 24px; background: #fff; border: 1px solid #e3d9cf; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.carrier-logo img { max-width: 120px; max-height: 34px; width: auto; height: auto; display: block; }
.carrier-logo-emblem img { max-height: 56px; max-width: 80px; }

/* Guide slider inside a section */
.guide-slider-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(107,18,52,0.12); }

/* Step grids */
.ring-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 32px; }
.ring-steps-wide { grid-template-columns: repeat(2, 1fr) !important; }
@media (max-width: 900px) { .ring-steps { grid-template-columns: repeat(2, 1fr); } .ring-steps-wide { grid-template-columns: 1fr !important; } }

/* Step photos — низкое качество, НЕ увеличиваем (без object-fit cover) */
.ring-step-photo { margin: 4px 0 14px; }
.ring-step-photo img { display: block; margin: 0 auto; max-width: 100%; height: auto; border-radius: 8px; image-rendering: auto; }

/* Точки-индикатор слайдера шагов (видны только на мобиле) */
.ring-steps-dots { display: none; }
.ring-steps-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(107,18,52,0.25); border: none; padding: 0; cursor: pointer; transition: all 0.2s ease; }
.ring-steps-dot.active { background: #6b1234; transform: scale(1.2); }

/* Мобила: шаги — вертикальным списком (без свайпа), чтобы инструкция была заметна */
@media (max-width: 768px) {
  .ring-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
  }
  .ring-steps .ring-step { width: 100%; }
  .ring-steps-dots { display: none !important; }
}
