/* =========================================================
   BB Apron — Redesign
   Palette: ink navy, linen cream, terracotta accent, brass
   ========================================================= */
:root {
  --ink: #16202b;
  --ink-2: #24313f;
  --linen: #f6f1e9;
  --linen-2: #ede5d8;
  --paper: #fffdf9;
  --terra: #c0552f;
  --terra-dark: #a2441f;
  --brass: #b8925a;
  --muted: #6b7178;
  --line: rgba(22, 32, 43, 0.12);
  --radius: 18px;
  --shadow: 0 18px 40px -20px rgba(22, 32, 43, 0.35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--terra); }
p { margin: 0; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

.link-arrow { font-weight: 700; font-size: 14px; color: var(--terra); display: inline-flex; gap: 6px; transition: gap .3s var(--ease); }
.link-arrow:hover { gap: 12px; }

.round-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  transition: background .3s, color .3s;
}
.round-btn:hover { background: var(--ink); color: #fff; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--ink);
  display: grid; place-items: center; align-content: center; gap: 20px;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader img { width: 120px; filter: brightness(0) invert(1); }
.preloader-line { width: 120px; height: 2px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.preloader-line::after { content: ""; position: absolute; inset: 0; background: var(--terra); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.preloader.is-hidden { opacity: 0; visibility: hidden; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.75); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar-links { display: flex; align-items: center; gap: 14px; }
.topbar-links a:hover { color: #fff; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }
.topbar-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--terra); color: #fff !important;
  padding: 6px 14px; border-radius: 999px; font-weight: 600; margin-left: 6px;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 233, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo img { height: 52px; width: auto; }

.nav-list { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: background .25s;
}
.nav-link:hover { background: var(--linen-2); }
.chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.nav-mobile-cta { display: none; }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 10px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-mega:hover .chev { transform: rotate(225deg) translateY(-1px); }
.mega-inner {
  display: grid; grid-template-columns: 1fr 1fr 220px; gap: 28px;
  background: var(--paper); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  width: 640px;
}
.mega-sm .mega-inner { grid-template-columns: 1fr; width: 220px; }
.mega-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.mega-col a { display: block; padding: 7px 0; font-size: 15px; color: var(--ink-2); transition: color .2s, transform .2s; }
.mega-col a:hover { color: var(--terra); transform: translateX(4px); }
.mega-feature {
  border-radius: 14px; padding: 18px; color: #fff;
  background: linear-gradient(180deg, transparent 30%, rgba(22,32,43,.85)), var(--bg) center/cover;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px;
}
.mega-feature span { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.mega-feature strong { font-size: 13px; margin-top: 8px; color: var(--linen-2); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--terra); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 50% { transform: scale(1.4); } }
.login-link { font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink); transition: background .25s, color .25s; }
.login-link:hover { background: var(--ink); color: #fff; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 1.8px; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(88vh, 780px); min-height: 540px; overflow: hidden; background: var(--ink); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: var(--img) center/cover no-repeat;
  transform: scale(1.12);
  transition: transform 7s linear;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,24,33,.88) 0%, rgba(16,24,33,.55) 45%, rgba(16,24,33,.1) 100%);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide.is-active::before { transform: scale(1); }
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content > * { max-width: 620px; opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-content > *:nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { transition-delay: .36s; }
.hero h1 { font-size: clamp(42px, 7vw, 88px); font-weight: 600; }
.hero h1 em { color: #f0b48f; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.82); margin-top: 20px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 56px; height: 3px; background: rgba(255,255,255,.25); border: 0; padding: 0; position: relative; overflow: hidden; border-radius: 3px; }
.hero-dots button span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active span { animation: progress 6s linear forwards; }
.hero.is-paused .hero-dots button.is-active span { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; transition: background .3s, color .3s; }
.hero-arrows button:hover { background: #fff; color: var(--ink); }

/* ---------- Create your own ---------- */
.create { background: var(--paper); }
.create-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.create-media { position: relative; }
.create-media img { border-radius: 24px; width: 100%; background: var(--linen-2); }
.create-badge {
  position: absolute; right: -18px; bottom: 28px;
  background: var(--ink); color: #fff; padding: 20px 24px; border-radius: 16px;
  font-family: var(--serif); font-size: 18px; line-height: 1.35;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.create-badge span:nth-child(2) { color: #f0b48f; font-style: italic; }
.create h2 { font-size: clamp(32px, 4.2vw, 54px); }
.lead { font-size: 18px; color: var(--muted); margin-top: 18px; }
.steps { list-style: none; padding: 0; margin: 34px 0 36px; display: grid; gap: 4px; }
.steps li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-no { font-family: var(--serif); font-size: 26px; color: var(--terra); line-height: 1; min-width: 42px; }
.steps strong { display: block; font-size: 16px; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.section-head.center { justify-content: center; text-align: center; }
.section-head-actions { display: flex; align-items: center; gap: 10px; }
.section-head-actions .link-arrow { margin-left: 8px; }

/* ---------- Products ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink-2);
  font-size: 14px; font-weight: 600; transition: all .25s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.product-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--brass) transparent;
}
.product-card { scroll-snap-align: start; animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.product-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--tint, var(--linen-2));
  display: grid; place-items: center;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-media svg { width: 46%; color: var(--ink); opacity: .82; transition: transform .7s var(--ease); }
.product-card:hover .product-media img, .product-card:hover .product-media svg { transform: scale(1.06); }
.like {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.9); border: 0; padding: 6px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--ink);
}
.like svg { width: 15px; height: 15px; fill: none; stroke: var(--terra); stroke-width: 2; transition: fill .2s, transform .3s; }
.like.is-liked svg { fill: var(--terra); transform: scale(1.15); }
.quick-btn {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  padding: 12px; border-radius: 999px; border: 0; text-align: center; text-decoration: none;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 13px;
  transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform .4s var(--ease), opacity .3s;
}
.product-card:hover .quick-btn, .quick-btn:focus { transform: none; opacity: 1; }
.product-info { padding: 16px 4px 0; }
.product-info small { color: var(--brass); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.product-info h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; margin-top: 4px; }
.product-info h3 a:hover { color: var(--terra); }

/* ---------- Expertise ---------- */
.expertise { background: var(--ink); color: #fff; }
.expertise .section-head h2 em { color: #f0b48f; }
.exp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exp-card {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  overflow: hidden; transition: transform .4s var(--ease), background .4s;
}
.exp-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--terra); transition: width .5s var(--ease); }
.exp-card:hover { transform: translateY(-6px); background: #2c3a4a; }
.exp-card:hover::after { width: 100%; }
.exp-num { font-family: var(--serif); font-size: 44px; color: rgba(240,180,143,.35); line-height: 1; }
.exp-card h3 { font-size: 26px; margin: 18px 0 12px; }
.exp-card p { color: rgba(255,255,255,.7); font-size: 15px; }
.exp-link { display: inline-block; margin-top: 22px; color: #f0b48f; font-weight: 700; font-size: 14px; }

.tabs { margin-top: 56px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 48px; }
.tab-list { display: flex; flex-direction: column; gap: 8px; }
.tab {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: 14px; border: 1px solid transparent;
  background: transparent; color: rgba(255,255,255,.6);
  font-family: var(--serif); font-size: 22px; transition: all .3s;
}
.tab img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 10px; padding: 5px; opacity: .6; transition: opacity .3s; }
.tab:hover { color: #fff; }
.tab.is-active { color: #fff; background: var(--ink-2); border-color: rgba(255,255,255,.1); }
.tab.is-active img { opacity: 1; }
.tab-panel { display: none; animation: fadeUp .5s var(--ease); }
.tab-panel.is-active { display: block; }
.tab-panel h3 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 18px; }
.tab-panel p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 680px; margin-bottom: 24px; }
.tab-panel .link-arrow { color: #f0b48f; }

/* ---------- Stats ---------- */
.stats { background: var(--terra); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.25); }
.stat h3 { font-size: clamp(40px, 5vw, 64px); }
.stat h3[data-count="0"]::after { content: none; }
.stat h3::after { content: "+"; font-style: italic; font-weight: 400; opacity: .7; }
.stat p { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; margin-top: 6px; }

/* ---------- Partners ---------- */
.partners { padding-bottom: clamp(48px, 7vw, 90px); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.partner {
  flex: none; display: flex; align-items: center; gap: 14px;
  padding: 14px 24px 14px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
}
.partner img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; background: #fff; }
.partner span { font-weight: 700; font-size: 15px; white-space: nowrap; }

/* ---------- Reviews ---------- */
.reviews { background: var(--paper); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0; padding: 32px; border-radius: var(--radius);
  background: var(--linen); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 20px;
}
.stars { color: var(--brass); letter-spacing: 3px; font-size: 16px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.4; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 0 0 clamp(64px, 9vw, 110px); background: var(--paper); }
.newsletter-inner {
  background: var(--ink); color: #fff; border-radius: 28px;
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
  background-image: radial-gradient(circle at 100% 0%, rgba(192,85,47,.45), transparent 50%);
}
.newsletter h2 { font-size: clamp(30px, 3.6vw, 46px); }
.newsletter h2 em { color: #f0b48f; }
.newsletter p { color: rgba(255,255,255,.75); margin-top: 12px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input {
  flex: 1 1 240px; padding: 15px 22px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06);
  color: #fff; font: inherit; outline: none; transition: border-color .3s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input:focus { border-color: #f0b48f; }
.form-msg { flex-basis: 100%; font-size: 14px; min-height: 20px; margin: 0; }
.form-msg.ok { color: #9be3b4; }
.form-msg.err { color: #ffb4a0; }

/* ---------- Footer ---------- */
.footer { background: #0f171f; color: rgba(255,255,255,.7); padding-top: 80px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 56px; }
.footer-brand img { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-brand p { margin-bottom: 22px; max-width: 260px; }
.footer h4 { font-family: var(--sans); color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer h4.mt { margin-top: 28px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #f0b48f; }
.footer-col p { margin-bottom: 10px; }
.footer-col .link-arrow { color: #f0b48f; margin-top: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 13px; gap: 16px; flex-wrap: wrap; }
.dev-by { display: inline-flex; align-items: center; gap: 8px; }
.dev-by img { height: 26px; width: auto; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,31,.6); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--paper); border-radius: 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(20px) scale(.98); transition: transform .4s var(--ease);
}
.modal.is-open .modal-dialog { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--linen); font-size: 24px; line-height: 1; }
.qv-label { display: block; font-weight: 700; font-size: 14px; margin: 26px 0 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 20px; }
.qty button:hover { background: var(--linen); }
.qty input { width: 54px; text-align: center; border: 0; font: inherit; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.size-toggle { display: flex; gap: 8px; margin-bottom: 12px; }
.size-toggle input { position: absolute; opacity: 0; }
.size-toggle span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; cursor: pointer; }
.size-toggle input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chips button { min-width: 48px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: transparent; font-weight: 700; font-size: 13px; }
.size-chips button.is-active { border-color: var(--terra); background: var(--terra); color: #fff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
  background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), visibility .4s;
}
.toast.is-show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .product-track { grid-auto-columns: calc((100% - 48px) / 3); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .topbar-tag { display: none; }
  .topbar-inner { justify-content: center; }
  .burger { display: flex; }
  .login-link { display: none; }

  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
    width: min(360px, 88vw); background: var(--paper);
    padding: 100px 24px 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -20px 0 50px -20px rgba(0,0,0,.4);
    visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
    display: flex; flex-direction: column; gap: 24px;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-link:hover { background: transparent; }
  .mega { position: static; transform: none !important; opacity: 1; visibility: visible; display: none; }
  .mega::before { display: none; }
  .has-mega.is-open .mega { display: block; }
  .has-mega.is-open .chev { transform: rotate(225deg); }
  .has-mega:hover .chev { transform: rotate(45deg) translateY(-2px); }
  .has-mega.is-open:hover .chev { transform: rotate(225deg); }
  .mega-inner, .mega-sm .mega-inner { width: 100%; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 12px 8px; background: transparent; gap: 16px; }
  .mega-feature { display: none; }
  .nav-mobile-cta { display: inline-flex; }
  .header { z-index: 70; }
  .burger { position: relative; z-index: 71; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(15,23,31,.5); z-index: 40; }

  .create-grid { grid-template-columns: 1fr; }
  .create-badge { position: static; margin-top: -40px; margin-left: 16px; width: max-content; }
  .exp-cards, .review-grid { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; }
  .tab { flex: none; font-size: 18px; }
  .newsletter-inner { grid-template-columns: 1fr; }
  .modal-dialog { grid-template-columns: 1fr; }
  }

@media (max-width: 640px) {
  .topbar-links a:not(.topbar-cta), .topbar .dot { display: none; }
  .header-inner { height: 68px; }
  .logo img { height: 42px; }
  .product-track { grid-auto-columns: 78%; gap: 16px; }
  .section-head-actions .round-btn { display: none; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding-top: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-arrows { display: none; }
  }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}

/* Floating appointment button */
.fab-appointment {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
  font: 600 14px/1 var(--sans);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.fab-appointment:hover { background: var(--terra-dark); transform: translateY(-3px); }
@media (max-width: 600px) {
  .fab-appointment { right: 16px; bottom: 16px; padding: 14px; }
  .fab-appointment span { display: none; }
}
