/* ============================================================
   CozyTail Pet Supplies — main stylesheet
   File: css/style.css
   Contents: design tokens, base, layout, components, sections,
   modals, cookie banner, footer, utilities, responsive, motion
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --brand-900: #07332f;
  --brand-800: #0c4a44;
  --brand-700: #10615a;
  --brand-600: #14776e;
  --brand-500: #1c9184;
  --brand-100: #d9efec;
  --brand-50: #f0f8f7;

  --accent-700: #cf6a17;
  --accent-600: #ec7d20;
  --accent-500: #f59231;
  --accent-100: #fdeeda;

  --ink-900: #14201e;
  --ink-700: #2e403c;
  --ink-600: #4a5f5a;
  --ink-500: #6b7f7a;
  --line: #e2e8e6;
  --line-soft: #eef2f1;

  --bg: #ffffff;
  --bg-soft: #f8faf9;
  --bg-warm: #fdf8f1;

  --ok: #1a7f4b;
  --ok-bg: #e7f6ed;
  --warn: #b06a00;
  --danger: #b4322c;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 42, 38, .06), 0 2px 8px rgba(16, 42, 38, .05);
  --shadow: 0 6px 18px rgba(16, 42, 38, .08);
  --shadow-lg: 0 22px 48px rgba(16, 42, 38, .16);

  --container: 1180px;
  --header-h: 76px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.18rem; }
p  { margin: 0 0 1em; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-800); text-decoration: underline; }

ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 120;
  background: var(--brand-800); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: 78px 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--tight { padding: 56px 0; }

.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-600);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 6px 13px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.lead { font-size: 1.075rem; color: var(--ink-600); }
.muted { color: var(--ink-500); }
.small { font-size: .875rem; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: .975rem; font-weight: 700;
  line-height: 1; padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none !important; white-space: nowrap;
  transition: transform .16s ease, box-shadow .2s ease,
              background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--accent-600); color: #fff; box-shadow: 0 8px 20px rgba(236, 125, 32, .28); }
.btn--primary:hover { background: var(--accent-700); color: #fff; }

.btn--brand { background: var(--brand-700); color: #fff; box-shadow: 0 8px 20px rgba(16, 97, 90, .22); }
.btn--brand:hover { background: var(--brand-800); color: #fff; }

.btn--ghost { background: #fff; color: var(--brand-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-800); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.btn--sm { padding: 10px 17px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--quiet { background: transparent; color: var(--ink-600); border-color: transparent; padding: 10px 14px; }
.btn--quiet:hover { background: var(--line-soft); color: var(--ink-900); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, .97); }

.header-inner {
  display: flex; align-items: center; gap: 22px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand__mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 14px; background: var(--brand-700);
  display: grid; place-items: center;
  box-shadow: inset 0 -6px 14px rgba(0, 0, 0, .16);
}
.brand__mark svg { width: 28px; height: 28px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-size: 1.22rem; font-weight: 800; color: var(--ink-900);
  letter-spacing: -.02em;
}
.brand__tagline {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-600); margin-top: 3px;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; color: var(--ink-700);
  text-decoration: none !important; transition: background-color .18s, color .18s;
}
.main-nav a:hover { background: var(--brand-50); color: var(--brand-800); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  color: var(--brand-800); font-family: inherit; font-weight: 700; font-size: .9rem;
  padding: 11px 16px; border-radius: var(--radius-pill); cursor: pointer;
  transition: background-color .2s, transform .16s;
}
.cart-btn:hover { background: var(--brand-100); transform: translateY(-1px); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center;
  background: var(--accent-600); color: #fff;
  border-radius: var(--radius-pill); font-size: .74rem; font-weight: 800;
}
.cart-count.is-empty { background: var(--ink-500); }

.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink-900);
  border-radius: 2px; position: relative; transition: background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink-900); border-radius: 2px; transition: transform .25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 420px at 88% -10%, rgba(245, 146, 49, .18), transparent 60%),
    radial-gradient(760px 420px at 4% 108%, rgba(28, 145, 132, .16), transparent 62%),
    linear-gradient(180deg, #fdfbf7 0%, #f4f8f7 100%);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 54px; align-items: center; padding: 72px 0 78px;
}
.hero h1 { margin-bottom: .42em; }
.hero__accent { color: var(--brand-700); }
.hero__lead { font-size: 1.14rem; color: var(--ink-600); max-width: 34em; }

.hero__points {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 26px 0 30px; padding: 0;
}
.hero__points li {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: .87rem; font-weight: 600; color: var(--ink-700);
  box-shadow: var(--shadow-sm);
}
.hero__points svg { width: 16px; height: 16px; color: var(--brand-600); flex: none; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff;
  aspect-ratio: 4 / 3.35; background: var(--brand-100);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -18px; bottom: 26px;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.hero__badge-icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--ok-bg); color: var(--ok); display: grid; place-items: center;
}
.hero__badge-icon svg { width: 21px; height: 21px; }
.hero__badge strong { display: block; color: var(--ink-900); font-size: .93rem; line-height: 1.25; }
.hero__badge span { font-size: .78rem; color: var(--ink-500); }

/* ---------- Value strip ---------- */
.value-strip { background: var(--brand-800); color: #fff; padding: 26px 0; }
.value-strip__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
}
.value-item { display: flex; align-items: flex-start; gap: 13px; }
.value-item__icon {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  background: rgba(255, 255, 255, .12); display: grid; place-items: center;
}
.value-item__icon svg { width: 21px; height: 21px; color: var(--accent-500); }
.value-item strong { display: block; font-size: .97rem; color: #fff; }
.value-item span { font-size: .845rem; color: rgba(255, 255, 255, .74); line-height: 1.45; }

/* ---------- Cards (shared) ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }

/* ---------- Categories ---------- */
.category-card { display: flex; flex-direction: column; }
.category-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--brand-50); }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.category-card:hover .category-card__media img { transform: scale(1.06); }
.category-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, .94); color: var(--brand-800);
  font-size: .73rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 11px; border-radius: var(--radius-pill);
}
.category-card__body { padding: 20px 20px 22px; }
.category-card__body h3 { margin-bottom: .3em; }
.category-card__body p { font-size: .92rem; color: var(--ink-600); margin-bottom: 14px; }
.category-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .9rem; color: var(--brand-700);
}
.category-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.category-link:hover svg { transform: translateX(4px); }

