/*
 * hn-commerce.css — Phase 2 visual unification
 * Bridges the V2 commerce pages (shop, PDP, cart, checkout) to the
 * home-next warm-dark design system. Loaded after shared.v2.css + demo.css
 * so every rule here overrides the V2 layer. 2026-06-04.
 */

/* ── 0. Fonts ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ── 0b. Kill shared.css blue-dark body gradient + teal glow ─────────── */
/* shared.css (loaded via header.php) sets body::before to a blue gradient
   and body::after to a teal radial — both bleed onto product pages. */
body {
  background: #0a0b0c !important;
}
body::before {
  /* Replace blue gradient with warm film grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E") !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E") !important;
  z-index: 2000 !important;
  opacity: .035 !important;
  mix-blend-mode: overlay !important;
}
body::after {
  /* Replace teal glow with warm vignette */
  background: radial-gradient(125% 90% at 50% 18%, transparent 42%, rgba(0,0,0,.55) 100%) !important;
  z-index: 1999 !important;
}
/* Kill shared.css blue-tinted nav (old .nav selector) */
nav:not(.pd-nav) {
  display: none !important;
}
/* Kill shared.css teal btn-t — replace with warm cream */
.btn-t {
  background: #f2ede4 !important;
  color: #0a0b0c !important;
  border-color: #f2ede4 !important;
  box-shadow: none !important;
}
.btn-t:hover {
  background: #c9b291 !important;
  border-color: #c9b291 !important;
  box-shadow: none !important;
}
/* Kill pd-sep hairline separators (old template page breaks) */
.pd-sep {
  border-top: none !important;
}
/* Kill blue lamp/glow elements from shared.css */
.lamp, .lamp-sm { display: none !important; }
/* Kill old fixed trustbar */
#trustbar { display: none !important; }

/* ── 0c. Heading font + weight — explicit literals (no var() chain) ─────
   demo.css sets .ed-display{font-weight:800} and shared.v2.css sets
   --fh:'Inter'. Both are overridden here with !important literals so every
   editorial heading gets Playfair at the correct weight (500 = elegant,
   matches home-next). No variable chain, no cascade ambiguity. */
body.pd h1, body.pd h2, body.pd h3,
.pp-hero h1, .pp-section h2, .pp-card h3, .pp-cta h2,
.lp-section h2, .lp-card h3, .lp-hero h1,
.ed-display, .ed-statement, .ed-range__title, .ed-finale__line,
.ct-sec h2, .ct-sec h3,
.gd-body h1, .gd-body h2, .gd-body h3,
.ed-hero h1, .ed-hero__copy h1,
h1.ed-display, h2.ed-display {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 700 !important;
}
/* Match home-next hero scale — demo.css xl is clamp(3rem,11vw,8.5rem), far too large */
.ed-display { font-size: clamp(2.6rem,6.5vw,5.2rem) !important; line-height: 1.04 !important; }
.ed-display--xl { font-size: clamp(2.8rem,7.4vw,5.8rem) !important; line-height: 1.02 !important; }

/* ── 1. Token overrides — warm dark palette ──────────────────────────── */
:root,
[data-theme="dark"] {
  /* backgrounds */
  --bg:            #0a0b0c;
  --bg-warm:       #0a0b0c;
  --surface:       #0f1011;
  --surface-card:  #131416;
  --surface-2:     #15161a;

  /* typography */
  --text:          #f2ede4;
  --text-muted:    #a8a299;
  --text-faint:    #6e6960;

  /* accent — champagne only; teal removed from commerce layer */
  --accent:        #c9b291;
  --accent-h:      #d9c4a8;   /* hover lift */

  /* borders */
  --border-c:      rgba(201,178,145,0.16);
  --border-strong: rgba(201,178,145,0.32);

  /* radii */
  --r:     16px;
  --rs:    10px;
  --r-pill:9999px;

  /* fonts */
  --fh:    'Inter', system-ui, sans-serif;
  --f:     'Inter', system-ui, sans-serif;
  --fm:    'Inter', system-ui, sans-serif;
}

