/* =============================================
   NESTED — Design System
   Palette: #000000 / #FFFFFF / #0466C8 / #979DAC
   Type: Helvetica Neue (headlines+body) / Open Sauce Sans (subheadings)
   ============================================= */

@font-face {
  font-family: "Open Sauce Sans";
  src: url("../assets/fonts/OpenSauceSans-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("../assets/fonts/OpenSauceSans-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("../assets/fonts/OpenSauceSans-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Open Sauce Sans";
  src: url("../assets/fonts/OpenSauceSans-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Reenie Beanie";
  src: url("../assets/fonts/ReenieBeanie.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --black: #000000;
  --white: #FFFFFF;
  --blue: #0466C8;
  --slate: #979DAC;
  --slate-tint: #EDEFF2;
  --off: #FAFAF9;

  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sub: "Open Sauce Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.16,1,.3,1);
  --container: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--white); }

body {
  font-family: var(--font-display);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

/* ---------- Type scale ---------- */
.h-hero {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.86;
  font-size: clamp(52px, 10.5vw, 168px);
  text-transform: uppercase;
}
.h-1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.92;
  font-size: clamp(36px, 6vw, 84px);
  text-transform: uppercase;
}
.h-2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(26px, 3.2vw, 44px);
  text-transform: uppercase;
}
.sub {
  font-family: var(--font-sub);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12.5px;
}
.sub-lg {
  font-family: var(--font-sub);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: clamp(16px, 1.6vw, 20px);
}
.body {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.55;
  font-size: 16px;
  color: #333;
}
.body-lg {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.4;
  font-size: clamp(18px, 1.8vw, 26px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: normal;
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  border-bottom-color: rgba(0,0,0,0.08);
}
.site-header.hide { transform: translateY(-110%); }

.logo-mark { display: flex; align-items: center; gap: 10px; }
.logo-mark img { height: 26px; width: auto; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; text-transform: uppercase; }
.logo-mark .logo-word {
  display: inline-block; width: 94px; height: 23px; flex-shrink: 0; text-indent: -9999px; overflow: hidden; white-space: nowrap;
  background: url("../assets/logos/nested-wordmark-black.svg") left center / contain no-repeat;
}

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav a {
  font-family: var(--font-sub);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--blue);
  transition: right .35s var(--ease);
}
.main-nav a:hover::after { right: 0; }
.main-nav a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.icon-btn { position: relative; width: 22px; height: 22px; display: grid; place-items: center; }
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-sub); font-size: 10px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
}
.account-dot {
  width: 9px; height: 9px; top: -2px; right: -2px;
  background: var(--blue); border-radius: 50%;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) 0;
  overflow: hidden;
}
.hero-eyebrow-row {
  position: absolute;
  top: 110px; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.hero-eyebrow-row .sub { color: var(--slate); }
.hero-eyebrow-row .sub.dot::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); margin-right: 8px; vertical-align: middle;
}
.hero-title-block { padding-top: 180px; }
.hero-title-block .h-hero span { display: block; overflow: hidden; }
.hero-title-block .h-hero span em {
  display: block; font-style: normal;
}
.hero-title-block .h-hero .accent { color: var(--blue); }

.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 44px 0 64px;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 48px;
}
.hero-copy { max-width: 420px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sub); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 18px 30px;
  background: var(--black); color: var(--white);
  border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.hero-cta:hover { background: var(--blue); transform: translateY(-2px); }
.hero-cta .arrow { transition: transform .3s var(--ease); }
.hero-cta:hover .arrow { transform: translateX(4px); }

.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll .line { width: 1px; height: 34px; background: linear-gradient(var(--black), transparent); animation: scrollpulse 1.8s ease-in-out infinite; }
@keyframes scrollpulse { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

.hero-crop {
  position: absolute; top: 0; right: 0; height: 100%; width: 34vw; max-width: 560px;
  overflow: hidden;
}
.hero-crop img {
  height: 100%; width: 100%; object-fit: cover;
}
.hero-crop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.85) 100%);
}