/* ---------- Products ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 30px; align-items: center;
}
.filter-btn {
  font-family: inherit; font-size: .885rem; font-weight: 700;
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: #fff; color: var(--ink-600);
  cursor: pointer; transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--brand-500); color: var(--brand-800); }
.filter-btn.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.filter-count { margin-left: auto; font-size: .875rem; color: var(--ink-500); }

.products-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card { display: flex; flex-direction: column; }
.product-card.is-hidden { display: none; }
.product-card__media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: linear-gradient(160deg, #f6faf9, #eef4f3);
  display: grid; place-items: center;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__art { width: 100%; height: 100%; padding: 18%; color: var(--brand-700); }
.product-card__art svg { width: 100%; height: 100%; }

.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill);
  background: var(--ok-bg); color: var(--ok);
}
.badge--accent { background: var(--accent-100); color: var(--accent-700); }
.badge--neutral { background: #fff; color: var(--ink-600); border: 1px solid var(--line); }

.product-card__quick {
  position: absolute; right: 12px; top: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); border: 1px solid var(--line);
  color: var(--brand-800); display: grid; place-items: center; cursor: pointer;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, background-color .2s;
}
.product-card:hover .product-card__quick,
.product-card__quick:focus-visible { opacity: 1; transform: translateY(0); }
.product-card__quick:hover { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.product-card__quick svg { width: 18px; height: 18px; }

.product-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat {
  font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 7px;
}
.product-card__body h3 { font-size: 1.03rem; margin-bottom: .35em; line-height: 1.3; }
.product-card__desc { font-size: .875rem; color: var(--ink-600); margin-bottom: 16px; flex: 1; }
.product-card__foot { display: flex; align-items: center; gap: 12px; }
.price { font-size: 1.22rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.02em; }
.price small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-500); letter-spacing: 0; }
.product-card__foot .btn { margin-left: auto; }
.product-note { font-size: .8rem; color: var(--ink-500); margin-top: 10px; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); aspect-ratio: 4 / 3.1; object-fit: cover;
}
.split__stat {
  position: absolute; right: -14px; top: -22px;
  background: var(--brand-800); color: #fff;
  border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-lg);
  text-align: center;
}
.split__stat strong { display: block; font-size: 1.6rem; line-height: 1; color: #fff; }
.split__stat span { font-size: .76rem; color: rgba(255, 255, 255, .78); }

.checklist { list-style: none; padding: 0; margin: 22px 0 28px; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 13px; font-size: .98rem; color: var(--ink-700);
}
.checklist svg { width: 21px; height: 21px; color: var(--ok); flex: none; margin-top: 2px; }

/* ---------- Care guides ---------- */
.guide-card { display: flex; flex-direction: column; padding: 26px; }
.guide-card__icon {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; border: 1px solid var(--brand-100);
}
.guide-card__icon svg { width: 26px; height: 26px; }
.guide-card h3 { margin-bottom: .4em; }
.guide-card p { font-size: .93rem; color: var(--ink-600); margin-bottom: 16px; flex: 1; }
.guide-card ul { font-size: .9rem; color: var(--ink-600); margin-bottom: 18px; padding-left: 1.1em; }