html, body { background: var(--bg); color: var(--text); }

/* ── 2. Global grain + vignette ─────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 1999; pointer-events: none;
  background: radial-gradient(125% 90% at 50% 18%, transparent 42%, rgba(0,0,0,.55) 100%);
}

/* ── 3. Navigation — home-next style over pd-nav markup ─────────────── */
.pd-nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background: transparent;
  transition: background .5s, box-shadow .5s;
}
.pd-nav.scrolled {
  background: rgba(10,11,12,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,178,145,.10);
}
.pd-nav__w {
  max-width: 1400px; margin: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  padding-inline: clamp(1.5rem,4vw,4rem);
}
/* Logo */
.pd-nav__logo {
  display: flex; align-items: center; gap: .625rem;
  text-decoration: none; color: var(--text);
  font-family: var(--f); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
}
.pd-nav__logo-name {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  font-size: .78rem !important;
}
.pd-nav__logo-mark {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 22px !important; height: 24px !important; flex-shrink: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 0 !important;
  color: var(--accent) !important;
}
.pd-nav__logo-mark::before {
  content: '';
  display: block; width: 22px; height: 24px;
  background: currentColor;
  opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cpath d='M11 1L2 4.5V11c0 5.25 3.9 10.15 9 11.35C16.1 21.15 20 16.25 20 11V4.5L11 1Z' stroke='%23c9b291' stroke-width='1.4' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cpath d='M11 1L2 4.5V11c0 5.25 3.9 10.15 9 11.35C16.1 21.15 20 16.25 20 11V4.5L11 1Z' stroke='%23c9b291' stroke-width='1.4' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  color: var(--accent);
}
/* Nav links */
.pd-nav__links {
  display: none;
  list-style: none; margin: 0; padding: 0;
  gap: 2rem; align-items: center;
}
@media (min-width: 768px) {
  .pd-nav__links { display: flex; }
}
.pd-nav__links li { margin: 0; }
.pd-nav__links a {
  font-family: var(--f); font-size: .74rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--text-muted); text-decoration: none;
  transition: color .3s;
}
.pd-nav__links a:hover,
.pd-nav__links a[aria-current] { color: var(--text); }
/* Desktop CTA pill (the "Shop →" item) */
.pd-nav__links .ncta-group a,
.pd-nav__links li:last-child a {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--text); color: var(--bg) !important;
  padding: .6rem 1.5rem; border-radius: var(--r-pill);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  transition: background .3s;
}
.pd-nav__links .ncta-group a:hover,
.pd-nav__links li:last-child a:hover { background: var(--accent); color: var(--bg) !important; }
/* Cart icon */
.pd-nav__cart {
  position: relative; display: inline-flex; align-items: center;
  color: var(--text-muted); text-decoration: none; transition: color .3s;
}
.pd-nav__cart:hover { color: var(--text); }
.pd-nav__cart svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.pd-nav__cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--accent); color: var(--bg);
  font-size: .6rem; font-weight: 700;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; display: flex; align-items: center; justify-content: center;
}
/* Cluster spacing */
.pd-cluster { display: flex; align-items: center; gap: .75rem; }
/* Hamburger / toggle */
.pd-nav__toggle {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 5px; padding: .5rem; background: none; border: none;
  cursor: pointer; color: var(--text);
  font-size: 0; /* hide ☰ character */
}
.pd-nav__toggle::before,
.pd-nav__toggle::after,
.pd-nav__toggle-mid {
  content: ''; display: block; height: 1px; background: currentColor;
  transition: transform .3s, opacity .3s;
}
.pd-nav__toggle::before { width: 24px; }
.pd-nav__toggle::after  { width: 24px; }
@media (min-width: 768px) { .pd-nav__toggle { display: none; } }
/* Mobile menu overlay */
.pd-nav__links.open {
  display: flex; flex-direction: column; align-items: stretch;
  position: fixed; inset: 64px 0 0 0;
  background: rgba(10,11,12,.98); backdrop-filter: blur(12px);
  padding: 1.5rem 1.5rem 2rem;
  gap: 0; border-top: 1px solid var(--border-c);
}
.pd-nav__links.open li { border-bottom: 1px solid var(--border-c); }
.pd-nav__links.open a {
  display: block; padding: 1rem 0;
  font-size: .8rem; letter-spacing: .18em;
  color: var(--text-muted);
}
.pd-nav__links.open a:hover { color: var(--text); }
.pd-nav__links.open .ncta-group a,
.pd-nav__links.open li:last-child a {
  margin-top: 1.5rem; justify-content: center;
  padding: .875rem 1.5rem; width: 100%;
}

