﻿/* ═══════════════════════════════════════════════════════════════
   styles.css  —  «Вместе с рыбой»
   Общие стили: сброс, переменные, header, footer, кнопки,
   карточка товара, мини-корзина, утилиты
═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BOX MODEL ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
html, body { min-width: 0; }

/* ─── BRAND FONTS ─── */
@font-face {
  font-family: 'Pribambas';
  src: url('fonts/brand/Pribambas-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ShadowBrand';
  src: url('fonts/brand/Shadow-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CaveatBrand';
  src: url('fonts/brand/Caveat-Regular.woff2') format('woff2'),
       url('fonts/brand/Caveat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Local UI fonts keep typography identical on every page and offline preview. */
@font-face {
  font-family: 'Geologica';
  src: url('fonts/ui/Geologica-Cyrillic.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geologica';
  src: url('fonts/ui/Geologica-Latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/ui/PlayfairDisplay-Cyrillic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/ui/PlayfairDisplay-Latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/ui/PlayfairDisplay-Italic-Cyrillic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/ui/PlayfairDisplay-Italic-Latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* ─── CSS VARIABLES ─── */
:root {
  --ink:    #1a1a18;
  --cream:  #f5f0e8;
  --sand:   #e8dfc9;
  --ocean:  #1d4a5a;
  --teal:   #2d7a8a;
  --foam:   #a8d4d8;
  --gold:   #c8a44a;
  --rust:   #b85c38;
  --white:  #fdfcf8;
  --green:  #3a7a4a;
  --brand-red: #ed1c27;
  --brand-green: #034e41;
  --brand-cream: #f2e2cc;
  --muted:  rgba(26,26,24,0.55);

  --r:      2px;      /* border-radius */
  --header-h: 70px;

  --shadow-sm:  0 2px 12px rgba(29,74,90,.08);
  --shadow-md:  0 8px 32px rgba(29,74,90,.12);
  --shadow-lg:  0 16px 56px rgba(29,74,90,.16);
}

/* ─── BASE ─── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

[hidden] {
  display: none !important;
}

body {
  font-family: 'Geologica', 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--ink);
  width: 100%;
  max-width: 100%;
  padding-top: var(--header-h);
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.1;
}
h2 em, h1 em { font-style: italic; color: var(--gold); }

/* ─── SECTION LAYOUT ─── */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
}
section { padding: 5.5rem 5vw; }

.section-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: block;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--ocean);
}
.section-lead {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.65;
}
.section-action {
  text-align: center;
  margin-top: 2.5rem;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 13px 28px;
  border: none;
  border-radius: var(--r);
  font-family: 'Geologica', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

@media (max-width: 620px) {
  .product-mobile-bar.product-mobile-bar-status {
    grid-template-columns: minmax(0, 1.55fr) minmax(104px, .65fr);
  }

  .product-mobile-bar.product-mobile-bar-status .btn {
    padding-inline: .75rem;
  }

  .product-page-no-photo .product-main {
    padding-top: .75rem;
  }

  .product-page-no-photo .product-summary {
    order: 1;
  }

  .product-page-no-photo .product-gallery-large {
    order: 2;
  }

  .product-page-no-photo .product-main-photo {
    min-height: 150px !important;
  }

  .product-page-no-photo .product-main-photo > span {
    font-size: 3rem !important;
  }
}

.btn-primary { background: var(--ocean); color: var(--white); }
.btn-primary:hover { background: var(--teal); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: transparent;
  color: var(--ocean);
  border: 1.5px solid var(--ocean);
}
.btn-secondary:hover { background: var(--ocean); color: var(--white); }

.btn-wa {
  background: #25D366;
  color: #fff;
}
.btn-wa:hover { background: #1ebe57; box-shadow: 0 6px 20px rgba(37,211,102,.3); }

.btn-tg {
  background: #229ED9;
  color: #fff;
}
.btn-tg:hover { background: #1a8abf; }

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--foam);
  padding: 8px 16px;
  font-size: 0.75rem;
}
.btn-ghost:hover { background: var(--cream); }

.header-order-btn {
  padding: 8px 16px;
  font-size: 0.75rem;
}

/* ─── STATUS BADGES ─── */
.badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 1px;
  font-weight: 600;
  line-height: 1.6;
}
.badge-new   { background: var(--green); color: #fff; }
.badge-hit   { background: var(--rust);  color: #fff; }
.badge-wait  { background: rgba(0,0,0,.25); color: #fff; }
.badge-order { background: var(--gold); color: var(--ink); }

/* ─── PRODUCT CARD ─── */
.product-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
  min-width: 0;
  min-height: 372px;
  container-type: inline-size;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-card.product-card-added {
  box-shadow: 0 12px 36px rgba(200,164,74,0.24), var(--shadow-md);
  border-color: rgba(200,164,74,0.78);
}

.product-thumb {
  height: 150px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.product-card:hover .product-thumb img { transform: scale(1.04); }

.product-photo-missing {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background:
    linear-gradient(135deg, rgba(45,122,138,0.1), rgba(200,164,74,0.12)),
    var(--cream);
  color: var(--ocean);
  text-align: center;
  padding: 1rem;
}
.product-photo-missing::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(29, 74, 90, 0.12);
  pointer-events: none;
}
.product-photo-missing span {
  font-size: 2.1rem;
  line-height: 1;
}
.product-photo-missing small {
  max-width: 150px;
  font-size: 0.7rem;
  letter-spacing: 0;
  color: var(--muted);
  line-height: 1.3;
}
.product-photo-missing em {
  max-width: 100%;
  color: rgba(29, 74, 90, 0.72);
  font-family: 'Geologica', sans-serif;
  font-size: 0.62rem;
  font-style: normal;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photo-cat-ikra-krasnaya,
.photo-cat-ikra-chernaya,
.photo-cat-ikra-drugaya {
  background:
    linear-gradient(135deg, rgba(200, 164, 74, 0.18), rgba(184, 92, 56, 0.08)),
    var(--cream);
}
.photo-cat-krab,
.photo-cat-krevetki,
.photo-cat-moreprodukty {
  background:
    linear-gradient(135deg, rgba(45, 122, 138, 0.16), rgba(200, 164, 74, 0.12)),
    var(--cream);
}
.photo-cat-hk,
.photo-cat-gk,
.photo-cat-solenaya,
.photo-cat-vialenaya {
  background:
    linear-gradient(135deg, rgba(29, 74, 90, 0.13), rgba(184, 92, 56, 0.12)),
    var(--cream);
}
.photo-cat-ohlazhdennaya,
.photo-cat-zamorozhenaya,
.photo-cat-file {
  background:
    linear-gradient(135deg, rgba(168, 212, 216, 0.28), rgba(45, 122, 138, 0.1)),
    var(--cream);
}

.product-gallery {
  position: absolute;
  inset: 0;
}

.product-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.product-gallery-image:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.product-gallery-zoom {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 4px;
  background: rgba(17,59,70,.78);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
  place-items: center;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(17,59,70,.78);
  color: #fff;
  font: 700 22px/1 Arial, sans-serif;
  cursor: pointer;
  text-align: center;
  place-items: center;
  transform: translateY(-50%);
  transition: background .2s ease, opacity .2s ease;
}

.product-gallery-prev { left: 8px; }
.product-gallery-next { right: 8px; }
.product-gallery-nav:hover { background: rgba(17,59,70,.96); }

.product-gallery-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  min-width: 38px;
  padding: 4px 7px;
  border-radius: 3px;
  background: rgba(17,59,70,.82);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.product-photo-load-error {
  position: absolute;
  inset: 0;
  z-index: 4;
  height: 100%;
  padding: 0.8rem;
}
.product-photo-load-error small {
  max-width: 100%;
  color: var(--ocean);
  font-size: 0.72rem;
  font-weight: 800;
}
.product-photo-load-error em {
  max-width: 160px;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.3;
  white-space: normal;
}
.product-photo-retry {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(21,83,104,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ocean);
  box-shadow: 0 5px 14px rgba(21,83,104,.1);
  font: 800 1.15rem/1 'Geologica', sans-serif;
  cursor: pointer;
  place-items: center;
}
.product-photo-retry:hover {
  border-color: rgba(21,83,104,.42);
  background: #fff;
}
.product-photo-retry:focus-visible {
  outline: 2px solid rgba(22,139,145,.48);
  outline-offset: 2px;
}

body.product-lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  padding: 24px;
  background: rgba(7, 22, 27, .9);
  opacity: 0;
  pointer-events: none;
  place-items: center;
  transition: opacity .18s ease;
}

.product-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.product-lightbox-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1100px, 96vw);
  max-height: min(90vh, 900px);
}

.product-lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-height: 100%;
  margin: 0;
}

.product-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1100px, 96vw);
  max-height: calc(90vh - 56px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.product-lightbox-figure figcaption {
  display: flex;
  min-height: 42px;
  padding: 12px 8px 0;
  color: #fff;
  font-size: .85rem;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

.product-lightbox-title {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.product-lightbox-count {
  flex: 0 0 auto;
  color: #f2cf70;
  font-weight: 700;
}

.product-lightbox-close,
.product-lightbox-nav {
  display: grid;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 4px;
  background: rgba(17,59,70,.86);
  color: #fff;
  cursor: pointer;
  place-items: center;
}

.product-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 42px;
  height: 42px;
  font-size: 28px;
}

.product-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  font: 700 30px/1 serif;
}

.product-lightbox-prev { left: 10px; }
.product-lightbox-next { right: 10px; }

.product-lightbox-close:hover,
.product-lightbox-nav:hover {
  background: rgba(32,99,111,.98);
}

@media (max-width: 640px) {
  .product-lightbox {
    padding: 12px;
  }

  .product-lightbox-dialog {
    max-width: 96vw;
    max-height: 92vh;
  }

  .product-lightbox-image {
    max-width: 96vw;
    max-height: calc(92vh - 70px);
  }

  .product-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .product-lightbox-prev { left: 6px; }
  .product-lightbox-next { right: 6px; }

  .product-lightbox-close {
    width: 38px;
    height: 38px;
    top: 6px;
    right: 6px;
  }

  .product-lightbox-figure figcaption {
    padding-inline: 8px;
  }

  .product-lightbox-count {
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-lightbox {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   VISUAL CONCEPT: GRADIENT SOFT V1
   Isolated concept in visual-concepts/gradient-soft-v1.
═══════════════════════════════════════════════════════════════ */
:root {
  --ink: #17353d;
  --cream: #f4f6f1;
  --sand: #dce4dc;
  --ocean: #155368;
  --teal: #168b91;
  --foam: #b8e4dd;
  --gold: #d8ad45;
  --rust: #e56f5c;
  --white: #fffefa;
  --green: #3c986e;
  --muted: rgba(23,53,61,.62);
  --r: 8px;
  --shadow-sm: 0 5px 18px rgba(21,83,104,.09);
  --shadow-md: 0 14px 36px rgba(21,83,104,.14);
  --shadow-lg: 0 24px 70px rgba(21,83,104,.18);
  --gradient-main: linear-gradient(135deg, #155368 0%, #168b91 58%, #48b7aa 100%);
  --gradient-warm: linear-gradient(135deg, #e45f59 0%, #ef8b61 58%, #d8ad45 100%);
  --gradient-gold: linear-gradient(135deg, #f3cf68 0%, #d7a63d 100%);
  --gradient-soft: linear-gradient(135deg, rgba(184,228,221,.42), rgba(255,254,250,.96) 48%, rgba(244,216,163,.25));
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(72,183,170,.08), transparent 25rem),
    var(--white);
}

.btn {
  min-height: 42px;
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(21,83,104,.08);
  transition: transform .18s ease, box-shadow .22s ease, filter .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(21,83,104,.16);
}
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
}
.btn-primary:hover { background: var(--gradient-main); filter: saturate(1.08) brightness(1.04); }
.btn-secondary {
  border-color: rgba(21,83,104,.34);
  background: rgba(255,255,255,.76);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.66), 0 5px 14px rgba(21,83,104,.06);
}
.btn-secondary:hover {
  border-color: transparent;
  background: var(--gradient-main);
  color: #fff;
}
.btn-tg {
  background: linear-gradient(135deg, #168bc5, #35b4d4);
}
.btn-tg:hover { background: linear-gradient(135deg, #117dac, #2ca8ca); }
.btn-wa {
  background: linear-gradient(135deg, #1fae61, #47ce78);
}
.btn-wa:hover { background: linear-gradient(135deg, #199c55, #39bd6b); }
.btn-ghost {
  background: rgba(255,255,255,.68);
  border-color: rgba(22,139,145,.25);
}
.btn svg {
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.12));
}

.badge,
.product-meta span,
.seo-hero-note span,
.filter-btn {
  border-radius: 999px;
}
.badge-new { background: linear-gradient(135deg, #388f68, #61b981); }
.badge-hit { background: var(--gradient-warm); }
.badge-order { background: var(--gradient-gold); color: #273c3c; }
.badge-wait { background: linear-gradient(135deg, #62727a, #89979c); }

.product-card,
.seo-category-links a,
.seo-faq-item {
  border-radius: 8px;
  border-color: rgba(21,83,104,.12);
  box-shadow: 0 5px 20px rgba(21,83,104,.055);
}
.product-card {
  background: linear-gradient(180deg, #fffefa, #fff 68%);
  transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease, border-color .24s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(22,139,145,.34);
  box-shadow: 0 18px 42px rgba(21,83,104,.14);
}
.product-card { position: relative; z-index: 0; }
.product-card:hover {
  transform: translateY(-6px) scale(1.025);
  z-index: 4;
  box-shadow: 0 22px 50px rgba(21,83,104,.20);
}
.product-card:hover .product-thumb img,
.product-card:hover .product-gallery-image { transform: scale(1.12); }
.product-gallery-image { transition: transform 0.4s ease; }
@media (prefers-reduced-motion: reduce) {
  .product-card:hover { transform: none; }
  .product-card:hover .product-thumb img,
  .product-card:hover .product-gallery-image { transform: none; }
}
.product-card.product-card-focused {
  border-color: rgba(215,166,66,.62);
  box-shadow: 0 14px 34px rgba(215,166,66,.16), 0 5px 20px rgba(21,83,104,.055);
}
.product-card.product-card-focused .product-thumb::after {
  content: 'Из статьи';
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #7b5216;
  font-size: .66rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(21,83,104,.13);
}
.product-thumb {
  background: var(--gradient-soft);
}
.product-thumb img {
  transition: transform .38s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}
.product-card:hover .product-thumb img {
  transform: scale(1.035);
  filter: saturate(1.04);
}
.product-meta span {
  border-color: rgba(21,83,104,.1);
  background: linear-gradient(135deg, rgba(184,228,221,.35), rgba(255,255,255,.9));
}

.btn-cart,
.product-gallery-zoom,
.product-gallery-nav,
.product-lightbox-close,
.product-lightbox-nav {
  border-radius: 50%;
}
.btn-cart {
  width: 36px;
  height: 36px;
  border-color: rgba(22,139,145,.22);
  background: linear-gradient(145deg, #fff, #edf7f4);
  box-shadow: 0 5px 13px rgba(21,83,104,.1);
}
.btn-cart:hover {
  color: #fff;
  border-color: transparent;
  background: var(--gradient-main);
}
.btn-cart.in-cart {
  border-color: transparent;
  background: var(--gradient-warm);
  box-shadow: 0 8px 20px rgba(229,111,92,.3);
}
.product-name-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-name-link:hover { color: var(--teal); }
.btn-product-details {
  padding: 8px 9px;
  border: 1px solid var(--sand);
  border-radius: var(--r);
  color: var(--ocean);
  background: var(--white);
  font-size: .66rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.btn-product-details:hover { border-color: var(--teal); color: var(--teal); }
.btn-order-tg,
.btn-order-wa {
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(21,83,104,.1);
}
.btn-order-tg { background: linear-gradient(135deg, #168bc5, #35b4d4); }
.btn-order-wa { background: linear-gradient(135deg, #1fae61, #47ce78); }

#site-header {
  border-bottom-color: rgba(21,83,104,.09);
  background: rgba(255,254,250,.9);
}
#site-header.scrolled {
  background: rgba(255,254,250,.96);
  box-shadow: 0 12px 36px rgba(21,83,104,.12);
}
.header-logo-img {
  box-shadow: 0 4px 14px rgba(21,83,104,.16);
}
#cart-toggle {
  min-height: 40px;
  border-radius: 999px;
  border-color: rgba(21,83,104,.16);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(184,228,221,.34));
  box-shadow: 0 5px 16px rgba(21,83,104,.08);
}
#cart-toggle:hover {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
}
#cart-count {
  background: var(--gradient-warm);
  box-shadow: 0 4px 10px rgba(229,111,92,.3);
}
.header-cart-icon {
  display: inline-grid !important;
  width: 18px;
  height: 18px;
  place-items: center;
}
.header-cart-icon svg,
.mobile-home-action svg,
.mobile-phone-action svg,
.mobile-map-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-home-action,
.mobile-phone-action,
.mobile-map-action {
  display: none;
}
.burger {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fff, #edf7f4);
  border: 1px solid rgba(21,83,104,.14);
  box-shadow: 0 5px 15px rgba(21,83,104,.08);
}
.burger span {
  width: 19px;
  background: var(--ocean);
}
.mobile-nav {
  border-radius: 0 0 8px 8px;
  background: rgba(255,254,250,.98);
}

.seo-order-steps > div {
  border-radius: 8px;
  background: var(--gradient-soft);
  border-color: rgba(21,83,104,.12);
}
.seo-order-steps b {
  border-radius: 50%;
  background: var(--gradient-main);
  box-shadow: 0 5px 13px rgba(21,83,104,.18);
}
.seo-category-links a:hover {
  border-color: rgba(22,139,145,.34);
  box-shadow: 0 16px 32px rgba(21,83,104,.11);
}
.seo-cta-band {
  background: linear-gradient(135deg, #103e50, #176d75 58%, #3c8c79);
}

@media (max-width: 560px) {
  #site-header {
    display: grid;
    grid-template-columns: minmax(38px, 1fr) 42px 42px 42px 42px;
    gap: .42rem;
    padding-inline: 12px;
  }
  #site-header:not(:has(.cart-btn-wrap)) {
    grid-template-columns: minmax(38px, 1fr) 42px 42px 42px;
  }
  .header-logo {
    width: 38px;
    min-width: 38px;
    overflow: visible;
    font-size: 0;
  }
  .header-logo-img {
    width: 36px;
    height: 36px;
  }
  .mobile-phone-action,
  .mobile-map-action {
    display: inline-grid;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(21,83,104,.14);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #edf7f4);
    color: var(--ocean);
    box-shadow: 0 5px 15px rgba(21,83,104,.08);
    place-items: center;
  }
  .mobile-phone-action span,
  .mobile-map-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .header-actions {
    display: contents;
  }
  .cart-btn-wrap {
    display: block !important;
    width: 42px;
    height: 42px;
  }
  body.mobile-actions-visible #site-header .cart-btn-wrap {
    display: block !important;
  }
  #cart-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
  }
  #cart-toggle > svg:not(.header-cart-icon svg) {
    display: none;
  }
  #cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
  }
  .burger {
    display: flex;
  }
  .mobile-quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .mobile-quick-actions .mobile-cart-action {
    display: none !important;
  }
}

/* ─── HOMEPAGE INTRO: LIGHTWEIGHT FISH WHIRLPOOL ─── */
.site-intro-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 43%, rgba(168, 212, 216, .28), transparent 34%),
    var(--white);
  color: var(--ocean);
  opacity: 1;
  transition: opacity 360ms cubic-bezier(.4, 0, .2, 1);
  contain: layout paint style;
  will-change: opacity;
}
html.vsr-loader-active {
  overflow: hidden;
}
html.vsr-loader-active .site-intro-loader {
  display: grid;
}
.site-intro-loader.is-leaving {
  opacity: 0;
  pointer-events: none;
}
.site-intro-loader__inner {
  display: grid;
  justify-items: center;
  width: min(100%, 360px);
  text-align: center;
}
.site-intro-loader__brand {
  margin: 0 0 12px;
  color: var(--ocean);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: .01em;
}
.site-intro-loader__water {
  position: relative;
  width: 220px;
  height: 114px;
}
.site-intro-loader__fish {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 28px;
  offset-rotate: auto;
  offset-anchor: center;
  color: var(--teal);
  will-change: offset-distance, transform, opacity;
}
.site-intro-loader__fish svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.site-intro-loader__fish--lead {
  offset-path: path("M 110 7 C 162 7 205 29 205 57 C 205 85 162 107 110 107 C 58 107 15 85 15 57 C 15 29 58 7 110 7 Z");
  animation:
    site-intro-orbit 4.8s linear infinite,
    site-intro-depth-lead 4.8s cubic-bezier(.45, .05, .55, .95) infinite;
}
.site-intro-loader__fish--follow {
  width: 44px;
  height: 26px;
  color: var(--gold);
  offset-path: path("M 110 20 C 151 20 184 37 184 57 C 184 77 151 94 110 94 C 69 94 36 77 36 57 C 36 37 69 20 110 20 Z");
  animation:
    site-intro-orbit 4.8s linear -2.4s infinite,
    site-intro-depth-follow 4.8s cubic-bezier(.45, .05, .55, .95) -2.4s infinite;
}
.site-intro-loader__tail {
  transform-box: fill-box;
  transform-origin: right center;
  animation: site-intro-tail 460ms ease-in-out infinite alternate;
}
.site-intro-loader__fish--follow .site-intro-loader__tail {
  animation-delay: -230ms;
}
.site-intro-loader__fish::before,
.site-intro-loader__fish::after {
  content: '';
  position: absolute;
  left: -4px;
  top: 13px;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: site-intro-bubble 1.25s ease-out infinite;
}
.site-intro-loader__fish::after {
  left: -10px;
  top: 5px;
  width: 3px;
  height: 3px;
  animation-delay: -580ms;
}
.site-intro-loader__vortex {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 48px;
  transform: translate(-50%, -50%);
}
.site-intro-loader__vortex i {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(45, 122, 138, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: site-intro-vortex 2.7s cubic-bezier(.4, 0, .2, 1) infinite;
}
.site-intro-loader__vortex i:nth-child(2) { animation-delay: -.9s; }
.site-intro-loader__vortex i:nth-child(3) { animation-delay: -1.8s; }
.site-intro-loader__phrase {
  min-height: 1.55em;
  margin: 12px 0 0;
  color: rgba(29, 74, 90, .78);
  font-family: 'Geologica', sans-serif;
  font-size: clamp(.88rem, 3.2vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .025em;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 180ms cubic-bezier(.4, 0, .2, 1);
}
.site-intro-loader__phrase.is-changing {
  opacity: 0;
  transform: translateY(4px);
}
.site-intro-loader__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes site-intro-orbit {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
@keyframes site-intro-depth-lead {
  0%, 100% { transform: scale(.86); opacity: .66; }
  25%, 75% { transform: scale(.97); opacity: .86; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes site-intro-depth-follow {
  0%, 100% { transform: scale(.78); opacity: .58; }
  25%, 75% { transform: scale(.9); opacity: .8; }
  50% { transform: scale(1); opacity: .94; }
}
@keyframes site-intro-tail {
  from { transform: rotate(-8deg) scaleX(.92); }
  to { transform: rotate(8deg) scaleX(1.05); }
}
@keyframes site-intro-bubble {
  0%, 18% { transform: translate(4px, 3px) scale(.45); opacity: 0; }
  38% { opacity: .4; }
  100% { transform: translate(-13px, -15px) scale(1.05); opacity: 0; }
}
@keyframes site-intro-vortex {
  0% { width: 16px; height: 8px; opacity: 0; }
  24% { opacity: .7; }
  100% { width: 86px; height: 48px; opacity: 0; }
}

.cart-actions #cart-tg-btn,
.cart-actions #cart-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  letter-spacing: 0;
}
.cart-channel-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .product-card,
  .product-thumb img,
  .btn-cart {
    transition: none;
  }
  .btn:hover,
  .product-card:hover,
  .product-card:hover .product-thumb img {
    transform: none;
  }
}

.product-thumb .badge {
  position: absolute;
  top: 8px; left: 8px;
}

.product-body {
  padding: 0.95rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-name {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ocean);
  line-height: 1.4;
  flex: 1;
  min-height: 2.35em;
  margin-bottom: 0.6rem;
  overflow-wrap: anywhere;
}
.product-origin {
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}
.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  background: var(--cream);
  border: 1px solid var(--sand);
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.35;
}

.product-meta span:not(:first-child) {
  color: rgba(20,57,67,.7);
}
.product-meta span:first-child {
  color: var(--ocean);
}
.product-desc {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.5;
  margin: -0.1rem 0 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.15em;
}
.product-usecase {
  margin: -0.18rem 0 0.65rem;
  color: rgba(29,74,90,0.78);
  font-size: 0.66rem;
  line-height: 1.45;
}
.product-usecase strong {
  color: var(--ocean);
  font-weight: 700;
}

.product-footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 0.7rem;
  margin-top: auto;
  min-width: 0;
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--ocean);
  white-space: nowrap;
  line-height: 1.2;
}
.product-price-unit {
  font-size: 0.65rem;
  color: var(--muted);
  font-family: 'Geologica', sans-serif;
  font-weight: 400;
  display: block;
}
.product-price.na {
  font-size: 0.72rem;
  font-family: 'Geologica', sans-serif;
  color: var(--muted);
  font-style: italic;
}

.product-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.product-card-qty {
  height: 34px;
  min-width: 92px;
  display: grid;
  grid-template-columns: 25px minmax(38px, 1fr) 25px;
  align-items: stretch;
  border: 1px solid rgba(29,74,90,0.16);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  flex: 0 0 auto;
}
.product-card-qty-btn {
  border: 0;
  background: rgba(29,74,90,0.05);
  color: var(--ocean);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.product-card-qty-btn:hover {
  background: var(--ocean);
  color: var(--white);
}
.product-card-qty-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 34px;
  white-space: nowrap;
}
.product-card-qty-value small {
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 600;
  line-height: 1;
  transform: translateY(0.5px);
}
.btn-cart {
  width: auto;
  min-width: 76px;
  height: 34px;
  padding: 0 8px;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #e56f5c 0%, #d0533a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-cart:hover {
  filter: saturate(1.08) brightness(1.06);
  box-shadow: 0 7px 18px rgba(213,84,48,0.28);
}
.btn-cart:active { transform: translateY(1px) scale(0.98); }
.btn-cart.in-cart {
  background: linear-gradient(135deg, #46a07a 0%, #2f7d59 100%);
  border-color: transparent;
  color: #fff;
  animation: cart-pop 0.28s ease;
}
.btn-cart-label {
  line-height: 1;
  white-space: nowrap;
}
.btn-cart-weight {
  min-width: 92px;
  background: linear-gradient(135deg, #e56f5c 0%, #d0533a 100%);
  border-color: transparent;
  color: var(--white);
}
.btn-cart-weight:hover {
  filter: saturate(1.08) brightness(1.06);
}
.btn-cart-icon {
  width: 14px;
  height: 14px;
  aspect-ratio: 1;
  flex: 0 0 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-actions-with-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.product-actions-weight,
.product-actions-quantity {
  display: grid;
  grid-template-columns: minmax(92px, 0.78fr) minmax(92px, 1fr);
}
.product-actions-weight.product-actions-with-details .btn-product-details,
.product-actions-quantity.product-actions-with-details .btn-product-details {
  grid-column: 1 / -1;
}
.product-actions-with-details .btn-product-details {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-actions-with-details .btn-cart {
  min-width: 76px;
}
.product-actions-with-details .btn-order-tg,
.product-actions-with-details .btn-order-wa {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 34px;
}
.product-actions-unavailable .btn-order-tg {
  width: 100%;
  flex: 1 1 100%;
}

/* ─── Карточка: компоновка действий (вариант B) ─── */
.product-actions-v2 {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.product-actions-v2 .pf2-qtyrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.product-actions-v2 .product-card-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 20px;
  margin: 0;
  padding: 0 2px;
  font-size: 0.8rem;
  line-height: 1.25;
}
.product-actions-v2 .product-card-total small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.3;
}
.product-actions-v2 .product-card-total span {
  flex: 0 0 auto;
  color: var(--ocean);
  font-weight: 800;
  white-space: nowrap;
}
.pf2-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pf2-buttons.pf2-buttons-single {
  grid-template-columns: 1fr;
}
.pf2-buttons .btn-product-details {
  width: 100%;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-sizing: border-box;
}
.pf2-buttons .btn-cart-weight {
  width: 100%;
  min-width: 0;
}
.pf2-buttons .btn-order-tg,
.pf2-buttons .btn-order-wa,
.pf2-buttons .btn-order-notify {
  width: 100%;
}

.product-actions-unavailable .pf2-buttons {
  grid-template-columns: minmax(0, 1fr);
}
.product-actions-unavailable .btn-product-details,
.product-actions-unavailable .btn-order-notify {
  grid-column: 1;
  width: 100%;
}
.product-actions-unavailable .btn-order-notify {
  min-height: 38px;
  padding: 7px 10px;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.btn-order-wa,
.btn-order-tg {
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: #25D366;
  padding: 9px 10px;
  border-radius: var(--r);
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s, transform 0.15s;
}
.btn-order-wa:hover { background: #1ebe57; transform: translateY(-1px); }
.btn-order-tg { background: #229ED9; }
.btn-order-tg:hover { background: #1a8abf; transform: translateY(-1px); }
.btn-order-notify {
  background: rgba(29,74,90,0.08);
  color: var(--ocean);
  border: 1px solid rgba(29,74,90,0.18);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0 10px;
  min-height: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-order-notify:hover {
  background: var(--ocean);
  color: var(--white);
}

/* ─── MINI CART ─── */
.cart-btn-wrap {
  position: relative;
}
#cart-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream);
  border: 1.5px solid var(--sand);
  border-radius: var(--r);
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ocean);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
#cart-toggle:hover { background: var(--sand); }
#cart-toggle:active { transform: translateY(1px) scale(0.99); }
#cart-count {
  background: var(--rust);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  display: none;
}
#cart-count.has-items { display: inline-flex; }

.floating-cart-action {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 275;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid rgba(200,164,74,0.72);
  border-radius: var(--r);
  background: var(--ocean);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(29,74,90,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.floating-cart-action.has-items {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: cart-pop 0.28s ease;
}
.floating-cart-action:hover {
  box-shadow: 0 18px 42px rgba(29,74,90,0.26);
  transform: translateY(-1px);
}
.floating-cart-action:active {
  transform: translateY(1px) scale(0.99);
}
.scroll-top-action {
  position: fixed;
  right: clamp(14px, 2.6vw, 30px);
  bottom: clamp(78px, 8vw, 104px);
  z-index: 255;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-width: 46px;
  height: 46px;
  padding: 0 0.82rem;
  border: 1px solid rgba(242,226,204,0.7);
  border-radius: 999px;
  background: rgba(29,74,90,0.92);
  color: var(--brand-cream);
  font: 800 0.68rem/1 'Geologica', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(29,74,90,0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease, background 0.18s ease;
}
.scroll-top-action.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-action:hover { background: rgba(13,35,43,0.96); }
.scroll-top-action:active { transform: translateY(1px) scale(0.98); }
.scroll-top-icon {
  font-size: 1rem;
  line-height: 1;
}
.floating-cart-icon {
  font-size: 1rem;
  line-height: 1;
}
.floating-cart-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.floating-cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ocean);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 22px;
}
.cart-flight-token {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 320;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(253,252,248,0.96);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.95), rgba(200,164,74,0.94) 58%, rgba(184,92,56,0.92));
  color: var(--ocean);
  box-shadow:
    0 10px 28px rgba(13,35,43,0.3),
    0 0 0 7px rgba(200,164,74,0.16);
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
  will-change: transform, opacity;
}
.cart-flight-token img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-target-catch {
  animation: cart-catch 0.42s cubic-bezier(.2,.82,.2,1);
}
.cart-added-notice {
  position: fixed;
  right: clamp(14px, 2.6vw, 30px);
  bottom: clamp(132px, 11vw, 158px);
  z-index: 480;
  width: min(390px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem;
  border: 1px solid rgba(200,164,74,0.7);
  border-radius: 14px;
  background: rgba(253,252,248,0.98);
  color: var(--ocean);
  box-shadow: 0 18px 48px rgba(13,35,43,0.22);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.24s ease, transform 0.34s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.cart-added-notice.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cart-added-notice-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-green);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
}
.cart-added-notice-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}
.cart-added-notice-copy strong {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cart-added-notice-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-added-notice button {
  min-height: 36px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--ocean);
  color: var(--white);
  font: 800 0.65rem/1 'Geologica', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#cart-panel {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 360px; max-width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 40px rgba(0,0,0,.14);
  z-index: 500;
  flex-direction: column;
  overflow: hidden;
}
#cart-panel.open { display: flex; }

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 499;
  backdrop-filter: blur(2px);
}
.cart-overlay.open { display: block; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--sand);
}
.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--ocean);
}
.cart-close {
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.cart-close:hover { color: var(--ink); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  text-align: center;
  padding: 2.4rem 0;
  color: var(--muted);
}
.cart-empty-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--sand);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ocean);
  font-size: 1.8rem;
  line-height: 1;
}
.cart-empty-title {
  margin-bottom: 0.45rem;
  color: var(--ocean);
  font-weight: 700;
}
.cart-empty p {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.cart-empty-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.cart-empty-actions .btn {
  width: 100%;
  justify-content: center;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sand);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-emoji {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item-emoji-photo { background: var(--sand); }
.cart-item-emoji img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-empty-icon {
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.cart-empty-icon:hover {
  background: var(--teal);
  color: #fff;
  transform: scale(1.06);
}
.product-back-link {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.6rem 5vw;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ocean);
  text-decoration: none;
  background: rgba(255, 254, 250, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(21, 83, 104, 0.08);
}
.product-back-link:hover { color: var(--teal); }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 0.35rem;
  align-items: start;
  margin-bottom: 0.25rem;
}
.cart-item-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ocean);
  line-height: 1.35;
}
.cart-remove-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--sand);
  border-radius: 3px;
  background: var(--white);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.cart-remove-btn:hover {
  color: var(--rust);
  border-color: rgba(178, 84, 48, 0.35);
  background: var(--cream);
}
.cart-item-qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.cart-qty-btn {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--sand);
  border-radius: 2px;
  background: var(--white);
  color: var(--ocean);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.12s;
}
.cart-qty-btn:hover { background: var(--sand); }
.cart-qty-btn-remove {
  border-color: rgba(229,111,92,0.45);
  color: #c2553f;
}
.cart-qty-btn-remove:hover { background: rgba(229,111,92,0.12); }
.cart-item-qty {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ocean);
  min-width: 20px;
  text-align: center;
}
.cart-item-step {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}
.cart-item-price {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ocean);
  white-space: nowrap;
}

.cart-footer {
  border-top: 1px solid var(--sand);
  padding: 1.25rem 1.5rem;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cart-total-label { font-size: 0.85rem; color: var(--muted); }
.cart-total-sum {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--ocean);
}
.cart-unknown-price-note {
  margin: -0.45rem 0 1rem;
  padding: 0.65rem 0.75rem;
  border-left: 3px solid var(--gold);
  background: rgba(200,164,74,0.08);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}
.cart-unknown-price-note[hidden] { display: none; }
.cart-discount {
  margin: -0.45rem 0 1rem;
  padding: 0.55rem 0.75rem 0.65rem;
  border: 1px dashed rgba(200,164,74,0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(200,164,74,0.12), rgba(200,164,74,0.03));
}
.cart-discount[hidden] { display: none; }
.cart-discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(200,164,74,0.45);
}
.cart-discount-label {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--ocean);
}
.cart-discount-label small { color: var(--muted); font-size: 0.7rem; }
.cart-discount-label b { font-weight: 700; letter-spacing: 0.02em; }
.cart-discount-minus {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  white-space: nowrap;
}
.cart-final-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 0.55rem;
}
.cart-final-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.cart-final-sum {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ocean);
  white-space: nowrap;
}
.cart-next-tier {
  margin: 0.65rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(200,164,74,0.45);
  color: var(--ocean);
  font-size: 0.77rem;
  line-height: 1.45;
}
.cart-next-tier strong { color: var(--ink); }
.cart-delivery-separate { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.7rem; }
.cart-promo {
  border: 1px solid var(--sand);
  background: var(--cream);
  padding: 0.75rem;
  margin: 0 0 1rem;
}
.cart-promo label {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.cart-promo-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}
.cart-promo input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--sand);
  background: var(--white);
  color: var(--ocean);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.65rem;
}
.cart-promo-field span {
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--teal);
}
.cart-promo.is-collapsible {
  border: 0;
  background: none;
  padding: 0;
  margin-bottom: 0.75rem;
}
.cart-promo-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  color: var(--ocean);
  font-size: 0.875rem;
  cursor: pointer;
  list-style: none;
}
.cart-promo-disclosure summary::-webkit-details-marker { display: none; }
.cart-promo-disclosure summary span { min-width: 0; overflow-wrap: anywhere; }
.cart-promo-disclosure summary svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-promo-disclosure[open] summary svg { transform: rotate(180deg); }
.cart-promo-panel { padding: 0.25rem 0 0.5rem; }
.cart-promo-panel label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.cart-promo.is-collapsible input { min-height: 44px; font-size: 1rem; }
.cart-promo.is-collapsible #cart-promo-apply {
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border: 0;
  border-radius: 8px;
  background: var(--ocean);
  color: var(--white);
  font: inherit;
  font-size: 0.875rem;
}
.cart-promo.is-collapsible #cart-promo-apply:disabled { opacity: 0.65; cursor: wait; }
.cart-promo.is-collapsible > .cart-promo-status {
  display: block;
  margin: 0.25rem 0 0;
  font-size: 0.875rem !important;
  line-height: 1.45;
  overflow-wrap: anywhere;
  color: var(--ocean) !important;
}
.cart-promo.is-collapsible > .cart-promo-status[hidden] { display: none; }
.cart-promo-disclosure summary:focus-visible,
.cart-promo.is-collapsible input:focus-visible,
.cart-promo.is-collapsible button:focus-visible,
#cart-footer .cart-actions .btn:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 3px;
}
.cart-checkout-entry {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
}
.cart-checkout-entry[hidden] { display: none; }
.cart-checkout-button {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  gap: 0.55rem;
}
.cart-checkout-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-checkout-entry > p {
  margin: 0;
  color: var(--ocean);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
}
.cart-order-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.cart-order-success-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 1.25rem;
  font-weight: 800;
}