/* ---------- Testimonials ---------- */
.quote-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 3px; color: var(--accent-600); }
.stars svg { width: 17px; height: 17px; }
.quote-card blockquote { margin: 0; font-size: .97rem; color: var(--ink-700); flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; color: #fff;
  background: var(--brand-700); letter-spacing: .02em;
}
.avatar--b { background: var(--accent-600); }
.avatar--c { background: var(--brand-500); }
.quote-card figcaption strong { display: block; color: var(--ink-900); font-size: .93rem; line-height: 1.2; }
.quote-card figcaption span { font-size: .8rem; color: var(--ink-500); }

/* ---------- Delivery banner ---------- */
.banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--brand-800); color: #fff;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch;
}
.banner__body { padding: 44px 46px; }
.banner__body h2 { color: #fff; }
.banner__body p { color: rgba(255, 255, 255, .8); max-width: 40em; }
.banner__list { list-style: none; padding: 0; margin: 20px 0 26px; }
.banner__list li {
  display: flex; gap: 10px; align-items: center;
  color: rgba(255, 255, 255, .9); font-size: .94rem; margin-bottom: 9px;
}
.banner__list svg { width: 18px; height: 18px; color: var(--accent-500); flex: none; }
.banner__media { position: relative; min-height: 260px; }
.banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow-sm);
}
.newsletter h2 { margin-bottom: .3em; }
.newsletter p { margin-bottom: 0; color: var(--ink-600); }

.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .845rem; font-weight: 700; color: var(--ink-900); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink-900);
  padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 116px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(28, 145, 132, .13);
}
.field input.has-error, .field textarea.has-error, .field select.has-error {
  border-color: var(--danger); background: #fff8f7;
}
.field-error {
  font-size: .79rem; color: var(--danger); font-weight: 600;
  min-height: 1.1em; display: none;
}
.field-error.is-visible { display: block; }
.form-note { font-size: .8rem; color: var(--ink-500); margin: 0; }
.form-note a { font-weight: 600; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .field { flex: 1 1 220px; }

.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: .845rem; color: var(--ink-600); }
.consent-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-600); flex: none; }

