/* ==========================================================================
   SOLVIK — Norda-Inspired Scroll-Driven Storefront Stylesheet
   ========================================================================== */

:root {
  --c-bg: #F6F4EF;
  --c-bg-2: #EAE5DC;
  --c-paper: #FAF8F4;
  --c-panel: #2E3A2F;
  --c-panel-2: #3B4A3C;
  --c-ink: #171614;
  --c-muted: #5F5C55;
  --c-cream: #F6F4EF;
  --c-clay: #9A4B26;
  --c-clay-hover: #7D3B1C;
  --c-border: rgba(23, 22, 20, 0.11);

  --font-display: 'Anton', 'Oswald', Impact, sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --fs-hero: clamp(3.3rem, 1.2rem + 6.4vw, 8.2rem);
  --fs-xl: clamp(2rem, 1.3rem + 2.5vw, 3.4rem);
  --fs-lg: clamp(1.35rem, 1.05rem + 1vw, 2rem);
  --fs-huge: clamp(5.5rem, 1rem + 22vw, 22rem);

  --nav-h: 72px;
  --max: 1360px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}
input, textarea, select {
  -webkit-user-select: text;
  user-select: text;
}
img {
  -webkit-user-drag: none;
}

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

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  font-weight: 400;
}

/* Buttons (Norda Split Arrow Pill) */
.n-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--c-ink);
  color: var(--c-cream);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.n-btn:hover { background: var(--c-clay); transform: translateY(-1px); }
.n-btn:active { transform: scale(0.98); }
.n-btn__box {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
}
.n-btn:hover .n-btn__box { transform: translateX(2px); }

.n-btn--light {
  background: var(--c-cream);
  color: var(--c-panel);
}
.n-btn--light:hover { background: #FFFFFF; color: var(--c-ink); }
.n-btn--light .n-btn__box {
  background: var(--c-panel);
  color: var(--c-cream);
}

/* ==========================================================================
   1. Fixed Top Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--gutter);
  color: var(--c-cream);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(246, 244, 239, 0.9);
  backdrop-filter: blur(12px);
  color: var(--c-ink);
  border-bottom-color: var(--c-border);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}
.nav__link {
  position: relative;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-here::after { transform: scaleX(1); }

/* Mobile Burger */
.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav.is-solid .nav__burger,
.nav.is-open .nav__burger {
  background: var(--c-paper);
  border-color: var(--c-border);
}
.nav__burger span {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.nav.is-open {
  background: var(--c-bg);
  color: var(--c-ink);
}
.nav.is-open .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.nav__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.nav.is-solid .lang-switch {
  background: var(--c-paper);
  border-color: var(--c-border);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.72;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.lang-btn.is-active {
  background: var(--c-clay);
  color: #fff;
  opacity: 1;
}
.nav__search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: inherit;
  transition: background-color 0.25s, border-color 0.25s;
}
.nav.is-solid .nav__search {
  background: var(--c-paper);
  border-color: var(--c-border);
}
.nav__search input {
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.82rem;
  width: 150px;
  outline: none;
}
.nav__search input::placeholder { color: currentColor; opacity: 0.68; }

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.nav.is-solid .icon-btn {
  background: var(--c-paper);
  border-color: var(--c-border);
}
.icon-btn:hover { transform: translateY(-1px); background: var(--c-clay); color: #fff; border-color: var(--c-clay); }

.cart__n {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--c-clay);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}
.cart__n.has-items { transform: scale(1); }

/* ==========================================================================
   2. Split-Screen Hero (74% Moss Panel / 26% Cream Rail)
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 74% 26%;
  min-height: max(100svh, 680px);
  overflow: hidden;
}
.hero__panel {
  background: radial-gradient(90% 80% at 30% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
              linear-gradient(135deg, var(--c-panel-2), var(--c-panel) 72%);
  color: var(--c-cream);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 56px;
  transform-origin: left center;
}
.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 540px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(246, 244, 239, 0.25);
  margin-bottom: 18px;
}
[data-lines] .line-mask {
  display: block;
  overflow: hidden;
  padding-top: 0.06em;
}
[data-lines] .line-inner {
  display: inline-block;
  will-change: transform;
}

.hero__title {
  margin: 0 0 18px;
  font-size: var(--fs-hero);
  line-height: 1.04;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-top: 0.08em;
}
.hero__title .ch {
  display: inline-block;
  will-change: transform;
}
.hero__sub {
  margin: 0 0 28px;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
  color: rgba(246, 244, 239, 0.84);
  max-width: 44ch;
}
.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.avatars {
  display: flex;
}
.avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--c-panel);
  margin-left: -10px;
  object-fit: cover;
}
.avatars img:first-child { margin-left: 0; }

/* Straddling Center-Right Product Stage */
.hero__stage {
  position: absolute;
  left: 38%;
  right: 13%;
  top: calc(var(--nav-h) + 12px);
  bottom: 5%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__slot {
  position: absolute;
  width: min(100%, 66vh);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
  filter: drop-shadow(0 30px 42px rgba(20, 24, 18, 0.34));
}
.hero__slot.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero__slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero__floor {
  position: absolute;
  bottom: 4%;
  width: min(56%, 340px);
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 24, 18, 0.34), transparent);
  pointer-events: none;
}

/* Right 26% Cream Rail */
.hero__aside {
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 40px 20px;
  position: relative;
  z-index: 4;
}
.rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.rail__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: var(--c-paper);
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s;
}
.rail__btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.rail__btn:hover { transform: scale(1.06); }
.rail__btn[aria-selected="true"] {
  border-color: var(--c-ink);
  box-shadow: 0 0 0 3px rgba(23, 22, 20, 0.08);
}
.hero__tag {
  text-align: right;
}
.hero__tag-name {
  display: block;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.hero__tag-price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  line-height: 1;
}