.checkout-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 540;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 37, 47, 0.58);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.checkout-overlay.open { display: flex; }
.checkout-dialog {
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  max-height: min(820px, calc(100dvh - 48px));
  padding: 0;
  overflow: hidden;
  color: var(--ocean);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(4, 33, 44, 0.3);
}
.checkout-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 0.75rem;
  align-items: center;
  min-height: 76px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(21, 83, 104, 0.12);
  background: rgba(253, 252, 248, 0.98);
}
.checkout-header > div { min-width: 0; text-align: center; }
.checkout-header .checkout-back[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}
.checkout-header span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.checkout-header h2 {
  margin: 0;
  color: var(--ocean);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: 0;
}
.checkout-icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(21, 83, 104, 0.16);
  border-radius: 50%;
  color: var(--ocean);
  background: var(--white);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.checkout-icon-button:hover {
  border-color: rgba(35, 138, 160, 0.38);
  background: rgba(35, 138, 160, 0.08);
}
.checkout-icon-button:active { transform: scale(0.96); }
.checkout-icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  min-height: 0;
  overflow-y: auto;
}
.checkout-form {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
  padding: 1.35rem 1.5rem 1.5rem;
}
.checkout-section {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(21, 83, 104, 0.11);
}
.checkout-section-heading > span,
.checkout-fieldset legend {
  color: var(--ocean);
  font-size: 0.88rem;
  font-weight: 800;
}
.checkout-section-heading > p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}
.checkout-fulfillment-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
}
.checkout-fulfillment-section .checkout-delivery-fields,
.checkout-fulfillment-section .checkout-pickup-note,
.checkout-fulfillment-section .checkout-date-fields,
.checkout-fulfillment-section .checkout-time-help {
  grid-column: 1 / -1;
}
.checkout-fields {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}
.checkout-fields-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-date-fields { grid-template-columns: minmax(180px, 0.82fr) minmax(260px, 1.18fr); }
.checkout-date-fields.has-other-date { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkout-date-fields.has-other-date .checkout-time-field { grid-column: 1 / -1; }
.checkout-preferences-section .checkout-fields-two {
  grid-template-columns: minmax(320px, 1.35fr) minmax(210px, 0.85fr);
}
.checkout-details {
  overflow: hidden;
  border: 1px solid rgba(21, 83, 104, 0.15);
  border-radius: 8px;
  background: rgba(21, 83, 104, 0.025);
}
.checkout-details summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 2.65rem 0.75rem 0.9rem;
  color: var(--ocean);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.checkout-details summary::-webkit-details-marker { display: none; }
.checkout-details summary::after {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: '';
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.16s ease;
}
.checkout-details[open] summary::after { transform: translateY(-35%) rotate(225deg); }
.checkout-details summary small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}
.checkout-details-body {
  display: grid;
  gap: 0.9rem;
  padding: 0.15rem 0.9rem 0.95rem;
  border-top: 1px solid rgba(21, 83, 104, 0.09);
}
.checkout-details .checkout-date-fields { padding-top: 0.85rem; }
.checkout-field {
  display: grid;
  align-content: start;
  gap: 0.38rem;
  min-width: 0;
}
.checkout-field[hidden] { display: none; }
.checkout-field-wide { grid-column: 1 / -1; }
.checkout-field > span {
  color: var(--ocean);
  font-size: 0.75rem;
  font-weight: 700;
}
.checkout-field > span b { color: var(--rust); }
.checkout-field > span small { color: var(--muted); font-weight: 400; }
.checkout-field-hint,
.lead-field-hint {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.45;
}
.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(21, 83, 104, 0.2);
  border-radius: 8px;
  color: var(--ocean);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(21, 83, 104, 0.04);
  font: inherit;
  font-size: 0.9rem;
  letter-spacing: 0;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.checkout-field select {
  padding-right: 34px;
  cursor: pointer;
}
.checkout-field textarea {
  min-height: 78px;
  resize: vertical;
}
.checkout-field textarea[name="address"] {
  min-height: 72px;
  max-height: 144px;
  line-height: 1.45;
}
.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
  outline: 0;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(35, 138, 160, 0.14);
}
.checkout-field input.invalid,
.checkout-field select.invalid,
.checkout-field textarea.invalid {
  border-color: var(--rust);
  background: #fff8f5;
}
.checkout-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.checkout-fieldset legend { margin-bottom: 0.6rem; }
.checkout-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.checkout-segmented label { position: relative; min-width: 0; }
.checkout-segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.checkout-segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(21, 83, 104, 0.18);
  border-radius: 8px;
  color: var(--ocean);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.checkout-segmented input:checked + span {
  border-color: rgba(35, 138, 160, 0.44);
  background: linear-gradient(135deg, #f4fbf9, #e5f5ef);
  box-shadow: 0 3px 12px rgba(21, 83, 104, 0.08);
}
.checkout-segmented input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(35, 138, 160, 0.17);
}
.checkout-pickup-note,
.checkout-delivery-fields {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 0.9rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(200, 164, 74, 0.08);
}
.checkout-pickup-note {
  grid-template-columns: 1fr;
  align-items: center;
}
.checkout-pickup-note[hidden],
.checkout-delivery-fields[hidden],
.checkout-promo-note[hidden],
.checkout-other-date[hidden] { display: none; }
.checkout-pickup-copy { display: grid; min-width: 0; }
.checkout-promo-note { margin: 0; padding: .75rem .9rem; border: 1px solid rgba(10, 88, 108, .2); border-radius: 10px; background: #eff7f5; color: var(--ocean); font-size: .82rem; line-height: 1.45; }
.checkout-map-tools { min-width: 0; grid-column: 1 / -1; }
.checkout-map-tools[hidden], .checkout-house-map[hidden] { display: none; }
.checkout-map-tools > .btn { min-height: 44px; width: 100%; }
.checkout-house-map { margin-top: .6rem; padding: .65rem; border: 1px solid #b9d6d7; border-radius: 12px; background: #f5faf9; }
.checkout-map-canvas { height: 300px; width: 100%; position: relative; border-radius: 8px; overflow: hidden; }
.checkout-map-canvas[hidden] { display: none; }
.checkout-map-controls { display: flex; align-items: center; gap: .45rem; margin-top: .5rem; flex-wrap: wrap; }
.checkout-map-controls button { width: 44px; height: 44px; border: 1px solid #b9d6d7; border-radius: 8px; background: white; color: var(--teal); font-size: 1.3rem; cursor: pointer; }
.checkout-map-controls a { margin-left: auto; font-size: .75rem; }
.checkout-map-source { display: block; margin-top: .4rem; font-size: .65rem; color: var(--text-muted); }
.checkout-map-marker { transform: translate(-50%, -50%); min-width: 44px; min-height: 44px; padding: .25rem .5rem; border: 2px solid white; border-radius: 18px; background: #246777; color: white; font: 700 12px/1.2 var(--font-body, sans-serif); box-shadow: 0 2px 5px #1234; cursor: pointer; }
.checkout-map-marker[aria-pressed="true"] { background: #a54120; outline: 3px solid #f3c17a; }
.checkout-map-marker:focus-visible, .checkout-map-controls button:focus-visible { outline: 3px solid #e9ac51; outline-offset: 2px; }
@media (max-width: 480px) { .checkout-map-canvas { height: 270px; } }
.checkout-segmented input:disabled + span { flex-direction: column; opacity: .45; cursor: not-allowed; }
.checkout-pickup-unavailable { display: block; font-size: .66rem; font-weight: 600; line-height: 1.2; }
.checkout-pickup-unavailable[hidden] { display: none; }
.checkout-pickup-copy strong { color: var(--ocean); font-size: 0.84rem; }
.checkout-delivery-fields {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 0.75rem;
}
.checkout-time-help {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin: -0.35rem 0 0;
}
.checkout-time-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}
.checkout-time-tomorrow {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: var(--teal);
  background: transparent;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkout-time-tomorrow:hover { color: var(--ocean); }
.checkout-field select option:disabled {
  color: #9aa5a6;
  background: #f0f2f0;
}
.checkout-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(21, 83, 104, 0.045);
  font-size: 0.74rem;
  line-height: 1.45;
}
.checkout-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--teal);
}
.checkout-consent.invalid { color: var(--rust); }
.checkout-consent a,
.checkout-status a { color: inherit; text-decoration: underline; }
.checkout-submit {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}
.checkout-submit:disabled { opacity: 0.66; cursor: progress; }
.checkout-status {
  min-height: 1.1em;
  margin: -0.45rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}
.checkout-status.invalid { color: var(--rust); }

.checkout-field-error {
  display: block;
  color: #9b3428;
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 500;
}
.checkout-field-error[hidden] { display: none; }
.checkout-consent:has(.checkout-field-error:not([hidden])) { flex-wrap: wrap; }
.checkout-consent .checkout-field-error { flex-basis: 100%; }
.cart-clear { min-height: 44px; }
.cart-qty-btn:focus-visible,
.cart-remove-btn:focus-visible,
.cart-close:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.checkout-summary {
  align-self: start;
  position: sticky;
  top: 0;
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  padding: 1.5rem;
  background: linear-gradient(145deg, #eef7f4, #f8f4ea);
  border-left: 1px solid rgba(21, 83, 104, 0.1);
}
.checkout-summary-head {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}
.checkout-summary-head > span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.checkout-summary-count {
  color: var(--ocean);
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  line-height: 1.1;
}
.checkout-summary-toggle { display: none; }
.checkout-summary-items {
  display: grid;
  max-height: min(456px, calc(100dvh - 340px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 83, 104, 0.28) transparent;
  padding-right: 0.25rem;
  border-top: 1px solid rgba(21, 83, 104, 0.12);
  border-bottom: 1px solid rgba(21, 83, 104, 0.12);
}
.checkout-summary-item {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.52rem 0;
}
.checkout-summary-item + .checkout-summary-item { border-top: 1px solid rgba(21, 83, 104, 0.09); }
.checkout-summary-item-head,
.checkout-summary-item-foot {
  display: grid;
  min-width: 0;
  align-items: center;
}
.checkout-summary-item-head {
  grid-template-columns: minmax(0, 1fr) 26px;
  gap: 0.5rem;
}
.checkout-summary-item-foot {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}
.checkout-summary-item-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ocean);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.checkout-summary-remove {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.checkout-summary-remove:hover {
  border-color: rgba(192, 83, 58, 0.2);
  color: var(--rust);
  background: rgba(192, 83, 58, 0.06);
}
.checkout-summary-remove svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checkout-summary-qty {
  display: grid;
  grid-template-columns: 28px minmax(54px, 1fr) 28px;
  min-width: 0;
  max-width: 126px;
  min-height: 30px;
  overflow: hidden;
  border: 1px solid rgba(21, 83, 104, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}
.checkout-summary-qty button {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--ocean);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
}
.checkout-summary-qty button:hover:not(:disabled) { background: rgba(35, 138, 160, 0.08); }
.checkout-summary-qty button:disabled { color: rgba(104, 124, 130, 0.38); cursor: default; }
.checkout-summary-qty span {
  display: grid;
  place-items: center;
  min-width: 0;
  border-right: 1px solid rgba(21, 83, 104, 0.1);
  border-left: 1px solid rgba(21, 83, 104, 0.1);
  color: var(--ocean);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.checkout-summary-item-foot > strong {
  color: var(--ocean);
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: right;
}
.checkout-summary-total {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(21, 83, 104, 0.14);
}
.checkout-summary-total span { color: var(--muted); font-size: 0.72rem; }
.checkout-summary-total b { color: var(--ocean); font-size: 1.15rem; }
.checkout-summary > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}
.checkout-edit-cart {
  justify-self: start;
  padding: 0;
  border: 0;
  color: var(--teal);
  background: none;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkout-success {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  max-width: 540px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.checkout-success h3 {
  margin: 0;
  color: var(--ocean);
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
}
.checkout-success p { margin: 0; color: var(--muted); line-height: 1.55; }
.checkout-success-summary {
  display: grid;
  width: min(100%, 520px);
  margin: 0;
  border-top: 1px solid rgba(21, 83, 104, 0.12);
  border-bottom: 1px solid rgba(21, 83, 104, 0.12);
}
.checkout-success-summary > div {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.62rem 0;
  text-align: left;
}
.checkout-success-summary > div + div { border-top: 1px solid rgba(21, 83, 104, 0.08); }
.checkout-success-summary dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.checkout-success-summary dd {
  min-width: 0;
  margin: 0;
  color: var(--ocean);
  font-size: 0.82rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.checkout-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: min(100%, 620px);
}
.checkout-success-actions > .btn {
  flex: 1 1 170px;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
}
.checkout-success-actions > .btn[hidden] { display: none; }
.checkout-success-actions > .btn-secondary {
  border-color: rgba(21, 83, 104, 0.18);
  color: var(--ocean);
  background: linear-gradient(135deg, #ffffff, #eef8f5);
  box-shadow: 0 7px 18px rgba(21, 83, 104, 0.08);
}
.checkout-success-actions > .btn-secondary:hover {
  border-color: rgba(35, 138, 160, 0.4);
  color: var(--ocean);
  background: linear-gradient(135deg, #ffffff, #e2f3ee);
}
.checkout-success-actions svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checkout-success-copy.is-success {
  border-color: rgba(62, 150, 98, 0.32);
  color: #215f42;
  background: linear-gradient(135deg, #f5fbf7, #e5f4e9);
}
.checkout-success-feedback {
  min-height: 1.4em;
  font-size: 0.72rem;
}
.checkout-success-close {
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  border: 0;
  color: var(--teal);
  background: transparent;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkout-success-close:hover { color: var(--ocean); }
.checkout-success:has(.checkout-inline-feedback) { padding: 1.35rem 1.15rem; gap: .65rem; }
.checkout-success:has(.checkout-inline-feedback) .checkout-success-summary > div { padding: .46rem 0; }
.checkout-success:has(.checkout-inline-feedback) > p:not(.cart-order-number) { font-size: .82rem; }
.checkout-success-feedback:empty { display: none; }
.checkout-inline-feedback { width: 100%; min-width: 0; padding-top: 15px; border-top: 1px solid rgba(21,83,104,.14); text-align: left; }
.checkout-inline-feedback h4 { margin: 0 0 5px; color: var(--ocean); font-size: .9rem; }
.checkout-inline-feedback > p { font-size: .73rem; }
.checkout-inline-feedback .checkout-feedback-stars { width: 100%; justify-content: space-between; gap: 7px; margin: 11px 0 5px; }
.checkout-inline-feedback .checkout-feedback-stars span { width: 46px; height: 46px; color: #ccd4ce; border-color: rgba(21,83,104,.18); background: var(--white); }
.checkout-inline-feedback .checkout-feedback-stars label.is-active span { color: var(--gold); border-color: var(--gold); }
.checkout-inline-rating-range { display: flex; justify-content: space-between; font-size: .66rem; color: var(--muted); }
.checkout-inline-feedback-details { display: grid; gap: 8px; margin-top: 12px; }
.checkout-inline-feedback-details[hidden] { display: none; }
.checkout-inline-feedback .checkout-feedback-comment textarea { min-height: 62px; font-size: 16px; }
.checkout-inline-feedback .checkout-feedback-submit { min-height: 44px; font-size: .73rem; }
.checkout-inline-feedback .checkout-feedback-privacy { font-size: .63rem !important; }
.checkout-inline-feedback .checkout-feedback-status:empty { display: none; }
.checkout-inline-feedback-thanks { color: var(--teal) !important; font-weight: 700; }
@media (max-width: 360px) {
  .checkout-inline-feedback .checkout-feedback-stars { gap: 4px; }
  .checkout-inline-feedback .checkout-feedback-stars span { width: 44px; height: 44px; }
}
.checkout-feedback-stars {
  display: flex;
  justify-content: center;
  gap: clamp(0.2rem, 2vw, 0.55rem);
}
.checkout-feedback-stars label { position: relative; display: grid; place-items: center; cursor: pointer; }
.checkout-feedback-stars input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.checkout-feedback-stars span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(200, 164, 74, 0.24);
  border-radius: 50%;
  color: #d8d2c1;
  background: #fff;
  font-size: 1.72rem;
  line-height: 1;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.checkout-feedback-stars label:hover span,
.checkout-feedback-stars label.is-active span {
  border-color: rgba(200, 164, 74, 0.6);
  color: var(--gold);
  background: #fffaf0;
  transform: translateY(-1px);
}
.checkout-feedback-stars input:focus-visible + span {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(35, 138, 160, 0.18);
}
.checkout-feedback-rating-label {
  min-height: 1.25em;
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
}
.checkout-feedback-comment { display: grid; gap: 0.4rem; text-align: left; }
.checkout-feedback-comment > span { color: var(--ocean); font-size: 0.78rem; font-weight: 800; }
.checkout-feedback-comment small { color: var(--muted); font-weight: 400; }
.checkout-feedback-comment textarea {
  width: 100%;
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
  border: 1px solid rgba(21, 83, 104, 0.2);
  border-radius: 8px;
  color: var(--ocean);
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.45;
}
.checkout-feedback-comment textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(35, 138, 160, 0.14);
}
.checkout-feedback-privacy { font-size: 0.7rem !important; }
.checkout-feedback-privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.checkout-feedback-submit { width: 100%; min-height: 48px; justify-content: center; }
.checkout-feedback-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.checkout-feedback-skip {
  justify-self: center;
  min-height: 34px;
  padding: 0.2rem 0.65rem;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkout-feedback-skip:hover { color: var(--ocean); }
.checkout-feedback-status { min-height: 1.25em; font-size: 0.72rem !important; }
.checkout-feedback-status.invalid { color: var(--rust); }
.checkout-feedback-thanks {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.5rem 0 0.4rem;
}
.checkout-feedback-thanks .btn { min-width: 180px; justify-content: center; }
.cart-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
#cart-footer .cart-actions .btn {
  min-height: 44px;
  min-width: 0;
  padding: 0.5rem 0.25rem;
  border: 1px solid var(--sand);
  border-radius: 8px;
  background: none;
  color: var(--ocean);
  box-shadow: none;
  transform: none;
  font-size: 0.875rem;
  text-transform: none;
}
#cart-footer .cart-actions .btn:hover { background: var(--cream); border-color: var(--ocean); }
.cart-note {
  font-size: 0.8125rem;
  color: var(--ocean);
  text-align: center;
  line-height: 1.5;
  margin: 0 0 0.5rem;
}
.cart-clear {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 0.25rem;
}
.cart-clear:hover { color: var(--rust); }

@media (max-width: 760px), (pointer: coarse) and (max-height: 520px) {
  .checkout-overlay {
    align-items: stretch;
    padding: 0;
    background: var(--white);
    top: var(--checkout-viewport-top, 0px);
    bottom: auto;
    height: var(--checkout-viewport-height, 100dvh);
  }
  .checkout-dialog {
    width: 100%;
    max-height: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .checkout-header {
    min-height: 68px;
    flex-shrink: 0;
    padding: 0.6rem 0.75rem;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    flex: 1;
    overscroll-behavior-y: contain;
    scroll-padding-block: 16px;
  }
  .checkout-field input,
  .checkout-field select,
  .checkout-field textarea { font-size: 16px; }
  .checkout-summary {
    order: -1;
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3rem 0.8rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-left: 0;
    border-bottom: 1px solid rgba(21, 83, 104, 0.1);
  }
  .checkout-summary-head {
    grid-column: 1;
    grid-row: 1;
    align-content: center;
    justify-items: start;
  }
  .checkout-summary-head > span { display: none; }
  .checkout-summary > p {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.35rem;
    color: var(--ocean);
    font-size: 0.875rem;
  }
  .checkout-summary-count { font-size: 1.05rem; }
  .checkout-summary-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 30px;
    padding: 0;
    border: 0;
    color: var(--teal);
    background: transparent;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .checkout-summary-toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.16s ease;
  }
  .checkout-summary.is-expanded .checkout-summary-toggle svg { transform: rotate(180deg); }
  .checkout-summary-items {
    display: none;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    max-height: min(42dvh, 360px);
    margin-top: 0.55rem;
    padding: 0 0.2rem 0 0;
    -webkit-overflow-scrolling: touch;
  }
  .checkout-summary.is-expanded .checkout-summary-items { display: grid; }
  .checkout-summary-item {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.65rem 0;
  }
  .checkout-summary-item-head { grid-template-columns: minmax(0, 1fr) 44px; }
  .checkout-summary-remove { width: 44px; height: 44px; }
  .checkout-summary-item-name { font-size: 0.76rem; }
  .checkout-summary-item-name {
    display: -webkit-box;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .checkout-summary-qty { max-width: 156px; min-height: 46px; grid-template-columns: 44px minmax(62px, 1fr) 44px; }
  .checkout-summary-qty span { font-size: 0.7rem; }
  .checkout-summary-total {
    grid-row: 1;
    grid-column: 2;
    padding: 0;
    border: 0;
    text-align: right;
  }
  .checkout-summary-total span { font-size: 0.64rem; }
  .checkout-summary-total b { font-size: 1rem; }
  .checkout-edit-cart {
    display: none;
    grid-column: 1 / -1;
    justify-self: start;
    font-size: 0.72rem;
  }
  .checkout-summary.is-expanded .checkout-edit-cart { display: inline-block; }
  .checkout-form { padding: 1.1rem 1rem calc(1.5rem + env(safe-area-inset-bottom)); }
  .checkout-fulfillment-section { grid-template-columns: 1fr; }
  .checkout-fulfillment-section .checkout-delivery-fields,
  .checkout-fulfillment-section .checkout-pickup-note,
  .checkout-fulfillment-section .checkout-date-fields,
  .checkout-fulfillment-section .checkout-time-help { grid-column: auto; }
  .checkout-date-fields.has-other-date { grid-template-columns: 1fr 1fr; }
  .checkout-date-fields.has-other-date .checkout-time-field { grid-column: 1 / -1; }
  .checkout-preferences-section .checkout-fields-two { grid-template-columns: 1fr; }
  .checkout-details summary { min-height: 46px; }
}

@media (max-width: 520px) {
  .cart-promo-field {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .cart-promo-field span {
    white-space: normal;
  }
  .checkout-header {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 0.4rem;
  }
  .checkout-header h2 { font-size: 1.25rem; }
  .checkout-fields-two,
  .checkout-date-fields.has-other-date,
  .checkout-delivery-fields {
    grid-template-columns: 1fr;
  }
  .checkout-time-help {
    align-items: flex-start;
    flex-direction: column;
  }
  .checkout-date-fields.has-other-date .checkout-time-field { grid-column: auto; }
  .checkout-field input,
  .checkout-field select,
  .checkout-field textarea {
    font-size: 16px;
  }
  .checkout-segmented span { min-height: 46px; }
  .checkout-success {
    align-content: start;
    width: 100%;
    padding: 2rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  }
  .checkout-success-summary > div {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 0.75rem;
  }
  .checkout-success-actions { display: grid; grid-template-columns: 1fr; }
  .checkout-success-actions > .btn { width: 100%; }
  .checkout-feedback-stars { width: 100%; justify-content: space-between; gap: 0.15rem; }
  .checkout-feedback-stars span { width: 46px; height: 46px; font-size: 1.58rem; }
  .checkout-feedback-comment textarea { font-size: 16px; }
}

/* TELEGRAM FALLBACK NOTICE */
.telegram-notice {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 700;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(26, 26, 24, 0.58);
  backdrop-filter: blur(4px);
}
.telegram-notice.open { display: flex; }

.telegram-notice-card {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 1.45rem;
  color: var(--ink);
}
.telegram-notice-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border: 1px solid var(--sand);
  border-radius: var(--r);
  background: var(--cream);
  color: var(--ocean);
  font-size: 1.25rem;
  line-height: 1;
}
.telegram-notice-close:hover { background: var(--sand); }

.telegram-notice-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.telegram-notice h3 {
  max-width: calc(100% - 42px);
  margin-bottom: 0.7rem;
  color: var(--ocean);
  font-size: clamp(1.35rem, 5vw, 1.85rem);
}
.telegram-notice p {
  color: rgba(26,26,24,0.72);
  font-size: 0.94rem;
  line-height: 1.55;
}
.telegram-copy-box {
  display: flex;
  align-items: stretch;
  margin: 1rem 0 0.55rem;
  border: 1px solid var(--sand);
  border-radius: var(--r);
  background: var(--cream);
  overflow: hidden;
}
.telegram-copy-value {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 0.9rem;
  color: var(--ocean);
  font-weight: 700;
  word-break: break-word;
}
.telegram-copy-btn {
  border: 0;
  border-left: 1px solid var(--sand);
  background: var(--ocean);
  color: var(--white);
  padding: 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.telegram-copy-btn:hover { background: var(--teal); }

/* Empty product galleries stay useful without imitating a real product photo. */
.product-main-photo-empty {
  display: grid !important;
  place-items: center !important;
  padding: 2rem !important;
}

.product-main-photo-empty .product-photo-note {
  position: static !important;
  inset: auto !important;
  width: min(100%, 290px);
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--ocean) !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 0.82rem !important;
  font-weight: 600;
  line-height: 1.55 !important;
  backdrop-filter: none !important;
}
.telegram-message-box {
  margin: 0.8rem 0 0.55rem;
  padding: 0.85rem;
  border: 1px solid var(--sand);
  border-radius: var(--r);
  background: var(--cream);
}
.telegram-message-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ocean);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.telegram-message-box p {
  max-height: 5.2rem;
  overflow: hidden;
  margin-bottom: 0.65rem;
  color: rgba(26,26,24,0.7);
  font-size: 0.82rem;
  line-height: 1.45;
}
.telegram-message-copy {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--ocean);
  border-radius: var(--r);
  background: var(--white);
  color: var(--ocean);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.telegram-message-copy:hover {
  background: var(--ocean);
  color: var(--white);
}
.telegram-notice-status {
  min-height: 1.35rem;
  font-size: 0.82rem;
  color: var(--green);
}
.telegram-notice-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-top: 1rem;
}
.telegram-notice-actions .btn {
  width: 100%;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.cookie-notice {
  position: fixed;
  left: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 290;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  width: min(620px, calc(100vw - 24px));
  padding: 0.95rem 1rem;
  border: 1px solid rgba(200,164,74,0.45);
  border-radius: var(--r);
  background: rgba(253,252,248,0.96);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(29,74,90,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.cookie-notice.is-hiding {
  opacity: 0;
  transform: translateY(8px);
}
.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}
.cookie-notice a {
  color: var(--ocean);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.cookie-notice-btn {
  min-height: 38px;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--gradient-main);
  color: var(--white);
  font: 800 0.7rem/1 'Geologica', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.cookie-notice-btn:hover { filter: saturate(1.08) brightness(1.05); box-shadow: 0 6px 16px rgba(21,83,104,0.22); }

/* ─── HEADER ─── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(253,252,248,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(29,74,90,0.1);
  box-shadow: 0 0 0 rgba(29,74,90,0);
  transition:
    height 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
  will-change: transform;
  gap: 1.5rem;
}
#site-header.scrolled {
  height: 60px;
  background: rgba(253,252,248,0.985);
  border-bottom-color: rgba(29,74,90,0.16);
  box-shadow: 0 12px 32px rgba(29,74,90,0.13);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--ocean);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.header-logo-img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.header-logo span { color: inherit; font-style: normal; }
.header-logo strong {
  font-family: 'Pribambas', 'Playfair Display', serif;
  font-weight: 400;
  color: var(--brand-green);
  letter-spacing: 0;
}

.header-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  flex: 1;
  justify-content: center;
  transition: gap 0.28s ease;
}
.header-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active { opacity: 1; }
/* Mobile readability guard for Yandex and real 320 px screens. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 640px) {
  .btn,
  .seo-mobile-actions .btn,
  .product-actions .btn,
  .cart-actions .btn {
    min-height: 44px;
    font-size: 0.78rem;
  }

  .page-hero-eyebrow,
  .section-eyebrow,
  .seo-kicker,
  .review-meta,
  .product-note,
  .footer-copy,
  .footer-reqs,
  .seo-category-product-status {
    font-size: 0.75rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  line-height: 1;
  padding-left: 0.8rem;
  border-left: 1px solid rgba(21,83,104,.16);
  margin-right: 0.15rem;
  color: var(--ocean);
  text-decoration: none;
}
.header-contact-phone {
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}
.header-contact-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.header-contact:hover .header-contact-phone { color: var(--teal); }
.header-location {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--ocean);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.header-location svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.header-location:hover { color: var(--teal); }
#site-header:has(.header-contact) { padding: 0 3vw; gap: 1rem; }
#site-header:has(.header-contact) .header-nav { gap: 1.1rem; }

@media (prefers-reduced-motion: reduce) {
  #site-header,
  .header-logo,
  .header-logo-img,
  .header-nav {
    transition: none;
  }
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ocean);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV ─── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--sand);
  padding: 1.5rem 5vw 2rem;
  flex-direction: column;
  gap: 1.1rem;
  z-index: 199;
  box-shadow: var(--shadow-md);
  transition: top 0.28s ease;
}
body.header-is-stuck .mobile-nav { top: 60px; }
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ocean);
  padding: 0.25rem 0;
}
.mobile-nav .mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand);
}

/* ─── FOOTER ─── */
#site-footer {
  background-color: #111410;
  background-image: url('images/pattern-bg-lite.jpg');
  background-size: 480px auto;
  background-repeat: repeat;
  color: rgba(255,255,255,0.75);
  position: relative;
}
#site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17,20,16,0.91);
  z-index: 0;
  pointer-events: none;
}
#site-footer > * { position: relative; z-index: 1; }

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 3rem;
  padding: 4rem 5vw;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand .header-logo { color: var(--cream); display: block; margin-bottom: 0.75rem; }
.footer-brand .header-logo span { color: var(--gold); }
.footer-brand p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 240px;
}

.footer-col h4 {
  font-family: 'Geologica', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--foam); }

.footer-contacts p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.3rem;
}
.footer-contacts a {
  color: rgba(255,255,255,0.85);
  transition: color 0.15s;
}
.footer-contacts a:hover { color: var(--foam); }
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 34px; height: 34px;
  border-radius: var(--r);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}
.footer-social a:hover { background: rgba(255,255,255,0.16); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.15s;
}
.footer-bottom-links a:hover { color: var(--foam); }

/* --- LEGAL PAGES --- */
.legal-page {
  background: var(--cream);
}
.legal-main {
  width: min(980px, 90vw);
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}
.legal-hero {
  padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(1.4rem, 4vw, 2.5rem);
}
.legal-hero h1 {
  max-width: 760px;
  margin: 0.4rem 0 0.85rem;
  color: var(--ocean);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 0.98;
}
.legal-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}
.legal-updated {
  margin-top: 0.8rem;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
}
.legal-card {
  margin-top: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid rgba(200,164,74,0.28);
  border-radius: var(--r);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(29,74,90,0.06);
}
.legal-card h2 {
  margin: 0 0 0.65rem;
  color: var(--ocean);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.08;
}
.legal-card p,
.legal-card li {
  color: var(--text);
  line-height: 1.68;
}
.legal-card p + p,
.legal-card ul + p,
.legal-card p + ul {
  margin-top: 0.7rem;
}
.legal-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}
.legal-card a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.legal-warning {
  border-color: rgba(183,91,59,0.36);
  background: rgba(255,249,241,0.96);
}

/* ─── TICKER ─── */
.ticker-wrap {
  position: relative;
  display: block;
  overflow: clip;
  white-space: nowrap;
  user-select: none;
  contain: paint;
}
.ticker-symbols {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}
.ticker-wave-edge {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 14px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  contain: strict;
}
.ticker-wave-edge-bottom {
  margin-top: -2px;
}
.ticker-wave-edge-top {
  margin-bottom: -2px;
}
.ticker-ribbon {
  position: relative;
  z-index: 1;
  min-height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0d4a35;
  background-image: url(images/pattern-bg-lite.jpg);
  background-size: auto 650px;
  background-repeat: repeat;
  background-position: center;
}
.ticker-ribbon::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,61,44,.82), rgba(13,74,53,.58) 38%, rgba(13,74,53,.66) 62%, rgba(8,61,44,.82)),
    rgba(13,74,53,.5);
  z-index: 0;
  pointer-events: none;
}
.ticker-wrap .ticker { position: relative; z-index: 1; }
.ticker {
  display: flex;
  gap: 0;
  width: max-content;
  min-width: max-content;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.ticker-group {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.ticker-item {
  --ticker-y: 0px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foam);
  padding: 0 2.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  transform: translateY(var(--ticker-y));
  text-shadow: 0 1px 7px rgba(0,0,0,.18);
}
.ticker-item:nth-child(8n + 1) { --ticker-y: 0px; }
.ticker-item:nth-child(8n + 2) { --ticker-y: -2px; }
.ticker-item:nth-child(8n + 3) { --ticker-y: -3px; }
.ticker-item:nth-child(8n + 4) { --ticker-y: -1px; }
.ticker-item:nth-child(8n + 5) { --ticker-y: 1px; }
.ticker-item:nth-child(8n + 6) { --ticker-y: 3px; }
.ticker-item:nth-child(8n + 7) { --ticker-y: 2px; }
.ticker-item:nth-child(8n + 8) { --ticker-y: 0px; }
.ticker-sep {
  width: 21px;
  height: 15px;
  flex: 0 0 21px;
  overflow: visible;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.16));
}
.ticker-icon-fill { fill: currentColor; stroke: none; }
.ticker-sep-fish { color: #9dd7ce; stroke: currentColor; }
.ticker-sep-crab { color: #ef8b65; stroke: currentColor; }
.ticker-sep-roe { color: #e5b13d; stroke: currentColor; }
.ticker-item:nth-child(even) .ticker-sep-fish { transform: scaleX(-1); }

/* Paint lower homepage sections only as the visitor approaches them. */
@supports (content-visibility: auto) {
  .home-page .today-sets,
  .home-page .hits,
  .home-page #catalog,
  .home-page .lead-banner,
  .home-page .live-proof,
  .home-page .catering-showcase,
  .home-page .reviews,
  .home-page .founder-section,
  .home-page #delivery,
  .home-page .contacts,
  .home-page .preview-section,
  .home-page .faq {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
  }

  .home-page #catalog,
  .home-page .contacts,
  .home-page .preview-section {
    contain-intrinsic-size: auto 960px;
  }
}

@media (max-width: 560px) {
  .ticker-wave-edge {
    height: 10px;
  }
  .ticker-ribbon { min-height: 38px; }
  .ticker-item {
    padding: 0 1.4rem;
    gap: 0.5rem;
    font-size: 0.61rem;
    letter-spacing: 0.09em;
  }
  .ticker-sep {
    width: 18px;
    height: 13px;
    flex-basis: 18px;
  }
}

/* ─── FADE-UP ANIMATION ─── */
@keyframes cart-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@keyframes cart-catch {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-2px) scale(1.1); }
  72% { transform: translateY(1px) scale(0.98); }
}

@keyframes vsr-reveal {
  from {
    opacity: 0;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.fade-up {
  opacity: 0;
  translate: 0 14px;
}
.fade-up.visible {
  animation: vsr-reveal 520ms cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .fade-up {
    opacity: 0;
    translate: 0 9px;
  }
  .fade-up.visible {
    animation: vsr-reveal 420ms cubic-bezier(.22, 1, .36, 1) both !important;
    animation-delay: var(--reveal-delay, 0ms) !important;
    animation-iteration-count: 1 !important;
  }
  .cart-flight-token {
    display: none;
  }
  .cart-added-notice {
    transition: none;
  }

  /* Owner choice: the branded intro stays animated even with reduced motion enabled. */
  .site-intro-loader {
    transition-duration: 360ms !important;
  }
  .site-intro-loader__fish--lead,
  .site-intro-loader__fish--follow {
    animation-duration: 4.8s, 4.8s !important;
    animation-iteration-count: infinite, infinite !important;
  }
  .site-intro-loader__tail {
    animation-duration: 460ms !important;
    animation-iteration-count: infinite !important;
  }
  .site-intro-loader__fish::before,
  .site-intro-loader__fish::after {
    animation-duration: 1.25s !important;
    animation-iteration-count: infinite !important;
  }
  .site-intro-loader__vortex i {
    animation-duration: 2.7s !important;
    animation-iteration-count: infinite !important;
  }
}

@media (max-width: 600px) {
  .cart-added-notice {
    right: 10px;
    bottom: 76px;
    width: calc(100vw - 20px);
    grid-template-columns: auto minmax(0, 1fr);
  }
  .cart-added-notice button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* ─── BREADCRUMBS ─── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 1rem 5vw;
  max-width: 1280px;
  margin: 0 auto;
}
.breadcrumbs a { color: var(--teal); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs-sep { opacity: 0.4; }

.section-back-wrap {
  max-width: 1280px;
  margin: -0.35rem auto 0;
  padding: 0 5vw 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.section-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  padding: 9px 14px;
  border: 1.5px solid var(--sand);
  border-radius: var(--r);
  background: var(--cream);
  color: var(--ocean);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.section-back-button {
  font-family: inherit;
}
.section-catalog-link {
  background: var(--white);
}
.section-back-link:hover {
  background: var(--sand);
  border-color: rgba(29,74,90,0.22);
  transform: translateY(-1px);
}
.section-back-link:active {
  transform: translateY(1px);
}
.section-back-arrow {
  font-size: 1.08rem;
  line-height: 1;
}

/* ─── SEO CATEGORY PAGES ─── */
.seo-page {
  background: var(--white);
}
.seo-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--ocean);
}
.seo-category-page .seo-hero {
  min-height: 460px;
  padding: 0;
}
.seo-category-page .seo-hero-inner {
  padding: 3rem 5vw;
}
.seo-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.46;
}
.seo-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29,74,90,0.95) 0%, rgba(29,74,90,0.78) 48%, rgba(29,74,90,0.32) 100%),
    radial-gradient(circle at 18% 20%, rgba(200,164,74,0.24), transparent 36%);
}
.seo-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 5vw 4rem;
  display: grid;
  grid-template-columns: minmax(0, 680px) 1fr;
  align-items: center;
}
.seo-kicker {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--foam);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.seo-hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  margin-bottom: 1.1rem;
}
.seo-hero h1 em {
  color: var(--gold);
}
.seo-hero-text {
  max-width: 620px;
  color: rgba(255,255,255,0.74);
  font-size: 1rem;
  line-height: 1.8;
}
.seo-hero-lead {
  max-width: 640px;
  color: rgba(255,255,255,0.82);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 0.4rem;
}
/* Article hero: breadcrumbs live inside .seo-hero-inner. Force a single column
   so the lead paragraph sits under the heading instead of a dark side column. */