/* push page body below fixed nav */
body.pd > main,
body.pd > section:first-of-type,
.pd-nav + * { padding-top: 64px; }

/* ── 4. Footer — home-next warm style over ed-footer markup ─────────── */
.ed-footer {
  border-top: 1px solid var(--border-c);
  background: var(--bg);
  padding: clamp(3rem,7vw,5rem) clamp(1.5rem,6vw,6rem) 0;
  max-width: none !important;
}
.ed-footer__brand {
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem;
}
.ed-footer__brand .pd-nav__logo-mark {
  width: 18px; height: 20px; flex-shrink: 0;
}
.ed-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 1100px) {
  .ed-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .ed-footer__top .ed-footer__col:nth-child(5) { display: none; }
}
@media (max-width: 900px) {
  .ed-footer__top { grid-template-columns: 1fr 1fr; }
  .ed-footer__top .ed-footer__col:nth-child(5) { display: block; }
}
@media (max-width: 500px) {
  .ed-footer__top { grid-template-columns: 1fr; }
}
.ed-footer__word {
  font-family: 'Inter', system-ui, sans-serif !important; font-size: .72rem !important; font-weight: 600 !important;
  text-transform: uppercase !important; letter-spacing: .2em !important; color: var(--text) !important;
  margin-bottom: 1.25rem;
}
.ed-footer__manifesto {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .78rem; line-height: 1.7; color: var(--text-faint);
  max-width: 220px; margin: 0 0 1.5rem;
}
.ed-footer__chan { display: flex; gap: 1.25rem; flex-wrap: nowrap; }
.ed-footer__chan-label { display: none; }
.ed-footer__chan a {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--text-faint); text-decoration: none; transition: color .3s; white-space: nowrap;
}
.ed-footer__chan a:hover { color: var(--text-muted); }
.ed-footer__col h4 {
  font-family: 'Inter', system-ui, sans-serif !important; font-size: .64rem !important; font-weight: 600 !important;
  text-transform: uppercase !important; letter-spacing: .22em !important;
  color: rgba(201,178,145,.7) !important; margin: 0 0 1.25rem !important;
  line-height: 1 !important;
}
.ed-footer__col a {
  font-family: 'Inter', system-ui, sans-serif !important;
  display: block; font-size: .78rem; color: var(--text-faint);
  text-decoration: none; transition: color .3s; margin-bottom: .6rem;
}
.ed-footer__col a:hover { color: var(--text-muted); }
.ed-footer__pay {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  border-top: 1px solid var(--border-c);
  margin-top: 3.5rem; padding: 2rem 0 2rem;
}
.ed-footer__pay span {
  font-size: .64rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--text-faint);
}
.ed-footer__legal {
  border-top: 1px solid var(--border-c);
  padding: 1.5rem 0 2.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: .75rem;
  font-size: .68rem; color: var(--text-faint);
}
.ed-footer__legal .links a {
  color: var(--text-faint); text-decoration: none;
  margin-left: 1rem; transition: color .3s;
}
.ed-footer__legal .links a:hover { color: var(--text-muted); }