/* ---------- Shop / simple page hero ---------- */
.shop-hero, .page-hero {
  padding: 168px var(--gutter) 60px;
}
.page-hero .h-1 { margin-top: 16px; }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; align-items: center; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -0.01em;
  padding: 0 28px; display: inline-flex; align-items: center; gap: 28px;
}
.marquee-track span::after { content: "◆"; color: var(--blue); font-size: 11px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section-pad { padding: 120px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-bottom: 64px;
}
.section-head .tag { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.section-head .tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.section-head .tag .sub { color: var(--slate); }
.section-num {
  font-family: var(--font-sub); font-weight: 600; color: var(--slate);
  font-size: 13px;
}

.reveal { opacity: 0; transform: translateY(48px); }
.reveal-word { display: inline-block; overflow: hidden; }
.reveal-word span { display: inline-block; transform: translateY(110%); }

/* No-JS / scripting-disabled fallback: content must never depend on JS to become visible */
@media (scripting: none) {
  .reveal-word span { transform: none; }
  .reveal, .hero-eyebrow-row, .hero-bottom-row, .hero-scroll, .product-card, .mosaic > div,
  .journey-media, .journey-copy > *, .journey-dot { opacity: 1; transform: none; }
  .map-pin, .map-label { opacity: 1; }
  .map-pin { animation: none; }
}

/* ---------- Performance statement ---------- */
.statement {
  background: var(--black);
  color: var(--white);
}
.statement .wrap { padding: 140px var(--gutter); }
.statement p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 4.4vw, 58px);
  line-height: 1.15; letter-spacing: -0.02em; max-width: 1180px;
}
.statement p .dim { color: var(--slate); }
.statement p .accent { color: var(--blue); }
.statement-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 72px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.16);
}
.statement-foot .sub { color: var(--slate); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0,0,0,0.1);
  border-left: 1px solid rgba(0,0,0,0.1);
}
.product-card {
  background: var(--white);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.product-card .frame {
  aspect-ratio: 1/1;
  background: var(--slate-tint);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.product-card .frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.product-card:hover .frame img { transform: scale(1.06); }
.product-card .frame .sale {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--blue); color: var(--white);
  font-family: var(--font-sub); font-size: 10px; font-weight: 700; letter-spacing: .08em;
  padding: 5px 9px; text-transform: uppercase;
}
.product-card .frame-fallback { width: 100%; height: 100%; display: grid; place-items: center; }
.product-card .frame-fallback img { width: 34%; opacity: .28; }

.product-card .quick-add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 10px;
  background: var(--black); color: var(--white);
  font-family: var(--font-sub); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  transform: translateY(100%);
  transition: transform .35s var(--ease), background .25s;
}
.product-card:hover .quick-add { transform: translateY(0); }
.product-card .quick-add:hover { background: var(--blue); }
.product-card .quick-add .qa-icon { font-size: 15px; line-height: 1; }
.product-card .quick-add.added { background: var(--blue); }
@media (hover: none) { .product-card .quick-add { transform: translateY(0); position: static; margin-top: 10px; } }

.product-card .qa-trigger {
  all: unset; box-sizing: border-box;
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sub); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: inherit; cursor: pointer;
}
.product-card .qa-size-picker { display: flex; flex-wrap: wrap; width: 100%; }
.product-card .qa-size-btn {
  flex: 1 1 auto; min-width: 32px;
  background: none; border: none; border-left: 1px solid rgba(255,255,255,0.25);
  color: var(--white); font-family: var(--font-sub); font-weight: 700; font-size: 11px;
  padding: 14px 4px; cursor: pointer; transition: background .2s;
}
.product-card .qa-size-btn:first-child { border-left: none; }
.product-card .qa-size-btn:hover { background: var(--blue); }
.product-card .qa-size-cancel {
  flex: 0 0 auto; background: none; border: none; color: var(--white); opacity: .6;
  padding: 14px 12px; cursor: pointer; font-size: 13px; line-height: 1;
}
.product-card .qa-size-cancel:hover { opacity: 1; }
.product-card .name { font-family: var(--font-sub); font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.product-card .price { display: flex; align-items: baseline; gap: 8px; }
.product-card .price .now { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.product-card .price .was { font-family: var(--font-sub); font-size: 13px; color: var(--slate); text-decoration: line-through; }
.product-card .swatch-row { display: flex; gap: 6px; margin-top: 14px; }
.product-card .swatch-row .sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); }