.seo-hero-inner:has(> .breadcrumbs) {
  grid-template-columns: 1fr;
  max-width: 900px;
}
.seo-hero-inner > .breadcrumbs {
  margin-bottom: 1.1rem;
}
.seo-hero-inner > .breadcrumbs a,
.seo-hero-inner > .breadcrumbs span {
  color: rgba(255,255,255,0.72);
}
.seo-hero-inner > .breadcrumbs a:hover {
  color: #fff;
}
.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.seo-hero-actions .btn {
  justify-content: center;
}
.seo-hero-microcopy {
  max-width: 620px;
  margin-top: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  line-height: 1.6;
}
.seo-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.seo-hero-note span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
}
.seo-section {
  padding: 4.5rem 5vw;
}
.seo-section-cream {
  background: var(--cream);
}
.seo-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.seo-section h2 {
  color: var(--ocean);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}
.seo-copy {
  color: rgba(26,26,24,0.72);
  font-size: 0.96rem;
  line-height: 1.85;
}
.seo-copy > p {
  max-width: 78ch;
}
.seo-copy p + p {
  margin-top: 1rem;
}
.seo-copy > h3 {
  margin: 1.7rem 0 0.5rem;
  color: var(--ocean);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.3;
}
.seo-copy > h2 + h3 {
  margin-top: 1.15rem;
}
.seo-category-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.05rem 0 1.1rem;
}
.seo-category-choice-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
}
.seo-choice-card {
  display: grid;
  gap: 0.35rem;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--sand);
  background: var(--white);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.seo-choice-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.seo-choice-card strong {
  color: var(--ocean);
  font-size: 0.94rem;
  line-height: 1.25;
}
.seo-choice-card span {
  color: rgba(26,26,24,0.66);
  font-size: 0.8rem;
  line-height: 1.45;
}
.seo-choice-card-accent {
  border-color: var(--ocean);
  background: var(--ocean);
}
.seo-choice-card-accent:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(29,74,90,0.18);
}
.seo-choice-card-accent strong {
  color: var(--white);
}
.seo-choice-card-accent span {
  color: rgba(255,255,255,0.78);
}
.seo-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: start;
}
.seo-panel {
  border: 1px solid var(--sand);
  background: var(--cream);
  padding: 1.4rem;
}
.seo-panel h3 {
  color: var(--ocean);
  font-family: 'Geologica', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.seo-panel ul,
.seo-check-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.seo-panel li,
.seo-check-list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(26,26,24,0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}
.seo-panel li::before,
.seo-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: var(--gold);
}
.seo-order-steps {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 0.65rem;
  margin: 0 0 1.1rem;
}
.seo-order-steps > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--sand);
  background: var(--cream);
}
.seo-order-steps b {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ocean);
  color: var(--white);
  font-size: 0.74rem;
  line-height: 1;
}
.seo-order-steps span {
  color: var(--ocean);
  font-size: 0.78rem;
  line-height: 1.35;
}
.seo-order-step-contact .seo-order-channels {
  grid-column: 1 / -1;
}
.seo-order-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.38rem;
  margin-top: 0.72rem;
}
.seo-order-channel {
  min-width: 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.4rem;
  border: 1px solid rgba(21, 83, 104, 0.18);
  border-radius: 6px;
  color: var(--ocean);
  background: rgba(255, 255, 255, 0.86);
  font-family: 'Geologica', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.seo-order-channel:hover {
  transform: translateY(-1px);
  border-color: rgba(21, 83, 104, 0.34);
  box-shadow: 0 5px 12px rgba(21, 83, 104, 0.09);
}
.seo-order-channel:focus-visible {
  outline: 3px solid rgba(221, 173, 63, 0.5);
  outline-offset: 2px;
}
.seo-order-channel-tg {
  background: #edf8fc;
  border-color: rgba(36, 161, 222, 0.28);
}
.seo-order-channel-wa {
  background: #eefaf3;
  border-color: rgba(37, 180, 91, 0.28);
}
.seo-order-channel-phone {
  background: #fffefa;
}
.seo-order-channels-inline {
  max-width: 520px;
  margin: 1rem 0 0;
}
.seo-order-channels-panel {
  margin-top: 1rem;
}
.seo-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.seo-section-action {
  margin-top: 1.5rem;
}
.seo-category-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.seo-category-links a {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--sand);
  background: var(--white);
  padding: 1rem;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.seo-category-links a:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.seo-category-links strong {
  color: var(--ocean);
  font-size: 0.92rem;
}
.seo-category-links span {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}
.seo-route-copy {
  max-width: 820px;
}
.seo-route-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
  margin-top: 1.35rem;
}
.seo-route-link {
  min-width: 0;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(21,83,104,.16);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff 0%, #f4fbf8 100%);
  padding: 1rem;
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(21,83,104,.06);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.seo-route-link:hover {
  transform: translateY(-2px);
  border-color: rgba(22,139,145,.42);
  box-shadow: 0 13px 26px rgba(21,83,104,.11);
}
.seo-route-link:focus-visible {
  outline: 3px solid rgba(22,139,145,.3);
  outline-offset: 3px;
}
.seo-route-link-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.seo-route-link-head strong {
  min-width: 0;
  color: var(--ocean);
  font-size: 0.9rem;
  line-height: 1.4;
}
.seo-route-status {
  flex: 0 0 auto;
  border: 1px solid rgba(21,83,104,.12);
  border-radius: 999px;
  padding: 0.27rem 0.48rem;
  background: #eef4f3;
  color: var(--muted);
  font-size: 0.63rem;
  line-height: 1.15;
}
.seo-route-status-instock {
  border-color: rgba(44,143,91,.2);
  background: #e9f7ed;
  color: #276f46;
}
.seo-route-status-wait {
  background: #eef2f3;
  color: #566970;
}
.seo-route-status-order {
  border-color: rgba(210,161,42,.24);
  background: #fff7dc;
  color: #765d16;
}
.seo-route-price {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}
.seo-route-link > b {
  margin-top: auto;
  color: var(--teal);
  font-size: 0.76rem;
}

.article-route-product-link {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: start;
  gap: .9rem;
}

.seo-route-link.article-route-product-link {
  display: grid;
  min-height: 154px;
}

.article-route-product-thumb {
  display: block;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(21, 83, 104, .12);
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  background: #edf3f1;
}

.article-route-product-thumb-empty {
  background: #edf3f1 url('images/brand/logo-round-full.jpg') center / 54% auto no-repeat;
  opacity: .72;
}

.article-route-product-body {
  min-width: 0;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  align-self: stretch;
}

.article-route-product-body .seo-route-link-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .4rem;
}