/* ==========================================================================
   3. Full-Bleed Marquee Ticker
   ========================================================================== */
.ticker {
  background: var(--c-panel);
  color: var(--c-cream);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: sv-marquee 26s linear infinite;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
}
.ticker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-clay);
}
@keyframes sv-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   4. Sections Common & Latest Arrivals (4-Column Grid)
   ========================================================================== */
.sec {
  padding: clamp(68px, 9vw, 128px) 0;
}
.sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.sec__head h2 {
  margin: 0;
  font-size: var(--fs-xl);
  max-width: 16ch;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.product {
  cursor: pointer;
}
.product__media {
  position: relative;
  aspect-ratio: 1;
  background: var(--c-paper);
  border-radius: 14px;
  padding: 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--c-border);
}
.product__art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s var(--ease);
}
.product__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product:hover .product__art {
  transform: scale(1.07) rotate(-2deg);
}
.product__add {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: #FFFFFF;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s, color 0.2s;
}
.product:hover .product__add,
.product__add:focus-visible {
  opacity: 1;
  transform: scale(1);
}
.product__add:hover {
  background: var(--c-clay);
  border-color: var(--c-clay);
  color: #fff;
  transform: scale(1.1);
}
.product__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.product__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--c-muted);
}
.product__price s { opacity: 0.55; margin-left: 6px; }

/* ==========================================================================
   5. Categories Horizontal Scrub Strip (9 Items)
   ========================================================================== */
.cats {
  padding: clamp(56px, 8vw, 110px) 0;
  overflow: hidden;
  background: var(--c-bg-2);
}
.cats__title {
  text-align: center;
  font-size: var(--fs-xl);
  margin: 0 auto clamp(28px, 4vw, 48px);
}
.cats__row {
  display: flex;
  gap: 18px;
  padding: 0 var(--gutter);
  width: max-content;
}
.cat-card {
  width: clamp(160px, 16vw, 220px);
  flex-shrink: 0;
  aspect-ratio: 1;
  border-radius: 16px;
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
}
.cat-card__art {
  width: 64%;
  transition: transform 0.35s var(--ease);
}
.cat-card:hover {
  background: var(--c-panel);
  color: var(--c-cream);
}
.cat-card:hover .cat-card__art {
  transform: translateY(-6px) scale(1.08);
}