.form-success {
  display: none; align-items: flex-start; gap: 12px;
  background: var(--ok-bg); border: 1px solid #bfe6cd;
  color: #14603a; padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: .9rem;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-panel {
  background: var(--brand-800); color: #fff; border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow);
}
.contact-panel h2 { color: #fff; }
.contact-panel > p { color: rgba(255, 255, 255, .78); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-list__icon {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  background: rgba(255, 255, 255, .12); display: grid; place-items: center;
}
.contact-list__icon svg { width: 19px; height: 19px; color: var(--accent-500); }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 3px; }
.contact-list span, .contact-list a { color: #fff; font-size: .97rem; }
.contact-list a:hover { color: var(--accent-500); }

.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: rgba(255, 255, 255, .72); padding: 62px 0 0; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px; padding-bottom: 44px;
}
.site-footer h3, .site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tagline { color: var(--accent-500); }
.site-footer .brand__mark { background: rgba(255, 255, 255, .1); }
.footer-about p { font-size: .92rem; margin: 16px 0 0; max-width: 34em; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
  color: rgba(255, 255, 255, .72); font-size: .92rem; text-decoration: none !important;
  transition: color .18s;
}
.footer-list a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent-500); flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .85); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0 26px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.footer-bottom p { margin: 0; font-size: .84rem; color: rgba(255, 255, 255, .58); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a, .footer-legal button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: .84rem; color: rgba(255, 255, 255, .68);
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
.footer-disclaimer {
  font-size: .78rem; color: rgba(255, 255, 255, .45);
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0 24px; max-width: 78em;
}

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8, 28, 26, .58);
  backdrop-filter: blur(3px);
  display: none; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: #fff; width: 100%; max-width: 560px;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: modal-in .26s cubic-bezier(.22, .8, .3, 1);
  margin: auto;
}
.modal--wide { max-width: 720px; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__head {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 26px 18px; border-bottom: 1px solid var(--line-soft);
}
.modal__head h2 { font-size: 1.3rem; margin: 0; }
.modal__head p { margin: 4px 0 0; font-size: .875rem; color: var(--ink-500); }
.modal__close {
  margin-left: auto; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink-700); cursor: pointer; display: grid; place-items: center;
  transition: background-color .18s, color .18s;
}
.modal__close:hover { background: var(--ink-900); color: #fff; }
.modal__close svg { width: 17px; height: 17px; }
.modal__body { padding: 22px 26px; }
.modal__foot {
  padding: 18px 26px 24px; border-top: 1px solid var(--line-soft);
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}

/* Cart modal specifics */
.cart-items { list-style: none; padding: 0; margin: 0; max-height: 46vh; overflow-y: auto; }
.cart-item {
  display: grid; grid-template-columns: 68px 1fr auto;
  gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item__thumb {
  width: 68px; height: 68px; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--brand-50); display: grid; place-items: center;
  border: 1px solid var(--line-soft); padding: 8px; color: var(--brand-700);
}
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
.cart-item__name { font-weight: 700; color: var(--ink-900); font-size: .94rem; line-height: 1.3; }
.cart-item__price { font-size: .84rem; color: var(--ink-500); margin-top: 2px; }
.qty {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: #fff; margin-top: 8px;
}
.qty button {
  width: 30px; height: 30px; border: 0; background: none; cursor: pointer;
  color: var(--brand-700); font-size: 1.05rem; font-weight: 700; line-height: 1;
  display: grid; place-items: center; border-radius: 50%; font-family: inherit;
}
.qty button:hover { background: var(--brand-50); }
.qty button:disabled { color: var(--ink-500); opacity: .5; cursor: not-allowed; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; font-size: .9rem; color: var(--ink-900); }
.cart-item__total { font-weight: 800; color: var(--ink-900); text-align: right; }
.cart-item__remove {
  background: none; border: 0; cursor: pointer; padding: 4px;
  color: var(--ink-500); display: grid; place-items: center; margin-top: 6px; margin-left: auto;
}
.cart-item__remove:hover { color: var(--danger); }
.cart-item__remove svg { width: 16px; height: 16px; }

.cart-empty { text-align: center; padding: 30px 10px 36px; }
.cart-empty__icon {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center;
}
.cart-empty__icon svg { width: 34px; height: 34px; }
.cart-empty h3 { margin-bottom: .3em; }
.cart-empty p { color: var(--ink-500); font-size: .93rem; margin-bottom: 20px; }

.totals { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.totals__row { display: flex; justify-content: space-between; gap: 14px; font-size: .93rem; margin-bottom: 9px; color: var(--ink-600); }
.totals__row--grand {
  font-size: 1.12rem; font-weight: 800; color: var(--ink-900);
  border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 12px;
}
.shipping-note { font-size: .8rem; color: var(--ink-500); margin: 2px 0 0; }
.progress {
  height: 7px; background: var(--line-soft); border-radius: var(--radius-pill);
  overflow: hidden; margin: 10px 0 6px;
}
.progress__bar { height: 100%; background: var(--brand-500); border-radius: inherit; transition: width .35s ease; width: 0; }

/* Quick view */
.quickview { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; }
.quickview__media {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #f6faf9, #eef4f3); display: grid; place-items: center; padding: 22px;
  color: var(--brand-700);
}
.quickview__media img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
.quickview h3 { font-size: 1.35rem; }
.quickview__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill {
  font-size: .76rem; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-pill);
  background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100);
}
.quickview__price { font-size: 1.7rem; font-weight: 800; color: var(--ink-900); margin: 6px 0 14px; }
.quickview__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 18px; }