.article-route-product-body .seo-route-status {
  justify-self: start;
}

.article-route-product-body > b {
  margin-top: auto;
  color: var(--teal);
  font-size: .72rem;
  line-height: 1.35;
}
.seo-route-category {
  margin-top: 1.15rem;
}
.seo-route-category a {
  color: var(--ocean);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(21,83,104,.28);
  text-underline-offset: 4px;
}
.seo-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.seo-faq-item {
  border: 1px solid var(--sand);
  background: var(--white);
  padding: 1.2rem;
}
.seo-faq-item h3 {
  color: var(--ocean);
  font-family: 'Geologica', sans-serif;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}
.seo-faq-item p {
  color: rgba(26,26,24,0.68);
  font-size: 0.84rem;
  line-height: 1.7;
}
.seo-cta-band {
  background: var(--ocean);
  color: var(--white);
}
.seo-cta-band .seo-section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}
.seo-cta-band h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.seo-cta-band p {
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
}
.seo-cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.seo-mobile-actions {
  display: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .seo-category-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-hero-inner { grid-template-columns: 1fr; }
  .seo-hero::after { background: linear-gradient(90deg, rgba(29,74,90,0.94), rgba(29,74,90,0.62)); }
}

@media (max-width: 1100px) {
  .header-nav { display: none; }
  .header-contact { display: none !important; }
  .header-location { display: none !important; }
  .mobile-phone-action,
  .mobile-map-action {
    display: inline-grid;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(21,83,104,.14);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #edf7f4);
    color: var(--ocean);
    box-shadow: 0 5px 15px rgba(21,83,104,.08);
    place-items: center;
  }
  .mobile-phone-action span,
  .mobile-map-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .burger { display: flex; }
  #cart-toggle span:not(#cart-count) { display: none; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .seo-two-col,
  .seo-cta-band .seo-section-inner {
    grid-template-columns: 1fr;
  }
  .seo-cta-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  section { padding: 4rem 5vw; }
  .section-back-wrap {
    padding-bottom: 0.75rem;
  }
  .section-back-link {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    font-size: 0.72rem;
  }
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    min-width: 0;
    justify-content: center;
  }
  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .product-card {
    min-height: 340px;
  }
  .product-thumb {
    height: 128px;
  }
  .product-body {
    padding: 0.8rem;
  }
  .product-name {
    font-size: 0.78rem;
    min-height: 2.2em;
  }
  .product-desc {
    -webkit-line-clamp: 2;
    min-height: 2.1em;
  }
  .product-usecase {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.05em;
    font-size: 0.58rem;
  }
  .product-actions {
    width: 100%;
  }
  .btn-cart {
    width: auto;
    min-width: 78px;
    height: 34px;
  }
  .btn-order-wa,
  .btn-order-tg {
    flex: 1;
    text-align: center;
    white-space: normal;
    min-height: 34px;
    padding: 8px 7px;
    font-size: 0.58rem;
    letter-spacing: 0.035em;
  }
  .telegram-copy-box {
    display: block;
  }
  .telegram-copy-btn {
    width: 100%;
    min-height: 38px;
    border-left: 0;
    border-top: 1px solid var(--sand);
  }
  .cookie-notice {
    left: 0.65rem;
    right: 0.65rem;
    bottom: calc(72px + env(safe-area-inset-bottom));
    width: auto;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.85rem;
  }
  .cookie-notice p {
    font-size: 0.72rem;
  }
  .cookie-notice-btn {
    width: 100%;
  }
  #site-header,
  .mobile-nav,
  .mobile-quick-actions,
  .ticker-wrap,
  .cart-overlay,
  main,
  section,
  footer {
    max-width: 100vw;
    overflow-x: clip;
  }
  .footer-main { grid-template-columns: 1fr; gap: 1.75rem; padding: 2.5rem 5vw; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #cart-panel {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
  }
  .cart-header,
  .cart-items,
  .cart-footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  .cart-items { overscroll-behavior: contain; }
  /* iOS Safari авто-зумит при фокусе на input с font-size < 16px и ломает fixed-панель — держим >=16px */
  .checkout-field input,
  .checkout-field select,
  .checkout-field textarea,
  .cart-promo input {
    font-size: 16px;
  }
  .cart-total-label,
  .cart-final-label,
  .cart-discount-label {
    min-width: 0;
  }
  .cart-total-sum,
  .cart-final-sum,
  .cart-discount-minus {
    flex-shrink: 0;
  }
  .floating-cart-action {
    display: none !important;
  }
  body.mobile-actions-visible #site-header .cart-btn-wrap {
    display: none;
  }
  .scroll-top-action {
    right: 0.75rem;
    bottom: calc(118px + env(safe-area-inset-bottom));
    width: 44px;
    min-width: 44px;
    padding: 0;
  }
  .scroll-top-text { display: none; }
  .floating-cart-text {
    font-size: 0.66rem;
  }
  .header-logo {
    min-width: 0;
    font-size: 1rem;
    gap: 0.45rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-logo-img {
    width: 34px;
    height: 34px;
  }
  .header-actions > .btn {
    display: none;
  }
  .header-actions {
    min-width: 0;
    gap: 0.45rem;
  }
  .seo-hero {
    min-height: auto;
  }
  .seo-hero-inner {
    padding: 3.2rem 5vw 2.6rem;
  }
  .seo-category-page .seo-hero-inner {
    padding: 2.05rem 5vw 1.65rem;
  }
  .seo-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.02;
  }
  .seo-category-page .seo-hero h1 {
    font-size: clamp(1.9rem, 9.5vw, 2.55rem);
    margin-bottom: 0.8rem;
  }
  .seo-hero-text {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .seo-category-page .seo-hero-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .seo-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 1.2rem;
  }
  .seo-category-page .seo-hero-actions {
    grid-template-columns: minmax(0, 1.2fr) minmax(112px, .8fr);
    margin-top: 0.95rem;
  }
  .seo-category-page .seo-hero-actions .btn {
    min-width: 0;
    padding-inline: 0.75rem;
    white-space: normal;
    text-align: center;
  }
  .seo-hero-microcopy {
    font-size: 0.72rem;
  }
  .seo-category-page .seo-hero-microcopy,
  .seo-category-page .seo-hero-note {
    display: none;
  }
  .seo-hero-note {
    gap: 0.45rem;
    margin-top: 1rem;
  }
  .seo-hero-note span {
    font-size: 0.66rem;
    min-height: 26px;
  }
  .seo-section {
    padding: 3.6rem 5vw;
  }
  .seo-category-page .seo-hero + .seo-section {
    padding-top: 2.15rem;
  }
  .seo-category-choice {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin: 0.85rem 0 1rem;
  }
  .seo-category-page .seo-category-choice {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
  .seo-choice-card {
    min-height: 78px;
    padding: 0.85rem;
  }
  .seo-category-page .seo-choice-card {
    min-height: 58px;
    align-content: center;
    padding: 0.75rem 0.7rem;
  }
  .seo-category-page .seo-choice-card strong {
    font-size: 0.78rem;
    line-height: 1.25;
  }
  .seo-category-page .seo-choice-card span {
    display: none;
  }
  .seo-order-steps {
    grid-template-columns: 1fr;
  }
  .seo-category-links,
  .seo-route-links,
  .seo-faq {
    grid-template-columns: 1fr;
  }
  .seo-route-link {
    min-height: 136px;
  }
  .seo-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .seo-section-action .btn,
  .seo-cta-actions .btn {
    width: 100%;
  }
  .seo-page {
    padding-bottom: calc(84px + env(safe-area-inset-bottom));
  }
  .seo-mobile-actions {
    display: grid;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 260;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: 100vw;
    padding: 0.55rem 0.55rem max(0.55rem, env(safe-area-inset-bottom));
    background: rgba(253,252,248,0.97);
    border-top: 1px solid var(--sand);
    box-shadow: 0 -8px 28px rgba(29,74,90,0.14);
  }
  .seo-mobile-actions .btn {
    min-width: 0;
    min-height: 44px;
    padding: 11px 8px;
    justify-content: center;
    font-size: 0.68rem;
    line-height: 1.15;
  }
}

