/* ==========================================================
   SleepingBeg — Main stylesheet
   Theme: Bright Marine + Cornflower Ocean
   Nav: Purple | Footer: Dark Magenta
   ========================================================== */

:root {
  --marine: #0077be;
  --marine-deep: #045a8d;
  --marine-bright: #1a9ae0;
  --cornflower: #6495ed;
  --cornflower-soft: #e7eefc;
  --foam: #f3f8fd;
  --ink: #0b2545;
  --ink-soft: #3d5473;
  --line: #d3e0f3;
  --white: #ffffff;
  --purple: #5b2d90;
  --purple-deep: #45206f;
  --magenta: #8b008b;
  --magenta-deep: #5e005e;
  --coral: #ff7a59;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(11, 37, 69, 0.12);
  --shadow-sm: 0 4px 14px rgba(11, 37, 69, 0.08);
  --wrap: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--foam);
  overflow-x: hidden;
}

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

a { color: var(--marine-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--marine); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--tint { background: var(--cornflower-soft); }
.section--white { background: var(--white); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marine);
  margin-bottom: 12px;
}
.lead { font-size: 1.13rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--white); color: var(--purple); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--marine); color: var(--white); box-shadow: 0 8px 20px rgba(0, 119, 190, .3); }
.btn--primary:hover { background: var(--marine-deep); color: var(--white); }
.btn--light { background: var(--white); color: var(--marine-deep); }
.btn--light:hover { background: var(--cornflower-soft); color: var(--marine-deep); }
.btn--ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: var(--white); }
.btn--outline { border-color: var(--marine); color: var(--marine-deep); background: transparent; }
.btn--outline:hover { background: var(--marine); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header / Nav (purple) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--purple);
  box-shadow: 0 2px 18px rgba(69, 32, 111, .35);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.brand:hover { color: var(--white); }
.brand svg { width: 44px; height: 44px; }
.brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: .01em; }
.brand-name span { color: #a9c3f7; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 9px 12px; border-radius: 999px;
  color: #efe6fb; text-decoration: none; font-weight: 600; font-size: 0.93rem; white-space: nowrap;
}
.nav-menu a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav-menu a[aria-current="page"] { background: var(--cornflower); color: var(--white); }

.nav-toggle {
  display: none; background: transparent; border: 2px solid rgba(255,255,255,.4);
  border-radius: 10px; width: 46px; height: 42px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px;
  position: relative; transition: transform .25s ease, background-color .25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--purple-deep); padding: 12px 20px 20px;
    box-shadow: 0 16px 30px rgba(0,0,0,.25);
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 13px 16px; border-radius: 10px; font-size: 1rem; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--marine-deep) 0%, var(--marine) 45%, var(--cornflower) 100%);
  color: var(--white);
  padding: clamp(48px, 7vw, 90px) 0 clamp(90px, 10vw, 130px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  top: -160px; right: -120px; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { color: #e2edfb; }
.hero .eyebrow { color: #cfe0ff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 34px; padding: 0; list-style: none; }
.hero-stats li { min-width: 110px; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.9rem; }
.hero-stats span { font-size: .88rem; color: #d5e4fb; }

.photo-stack { position: relative; min-height: 520px; }
.photo-stack figure { margin: 0; position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px rgba(4, 30, 60, .4); border: 5px solid rgba(255,255,255,.9); }
.photo-stack img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .ps-main { width: 64%; height: 470px; right: 0; top: 0; }
.photo-stack .ps-a { width: 48%; height: 230px; left: 0; top: 40px; transform: rotate(-4deg); }
.photo-stack .ps-b { width: 44%; height: 210px; left: 8%; bottom: 0; transform: rotate(3deg); }
.photo-stack .badge {
  position: absolute; right: 12px; bottom: 26px; z-index: 3;
  background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); font-size: .85rem; line-height: 1.35; max-width: 200px;
}
.photo-stack .badge strong { display: block; color: var(--marine); font-size: 1.05rem; }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .photo-stack { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .photo-stack figure { position: static; width: auto !important; height: auto !important; transform: none !important; border-width: 3px; }
  .photo-stack .ps-main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .photo-stack .ps-a, .photo-stack .ps-b { aspect-ratio: 1 / 1; }
  .photo-stack .badge { position: static; grid-column: 1 / -1; max-width: none; }
}

/* ---------- Temperature ribbon ---------- */
.temp-ribbon { position: relative; z-index: 2; margin-top: -60px; }
.temp-track {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.temp-stop { padding: 22px 22px 20px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); position: relative; transition: background-color .2s; }
.temp-stop:last-child { border-right: 0; }
.temp-stop:hover { background: var(--cornflower-soft); color: var(--ink); }
.temp-stop::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--c, var(--cornflower)); }
.temp-stop .deg { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--c, var(--marine)); display: block; }
.temp-stop .lbl { font-weight: 700; display: block; }
.temp-stop .sub { font-size: .87rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .temp-track { grid-template-columns: 1fr 1fr; }
  .temp-stop:nth-child(2) { border-right: 0; }
  .temp-stop:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 400px) {
  .temp-track { grid-template-columns: 1fr; }
  .temp-stop { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Collections bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--white); background: var(--ink); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,40,80,0) 35%, rgba(4,40,80,.85) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile:hover { color: var(--white); }