/* Cookie preferences */
.cookie-option {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid var(--line-soft);
}
.cookie-option:last-of-type { border-bottom: 0; }
.cookie-option__text strong { display: block; color: var(--ink-900); font-size: .95rem; }
.cookie-option__text p { margin: 3px 0 0; font-size: .85rem; color: var(--ink-500); }
.switch { position: relative; flex: none; margin-left: auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span {
  display: block; width: 48px; height: 27px; border-radius: var(--radius-pill);
  background: var(--line); position: relative; transition: background-color .2s;
}
.switch span::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 50%; background: #fff;
  box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.switch input:checked + span { background: var(--brand-600); }
.switch input:checked + span::after { transform: translateX(21px); }
.switch input:focus-visible + span { outline: 3px solid var(--accent-500); outline-offset: 2px; }
.switch input:disabled + span { opacity: .55; cursor: not-allowed; }

/* Order confirmation */
.order-done { text-align: center; padding: 12px 4px 4px; }
.order-done__icon {
  width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--ok-bg); color: var(--ok); display: grid; place-items: center;
}
.order-done__icon svg { width: 36px; height: 36px; }
.order-ref {
  display: inline-block; margin-top: 10px; padding: 9px 16px;
  background: var(--bg-soft); border: 1px dashed var(--line);
  border-radius: var(--radius-sm); font-weight: 800; color: var(--ink-900);
  letter-spacing: .06em; font-size: .95rem;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 100;
  max-width: 560px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 22px;
  transform: translateY(140%);
  transition: transform .4s cubic-bezier(.22, .8, .3, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 12px; }
.cookie-banner__icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--accent-100); color: var(--accent-700); display: grid; place-items: center;
}
.cookie-banner__icon svg { width: 21px; height: 21px; }
.cookie-banner h2 { font-size: 1.08rem; margin: 0 0 4px; }
.cookie-banner p { font-size: .885rem; color: var(--ink-600); margin: 0; }
.cookie-banner p a { font-weight: 700; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Toasts ---------- */
.toast-stack {
  position: fixed; right: 20px; bottom: 20px; z-index: 110;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  pointer-events: none; max-width: min(360px, calc(100vw - 40px));
}
.toast {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--ink-900); color: #fff;
  border-radius: var(--radius-sm); padding: 13px 16px;
  box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600;
  animation: toast-in .28s ease both; pointer-events: auto;
}
.toast.is-leaving { animation: toast-out .25s ease both; }
.toast svg { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--accent-500); }
.toast--ok svg { color: #6ee7a8; }
.toast--info svg { color: #7fd8ff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-700); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-800); }
.to-top svg { width: 20px; height: 20px; }
body.cookie-banner-open .to-top { bottom: 210px; }

/* ---------- Article / privacy page ---------- */
.page-hero {
  background: linear-gradient(180deg, #f6faf9, #fdfbf7);
  border-bottom: 1px solid var(--line); padding: 54px 0 46px;
}
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--ink-500); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--brand-700); font-weight: 600; }
.breadcrumbs svg { width: 14px; height: 14px; color: var(--ink-500); }
.page-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); margin-bottom: .35em; }
.page-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .86rem; color: var(--ink-500); }
.page-meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-meta svg { width: 16px; height: 16px; color: var(--brand-600); }

.article-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; padding: 56px 0 78px; }
.toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.toc h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin-bottom: 2px; counter-increment: toc; }
.toc a {
  display: block; padding: 7px 10px; border-radius: var(--radius-xs);
  font-size: .885rem; color: var(--ink-600); text-decoration: none !important;
  border-left: 2px solid transparent;
}
.toc a::before { content: counter(toc) ". "; color: var(--ink-500); font-weight: 700; }
.toc a:hover, .toc a.is-active { background: #fff; color: var(--brand-800); border-left-color: var(--brand-600); }

.article { font-size: 1rem; }
.article > section { margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 24px); }
.article h2 { font-size: 1.42rem; margin-bottom: .55em; padding-top: 4px; }
.article h3 { font-size: 1.06rem; margin: 22px 0 8px; }
.article p, .article li { color: var(--ink-700); }
.article ul { padding-left: 1.25em; }
.article table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: .9rem; }
.article th, .article td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--bg-soft); color: var(--ink-900); font-weight: 700; }
.article .callout {
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-left: 4px solid var(--brand-600);
  border-radius: var(--radius-sm); padding: 16px 18px; margin: 18px 0;
  font-size: .92rem; color: var(--ink-700);
}
.article .callout strong { color: var(--ink-900); }
.article-contact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-top: 8px;
}
.article-contact dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; margin: 0; font-size: .93rem; }
.article-contact dt { font-weight: 700; color: var(--ink-500); }
.article-contact dd { margin: 0; color: var(--ink-900); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; }
}