/* ─── LEAD FORM ─── */
.lead-banner {
  padding: 4.5rem 1.5rem;
  color: var(--white);
  background: var(--ocean);
  scroll-margin-top: 90px;
}
.lead-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 3.5rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.lead-copy h2 {
  margin-top: 0.65rem;
  color: var(--white);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.14;
}
.lead-copy h2 em {
  color: var(--gold);
  font-style: normal;
}
.lead-copy > p {
  max-width: 660px;
  margin-top: 1rem;
  color: rgba(253, 252, 248, 0.82);
  line-height: 1.65;
}
.lead-benefits {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.lead-benefits li {
  display: flex;
  gap: 0.65rem;
  color: rgba(253, 252, 248, 0.92);
  font-size: 0.9rem;
}
.lead-benefits li span {
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 800;
}
.lead-form,
.lead-success {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  color: var(--ocean);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(245,250,247,0.98));
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(7, 46, 58, 0.2);
}
.lead-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.lead-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}
fieldset.lead-field {
  margin: 0;
  padding: 0;
  border: 0;
}
.lead-field > span,
.lead-field-channel legend {
  color: var(--ocean);
  font-size: 0.8rem;
  font-weight: 700;
}
.lead-field > span small {
  color: var(--muted);
  font-weight: 400;
}
.lead-field > input,
.lead-field > textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(21, 83, 104, 0.2);
  border-radius: 8px;
  color: var(--ocean);
  background: rgba(255,255,255,0.88);
  box-shadow: inset 0 1px 2px rgba(21, 83, 104, 0.04);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.lead-field > input::placeholder,