.bundle-promo-card .bundle-promo-frame { background: var(--black); }
.bundle-promo-card .bundle-promo-frame::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.78) 100%);
  transition: background .4s var(--ease);
}
.bundle-promo-card:hover .bundle-promo-frame::before { background: linear-gradient(180deg, rgba(4,102,200,.3) 0%, rgba(4,102,200,.88) 100%); }
.bundle-promo-content { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 2; text-align: center; padding: 0 16px; }
.bundle-promo-eyebrow { display: block; font-family: var(--font-sub); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; transition: color .4s var(--ease); }
.bundle-promo-card:hover .bundle-promo-eyebrow { color: var(--white); }
.bundle-promo-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; font-size: clamp(20px, 2vw, 26px); line-height: 1.15; color: var(--white); }

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { padding: 16px 14px 18px; }
  .product-card .name { font-size: 14px; }
  .product-card .price .now { font-size: 16px; }
}

/* ---------- Imagery mosaic ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  gap: 2px;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .a { grid-column: span 3; grid-row: span 3; }
.mosaic .b { grid-column: span 3; grid-row: span 3; }
.mosaic .c { grid-column: span 2; grid-row: span 2; }
.mosaic .d { grid-column: span 2; grid-row: span 2; }
.mosaic .e { grid-column: span 2; grid-row: span 2; }
.mosaic .f { grid-column: span 2; grid-row: span 2; }
.mosaic .g { grid-column: span 2; grid-row: span 2; }
.mosaic .h { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .mosaic > div { grid-column: span 1 !important; grid-row: span 2 !important; }
}

/* ---------- Origin / about split ---------- */
.origin { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.origin-media { position: relative; overflow: hidden; min-height: 560px; }
.origin-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); position: absolute; inset: 0; }
.origin-copy { padding: 100px var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.origin-copy .num-list { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.origin-copy .num-list li { display: flex; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.1); }
.origin-copy .num-list .n { font-family: var(--font-sub); font-weight: 700; color: var(--blue); font-size: 13px; padding-top: 2px; }
@media (max-width: 900px) { .origin { grid-template-columns: 1fr; } .origin-media { min-height: 380px; } }
.origin.rev .origin-media { order: 2; }
.origin-media.no-gray img { filter: none; }
@media (max-width: 900px) { .origin.rev .origin-media { order: 0; } }

/* ---------- Track-tested strip ---------- */
.track-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.track-strip .frame { position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.track-strip .frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.track-strip .frame:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .track-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- Journey timeline ---------- */
.journey { padding-bottom: 60px; }
.journey-track { position: relative; }
.journey-track::before {
  content: "";
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: rgba(0,0,0,0.1);
  transform: translateX(-50%);
}
.journey-stop {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0 90px;
  padding: 70px var(--gutter);
}
.journey-stop:nth-child(even) .journey-media { order: 2; }
.journey-stop:nth-child(even) .journey-copy { order: 1; text-align: right; }
.journey-stop:nth-child(even) .journey-copy .num-list,
.journey-stop:nth-child(even) .journey-year { justify-content: flex-end; }
.journey-dot {
  position: absolute; left: 50%; top: 70px; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue);
  z-index: 2;
}
.journey-year {
  display: inline-flex; font-family: var(--font-sub); font-weight: 700; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.journey-copy h3 {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase;
  font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 16px;
}
.journey-copy p { max-width: 440px; }
.journey-stop:nth-child(even) .journey-copy p { margin-left: auto; }

.journey-media { aspect-ratio: 4/3; background: var(--slate-tint); position: relative; overflow: hidden; }
.journey-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.journey-media--map { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.map-frame { width: clamp(140px, 20vw, 220px); height: clamp(140px, 20vw, 220px); flex-shrink: 0; }
.map-svg { display: block; width: 100%; height: 100%; }
.map-path { fill: none; stroke: var(--black); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.map-pin { fill: var(--blue); opacity: 0; transform-origin: center; transform-box: fill-box; }
.map-pin.show { opacity: 1; animation: pinPulse 2s ease-in-out infinite; }
@keyframes pinPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.map-label {
  font-family: var(--font-sub); font-weight: 600; font-size: 12px; letter-spacing: .06em;
  color: var(--slate); opacity: 0; transition: opacity .5s var(--ease) .3s;
}
.map-label.show { opacity: 1; }

@media (max-width: 900px) {
  .journey-track::before { left: 24px; }
  .journey-stop { grid-template-columns: 1fr; padding: 50px var(--gutter) 50px calc(var(--gutter) + 30px); gap: 24px; }
  .journey-stop:nth-child(even) .journey-media, .journey-stop:nth-child(even) .journey-copy { order: initial; text-align: left; }
  .journey-stop:nth-child(even) .journey-copy p { margin-left: 0; }
  .journey-stop:nth-child(even) .journey-year, .journey-stop:nth-child(even) .journey-copy .num-list { justify-content: flex-start; }
  .journey-dot { left: 24px; }
}

/* ---------- Sustainability strip ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(0,0,0,0.1); border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(0,0,0,0.1); }
.pillar { background: var(--white); padding: 56px var(--gutter); }
.pillar .idx { font-family: var(--font-sub); color: var(--slate); font-size: 13px; margin-bottom: 24px; }
.pillar h3 { font-family: var(--font-sub); font-weight: 600; font-size: 19px; margin-bottom: 14px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Email CTA ---------- */
.join {
  background: var(--slate-tint);
  padding: 140px var(--gutter);
  text-align: center;
}
.join .h-1 { margin-bottom: 20px; }
.join form {
  margin: 40px auto 0; max-width: 480px;
  display: flex; border-bottom: 1.5px solid var(--black); padding-bottom: 14px;
}
.join input {
  flex: 1; border: none; background: none; outline: none;
  font-family: var(--font-display); font-size: 18px;
}
.join button {
  font-family: var(--font-sub); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- Footer ---------- */
footer { background: var(--black); color: var(--white); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 90px var(--gutter) 60px; }
.foot-brand .logo-word { width: 112px; height: 28px; background-image: url("../assets/logos/nested-wordmark-white.svg"); }
.foot-brand p { margin-top: 20px; color: var(--slate); max-width: 320px; }
.foot-col h4 { font-family: var(--font-sub); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 20px; }
.foot-col li { margin-bottom: 12px; }
.foot-col a:hover { color: var(--blue); }
.foot-payments {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 26px var(--gutter);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.foot-payments .accept-label { font-family: var(--font-sub); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-right: 6px; }
.foot-payments .cards { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot-payments .cards img { height: 26px; width: auto; border-radius: 5px; display: block; }
.foot-payments .secure { display: flex; align-items: center; gap: 7px; font-family: var(--font-sub); font-size: 11px; color: var(--slate); }
.foot-payments .secure svg { width: 13px; height: 13px; flex-shrink: 0; }
.foot-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 26px var(--gutter);
  border-top: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-sub); font-size: 12px; color: var(--slate);
}
.foot-bottom span:first-child { grid-column: 1; justify-self: start; }
.foot-bottom span:last-child { grid-column: 2; justify-self: center; text-align: center; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .foot-payments { flex-direction: column; align-items: flex-start; }
  .foot-bottom { grid-template-columns: 1fr; justify-items: center; gap: 10px; text-align: center; padding-bottom: 80px; }
  .foot-bottom span:first-child, .foot-bottom span:last-child { grid-column: 1; justify-self: center; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 700;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0,0,0,0.28); }
.whatsapp-btn svg { width: 28px; height: 28px; }
@media (max-width: 600px) { .whatsapp-btn { right: 16px; bottom: 16px; width: 50px; height: 50px; } .whatsapp-btn svg { width: 25px; height: 25px; } }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
  z-index: 800;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%);
  background: var(--white); z-index: 900;
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 28px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { color: var(--slate); font-family: var(--font-sub); margin-top: 40px; text-align: center; }
.cart-foot { padding: 24px 28px 32px; border-top: 1px solid rgba(0,0,0,0.1); }
.cart-foot .row { display: flex; justify-content: space-between; margin-bottom: 18px; font-family: var(--font-sub); font-weight: 600; }
.cart-checkout { display: block; width: 100%; text-align: center; padding: 18px; background: var(--black); color: var(--white); font-family: var(--font-sub); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; transition: background .3s; }
.cart-checkout:hover { background: var(--blue); }

/* ---------- Responsive header/hero ---------- */
/* ---------- Mobile menu (hamburger + slide-in drawer, injected by main.js) ---------- */
.menu-toggle {
  display: none; width: 26px; height: 20px; position: relative; background: none; border: none; cursor: pointer; padding: 0;
}
.menu-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--black); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 1px; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 17px; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 950; background: var(--white);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; padding: 96px var(--gutter) 40px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close { position: absolute; top: 28px; right: var(--gutter); font-size: 24px; background: none; border: none; line-height: 1; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 8vw, 34px); letter-spacing: -0.01em; padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mobile-menu nav a:active { color: var(--blue); }

/* ---------- Social / contact icon buttons (injected by main.js) ---------- */
.social-links { display: flex; align-items: center; gap: 15px; }
.social-links a { color: var(--black); display: grid; place-items: center; transition: color .25s; }
.social-links a:hover { color: var(--blue); }
.social-links svg { width: 18px; height: 18px; display: block; }
.header-actions .social-links { margin-right: 6px; padding-right: 16px; border-right: 1px solid rgba(0,0,0,0.12); }
.mobile-menu .social-links { margin-top: 40px; gap: 24px; }
.mobile-menu .social-links svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .sub { display: none; }
  .header-actions .social-links { display: none; }
  .hero-crop { display: none; }
  .hero-bottom-row { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ---------- Google reviews ---------- */
.reviews-section { padding: 90px var(--gutter); }
.reviews-section[data-google-reviews="home"] { background: var(--slate-tint); }
.reviews-inner { max-width: 1200px; margin: 0 auto; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.reviews-title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); margin-top: 10px; }
.reviews-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid rgba(0,0,0,0.1); padding: 12px 18px; text-decoration: none; }
.reviews-badge-txt { display: flex; flex-direction: column; gap: 3px; }
.reviews-badge-score { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sub); color: var(--black); }
.reviews-badge-score strong { font-size: 15px; }
.reviews-badge-count { font-family: var(--font-sub); font-size: 12px; color: var(--slate); }

.stars { display: inline-flex; gap: 1px; letter-spacing: 1px; font-size: 14px; line-height: 1; }
.stars .on { color: #F5A623; }
.stars .off { color: rgba(0,0,0,0.18); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reviews-section[data-google-reviews="pdp"] .reviews-grid { grid-template-columns: repeat(2, 1fr); }
.review-card { background: var(--white); border: 1px solid rgba(0,0,0,0.1); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.review-card-text { font-family: var(--font-display); font-size: 16px; line-height: 1.6; color: #222; margin: 0; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-card-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-avatar-fallback { background: var(--slate-tint); border: 1px solid rgba(0,0,0,0.08); }
.review-meta { display: flex; flex-direction: column; }
.review-author { font-family: var(--font-sub); font-weight: 700; font-size: 14px; color: var(--black); }
.review-when { font-family: var(--font-sub); font-size: 12px; color: var(--slate); }

.reviews-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; }
.reviews-write { display: inline-flex; align-items: center; gap: 10px; background: var(--black); color: var(--white); font-family: var(--font-sub); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 14px 26px; text-decoration: none; transition: background .25s; }
.reviews-write:hover { background: var(--blue); }
.reviews-attribution { font-family: var(--font-sub); font-size: 12px; color: var(--slate); }
.reviews-attribution a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1000px) { .reviews-grid, .reviews-section[data-google-reviews="pdp"] .reviews-grid { grid-template-columns: 1fr; } }