/* ==========================================================================
   6. Best Sellers (3-Column 4:5 Portrait Editorial Cards)
   ========================================================================== */
.loved {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.lcard {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--c-panel);
  color: var(--c-cream);
  cursor: zoom-in;
}
.lcard__mask {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.lcard__media {
  position: absolute;
  inset: 0;
}
.lcard__media img,
.immerse__media,
.why__big img,
.why__small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.lcard__media img {
  transition: transform 1.1s var(--ease);
}
.lcard:hover .lcard__media img { transform: scale(1.06); }
.product__art, .why__big, .why__small { cursor: zoom-in; }
.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}
.quote__avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-panel);
}
.quote__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lcard:hover .lcard__media { transform: scale(1.06); }
.lcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 26, 20, 0.78) 0%, transparent 55%);
  pointer-events: none;
}
.lcard__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-cream);
  color: var(--c-ink);
}
.lcard__info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}
.lcard__info h3 {
  margin: 0 0 4px;
  font-size: 1.7rem;
}

/* ==========================================================================
   7. Pinned Full-Viewport Room Scene (.immerse)
   ========================================================================== */
.immerse {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
}
.immerse__frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.immerse__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.immerse__text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--c-cream);
  font-size: clamp(2.8rem, 7vw, 7.5rem);
  padding: 0 24px;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.immerse__text span {
  display: inline-block;
  margin: 0 0.14em;
}

/* ==========================================================================
   8. Why Solvik (Asymmetric Split + Hairline Draw + Parallax Frames)
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.perks {
  margin-top: 28px;
}
.perk {
  position: relative;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.perk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-border);
  transform-origin: left;
  transform: scaleX(var(--draw, 1));
}
.perk__num {
  color: var(--c-clay);
  font-weight: 700;
}
.perk h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}
.perk p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.92rem;
}

.why__media {
  position: relative;
  min-height: 460px;
}
.why__big {
  width: 76%;
  height: 400px;
  margin-left: auto;
  border-radius: 18px;
  overflow: hidden;
  background: var(--c-panel);
}
.why__small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 10px solid var(--c-bg);
  background: var(--c-paper);
}

/* ==========================================================================
   9. Customer Reviews (3-Column Quote Cards)
   ========================================================================== */
.reviews {
  background: var(--c-bg-2);
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.quote {
  background: var(--c-paper);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -30px rgba(30, 35, 30, 0.45);
}
.quote__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quote__avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-panel);
  color: var(--c-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.7;
  color: var(--c-bg-2);
}
.quote__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.22;
  text-transform: uppercase;
}

/* ==========================================================================
   10. Stylist CTA Banner & Giant Footer
   ========================================================================== */
.cta {
  position: relative;
  min-height: clamp(440px, 56vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter);
  background: linear-gradient(135deg, #2E3A2F, #1D241E);
  overflow: hidden;
}
.cta__card {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  background: var(--c-paper);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 52px);
  text-align: center;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}
.cta__card h2 {
  margin: 0 0 12px;
  font-size: var(--fs-xl);
}
.cta__card p {
  margin: 0 auto 24px;
  max-width: 46ch;
  color: var(--c-muted);
}

.footer {
  padding: clamp(56px, 8vw, 96px) 0 32px;
  border-top: 1px solid var(--c-border);
}
.footer__top {
  display: grid;
  grid-template-columns: 160px 1.4fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}