.lead-field > textarea::placeholder {
  color: rgba(81, 104, 111, 0.72);
}
.lead-field > input:focus,
.lead-field > textarea:focus {
  outline: 0;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(35, 138, 160, 0.15);
}
.lead-field > input.invalid,
.lead-field > textarea.invalid {
  border-color: var(--rust);
  background: #fbeee9;
}
.lead-field > textarea {
  min-height: 74px;
  resize: vertical;
}
.lead-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.lead-channels label {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  min-height: 36px;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(21, 83, 104, 0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.lead-channels label:has(input:checked) {
  border-color: rgba(35, 138, 160, 0.42);
  background: rgba(35, 138, 160, 0.1);
  box-shadow: 0 2px 8px rgba(21, 83, 104, 0.08);
}
.lead-channels label:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(35, 138, 160, 0.15);
}
.lead-channels input[type="radio"] {
  width: auto;
  flex: none;
  margin: 0;
  padding: 0;
  accent-color: var(--teal);
}
.lead-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.lead-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.65rem 0.72rem;
  border-radius: 8px;
  background: rgba(21, 83, 104, 0.045);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}
.lead-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--teal);
}
.lead-consent.invalid { color: var(--rust); }
.lead-consent a,
.lead-status a {
  color: inherit;
  text-decoration: underline;
}
.lead-submit {
  width: 100%;
  justify-content: center;
}
.lead-submit:disabled {
  opacity: 0.65;
  cursor: progress;
}
.lead-status {
  min-height: 1.1em;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: center;
}
.lead-status.invalid { color: var(--rust); }
.lead-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
}
.lead-fallback a {
  color: var(--teal);
  font-weight: 700;
}
.lead-success {
  justify-items: center;
  text-align: center;
}
.lead-success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 1.5rem;
  font-weight: 800;
}
.lead-success h3 {
  margin: 0;
  color: var(--ocean);
}
.lead-success p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.lead-order-number,
.cart-order-number {
  color: var(--ocean) !important;
  font-size: 1rem;
}
.lead-order-number strong,
.cart-order-number strong {
  color: var(--rust);
  font-size: 1.3rem;
  letter-spacing: 0;
}
@media (max-width: 820px) {
  .lead-banner {
    padding: 3.5rem 1rem 7rem;
    scroll-margin-top: 76px;
  }
  .lead-banner-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 520px) {
  .lead-form-row { grid-template-columns: 1fr; }
  .lead-form,
  .lead-success { padding: 1rem; }
  .lead-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .lead-channels label {
    justify-content: center;
    min-width: 0;
    padding-inline: 0.35rem;
    font-size: 0.75rem;
  }
}

/* ─── PRINT ─── */
@media print {
  .ticker-wrap, #site-header, #site-footer, .cart-overlay, #cart-panel, .checkout-overlay, .checkout-feedback-overlay { display: none; }
}

/* Final cascade for the isolated Gradient Soft concept. */
.btn {
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(21,83,104,.08);
}
.btn-primary { background: var(--gradient-main); }
.btn-tg { background: linear-gradient(135deg, #168bc5, #35b4d4); }
.btn-wa { background: linear-gradient(135deg, #1fae61, #47ce78); }
.btn-secondary {
  background: rgba(255,255,255,.76);
  border-color: rgba(21,83,104,.34);
}
.badge,
.product-meta span,
.seo-hero-note span,
.filter-btn {
  border-radius: 999px;
}
.product-card,
.seo-category-links a,
.seo-faq-item,
.seo-order-steps > div {
  border-radius: 8px;
  border-color: rgba(21,83,104,.12);
  box-shadow: 0 5px 20px rgba(21,83,104,.055);
}
.btn-cart,
.product-gallery-zoom,
.product-gallery-nav,
.product-lightbox-close,
.product-lightbox-nav {
  border-radius: 50%;
}
.btn-cart.in-cart {
  border-color: transparent;
  background: linear-gradient(135deg, #46a07a 0%, #2f7d59 100%);
  color: #fff;
}
.btn-cart.in-cart:hover {
  filter: saturate(1.08) brightness(1.06);
  box-shadow: 0 7px 18px rgba(60,152,110,0.26);
}
.btn-order-tg,
.btn-order-wa,
#cart-toggle {
  border-radius: 999px;
}
#cart-toggle {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(184,228,221,.34));
  border-color: rgba(21,83,104,.16);
  box-shadow: 0 5px 16px rgba(21,83,104,.08);
}
.header-cart-icon {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
}
.header-cart-icon svg,
.mobile-home-action svg,
.mobile-phone-action svg,
.mobile-map-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-home-action { display: none; }
.seo-order-steps b {
  border-radius: 50%;
  background: var(--gradient-main);
}
.seo-cta-band {
  background: linear-gradient(135deg, #103e50, #176d75 58%, #3c8c79);
}

@media (max-width: 560px) {
  #site-header {
    display: grid;
    grid-template-columns: minmax(38px, 1fr) 42px 42px 42px 42px;
    gap: .42rem;
    padding-inline: 12px;
  }
  .header-logo {
    width: 38px;
    min-width: 38px;
    overflow: visible;
    font-size: 0;
  }
  .header-logo-img {
    width: 36px;
    height: 36px;
  }
  .mobile-phone-action,
  .mobile-map-action {
    display: inline-grid;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(21,83,104,.14);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #edf7f4);
    color: var(--ocean);
    box-shadow: 0 5px 15px rgba(21,83,104,.08);
    place-items: center;
  }
  .mobile-phone-action span,
  .mobile-map-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .header-actions { display: contents; }
  .header-contact { display: none; }
  .cart-btn-wrap,
  body.mobile-actions-visible #site-header .cart-btn-wrap {
    display: block !important;
    width: 42px;
    height: 42px;
  }
  #cart-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    justify-content: center;
  }
  #cart-toggle > svg {
    display: block !important;
    width: 18px;
    height: 18px;
  }
  #cart-toggle .header-cart-icon {
    display: inline-grid !important;
  }
  #cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
  }
  .burger {
    display: flex;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(21,83,104,.14);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #edf7f4);
    box-shadow: 0 5px 15px rgba(21,83,104,.08);
    align-items: center;
    justify-content: center;
  }
  .mobile-quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .mobile-quick-actions .mobile-cart-action {
    display: none !important;
  }
}