.tile-body { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.tile-body h3 { color: var(--white); margin: 0 0 4px; font-size: 1.3rem; }
.tile-body p { margin: 0; font-size: .92rem; color: #dce8fa; }
.tile .pill { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--marine-deep); font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .tile--big, .tile--wide { grid-column: auto; grid-row: auto; }
  .tile--big { grid-row: span 1; height: 320px; }
}

/* ---------- Video feature ---------- */
.video-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.video-frame { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--ink); aspect-ratio: 1280 / 676; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame .tag { position: absolute; top: 14px; left: 14px; background: var(--purple); color: var(--white); font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .04em; }
.video-toggle { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.92); border: 0; color: var(--ink); font-weight: 700; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: .85rem; }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; counter-reset: step; }
.check-list li { position: relative; padding-left: 50px; margin-bottom: 18px; }
.check-list li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cornflower); color: var(--white); font-weight: 700; display: grid; place-items: center; font-size: .9rem;
}
.check-list strong { display: block; }
@media (max-width: 900px) { .video-feature { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card[hidden] { display: none; }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cornflower-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .cat { position: absolute; top: 12px; left: 12px; background: var(--marine); color: var(--white); font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .03em; }
.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 6px; }
.product-body p { color: var(--ink-soft); font-size: .95rem; }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.spec-row li { background: var(--cornflower-soft); color: var(--marine-deep); font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.product-body .btn { margin-top: auto; align-self: flex-start; padding: 11px 20px; font-size: .92rem; }

/* ---------- Benefits ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.benefit-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(135deg, var(--marine), var(--cornflower)); color: var(--white); }
.benefit-icon svg { width: 28px; height: 28px; }
.benefit p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
@media (max-width: 900px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ---------- Scenario switcher ---------- */
.scenario-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.scenario-tab {
  border: 2px solid var(--marine); background: transparent; color: var(--marine-deep);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: .95rem; font-family: inherit;
}
.scenario-tab[aria-selected="true"], .scenario-tab:hover { background: var(--marine); color: var(--white); }
.scenario-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--white); border-radius: 26px; padding: 22px; box-shadow: var(--shadow-sm); }
.scenario-panel[hidden] { display: none; }
.scenario-panel figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.scenario-panel img { width: 100%; height: 100%; object-fit: cover; }
.scenario-panel .txt { padding: 10px 14px 10px 0; }
.scenario-panel ul { padding-left: 20px; margin: 0 0 22px; color: var(--ink-soft); }
.scenario-panel li { margin-bottom: 6px; }
.scenario-panel .rec { font-size: .92rem; background: var(--cornflower-soft); border-left: 4px solid var(--cornflower); padding: 10px 14px; border-radius: 8px; margin-bottom: 18px; }
@media (max-width: 820px) {
  .scenario-panel { grid-template-columns: 1fr; gap: 20px; padding: 14px; }
  .scenario-panel .txt { padding: 0 6px 8px; }
}

/* ---------- Split / pack steps ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.split figure { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.steps { display: grid; gap: 16px; margin-top: 24px; }
.step { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: start; background: var(--white); border-radius: 14px; padding: 18px; border: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--cornflower); line-height: 1; }
.step h3 { margin-bottom: 4px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split figure { aspect-ratio: 4 / 3; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--purple) 0%, var(--marine-deep) 55%, var(--marine) 100%);
  color: var(--white); border-radius: 28px; padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: #e3ecfb; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--marine-deep), var(--marine) 55%, var(--cornflower));
  color: var(--white); padding: clamp(46px, 6vw, 76px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(255,255,255,.08); }
.page-hero h1 { color: var(--white); position: relative; z-index: 1; }
.page-hero .lead { color: #e2edfb; position: relative; z-index: 1; }
.page-hero .eyebrow { color: #cfe0ff; }
.crumbs { font-size: .88rem; margin-bottom: 14px; color: #cfe0ff; position: relative; z-index: 1; }
.crumbs a { color: var(--white); }

.page-hero--media .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.page-hero--media figure { margin: 0; border-radius: 20px; overflow: hidden; border: 4px solid rgba(255,255,255,.85); aspect-ratio: 3 / 2; position: relative; z-index: 1; }
.page-hero--media figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .page-hero--media .wrap { grid-template-columns: 1fr; } }

/* ---------- Filter chips ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; align-items: center; }
.filter-bar .label { font-weight: 700; margin-right: 6px; }
.chip { border: 2px solid var(--line); background: var(--white); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 600; cursor: pointer; font-family: inherit; font-size: .92rem; }
.chip:hover { border-color: var(--cornflower); }
.chip[aria-pressed="true"] { background: var(--cornflower); border-color: var(--cornflower); color: var(--white); }
.filter-count { font-size: .9rem; color: var(--ink-soft); margin: -14px 0 22px; }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--marine-deep); color: var(--white); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.compare tbody tr:nth-child(even) { background: var(--foam); }
.compare tbody th { font-weight: 700; }
@media (max-width: 760px) {
  .compare, .compare tbody, .compare tr, .compare td, .compare th { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { border-bottom: 3px solid var(--cornflower-soft); padding: 8px 0; }
  .compare tbody th { background: var(--cornflower-soft); border-bottom: 0; }
  .compare td { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); }
  .compare td::before { content: attr(data-label); font-weight: 700; color: var(--ink-soft); }
}

/* ---------- Shape guide ---------- */
.shape-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shape { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.shape svg { width: 70px; height: 110px; margin-bottom: 14px; }
.shape p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 820px) { .shape-grid { grid-template-columns: 1fr; } .shape { display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: start; } .shape svg { margin: 0; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 30px 18px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--marine); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); padding-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: var(--white); border-radius: 22px; padding: 32px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--marine), var(--cornflower)); }
.contact-card .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--cornflower-soft); color: var(--marine); display: grid; place-items: center; margin-bottom: 18px; }
.contact-card .ico svg { width: 28px; height: 28px; }
.contact-card .big { font-size: 1.2rem; font-weight: 700; word-break: break-word; overflow-wrap: anywhere; }
.contact-card address { font-style: normal; font-size: 1.15rem; font-weight: 700; line-height: 1.55; }
.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-box { background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--line); }
.info-box ul { padding-left: 20px; margin: 0; color: var(--ink-soft); }
.info-box p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .contact-grid, .info-cols { grid-template-columns: 1fr; } }