.footer__mail {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
  text-decoration: none;
  margin: 8px 0;
}
.footer__mail::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.footer__mail:hover::after { transform: scaleX(0); }
.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer__nav a {
  text-decoration: none;
  transition: color 0.25s, transform 0.35s var(--ease);
}
.footer__nav a:hover { color: var(--c-clay); transform: translateX(-4px); }
.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--c-border);
  padding-bottom: 20px;
}
.footer__word {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-huge);
  line-height: 0.82;
  color: var(--c-panel);
  overflow: hidden;
  display: flex;
}
.footer__word span { display: inline-block; }
.footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  color: var(--c-muted);
}

/* Fly-to-Cart Clone */
.fly {
  position: fixed;
  z-index: 250;
  pointer-events: none;
  border-radius: 12px;
  background: var(--c-paper);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

/* Cart Drawer & Modal */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(23, 22, 20, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: flex-end;
}
.drawer-backdrop.is-open { display: flex; }
.drawer {
  width: min(440px, 100vw);
  height: 100%;
  background: var(--c-paper);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.18);
}

/* Quantity Stepper & Form Modal + Toast */
.qty-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 2px 8px;
  background: #fff;
}
.qty-step button {
  border: 0;
  background: transparent;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-weight: 700;
  color: var(--c-ink);
}
.sv-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 260;
  background: rgba(23, 22, 20, 0.52);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sv-modal-bg.is-open { display: flex; }
.sv-modal-card {
  width: min(480px, 100%);
  background: var(--c-paper);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--c-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}
.sv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.sv-field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-muted);
}
.sv-field input,
.sv-field select,
.sv-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--c-ink);
}
.sv-field input:focus,
.sv-field select:focus,
.sv-field textarea:focus {
  outline: 2px solid var(--c-clay);
  border-color: transparent;
}
.sv-err {
  color: #b91c1c;
  font-size: 0.78rem;
  display: none;
}
.sv-field.has-err .sv-err { display: block; }
.sv-field.has-err input { border-color: #b91c1c; }
.sv-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  background: var(--c-panel);
  color: var(--c-cream);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.sv-toast.is-open { opacity: 1; transform: translateY(0); }

/* Full-Size Image Lightbox */
.sv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: rgba(23, 22, 20, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 16px;
}
.sv-lightbox.is-open { display: flex; }
.sv-lightbox__img {
  max-width: min(92vw, 960px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  background: var(--c-paper);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}
.sv-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(92vw, 960px);
  color: var(--c-cream);
}
.sv-lightbox__close {
  border: 1px solid rgba(246, 244, 239, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}
.sv-lightbox__close:hover { background: var(--c-clay); border-color: var(--c-clay); }

/* Floating Zalo Icon Only + Periodic Gentle Rotate */
.sv-zalo-fab {
  position: fixed;
  right: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 180;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 14px;
  background: transparent;
  text-decoration: none;
  filter: drop-shadow(0 10px 22px rgba(0, 104, 255, 0.28));
  animation: sv-zalo-wiggle 4.5s ease-in-out infinite;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}
.sv-zalo-fab:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 14px 28px rgba(0, 104, 255, 0.42));
}
.sv-zalo-fab img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes sv-zalo-wiggle {
  0%, 82%, 100% { transform: rotate(0deg); }
  86% { transform: rotate(-12deg); }
  90% { transform: rotate(10deg); }
  94% { transform: rotate(-6deg); }
}

/* ==========================================================================
   Responsive (<= 1080px & <= 820px Mobile)
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__search { display: none; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --nav-h: 62px; }
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--c-bg);
    color: var(--c-ink);
    flex-direction: column;
    padding: 20px var(--gutter) 28px;
    border-bottom: 1px solid var(--c-border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .nav.is-open .nav__links {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .cats__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .cat-card { scroll-snap-align: start; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    min-height: 100svh;
  }
  .hero__stage {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    height: 240px;
    margin-top: -40px;
  }
  .hero__slot { width: 220px; }
  .hero__aside {
    flex-direction: row;
    align-items: center;
    padding: 16px var(--gutter);
  }
  .rail { flex-direction: row; }
  .rail__btn { width: 44px; height: 44px; }
  .loved, .quotes, .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__nav { align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