/* Keep every product action inside narrow cards. */
.product-actions .btn-cart {
  border-radius: 999px;
}
.product-actions-with-details {
  align-items: stretch;
}
@container (max-width: 220px) {
  .product-actions,
  .product-actions-with-details {
    display: grid;
    grid-template-columns: 1fr;
  }
  .product-actions .btn-product-details,
  .product-actions .btn-cart,
  .product-actions .btn-order-tg,
  .product-actions .btn-order-wa {
    grid-column: 1;
    width: 100%;
    min-width: 0;
  }
  .product-actions .product-card-qty {
    grid-column: 1;
    width: 100%;
  }
}

/* Keep header contacts usable between phone and wide-desktop layouts. */
@media (min-width: 561px) and (max-width: 1320px) {
  #site-header .header-nav,
  #site-header .header-contact,
  #site-header .header-location,
  #site-header .header-order-btn {
    display: none !important;
  }
  #site-header .mobile-phone-action,
  #site-header .mobile-map-action {
    display: inline-grid;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(21,83,104,.14);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #edf7f4);
    color: var(--ocean);
    box-shadow: 0 5px 15px rgba(21,83,104,.08);
    place-items: center;
  }
  #site-header .mobile-phone-action span,
  #site-header .mobile-map-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  #site-header .burger { display: flex; }
}

@media (min-width: 1321px) and (max-width: 1490px) {
  #site-header .header-order-btn { display: none !important; }
}

/* Priority product pages: quick facts before price and order actions. */
.product-fit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: -0.25rem 0 1.05rem;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(21,83,104,.12);
  border-bottom: 1px solid rgba(21,83,104,.12);
  list-style: none;
  color: var(--ocean);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}
.product-fit-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}
.product-fit-list li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
  content: '';
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .product-fit-list {
    display: grid;
    gap: 0.38rem;
    padding: 0.62rem 0;
    font-size: 0.75rem;
  }
}

/* Storefront cart actions: light "sea porcelain" palette. */
.product-actions .product-card-qty {
  height: 38px;
  grid-template-columns: 28px minmax(40px, 1fr) 28px;
  border-color: #d4e3e0;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbfa 100%);
  box-shadow: 0 3px 10px rgba(21,83,104,.055);
}
.product-actions .product-card-qty-btn {
  display: grid;
  place-items: center;
  padding: 0;
  color: #155368;
  font-family: 'Geologica', sans-serif;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0;
}
.product-actions .product-card-qty-value {
  width: 100%;
  min-width: 0;
  height: 38px;
  color: #174f60;
  font-family: 'Geologica', sans-serif;
  font-size: 0.7rem;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}
.product-actions .product-card-qty-value small {
  color: #70858b;
  font-size: 0.56rem;
  letter-spacing: 0;
  transform: none;
}
.product-actions .btn-cart,
.product-actions .btn-cart-weight {
  min-width: 92px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #b9d7d1;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #eef8f5 100%);
  box-shadow: 0 4px 12px rgba(21,83,104,.08);
  color: #155368;
  font-family: 'Geologica', sans-serif;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  filter: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-actions .btn-cart:hover,
.product-actions .btn-cart-weight:hover {
  border-color: #58a99f;
  background: linear-gradient(135deg, #fbfffe 0%, #def1ed 100%);
  box-shadow: 0 8px 18px rgba(44,128,116,.17);
  color: #155368;
  filter: none;
  transform: translateY(-1px);
}
.product-actions .btn-cart:focus-visible {
  outline: 2px solid rgba(22,139,145,.48);
  outline-offset: 2px;
}
.product-actions .btn-cart.in-cart {
  border-color: #a7d4b7;
  background: linear-gradient(135deg, #e8f7ed 0%, #cfeadb 100%);
  box-shadow: 0 5px 14px rgba(63,137,94,.13);
  color: #286149;
  filter: none;
}
.product-actions .btn-cart.in-cart:hover {
  border-color: #8fc5a4;
  background: linear-gradient(135deg, #e2f5e8 0%, #c7e5d4 100%);
  box-shadow: 0 7px 16px rgba(63,137,94,.16);
  color: #245b44;
  filter: none;
}
.product-actions .btn-cart.in-cart .btn-cart-icon { display: none; }
.product-actions .btn-cart.in-cart::before {
  content: '✓';
  font-size: 0.72rem;
  line-height: 1;
}
.product-actions .btn-cart-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

/* Product-card rhythm: every storefront uses the same vertical tracks and actions. */
.product-card {
  height: 100%;
}
.product-card-copy-empty {
  visibility: hidden;
}
.product-card .product-price {
  display: block;
  min-height: 2.4rem;
  font-variant-numeric: tabular-nums;
}
.product-card .product-price.na {
  padding-top: 0.1rem;
}
.product-actions-v2 .pf2-qtyrow,
.product-actions-v2 .pf2-statusrow {
  min-height: 64px;
}
.product-actions-v2 .pf2-statusrow {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px 10px;
  border-top: 1px solid #dbe7e4;
  border-bottom: 1px solid #dbe7e4;
  color: #627a80;
  font-size: 0.64rem;
  line-height: 1.35;
  text-align: center;
  text-wrap: pretty;
}
.product-actions-v2 .product-card-total {
  height: 20px;
  min-height: 20px;
  font-variant-numeric: tabular-nums;
}
.product-actions-v2 .product-card-total-pending span {
  color: #627a80;
  font-weight: 700;
}
.product-actions-v2 .pf2-buttons,
.product-actions-unavailable .pf2-buttons {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, 38px);
  gap: 6px;
}
.product-actions-v2 .pf2-buttons.pf2-buttons-single {
  grid-template-rows: 38px;
}
.product-actions-v2 .pf2-buttons .btn-product-details,
.product-actions-v2 .pf2-buttons .btn-cart,
.product-actions-v2 .pf2-buttons .btn-cart-weight,
.product-actions-v2 .pf2-buttons .btn-order-notify {
  width: 100%;
  min-width: 0;
  height: 38px;
  min-height: 38px;
  grid-column: 1;
  box-sizing: border-box;
}
.product-actions-v2 .pf2-buttons .btn-product-details {
  padding: 0 10px;
  line-height: 1;
  text-align: center;
}
.product-actions-v2 .pf2-buttons .btn-order-notify {
  padding: 0 10px;
  line-height: 1.15;
  white-space: normal;
}
.product-actions-v2 .product-card-qty-btn:focus-visible,
.product-actions-v2 .btn-product-details:focus-visible,
.product-actions-v2 .btn-order-notify:focus-visible {
  outline: 2px solid rgba(22,139,145,.48);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .product-actions .btn-cart { transition: none; }
  .product-actions .btn-cart:hover { transform: none; }
}

/* Floating cart and scroll-to-top actions match the light storefront controls. */
.floating-cart-action {
  border-color: #a7d4b7;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8f7ed 0%, #cfeadb 100%);
  box-shadow: 0 10px 26px rgba(63,137,94,.15);
  color: #286149;
  font-family: 'Geologica', sans-serif;
}
.floating-cart-action:hover {
  border-color: #8fc5a4;
  background: linear-gradient(135deg, #e2f5e8 0%, #c7e5d4 100%);
  box-shadow: 0 14px 32px rgba(63,137,94,.19);
  color: #245b44;
}
.floating-cart-icon {
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
}
.floating-cart-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floating-cart-text {
  line-height: 1;
  letter-spacing: 0;
}
.floating-cart-count {
  background: rgba(255,255,255,.68);
  box-shadow: inset 0 0 0 1px rgba(40,97,73,.12);
  color: #286149;
}
.scroll-top-action {
  border-color: #b9d7d1;
  background: linear-gradient(135deg, #ffffff 0%, #eef8f5 100%);
  box-shadow: 0 8px 22px rgba(21,83,104,.12);
  color: #155368;
  letter-spacing: 0;
}
.scroll-top-action:hover {
  border-color: #58a99f;
  background: linear-gradient(135deg, #fbfffe 0%, #def1ed 100%);
  box-shadow: 0 11px 26px rgba(44,128,116,.17);
  color: #155368;
}
.scroll-top-action:focus-visible,
.floating-cart-action:focus-visible {
  outline: 2px solid rgba(22,139,145,.48);
  outline-offset: 2px;
}

/* Use the header cart as the only persistent cart entry point. */
.floating-cart-action { display: none !important; }
#cart-toggle:hover,
#cart-toggle.has-items:hover {
  border-color: #58a99f;
  background: linear-gradient(135deg, #fbfffe 0%, #def1ed 100%);
  box-shadow: 0 8px 18px rgba(44,128,116,.16);
  color: #155368;
}
.cart-added-notice button {
  border: 1px solid #b9d7d1;
  background: linear-gradient(135deg, #ffffff 0%, #eef8f5 100%);
  box-shadow: 0 4px 12px rgba(21,83,104,.08);
  color: #155368;
  letter-spacing: 0;
}
.cart-added-notice button:hover {
  border-color: #58a99f;
  background: linear-gradient(135deg, #fbfffe 0%, #def1ed 100%);
  box-shadow: 0 8px 18px rgba(44,128,116,.15);
}

/* ─── MOBILE CRO: keep the shortest path to a site order visible ─── */
@media (max-width: 760px) {
  body.product-page {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  body.product-page .product-mobile-bar {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 280;
    width: 100%;
    box-shadow: 0 -8px 28px rgba(29,74,90,.14);
  }
}

@media (max-width: 560px) {
  .cookie-notice {
    bottom: calc(clamp(72px, 20vh, 170px) + env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
    padding: .65rem .7rem;
  }

  body.mobile-actions-visible .cookie-notice {
    bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .cookie-notice p {
    font-size: .68rem;
    line-height: 1.35;
  }

  .cookie-notice-btn {
    width: auto;
    height: 44px;
    min-width: 92px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 .8rem;
    font-size: .62rem;
  }

  body.mobile-actions-has-cart .mobile-quick-actions {
    grid-template-columns: .9fr 1fr 1fr !important;
  }

  body.mobile-actions-has-cart .mobile-quick-actions .mobile-cart-action {
    display: inline-flex !important;
    align-items: center;
  }

  body.mobile-actions-has-cart .mobile-quick-actions a[href^="tel:"] {
    display: none !important;
  }
}
#cart-toggle .header-cart-label {
  display: none;
}
#cart-toggle.has-items .header-cart-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #155368;
  font-family: 'Geologica', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

@media (max-width: 1320px) {
  .cart-btn-wrap:has(#cart-toggle.has-items) {
    width: auto !important;
  }
  #cart-toggle.has-items {
    width: auto;
    min-width: 98px;
    padding: 0 8px;
    gap: 0.25rem;
  }
  #cart-toggle.has-items .header-cart-label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #155368;
    font-family: 'Geologica', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
  }
}

@media (max-width: 560px) {
  #site-header:has(#cart-toggle.has-items) {
    grid-template-columns: minmax(32px, 1fr) 42px 42px minmax(98px, auto) 42px;
  }
  .cart-btn-wrap:has(#cart-toggle.has-items) {
    height: 42px;
  }
  #cart-toggle.has-items #cart-count {
    position: static;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    font-size: 0.58rem;
  }
  #cart-toggle.has-items .header-cart-icon,
  #cart-toggle.has-items .header-cart-icon svg {
    width: 16px;
    height: 16px;
  }
}


/* ─── Фото внутри статей (article-figure) ─── */
.article-figure {
  margin: 1.6rem 0;
  text-align: center;
}
.article-figure img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 640px;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(21,83,104,.12);
}
.article-figure figcaption {
  margin-top: .6rem;
  font-size: .92rem;
  color: #5b6f74;
  font-style: italic;
}

/* Priority article visuals: real store/product photos, comparisons and product routes. */
.article-visual-section {
  background: var(--cream);
}

.article-visual-lead {
  max-width: 820px;
  margin-bottom: 1.35rem;
}

.article-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-photo-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 83, 104, .14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 83, 104, .08);
}

.article-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: var(--article-photo-position, center);
  background: #edf3f1;
}

.article-photo-card figcaption {
  min-height: 72px;
  padding: .8rem .9rem .9rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

.yukola-offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  margin-top: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(21, 83, 104, .18);
  border-radius: 10px;
  background: #fff;
}

.yukola-offer-copy h3 {
  margin: .25rem 0 .65rem;
  color: var(--ocean);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.yukola-offer-copy p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.yukola-offer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.yukola-offer-facts span {
  padding: .35rem .65rem;
  border: 1px solid rgba(21, 83, 104, .15);
  border-radius: 999px;
  background: #f4f8f6;
  color: var(--ocean);
  font-size: .74rem;
  font-weight: 700;
}

.yukola-offer-action {
  display: grid;
  gap: .45rem;
  padding-left: clamp(1rem, 2vw, 2rem);
  border-left: 1px solid rgba(21, 83, 104, .14);
}

.yukola-offer-action > strong {
  color: var(--ocean);
  font-family: 'Geologica', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.yukola-offer-action > small {
  margin-bottom: .65rem;
  color: var(--muted);
}

.yukola-offer-message {
  margin-top: .25rem;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-route-link.yukola-offer-product {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: .65rem;
  align-items: center;
  min-height: 0;
  padding: .6rem;
  border-color: rgba(21, 83, 104, .2);
  background: #f4f8f6;
}

.yukola-offer-product .article-route-product-thumb {
  width: 56px;
  height: 56px;
}

.yukola-offer-product > span {
  display: grid;
  gap: .2rem;
}

.yukola-offer-product strong {
  color: var(--ocean);
  font-size: .82rem;
}

.yukola-offer-product small {
  color: var(--muted);
  font-size: .68rem;
}

.article-product-showcase {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.25fr) minmax(220px, .7fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  overflow: hidden;
  margin-top: 1.25rem;
  border: 1px solid rgba(21, 83, 104, .18);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(21, 83, 104, .08);
}

.article-product-showcase-media {
  display: block;
  align-self: stretch;
  min-height: 310px;
  background: #e8efec;
}

.article-product-showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: center 34%;
}

.article-product-showcase-copy {
  padding-block: clamp(1.25rem, 3vw, 2rem);
}

.article-product-showcase-copy h2 {
  margin: .3rem 0 .65rem;
}

.article-product-showcase-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.article-product-showcase-action {
  display: grid;
  gap: .65rem;
  align-content: center;
  align-self: stretch;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: 1px solid rgba(21, 83, 104, .14);
  background: #f4f8f6;
}

.article-product-showcase-price {
  color: var(--ocean);
  font-family: 'Geologica', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
}

.article-product-showcase-price small {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
}

.article-product-showcase-action .btn {
  width: 100%;
}

.article-product-showcase-note {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
}

.article-compare-wrap {
  margin-top: 1.45rem;
  overflow-x: auto;
  border: 1px solid rgba(21, 83, 104, .14);
  border-radius: 8px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.article-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: var(--ink);
  font-size: .82rem;
  line-height: 1.45;
}

.article-compare-table caption {
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(21, 83, 104, .12);
  color: var(--ocean);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
}

.article-compare-table th,
.article-compare-table td {
  padding: .75rem .85rem;
  border-bottom: 1px solid rgba(21, 83, 104, .11);
  text-align: left;
  vertical-align: top;
}

.article-compare-table thead th {
  background: #eaf3f1;
  color: var(--ocean);
  font-size: .73rem;
}

.article-compare-table tbody th {
  width: 24%;
  color: var(--ocean);
  font-size: .78rem;
}

.article-compare-table tbody tr:last-child > * {
  border-bottom: 0;
}

.local-story-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(21, 83, 104, .14);
}

.local-story-head > div {
  max-width: 820px;
}

.local-story-head h2 {
  margin-bottom: .75rem;
}

.local-story-head .seo-copy {
  max-width: 76ch;
}

.local-story-channel {
  flex: 0 0 auto;
  white-space: nowrap;
}

.local-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.local-story-card {
  display: grid;
  grid-template-rows: 300px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 83, 104, .14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 83, 104, .07);
}

.local-story-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--local-story-position, center);
  background: #eaf3f1;
}