/* ---------- Legal: shared ---------- */
.legal-updated { display: inline-block; background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 999px; font-size: .88rem; position: relative; z-index: 1; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* Privacy: sidebar TOC layout */
.privacy-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.toc h2 { font-family: var(--font); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--marine); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; font-size: .92rem; }
.toc li { margin-bottom: 6px; }
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: .94rem; background: var(--white); }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.data-table th { background: var(--cornflower-soft); }
.privacy-summary { background: var(--white); border-left: 5px solid var(--marine); border-radius: 12px; padding: 20px 22px; margin-bottom: 26px; }
@media (max-width: 900px) {
  .privacy-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 600px) {
  .data-table, .data-table tbody, .data-table tr, .data-table td, .data-table th { display: block; width: 100%; }
  .data-table thead { display: none; }
  .data-table tr { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .data-table td { border: 0; border-bottom: 1px solid var(--line); }
  .data-table td::before { content: attr(data-label); display: block; font-weight: 700; color: var(--marine-deep); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
}

/* Terms: numbered clauses */
.clauses { counter-reset: clause; max-width: 860px; }
.clause { background: var(--white); border-radius: 16px; border: 1px solid var(--line); padding: 26px 28px 18px 28px; margin-bottom: 18px; }
.clause > h2 { font-family: var(--font); font-size: 1.25rem; display: flex; gap: 14px; align-items: baseline; }
.clause > h2::before { counter-increment: clause; content: counter(clause, decimal-leading-zero); color: var(--cornflower); font-family: var(--font-display); font-size: 1.5rem; }
.clause ol { list-style: none; padding: 0; margin: 0; }
.clause ol li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; margin-bottom: 12px; color: var(--ink-soft); }
.clause ol li b { color: var(--ink); }
.terms-intro { max-width: 860px; background: var(--cornflower-soft); border-radius: 16px; padding: 22px 26px; margin-bottom: 28px; }
@media (max-width: 560px) { .clause { padding: 20px 18px 10px; } .clause ol li { grid-template-columns: 36px 1fr; } }

/* Cookie: Q&A cards */
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.qa { background: var(--white); border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.qa--full { grid-column: 1 / -1; }
.qa h2 { font-family: var(--font); font-size: 1.2rem; color: var(--marine-deep); }
.qa p:last-child, .qa ul:last-child { margin-bottom: 0; }
.qa ul { padding-left: 20px; color: var(--ink-soft); }
.cookie-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
.cookie-cat { border-radius: 14px; padding: 16px; background: var(--foam); border: 1px solid var(--line); }
.cookie-cat strong { display: block; margin-bottom: 4px; }
.cookie-cat .status { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-bottom: 8px; }
.status--yes { background: #d9f1e4; color: #145c36; }
.status--no { background: #fbe1ea; color: #8a1238; }
.cookie-cat p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .cookie-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .qa-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .cookie-cats { grid-template-columns: 1fr; } }

/* ---------- Footer (dark magenta) ---------- */
.site-footer { background: var(--magenta); color: #f6dcf6; padding-top: 64px; margin-top: 0; }
.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #ffe3ff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 44px; }
.footer-grid h2 { font-family: var(--font); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #ffc9ff; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-about p { font-size: .95rem; margin-top: 14px; max-width: 34ch; }
.footer-contact address { font-style: normal; line-height: 1.6; }
.footer-contact .email { overflow-wrap: anywhere; }
.footer-bottom { background: var(--magenta-deep); padding: 18px 0; font-size: .88rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.mt-lg { margin-top: 40px; }
.note { font-size: .9rem; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Product names use h2 on the Bags page; keep card sizing consistent */
.product-body h2, .product-body h3 { font-family: var(--font); font-size: 1.2rem; }