/* ── 5. Shop — product cards ─────────────────────────────────────────── */
/* Override ed-band backgrounds to dark/warm */
.ed-band { background: var(--bg) !important; }
.ed-band--light { background: var(--bg) !important; }
[data-theme="light"] { background: var(--bg) !important; color: var(--text) !important; }
/* Kill the blue-purple tint from demo.css gradient bands */
.pd-band-graphite { background: #0f1011 !important; box-shadow: inset 0 1px 0 rgba(201,178,145,.05) !important; }
.pd-band-charcoal { background: #131416 !important; box-shadow: inset 0 1px 0 rgba(201,178,145,.06) !important; }

/* Product tile dark treatment */
.ed-tile {
  background: var(--surface-card) !important;
  border: none !important;
  border-radius: var(--r) !important;
}
.ed-tile:hover { border-color: transparent !important; }
.ed-tile__name { color: var(--text) !important; font-family: var(--f) !important; }
.ed-tile__price { color: var(--text) !important; }
.ed-tile__cur { color: var(--text-faint) !important; }
.ed-tile__cta { color: var(--text-muted) !important; letter-spacing: .24em; }
.ed-tile:hover .ed-tile__cta { color: var(--text) !important; }

/* Shop page heading */
.ed-display, h1.ed-display {
  font-family: var(--fh) !important;
  color: var(--text) !important;
}
.ed-statement { color: var(--text) !important; font-family: var(--fh) !important; }
.ed-kicker { color: var(--text-faint) !important; }

/* Shop CTA buttons */
.ed-band .btn,
.ed-band .btn-t {
  background: #f2ede4 !important;
  color: #0a0b0c !important;
  border: none !important;
  border-radius: 9999px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .74rem !important;
  font-weight: 500 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  padding: .75rem 2rem !important;
  transition: background .3s !important;
}
.ed-band .btn:hover,
.ed-band .btn-t:hover { background: #c9b291 !important; color: #0a0b0c !important; }

/* ── 6. PDP — product-v2.php ─────────────────────────────────────────── */
.pdp-sku { display: none !important; }
.pdp-reviews:has(span[style*="text-faint"]) { display: none !important; }

/* ATC button — warm pill */
.btn.btn-t[id*="atc"],
button.btn.btn-t.atc-btn,
#pdpAtcBtn,
.pdp-buy .btn-t,
.pdp-buy button.btn-t,
.ed-hero__actions .btn-t,
.ed-hero__actions button.btn-t {
  background: #f2ede4 !important;
  color: #0a0b0c !important;
  border: none !important;
  border-radius: 9999px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  padding: 1rem 2.5rem !important;
  transition: background .3s !important;
}
.pdp-buy .btn-t:hover,
.ed-hero__actions .btn-t:hover { background: #c9b291 !important; color: #0a0b0c !important; }

/* Reassurance pills */
.pdp-reassure { color: var(--text-faint) !important; }

/* PDP trust pills */
.pd-trust-pill {
  background: rgba(201,178,145,.08) !important;
  border: 1px solid var(--border-c) !important;
  color: var(--text-muted) !important;
  border-radius: var(--r-pill) !important;
}

/* ── 7. Product.php — service product pages ──────────────────────────── */
/* Add to Cart on service pages */
.pd-addcart,
button.pd-addcart {
  background: #f2ede4 !important;
  color: #0a0b0c !important;
  border: none !important;
  border-radius: 9999px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  padding: .875rem 2rem !important;
  transition: background .3s !important;
}
.pd-addcart:hover { background: #c9b291 !important; color: #0a0b0c !important; }
.pd-name { font-family: var(--fh) !important; color: var(--text) !important; }
.pd-price { color: var(--text) !important; font-family: var(--f) !important; }
.pd-aud { color: var(--text-faint) !important; }

/* ── 8. Cart ─────────────────────────────────────────────────────────── */
/* Force dark on the cart light band */
.cart-pg-band,
.cart-pg-band.ed-band--light,
section.ed-band--light.cart-pg-band {
  background: var(--bg) !important;
  color: var(--text) !important;
}
.cart-pg-band * { color: inherit; }
.cart-hd h1, .cart-hd h1.cart-title {
  font-family: var(--fh) !important;
  color: var(--text) !important;
  font-size: clamp(2rem,4vw,3.2rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.02em !important;
}
.cart-hd-count { color: var(--text-faint) !important; }

/* Cart items */
.ci { border-bottom-color: var(--border-c) !important; }
.ci-items { border-top-color: var(--border-c) !important; }
.ci-name, .ci-name a { color: var(--text) !important; }
.ci-name a:hover { color: var(--accent) !important; }
.ci-meta { color: var(--text-faint) !important; }
.ci-price { color: var(--text) !important; }
.ci-qty { border-color: var(--border-c) !important; }
.ci-qty button { color: var(--text-muted) !important; }
.ci-qty button:hover { color: var(--text) !important; background: rgba(242,237,228,.06) !important; }
.ci-qty span { color: var(--text) !important; border-color: var(--border-c) !important; }
.ci-remove { color: var(--text-faint) !important; }

/* Cart summary */
.cart-summary {
  background: var(--surface-card) !important;
  border-color: var(--border-c) !important;
  border-radius: var(--r) !important;
}
.cs-row { border-bottom-color: var(--border-c) !important; color: var(--text-muted) !important; }
.cs-val { color: var(--text) !important; }
.cs-total-label { color: var(--text) !important; font-family: var(--fh) !important; }
.cs-total-val { color: var(--text) !important; font-family: var(--fh) !important; }

/* Cart CTA — primary (Checkout) */
.cart-summary .btn,
.cart-summary .btn-t,
.cart-summary a.btn,
.cs-cta .btn-t,
.cs-cta a.btn-t,
a[href*="checkout"].btn,
a[href*="checkout"].btn-t,
button[id*="checkout"] {
  background: #f2ede4 !important;
  color: #0a0b0c !important;
  border: none !important;
  border-radius: 9999px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  transition: background .3s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cart-summary .btn:hover,
.cart-summary .btn-t:hover,
.cs-cta .btn-t:hover,
a[href*="checkout"].btn:hover,
button[id*="checkout"]:hover { background: #c9b291 !important; color: #0a0b0c !important; }

/* Cart CTA — ghost (Continue shopping) */
.cart-summary .btn-o,
.cs-cta .btn-o,
.cs-cta a.btn-o {
  background: transparent !important;
  color: #a8a299 !important;
  border: 1px solid rgba(201,178,145,.16) !important;
  border-radius: 9999px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .74rem !important;
  font-weight: 400 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  transition: color .3s, border-color .3s !important;
}
.cart-summary .btn-o:hover,
.cs-cta .btn-o:hover { color: #f2ede4 !important; border-color: rgba(201,178,145,.35) !important; }

/* Cart trust strip */
.cart-trust-strip {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border-c);
}
.cart-trust-strip span {
  font-size: .65rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--text-faint);
}

/* Dark in-every-box band */
.pd-band-charcoal {
  background: #0f1011 !important;
  border-top: 1px solid var(--border-c);
  border-bottom: 1px solid var(--border-c);
}

/* ── 9. Checkout ─────────────────────────────────────────────────────── */
.co-pg { color: var(--text); }
.co-layout label { color: var(--text-muted) !important; }
.co-layout input,
.co-layout select,
.co-layout textarea {
  background: var(--surface-card) !important;
  border-color: var(--border-c) !important;
  color: var(--text) !important;
  border-radius: var(--rs) !important;
}
.co-layout input:focus,
.co-layout select:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(201,178,145,.15) !important;
}

/* Payment radios */
.co-pay-opt {
  background: var(--surface-card) !important;
  border-color: var(--border-c) !important;
  border-radius: var(--rs) !important;
  color: var(--text) !important;
}
.co-pay-opt.active, .co-pay-opt[aria-selected="true"] {
  border-color: var(--accent) !important;
  background: rgba(201,178,145,.06) !important;
}

/* Order summary in checkout */
.co-summary {
  background: var(--surface-card) !important;
  border-color: var(--border-c) !important;
  border-radius: var(--r) !important;
}
.co-sum-row { border-color: var(--border-c) !important; color: var(--text-muted) !important; }
.co-sum-val { color: var(--text) !important; }

/* Checkout CTA */
#coSubmit, button[id*="submit"], .co-submit {
  background: #f2ede4 !important;
  color: #0a0b0c !important;
  border: none !important;
  border-radius: 9999px !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  transition: background .3s !important;
}
#coSubmit:hover, .co-submit:hover { background: #c9b291 !important; color: #0a0b0c !important; }

/* Checkout trust strip */
.co-trust-strip {
  display: flex; flex-wrap: wrap; gap: .5rem .875rem;
  margin-top: 1rem;
}
.co-trust-strip span {
  font-size: .63rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--text-faint);
}
.co-trust-strip span::before { content: '· '; opacity: .5; }
.co-trust-strip span:first-child::before { content: ''; }

/* Review quote box */
.co-review {
  background: var(--surface-card) !important;
  border-color: var(--border-c) !important;
  border-radius: var(--r) !important;
}
.co-review p { color: var(--text-muted) !important; }
.co-review-author strong { color: var(--text) !important; }
.co-review-author span { color: var(--text-faint) !important; }

/* Checkout heading */
.co-pg h1, .co-pg .ed-display {
  font-family: var(--fh) !important;
  color: var(--text) !important;
  font-weight: 500 !important;
  letter-spacing: -.02em !important;
}

/* ── 10. Device lineup — home-next ProductFloat port (2026-06-05) ──────────────
   Verbatim port of pd-home-next ProductGrid/ProductFloat + globals.css primitives
   (.lightpool, .feather, shadow-float). Floating phones, no cards: warm light-pool,
   feathered drop-shadow imagery, 3-up generous grid, tilt + hover lift, Playfair
   name + accent price + "Shop now →". Replaces the flat .ed-lineup--4 card grid. */
.ed-floats{
  margin-top: clamp(2.5rem,6vw,6rem);
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3rem;
  row-gap: clamp(3.5rem,7vw,6rem);
}
@media (min-width:640px){ .ed-floats{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:900px){ .ed-floats{ grid-template-columns:repeat(4,1fr); column-gap:2rem; } }

.ed-float{ display:block; text-decoration:none; color:inherit; }
.ed-float__media{ position:relative; }
.ed-float .lightpool{
  position:absolute; left:50%; top:50%;
  height:78%; width:90%;
  transform:translate(-50%,-50%);
  border-radius:9999px;
  background:radial-gradient(closest-side, rgba(201,178,145,.12), rgba(201,178,145,.045) 46%, transparent 76%);
  filter:blur(26px); pointer-events:none;
  transition:transform .7s cubic-bezier(.16,1,.3,1);
}
.ed-float:hover .lightpool{ transform:translate(-50%,-50%) scale(1.10); }
.ed-float .tilt{ display:block; position:relative; transform-style:preserve-3d; transition:transform .5s cubic-bezier(.16,1,.3,1); }
.ed-float__frame{
  aspect-ratio:4/5; width:100%;
  display:flex; align-items:center; justify-content:center;
  transition:transform .7s cubic-bezier(.16,1,.3,1);
}
.ed-float:hover .ed-float__frame{ transform:translateY(-.375rem); }
.ed-float__media img{
  height:100%; width:100%; object-fit:contain;
  filter:drop-shadow(0 34px 44px rgba(0,0,0,.55)) sepia(.06) brightness(.97) contrast(1.03);
  transition:transform .7s cubic-bezier(.16,1,.3,1);
}
.ed-float:hover .ed-float__media img{ transform:scale(1.04); }
.ed-float__meta{ margin-top:2.25rem; display:flex; align-items:baseline; justify-content:space-between; gap:1rem; }
.ed-float__name{ font-family:var(--fh); font-weight:500; font-size:1.125rem; line-height:1.375; letter-spacing:-.01em; color:var(--text); }
.ed-float__price{ flex-shrink:0; font-size:.875rem; letter-spacing:.02em; color:var(--accent); }
.ed-float__price s{ opacity:.5; font-weight:400; margin-right:.4rem; color:var(--text-faint); }
.ed-float__cta{ margin-top:.5rem; display:inline-block; font-family:'Inter',system-ui,sans-serif; font-size:.68rem; text-transform:uppercase; letter-spacing:.24em; color:var(--text-faint); transition:color .3s; }
.ed-float__cta i{ font-style:normal; }
.ed-float:hover .ed-float__cta{ color:var(--text); }
@media (prefers-reduced-motion:reduce){
  .ed-float .lightpool,.ed-float__frame,.ed-float__media img,.ed-float .tilt{ transition:none !important; }
  .ed-float:hover .lightpool{ transform:translate(-50%,-50%); }
  .ed-float:hover .ed-float__frame{ transform:none; }
  .ed-float:hover .ed-float__media img{ transform:none; }
}

/* ── 11. "Up close" editorial tile grid ─────────────────────────────────────
   Shared with the .ed-lineup grid but overrides the old device-card treatment:
   feathered box-shadow (no hard border), cover-crop imagery, editorial depth. */
.pdp-upclose .ed-tile__media{
  box-shadow:0 8px 32px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.35);
}
.pdp-upclose .ed-tile__media img{
  transition:transform .6s cubic-bezier(.16,1,.3,1);
}
.pdp-upclose .ed-tile:hover .ed-tile__media img{
  transform:scale(1.04);
}
@media (prefers-reduced-motion:reduce){
  .pdp-upclose .ed-tile__media img{ transition:none !important; }
  .pdp-upclose .ed-tile:hover .ed-tile__media img{ transform:none; }
}

/* "Live from the store" indicator — teal ping (teal = tiny action accent only) */
.ed-live{ display:inline-flex; align-items:center; gap:.625rem; font-size:.68rem; text-transform:uppercase; letter-spacing:.24em; color:var(--text-faint); white-space:nowrap; }
.ed-live__dot{ position:relative; display:inline-flex; height:6px; width:6px; }
.ed-live__dot::before{ content:''; position:absolute; inset:0; border-radius:9999px; background:rgba(54,192,173,.6); animation:edPing 1.6s cubic-bezier(0,0,.2,1) infinite; }
.ed-live__dot::after{ content:''; position:relative; display:inline-flex; height:6px; width:6px; border-radius:9999px; background:#36c0ad; }
@keyframes edPing{ 75%,100%{ transform:scale(2.4); opacity:0; } }
@media (prefers-reduced-motion:reduce){ .ed-live__dot::before{ animation:none; } }

/* Section header row (kicker/heading left, live indicator right) */
.ed-rangehead{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:1rem 1.5rem; }

/* ── 12. Editorial primitives — metal-line divider + hn-kicker ─────── */
.metal-line{
  height:1px; width:100%;
  background:linear-gradient(90deg,transparent,rgba(201,178,145,.42),transparent);
}
.hn-kicker{
  display:inline-flex; align-items:center; gap:.75rem;
  font-family:var(--f); font-size:.72rem; font-weight:500;
  text-transform:uppercase; letter-spacing:.28em; color:var(--text-muted);
}
.hn-kicker::before{
  content:''; display:inline-block; height:1px; width:2rem; flex-shrink:0;
  background:rgba(201,178,145,.7);
}

/* ── 13. Service cards — editorial vertical cards ───────────────────── */
.hn-svc-grid{
  display:grid; gap:1px; grid-template-columns:1fr;
  border-top:1px solid rgba(201,178,145,.14);
}
@media(min-width:900px){ .hn-svc-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1280px){ .hn-svc-grid{ grid-template-columns:repeat(3,1fr); } }

.hn-svc{
  display:flex; flex-direction:column; justify-content:space-between;
  gap:1.5rem;
  padding:2.5rem 0 2.5rem;
  border-bottom:1px solid rgba(201,178,145,.14);
  text-decoration:none; color:inherit;
  transition:opacity .3s;
}
@media(min-width:900px){
  .hn-svc{ padding:2.5rem 2.5rem 2.5rem 0; border-right:1px solid rgba(201,178,145,.14); }
  .hn-svc:nth-child(2n){ padding-left:2.5rem; }
  .hn-svc:nth-last-child(-n+2){ border-bottom:none; }
}
@media(min-width:1280px){
  .hn-svc{ padding:2.5rem 2.5rem 2.5rem 0; }
  .hn-svc:nth-child(2n){ padding-left:2.5rem; }
  .hn-svc:nth-child(3n){ border-right:none; padding-right:0; }
  .hn-svc:nth-last-child(-n+3){ border-bottom:none; }
}
.hn-svc:hover{ opacity:.75; }
.hn-svc__img{ display:none; }
.hn-svc__body{ flex:1; min-width:0; }
.hn-svc__name{
  display:block;
  font-family:'Inter',system-ui,sans-serif !important;
  font-size:clamp(1.15rem,1.8vw,1.5rem); font-weight:500; line-height:1.3;
  color:#f2ede4; letter-spacing:-.01em;
  margin-bottom:.75rem;
}
.hn-svc__price{
  display:inline-block;
  font-family:'Inter',system-ui,sans-serif;
  font-size:.72rem; letter-spacing:.18em; text-transform:uppercase;
  color:#c9b291;
}
.hn-svc__label{
  display:inline-block; margin-left:.5rem;
  font-size:.62rem; text-transform:uppercase; letter-spacing:.18em;
  color:rgba(201,178,145,.55);
}
.hn-svc__cta{
  display:inline-flex; align-items:center; gap:.4rem;
  font-family:'Inter',system-ui,sans-serif;
  font-size:.68rem; text-transform:uppercase; letter-spacing:.22em;
  color:rgba(242,237,228,.45); transition:color .3s;
  margin-top:auto; padding-top:1.5rem;
}
.hn-svc__cta i{ font-style:normal; transition:transform .3s; }
.hn-svc:hover .hn-svc__cta{ color:#c9b291; }
.hn-svc:hover .hn-svc__cta i{ transform:translateX(4px); }

/* ── 14. Stats section — home-next StatsSection port ────────────────── */
.hn-stats{
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:3.5rem 0; margin-top:clamp(2.5rem,5vw,4rem);
}
@media(min-width:768px){ .hn-stats{ grid-template-columns:repeat(4,1fr); } }
.hn-stat{ padding-inline:.25rem; }
@media(min-width:768px){
  .hn-stat--ruled{
    border-left:1px solid rgba(201,178,145,.16);
    padding-inline:clamp(1.5rem,3vw,2.5rem);
  }
}
.hn-stat__val{
  font-family:var(--fh); font-size:clamp(2.6rem,5.2vw,4.2rem);
  font-weight:500; line-height:1; color:var(--text);
}
.hn-stat__label{
  margin-top:1.25rem; font-size:.68rem; text-transform:uppercase;
  letter-spacing:.22em; color:var(--text-muted);
}