.local-story-card-body {
  padding: 1rem;
}

.local-story-card time {
  display: block;
  margin-bottom: .45rem;
  color: var(--teal);
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
}

.local-story-card h3 {
  margin-bottom: .55rem;
  color: var(--ocean);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

.local-story-card p {
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .local-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .article-photo-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78vw, 1fr);
    gap: .8rem;
    margin-inline: -5vw;
    padding-inline: 5vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .article-photo-grid::-webkit-scrollbar {
    display: none;
  }

  .article-photo-card {
    scroll-snap-align: start;
  }

  .article-photo-card figcaption {
    min-height: 68px;
  }

  .yukola-offer-card {
    grid-template-columns: 1fr;
  }

  .yukola-offer-action {
    padding: 1rem 0 0;
    border-top: 1px solid rgba(21, 83, 104, .14);
    border-left: 0;
  }

  .article-product-showcase {
    grid-template-columns: 1fr;
  }

  .article-product-showcase-media,
  .article-product-showcase-media img {
    min-height: 260px;
    max-height: 390px;
  }

  .article-product-showcase-copy {
    padding: 0 1rem;
  }

  .article-product-showcase-action {
    padding: 1rem;
    border-top: 1px solid rgba(21, 83, 104, .14);
    border-left: 0;
  }

  .article-compare-wrap {
    margin-inline: -5vw;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .local-story-head {
    align-items: stretch;
    flex-direction: column;
    margin-top: 2.25rem;
    padding-top: 2rem;
  }

  .local-story-channel {
    align-self: flex-start;
  }

  .local-story-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82vw, 1fr);
    gap: .8rem;
    margin: 1.25rem -5vw 0;
    padding-inline: 5vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .local-story-grid::-webkit-scrollbar {
    display: none;
  }

  .local-story-card {
    grid-template-rows: 260px minmax(0, 1fr);
    scroll-snap-align: start;
  }
}

@media (max-width: 460px) {
  .article-route-product-link {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: .75rem;
  }

  .article-route-product-thumb {
    width: 78px;
    height: 78px;
  }

  .article-route-product-body {
    min-height: 78px;
  }
}
/* Static product and news indexes */
.catalog-static-index,
.news-static-archive {
  padding: 0;
  background: #f4f7f3;
  border-top: 1px solid rgba(13, 89, 105, 0.14);
  border-bottom: 1px solid rgba(13, 89, 105, 0.12);
}

.static-index-inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 64px 5vw 72px;
}

.static-index-heading {
  max-width: 760px;
  margin: 0 0 28px;
}

.static-index-eyebrow {
  margin: 0 0 9px;
  color: #15859a;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.static-index-heading h2 {
  margin: 0;
  color: #0d5365;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.55rem;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.static-index-heading > p:last-child {
  max-width: 660px;
  margin: 13px 0 0;
  color: #5d7075;
  font-size: 0.97rem;
  line-height: 1.65;
}

.static-index-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.static-index-group,
.static-news-details {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(13, 89, 105, 0.17);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(15, 72, 82, 0.045);
}

.static-index-group summary,
.static-news-details summary {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 46px 12px 16px;
  color: #164f5d;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.static-index-group summary::-webkit-details-marker,
.static-news-details summary::-webkit-details-marker {
  display: none;
}

.static-index-group summary::after,
.static-news-details summary::after {
  position: absolute;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #16879a;
  border-bottom: 2px solid #16879a;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.static-index-group[open] summary::after,
.static-news-details[open] summary::after {
  transform: rotate(225deg);
}

.static-index-group summary:hover,
.static-index-group summary:focus-visible,
.static-news-details summary:hover,
.static-news-details summary:focus-visible {
  background: #edf6ef;
  color: #0d5365;
  outline: none;
}

.static-index-group summary > span,
.static-news-details summary > span {
  min-width: 0;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.3;
}

.static-index-group summary small,
.static-news-details summary small {
  flex: 0 0 auto;
  color: #74858a;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.3;
}

.static-product-links,
.static-news-links {
  margin: 0;
  padding: 2px 16px 18px;
  list-style: none;
}

.static-product-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 24px;
}

.static-product-links a {
  display: block;
  padding: 8px 0;
  color: #425f66;
  font-size: 0.87rem;
  line-height: 1.45;
  text-decoration: none;
}

.static-product-links a:hover,
.static-product-links a:focus-visible,
.static-news-links a:hover span,
.static-news-links a:focus-visible span {
  color: #15859a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.static-index-extra {
  margin: 24px 0 0;
  color: #5d7075;
  font-size: 0.9rem;
}

.static-index-extra a {
  color: #0d6879;
  font-weight: 750;
  text-underline-offset: 3px;
}

.news-static-archive {
  background: #fff;
}

.static-news-details {
  max-width: 980px;
}

.static-news-details summary {
  min-height: 62px;
  padding-left: 20px;
}

.static-news-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}

.static-news-links li {
  border-top: 1px solid rgba(13, 89, 105, 0.1);
}

.static-news-links a {
  display: flex;
  min-height: 68px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  color: #355960;
  text-decoration: none;
}

.static-news-links a span {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 680;
  line-height: 1.45;
}

.static-news-links time {
  flex: 0 0 112px;
  color: #788a8e;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: right;
}

@media (max-width: 760px) {
  .static-index-inner {
    padding: 42px 20px 48px;
  }

  .static-index-heading {
    margin-bottom: 22px;
  }

  .static-index-heading h2 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .static-index-heading > p:last-child {
    font-size: 0.92rem;
  }

  .static-index-groups,
  .static-product-links,
  .static-news-links {
    grid-template-columns: 1fr;
  }

  .static-index-group summary {
    min-height: 54px;
  }

  .static-news-links a {
    display: block;
    min-height: 0;
  }

  .static-news-links time {
    display: block;
    margin-top: 5px;
    text-align: left;
  }
}

/* Master-category links to products beyond the visible top eight */
.seo-category-link-index {
  overflow: hidden;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 89, 105, 0.16);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(15, 72, 82, 0.04);
}

.seo-category-link-index summary {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 48px 12px 18px;
  color: #164f5d;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.seo-category-link-index summary::-webkit-details-marker {
  display: none;
}

.seo-category-link-index summary::after {
  position: absolute;
  right: 19px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #16879a;
  border-bottom: 2px solid #16879a;
  content: "";
  transform: rotate(45deg);
  transition: transform 160ms ease;
}

.seo-category-link-index[open] summary::after {
  transform: rotate(225deg);
}

.seo-category-link-index summary:hover,
.seo-category-link-index summary:focus-visible {
  background: #edf6ef;
  color: #0d5365;
  outline: none;
}

.seo-category-link-index summary > span {
  font-size: 0.95rem;
  font-weight: 760;
  line-height: 1.35;
}

.seo-category-link-index summary > small {
  color: #74858a;
  font-size: 0.74rem;
  font-weight: 650;
}

.seo-category-link-index ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 2px 18px 18px;
  list-style: none;
}

.seo-category-link-index li {
  min-width: 0;
  border-top: 1px solid rgba(13, 89, 105, 0.09);
}

.seo-category-link-index li a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  color: #365c64;
  font-size: 0.86rem;
  line-height: 1.42;
  text-decoration: none;
}

.seo-category-link-index li a:hover > span,
.seo-category-link-index li a:focus-visible > span {
  color: #15859a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-category-product-status {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 720;
  white-space: nowrap;
}

.seo-category-product-status.is-instock {
  color: #328a5d;
}

.seo-category-product-status.is-order {
  color: #9a7220;
}

.seo-category-product-status.is-wait {
  color: #718287;
}

.seo-category-product-status.is-out {
  color: #718287;
}

@media (max-width: 760px) {
  .seo-category-link-index {
    margin-top: 20px;
  }

  .seo-category-link-index summary {
    min-height: 56px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 11px 46px 11px 14px;
  }

  .seo-category-link-index ul {
    grid-template-columns: 1fr;
    padding: 0 14px 14px;
  }

  .seo-category-link-index li a {
    display: block;
    min-height: 0;
    padding: 11px 0;
  }

  .seo-category-product-status {
    display: block;
    margin-top: 4px;
  }
}

/* Keep the catalog in the main header on compact layouts as well. */
.header-catalog-mobile { display: none; }

.header-nav a.header-catalog-link,
.header-catalog-mobile {
  padding: .5rem .65rem;
  border: 1px solid rgba(3,78,65,.2);
  border-radius: 999px;
  background: #eaf2ec;
  color: #034e41;
  opacity: 1;
  font-weight: 600;
  letter-spacing: .025em;
  text-decoration: none;
}

.header-catalog-link:focus-visible,
.header-catalog-mobile:focus-visible {
  outline: 3px solid #21847e;
  outline-offset: 2px;
}

.header-nav a.header-catalog-link:hover,
#site-header > .header-catalog-mobile:hover {
  background: #dcece3;
  border-color: rgba(3,78,65,.34);
}

@media (max-width: 1320px) {
  #site-header > .header-catalog-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    margin-inline-end: auto;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }
}

@media (min-width: 561px) and (max-width: 760px) {
  #site-header:has(> .header-catalog-mobile) { gap: .65rem; }
}

@media (max-width: 560px) {
  #site-header:has(> .header-catalog-mobile) {
    display: flex;
    gap: .42rem;
    padding-inline: 12px;
  }
  #site-header:has(> .header-catalog-mobile) :is(.mobile-phone-action, .mobile-map-action, .cart-btn-wrap, .burger) {
    flex-shrink: 0;
  }
}

@media (max-width: 420px) {
  #site-header:has(> .header-catalog-mobile) #cart-toggle.has-items {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }
  #site-header:has(> .header-catalog-mobile) #cart-toggle.has-items .header-cart-label {
    display: none !important;
  }
  #site-header:has(> .header-catalog-mobile) #cart-toggle.has-items #cart-count {
    position: absolute;
  }
}

@media (max-width: 360px) {
  #site-header:has(> .header-catalog-mobile) {
    gap: 4px;
    padding-inline: 10px;
  }
  #site-header:has(> .header-catalog-mobile) :is(.mobile-phone-action, .mobile-map-action, .cart-btn-wrap, #cart-toggle, .burger) {
    width: 40px;
  }
  #site-header:has(> .header-catalog-mobile) #cart-toggle.has-items {
    width: 40px;
    min-width: 40px;
  }
}


/* Keep the remaining factual captions below the image. */
body.product-page .product-main-photo:has(> .product-photo-note) { flex-direction: column; }
body.product-page .product-main-photo > .product-photo-note {
  position: static; inset: auto; align-self: stretch; flex: 0 0 auto;
  margin: 0; padding: .5rem .75rem; border-radius: 0;
  color: var(--muted); background: var(--cream); backdrop-filter: none;
}
body.product-page .product-trust { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
body.product-page .product-serving-grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
body.product-page .product-details-grid > :only-child { grid-column: 1 / -1; }

/* BEGIN mobile product first screen 20261113 */
@media (max-width: 620px) {
  body.product-page .product-back-link {
    min-height: 34px;
    padding-block: .45rem;
  }

  body.product-page .product-breadcrumbs {
    padding: .6rem 1rem;
    flex-wrap: wrap;
    gap: .3rem;
    font-size: .64rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  body.product-page .product-breadcrumbs a,
  body.product-page .product-breadcrumbs .breadcrumbs-sep {
    flex-shrink: 0;
    white-space: nowrap;
  }

  body.product-page .product-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .65rem;
    padding: .65rem 1rem 2rem;
    align-items: start;
  }

  body.product-page .product-main > .product-summary {
    display: contents;
  }

  body.product-page .product-summary > * {
    min-width: 0;
    margin: 0;
    order: 50;
  }

  body.product-page .product-summary > .product-kicker {
    order: 10;
    font-size: .61rem;
    line-height: 1.35;
    letter-spacing: .12em;
  }

  body.product-page .product-summary > h1 {
    order: 20;
    margin: 0;
    font-size: clamp(1.45rem, 6vw, 1.85rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  body.product-page .product-summary > .product-price-block {
    order: 30;
    margin: 0;
    padding: .65rem 0;
  }

  body.product-page .product-page-price {
    font-size: clamp(1.5rem, 6.7vw, 1.85rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  body.product-page .product-page-price small {
    font-size: .75rem;
    line-height: 1.4;
  }

  body.product-page .product-price-note {
    margin: .35rem 0 0;
    font-size: .7rem;
    line-height: 1.4;
  }

  body.product-page .product-summary > .product-state-row {
    order: 35;
    gap: .4rem;
  }

  body.product-page .product-main > .product-gallery-large {
    order: 40;
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: .45rem;
  }

  body.product-page .product-main .product-main-photo {
    order: 0;
    position: relative;
    inset: auto;
    display: block;
    min-height: 0 !important;
    height: auto;
    aspect-ratio: auto;
  }

  body.product-page .product-main .product-main-photo img {
    display: block;
    width: 100%;
    height: clamp(136px, 26vh, 200px);
    min-height: 0 !important;
    max-height: 200px;
    object-fit: contain;
    transform: none;
  }

  body.product-page .product-main .product-photo-note {
    position: static;
    inset: auto;
    margin: 0;
    padding: .5rem .6rem;
    border-radius: 0;
    font-size: .65rem;
    line-height: 1.4;
  }

  body.product-page .product-main .product-thumbs {
    order: 1;
    display: flex;
    flex-direction: row;
    gap: .45rem;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding-bottom: .2rem;
    overflow-x: auto;
  }

  body.product-page .product-main .product-thumb-button {
    flex: 0 0 52px;
    width: 52px;
    min-width: 52px;
    height: 52px;
    aspect-ratio: 1;
  }

  body.product-page .product-main .product-thumb-button img {
    object-fit: contain;
    transform: none;
  }

  body.product-page .product-summary > .product-lead {
    order: 45;
  }

  body.product-page .product-summary > .product-fit-list {
    order: 46;
  }

  body.product-page .product-summary > .product-primary-actions {
    order: 50;
  }

  body.product-page .product-summary > .product-order-note {
    order: 60;
  }

  body.product-page .product-summary > .product-trust {
    order: 70;
  }
}
/* END mobile product first screen 20261113 */

/* Product detail layout */
/* A single photograph does not need a thumbnail column. */
body.product-page .product-gallery-large > .product-thumbs:has(> .product-thumb-button:only-child) {
  display: none;
}

@media (min-width: 901px) {
  body.product-page .product-gallery-large:not(:has(> .product-thumbs > .product-thumb-button:nth-child(2))) {
    grid-template-columns: minmax(0, 1fr);
  }

  body.product-page .product-gallery-large:not(.product-gallery-cropped) .product-main-photo:has(> img) {
    min-height: 0;
  }

  body.product-page .product-gallery-large:not(.product-gallery-cropped) .product-main-photo > img {
    min-height: 0;
    height: auto;
    max-height: min(72vh, 680px);
    object-fit: contain;
  }

  body.product-page .product-summary h1 {
    font-size: clamp(2rem, 3.35vw, 2.7rem);
    overflow-wrap: anywhere;
  }
}

body.product-page .product-mobile-bar[hidden] {
  display: none;
}

@media (max-width: 620px) {
  body.product-page .product-main > .product-primary-actions {
    order: 50;
  }
}