@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 52px 0 58px; }
  .hero__badge { left: auto; right: 14px; bottom: 14px; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .grid--4, .value-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter { grid-template-columns: 1fr; gap: 26px; padding: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; }
  .banner__media { min-height: 220px; order: -1; }
  .banner__body { padding: 32px; }

  .nav-toggle { display: grid; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); margin: 0;
    display: none; padding: 12px 22px 18px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 13px 14px; font-size: 1rem; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
  .cart-btn .cart-btn__label { display: none; }
  .cart-btn { padding: 11px 13px; }
}

@media (max-width: 680px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .grid--2, .grid--3, .grid--4, .value-strip__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quickview { grid-template-columns: 1fr; }
  .modal__head, .modal__body, .modal__foot { padding-inline: 20px; }
  .modal-overlay { padding: 20px 14px; }
  .contact-panel, .contact-card { padding: 24px; }
  .split__stat { right: 12px; top: -18px; padding: 12px 15px; }
  .filter-count { margin-left: 0; width: 100%; }
  .article-contact dl { grid-template-columns: 1fr; gap: 4px 0; }
  .article-contact dd { margin-bottom: 10px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .toast-stack { right: 12px; bottom: 12px; left: 12px; align-items: stretch; max-width: none; }
  body.cookie-banner-open .to-top { bottom: 250px; }
}

@media (max-width: 420px) {
  .products-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row .btn, .modal__foot .btn, .cookie-banner__actions .btn { width: 100%; }
  .hero__badge { position: static; margin-top: 14px; max-width: none; }
}

/* ---------- Reduced motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .card:hover, .btn:hover { transform: none; }
}

@media print {
  .site-header, .cookie-banner, .to-top, .toast-stack, .modal-overlay, .newsletter { display: none !important; }
  body { color: #000; }
  .section { padding: 18px 0; }
}

/* ---------- Additions (utility + component refinements) ---------- */
.eyebrow--on-dark {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  color: #f5c78a;
}
.products-footnote { max-width: 78em; margin: 26px 0 0; }
.form-intro { margin-bottom: 20px; }
.contact-card__title { margin-bottom: 6px; }
.star-off { opacity: .3; }
.spec-list {
  display: grid; grid-template-columns: 118px 1fr;
  gap: 6px 12px; margin: 0 0 6px;
}
.spec-list dt { font-weight: 700; color: var(--ink-500); margin: 0; }
.spec-list dd { margin: 0; color: var(--ink-700); }
.foot-push { margin-left: auto; }
.inline-form__submit { align-self: flex-start; }
.linklike {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font-family: inherit; font-size: inherit; color: inherit; text-align: left;
}
.footer-list .linklike { color: rgba(255, 255, 255, .72); font-size: .92rem; }
.footer-list .linklike:hover { color: #fff; }
body.modal-open { overflow: hidden; }

/* ---------- Cart / quick view / order refinements ---------- */
.product-card__art--large { padding: 0; width: 100%; height: 100%; display: grid; place-items: center; }
.product-card__art--large svg { width: 78%; height: 78%; }
.btn.is-disabled, .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.order-summary {
  display: flex; justify-content: center; gap: 26px; margin: 18px 0 6px;
  padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  font-weight: 800; color: var(--ink-900);
}
.order-summary span:first-child { color: var(--ink-500); font-weight: 600; }
.order-next { margin-top: 16px; }
.cart-item__thumb svg { width: 26px; height: 26px; }
.article-actions { margin-top: 8px; }

/* ---------- Banner artwork variant (inline SVG, no external asset) ---------- */
.banner__media--art {
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(245, 146, 49, .22), transparent 62%),
    linear-gradient(160deg, #0c4a44, #07332f);
}
.banner__media--art svg {
  width: min(64%, 320px); height: auto;
  color: rgba(255, 255, 255, .82);
}

/* ---------- Footer heading level parity ---------- */
.site-footer .footer-grid h3 { font-size: 1rem; }
