/* Astrum Tech theme styles — ported from the approved design mockup, verified against astrumtech.com.
   Brand colors/fonts come from theme.json; this file adds section layouts the block editor can't express. */
@font-face { font-family:'Inter'; font-weight:400; src:url('../fonts/Inter-Regular.woff2') format('woff2'); font-display:swap; }
@font-face { font-family:'Inter'; font-weight:500; src:url('../fonts/Inter-Medium.woff2') format('woff2'); font-display:swap; }
@font-face { font-family:'Inter'; font-weight:600; src:url('../fonts/Inter-SemiBold.woff2') format('woff2'); font-display:swap; }
@font-face { font-family:'Inter'; font-weight:700; src:url('../fonts/Inter-Bold.woff2') format('woff2'); font-display:swap; }

:root{
  /* Brand tokens aliased to theme.json preset variables (single source of truth) */
  --base:var(--wp--preset--color--base,#fff);
  --contrast:var(--wp--preset--color--contrast,#171717);
  --primary:var(--wp--preset--color--primary,#3b0023);
  --primary-text:var(--wp--preset--color--primary-text,#fff);
  --dark:var(--wp--preset--color--dark,#1f1f1f);
  --price:var(--wp--preset--color--price,#171717);
  --sale:var(--wp--preset--color--sale,#e11d48);
  --rating:var(--wp--preset--color--rating,#f59e0b);
  --image-bg:var(--wp--preset--color--image-bg,#f2f2f2);
  --radius-card:16px; --radius-btn:999px; --t:.25s ease;
  /* measured from live astrumtech.com */
  --pad-side:48px; --gap:20px; --h2:29px; --h2-ls:-.025em;
}
*{box-sizing:border-box;}
body{margin:0;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;color:var(--contrast);background:var(--base);line-height:1.4;font-size:16px;}
h1,h2,h3,h4{font-weight:700;line-height:1.05;letter-spacing:var(--h2-ls);margin:0 0 .5em;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:1600px;margin:0 auto;padding:0 var(--pad-side);}
.wide{max-width:1600px;margin:0 auto;padding:0 var(--pad-side);}

.btn{display:inline-block;background:var(--primary);color:var(--primary-text);font-weight:500;border:2px solid var(--primary);border-radius:var(--radius-btn);padding:.85rem 1.75rem;cursor:pointer;transition:background var(--t),border-color var(--t);}
.btn:hover{background:var(--contrast);border-color:var(--contrast);}
.btn-light{background:#fff;color:var(--primary);border-color:#fff;}
.btn-light:hover{background:transparent;color:#fff;border-color:#fff;}


/* Reveal-on-scroll animation */
.reveal{opacity:0;transform:translateY(36px);transition:opacity .7s ease,transform .7s ease;}
.reveal.in{opacity:1;transform:none;}
.apc-grid .col-cell{transition:opacity .7s ease,transform .7s ease;}
.reveal .apc-grid .col-cell{opacity:0;transform:translateY(40px);}
.reveal.in .apc-grid .col-cell{opacity:1;transform:none;}
.reveal.in .apc-grid .col-cell:nth-child(2){transition-delay:.1s;}
.reveal.in .apc-grid .col-cell:nth-child(3){transition-delay:.2s;}
.reveal.in .apc-grid .col-cell:nth-child(4){transition-delay:.3s;}
@media(prefers-reduced-motion:reduce){.reveal,.reveal .apc-grid .col-cell{opacity:1!important;transform:none!important;transition:none!important;}}

/* Announcement */
.announce{background:var(--dark);color:#fafafa;text-align:center;font-size:.875rem;letter-spacing:.02em;padding:.5rem 1rem;}

/* Header + nav with dropdown */
header.site{position:sticky;top:0;z-index:200;background:#fff;border-bottom:1px solid rgba(0,0,0,.06);padding:.85rem 0;}
.hd{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;}
.hd .logo img{height:34px;width:auto;}
nav.nav{display:flex;gap:1.6rem;font-weight:500;align-items:center;}
nav.nav>ul{display:flex;gap:1.6rem;list-style:none;margin:0;padding:0;align-items:center;}
nav.nav li{position:relative;}
nav.nav li.has-mega{position:static;}   /* mega panel must resolve against <header>, not the li */
nav.nav a{padding:.5rem 0;display:inline-block;transition:color var(--t);}
nav.nav a:hover{color:var(--primary);}
.submenu{position:absolute;top:100%;left:0;background:#fff;min-width:240px;border:1px solid rgba(0,0,0,.08);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.12);padding:.5rem;opacity:0;visibility:hidden;transform:translateY(8px);transition:all var(--t);list-style:none;margin:.5rem 0 0;}
.has-sub:hover .submenu{opacity:1;visibility:visible;transform:translateY(0);}
.submenu li a{display:block;padding:.6rem .9rem;border-radius:8px;font-weight:400;white-space:nowrap;}
.submenu li a:hover{background:var(--image-bg);color:var(--primary);}
/* active pill (matches live "Shop" black pill) */
nav.nav a.pill{background:var(--contrast);color:#fff;border-radius:var(--radius-btn);padding:.5rem 1.25rem;}
nav.nav a.pill:hover{color:#fff;}
.has-sub>a::after,.has-mega>a::after{content:" ▾";font-size:.7em;opacity:.6;}
.has-mega>a.pill::after{content:"";}

/* full-width mega-menu (Shop) — panel anchored to the full-width header bar */
header.site{position:sticky;top:0;}      /* positioning context for .mega */
.astrum-header,header.site{position:relative;}
.has-mega{position:static;}              /* so .mega resolves against <header> */
.mega{
  position:absolute;
  top:100%;left:0;right:0;width:100%;     /* spans the header = full page width */
  background:#ffffff;
  border-top:1px solid rgba(0,0,0,.06);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  display:grid;grid-template-columns:repeat(5,1fr);gap:1.75rem;
  padding:2.25rem clamp(1.5rem,4vw,4rem) 2.5rem;
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity var(--t),transform var(--t),visibility var(--t);
  z-index:300;}
.has-mega:hover .mega{opacity:1;visibility:visible;transform:translateY(0);}
.mega-card{display:flex;flex-direction:column;min-width:0;}
.mega-card .mc-img{background:var(--image-bg);border-radius:var(--radius-card);aspect-ratio:1;
  overflow:hidden;display:grid;place-items:center;padding:1.25rem;transition:background var(--t);}
.mega-card .mc-img img{width:100%;height:100%;object-fit:contain;}
.mega-card:hover .mc-img{background:#efefef;}
.mc-foot{display:flex;justify-content:space-between;align-items:flex-end;gap:.75rem;margin-top:1rem;}
.mc-name{font-weight:700;font-size:1.05rem;letter-spacing:-.02em;line-height:1.1;}
.mc-tag{color:#8a8a8a;font-size:.85rem;margin-top:.25rem;line-height:1.3;}
.mc-arrow{font-size:1.1rem;flex-shrink:0;}
.hd-actions{display:flex;align-items:center;gap:1.25rem;}
.hd-actions .ic{font-size:1.25rem;line-height:1;position:relative;}
.cart-ico .count{position:absolute;top:-8px;right:-10px;background:var(--primary);color:#fff;font-size:.65rem;border-radius:50%;width:16px;height:16px;display:grid;place-items:center;}
nav.nav{margin:0 auto;}  /* center nav between logo and icons */

/* Marquee */
.marquee{background:var(--primary);color:var(--primary-text);overflow:hidden;white-space:nowrap;padding:.7rem 0;}
.marquee__track{display:inline-flex;animation:scroll 22s linear infinite;}
.marquee__item{font-weight:700;letter-spacing:.08em;text-transform:uppercase;font-size:.95rem;}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ===== HOME — rebuilt from measured live values ===== */
/* Hero: full-width rounded image ~2.4:1, side padding 48px */
.home-hero{padding:0 var(--pad-side);}
.hh-img{border-radius:24px;overflow:hidden;aspect-ratio:1256/522;background:var(--image-bg);}
.hh-img img{width:100%;height:100%;object-fit:cover;}

/* headline marquee strip — LIVE: 16px regular text (not big/bold) */
.hstrip{overflow:hidden;white-space:nowrap;padding:14px 0;}
.hstrip-track{display:inline-flex;align-items:center;gap:1.25rem;animation:scroll 30s linear infinite;}
.strip-item{font-size:16px;font-weight:400;letter-spacing:0;}
.strip-dot{font-size:.6rem;opacity:.4;}

/* 4-column feature row — titles/text 18px, icons 24px */
.feat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:2.5rem;max-width:1600px;margin:0 auto;padding:72px var(--pad-side) 56px;}
.feat-col .feat-ico{width:24px;height:24px;margin-bottom:1rem;}
.feat-col .feat-ico svg{width:24px;height:24px;stroke-width:1.4;}
.feat-col h4{font-size:18px;font-weight:600;margin-bottom:.5rem;letter-spacing:0;}
.feat-col p{font-size:15px;line-height:1.5;opacity:.7;}

/* ghost-text banner over headphone image */
.ghost-banner{position:relative;max-width:1600px;margin:0 auto;padding:12px var(--pad-side);}
.ghost-banner img{width:100%;border-radius:var(--radius-card);background:var(--image-bg);aspect-ratio:1256/522;object-fit:cover;}
.ghost-text{position:absolute;inset:12px var(--pad-side);display:grid;place-items:center;text-align:center;
  font-size:clamp(1.5rem,4vw,2.25rem);font-weight:700;letter-spacing:var(--h2-ls);
  color:transparent;-webkit-text-stroke:1px rgba(140,140,140,.7);}

/* shop-the-look — LIFESTYLE image (2/3) + PRODUCT CARD (1/3). Measured 797:398, 60px gap. */
.home-feat{display:grid;grid-template-columns:797fr 398fr;column-gap:60px;align-items:stretch;max-width:1600px;margin:0 auto;padding:20px var(--pad-side);}
.home-feat.reverse{grid-template-columns:398fr 797fr;}
.home-feat.reverse .hf-life{order:2;}
.home-feat.reverse .hf-card{order:1;}
/* lifestyle image with play button */
.hf-life{position:relative;background:var(--image-bg);border-radius:14px;overflow:hidden;aspect-ratio:4/3;}
.hf-life img{width:100%;height:100%;object-fit:cover;}
.hf-play{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.9);display:grid;place-items:center;color:#171717;font-size:1.3rem;z-index:2;}
/* product card: image panel + centered name/price below */
.hf-card{display:flex;flex-direction:column;align-self:center;background:var(--image-bg);border-radius:16px;overflow:hidden;}
.hf-card-img{position:relative;background:var(--image-bg);overflow:hidden;aspect-ratio:1;}
.hf-card-img img{width:100%;height:100%;object-fit:cover;}
.hf-card-name{text-align:center;font-size:18px;font-weight:700;letter-spacing:var(--h2-ls);padding:1.25rem 1rem .25rem;}
.hf-card-price{text-align:center;font-size:15px;font-weight:400;opacity:.85;padding-bottom:1.5rem;}
.hf-rating{position:absolute;top:14px;right:14px;background:#fff;border-radius:999px;padding:.3rem .7rem;font-size:.85rem;font-weight:600;color:var(--rating);z-index:3;}

/* product name strip row — full-width 4 across, name 16px */
.name-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;}
.ns-card{text-align:center;}
.ns-img{background:var(--image-bg);border-radius:var(--radius-card);overflow:hidden;aspect-ratio:1;margin-bottom:.85rem;}
.ns-img img{width:100%;height:100%;object-fit:cover;transition:transform var(--t);}
.ns-card:hover .ns-img img{transform:scale(1.04);}
.ns-name{font-size:16px;font-weight:700;letter-spacing:0;}
.ns-tag{font-size:13px;opacity:.6;margin-top:.25rem;}

/* reviews */
.reviews{text-align:center;padding-top:48px;padding-bottom:48px;}
.rv-eyebrow{opacity:.6;margin-bottom:.25rem;font-size:15px;}
.rv-title{font-size:var(--h2);font-weight:700;margin-bottom:1.5rem;}
.rv-stars{color:var(--rating);font-size:1.25rem;margin-bottom:1.5rem;}
.rv-quote{font-size:clamp(1.5rem,3vw,2rem);font-weight:700;line-height:1.3;letter-spacing:var(--h2-ls);max-width:24ch;margin:0 auto 1.5rem;border:none;}
.rv-author{font-style:italic;opacity:.8;}

/* ===== ABOUT ===== */
.hh-img.ovl{position:relative;}
.hh-img.ovl .ovl-text{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:2rem;}
.hh-img.ovl .ovl-text h1{color:#fff;font-size:clamp(1.75rem,4.5vw,3rem);font-weight:700;letter-spacing:var(--h2-ls);max-width:18ch;text-shadow:0 2px 20px rgba(0,0,0,.4);}
.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;margin-top:1rem;}
.mv-img{background:var(--image-bg);border-radius:var(--radius-card);overflow:hidden;aspect-ratio:1;margin-bottom:1.25rem;}
.mv-img img{width:100%;height:100%;object-fit:cover;}
.mv-col h3{font-size:1.5rem;margin-bottom:.5rem;}
.mv-col p{opacity:.75;line-height:1.6;}
.awards{margin-bottom:2.5rem;line-height:2;opacity:.85;}
.big-quote{font-size:4rem;line-height:.5;font-weight:700;}
.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:2rem;}
.tl-item{border-top:2px solid var(--primary);padding-top:1rem;}
.tl-year{font-size:1.75rem;font-weight:700;color:var(--primary);margin-bottom:.5rem;}
.tl-item p{opacity:.75;line-height:1.5;}

/* Hero (legacy, unused on home now) */
.hero{position:relative;min-height:78vh;display:grid;place-items:center;text-align:center;color:#fff;background-size:cover;background-position:center;}
.hero::before{content:"";position:absolute;inset:0;background:rgba(15,10,15,.45);}
.hero .inner{position:relative;}
.hero h1{font-size:clamp(2.5rem,6vw,4.5rem);color:#fff;max-width:14ch;margin:0 auto .4em;}
.hero p{font-size:1.4rem;margin:0 0 1.5rem;opacity:.95;}

/* Sections */
section.block{padding:4rem 0;}
section.block h2{font-size:var(--h2);font-weight:700;letter-spacing:var(--h2-ls);text-align:center;margin-bottom:2rem;}
section.block{padding:48px 0;}
.tint{background:var(--image-bg);}

/* Product grid */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;}
.grid.g3{grid-template-columns:repeat(3,1fr);}
.card{transition:transform var(--t);}
.card:hover{transform:translateY(-4px);}
.card .ph{aspect-ratio:1;background:var(--image-bg);border-radius:var(--radius-card);overflow:hidden;position:relative;}
.card .ph img{width:100%;height:100%;object-fit:cover;}
.badge{position:absolute;top:10px;left:10px;background:var(--sale);color:#fff;font-weight:600;font-size:.8rem;padding:.4em .7em;border-radius:var(--radius-btn);z-index:2;}
.card h3{font-size:1rem;font-weight:500;margin:.75rem 0 .25rem;letter-spacing:0;}
.price{color:var(--price);font-weight:600;}
.price del{opacity:.5;font-weight:400;margin-right:.4rem;}
.price .now{color:var(--sale);}
.stars{color:var(--rating);font-size:.85rem;}

/* ===== SHOP / COLLECTION (measured from live) ===== */
.coll-banner{position:relative;min-height:54vh;display:flex;align-items:flex-end;overflow:hidden;}
.coll-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.coll-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(120,130,140,.55),rgba(120,130,140,.15));}
.cb-inner{position:relative;z-index:2;padding-bottom:2.5rem;width:100%;}
.cb-crumb{color:#fff;opacity:.85;font-size:.9rem;margin-bottom:.5rem;}
.cb-title{color:#fff;font-size:clamp(3rem,9vw,5.7rem);font-weight:700;letter-spacing:var(--h2-ls);margin:0;line-height:1;}

/* product grid (4-up) + cards with rating badge + blue corners */
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;}
.pcard .pc-img{position:relative;background:var(--image-bg);border-radius:var(--radius-card);overflow:hidden;aspect-ratio:1;transition:transform var(--t);}
.pcard .pc-img img{width:100%;height:100%;object-fit:cover;}
.pcard:hover .pc-img{transform:translateY(-4px);}
.pc-rating{position:absolute;top:12px;right:12px;z-index:3;background:#fff;border-radius:999px;padding:.25rem .6rem;font-size:.8rem;font-weight:600;color:var(--rating);}
.pc-name{font-size:16px;font-weight:600;margin:.75rem 0 .25rem;letter-spacing:0;}
.pc-price{font-size:16px;font-weight:600;color:var(--price);}

/* ===== BLOGS ===== */
.pgrid.g3{grid-template-columns:repeat(3,1fr);}
.blog-card .bc-img{background:var(--image-bg);border-radius:var(--radius-card);overflow:hidden;aspect-ratio:1;transition:transform var(--t);}
.blog-card .bc-img img{width:100%;height:100%;object-fit:cover;}
.blog-card:hover .bc-img{transform:translateY(-4px);}
.bc-title{font-size:1.15rem;font-weight:700;line-height:1.3;margin-top:1rem;letter-spacing:var(--h2-ls);}

/* ===== COLLABORATION (artist) ===== */
.artist-hero{padding:0 var(--pad-side);margin-top:1rem;}
.artist-hero img{width:100%;border-radius:20px;aspect-ratio:16/9;object-fit:cover;background:var(--image-bg);}

/* ===== BLOG ARTICLE ===== */
.article-hero{position:relative;min-height:78vh;display:flex;align-items:flex-end;overflow:hidden;}
.article-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.article-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.55));}
.ah-inner{position:relative;z-index:2;padding-bottom:3rem;width:100%;}
.ah-meta{color:#fff;opacity:.9;font-size:.95rem;margin-bottom:1rem;}
.ah-title{color:#fff;font-size:clamp(2.5rem,6vw,4.5rem);font-weight:700;letter-spacing:var(--h2-ls);line-height:1.05;max-width:20ch;margin:0;}
.article-body{padding:3.5rem 0;}
.article-body p{font-size:1rem;line-height:1.8;margin:0 0 1.5rem;opacity:.85;}

/* ===== SUPPORT / CONTACT ===== */
.contact-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:3.5rem;align-items:start;}
.contact-form .co-field{background:var(--image-bg);border-color:transparent;}
.ci-block{margin-bottom:1.75rem;}
.ci-label{text-transform:uppercase;letter-spacing:1px;font-size:.8rem;opacity:.55;margin-bottom:.4rem;}
.ci-block p{margin:0;line-height:1.5;}
.ci-block a{text-decoration:underline;}

/* Breadcrumb + toolbar */
.crumb{font-size:.85rem;opacity:.65;padding:1.5rem 0 .5rem;}
.shop-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem;}
.shop-bar select{border:1px solid #ddd;border-radius:8px;padding:.5rem .8rem;}

/* Product detail — big image | thumb column | buy box (3 cols, like live) */
.pdp{display:grid;grid-template-columns:1.5fr .5fr 1.1fr;gap:1.5rem;align-items:start;padding-top:1rem;}
.g-main{background:var(--image-bg);border-radius:var(--radius-card);overflow:hidden;aspect-ratio:1;}
.g-thumbs{display:flex;flex-direction:column;gap:1.5rem;}
.g-thumb{background:var(--image-bg);border-radius:var(--radius-card);overflow:hidden;aspect-ratio:1;}
.g-main img,.g-thumb img{width:100%;height:100%;object-fit:cover;}
.buybox{position:sticky;top:90px;padding-left:1rem;}
.pdp h1{font-size:2.5rem;}
.pdp .p-price{font-size:1.6rem;font-weight:600;margin:1rem 0 .25rem;}
.shoppay{display:block;text-align:center;margin-top:.75rem;background:#5a31f4;border-color:#5a31f4;}
.shoppay:hover{background:#4a27d4;border-color:#4a27d4;}
.share{margin-top:1.5rem;display:flex;align-items:center;gap:.6rem;font-size:.9rem;}
.share span{width:30px;height:30px;border-radius:50%;background:var(--contrast);color:#fff;display:grid;place-items:center;font-size:.8rem;}

/* signature dark-blue corner triangles on image panels */
.corner{position:relative;}
.corner::before,.corner::after{content:"";position:absolute;width:0;height:0;z-index:2;}
.corner::before{top:0;left:0;border-top:34px solid #0b3a66;border-right:34px solid transparent;border-top-left-radius:var(--radius-card);}
.corner::after{bottom:0;right:0;border-bottom:34px solid #0b3a66;border-left:34px solid transparent;border-bottom-right-radius:var(--radius-card);}
.swatches{display:flex;gap:.6rem;margin:1rem 0;}
.swatch{padding:.5rem 1rem;border:1px solid #ccc;border-radius:var(--radius-btn);cursor:pointer;font-size:.9rem;}
.swatch.active{border-color:var(--primary);background:var(--primary);color:#fff;}
.qty{display:inline-flex;align-items:center;border:1px solid #ccc;border-radius:var(--radius-btn);overflow:hidden;margin-right:1rem;}
.qty button{border:none;background:none;padding:.6rem 1rem;cursor:pointer;font-size:1rem;}
.qty span{padding:0 .5rem;}
.pdp .feat{margin-top:1.5rem;border-top:1px solid #eee;padding-top:1.5rem;}
.pdp .feat li{margin:.4rem 0;}

/* ===== CART (matches live) ===== */
.cart-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;}
.cart-title{font-size:clamp(3rem,7vw,4.5rem);font-weight:700;letter-spacing:var(--h2-ls);margin:0;}
.btn-outline{background:transparent;color:var(--primary);border:2px solid var(--primary);}
.btn-outline:hover{background:var(--primary);color:#fff;}
.cart-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:3rem;align-items:start;}
.cart-row{display:grid;grid-template-columns:96px 1fr auto auto auto;gap:1.25rem;align-items:center;padding:1.25rem 0;border-bottom:1px solid #eee;}
.cart-row .cr-img{width:96px;height:96px;border-radius:12px;overflow:hidden;background:var(--image-bg);}
.cart-row .cr-img img{width:100%;height:100%;object-fit:cover;}
.cr-info strong{font-weight:600;}.cr-price-sm{opacity:.6;font-size:.9rem;margin-top:.25rem;}
.cr-remove{opacity:.6;font-size:.85rem;text-decoration:underline;}
.cr-line{font-weight:600;}
.cart-tools{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.5rem;}
.ct-box{border:1px solid #ddd;border-radius:12px;padding:1rem 1.25rem;}
.ct-box summary{cursor:pointer;font-weight:500;list-style:none;display:flex;justify-content:space-between;}
.ct-box summary::after{content:"⌄";}
.ct-body{padding-top:.75rem;font-size:.9rem;}
.cart-summary{background:var(--image-bg);border-radius:20px;padding:1.75rem;position:sticky;top:90px;max-width:none;margin:0;}
.ship-bar{background:#fff;border-radius:14px;padding:1rem;margin-bottom:1.5rem;font-size:.9rem;}
.ship-track{height:6px;background:#e5e5e5;border-radius:999px;margin-top:.6rem;overflow:hidden;}
.ship-track span{display:block;width:30%;height:100%;background:var(--contrast);}
.sum-subtotal{display:flex;justify-content:space-between;align-items:baseline;font-weight:700;}
.sum-subtotal .sum-amt{font-size:1.6rem;}
.sum-note{font-size:.85rem;opacity:.65;margin:.5rem 0;display:block;}
.order-note{width:100%;border:1px solid #ddd;border-radius:10px;padding:.85rem;min-height:90px;font-family:inherit;margin-bottom:1rem;resize:vertical;}
.checkout-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;margin-bottom:.6rem;}
.gpay{display:block;text-align:center;background:#000;border-color:#000;width:100%;}
.cart-summary .shoppay{width:100%;text-align:center;}
.cart-summary .line{display:flex;justify-content:space-between;margin:.5rem 0;}
.cart-summary .total{font-weight:700;font-size:1.2rem;border-top:1px solid #ddd;padding-top:.75rem;margin-top:.75rem;}
.pay-row{display:flex;gap:.4rem;flex-wrap:wrap;justify-content:center;}
.pay-row span{background:#fff;border:1px solid #eee;color:#222;border-radius:5px;padding:.3rem .45rem;font-size:.6rem;font-weight:700;}

/* ===== CHECKOUT (WooCommerce-style) ===== */
.checkout-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:3rem;align-items:start;}
.co-form h3{font-size:1.1rem;margin:1.5rem 0 .75rem;}
.co-field{width:100%;border:1px solid #ccc;border-radius:8px;padding:.85rem 1rem;font-size:1rem;font-family:inherit;margin-bottom:.75rem;}
.co-2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;}
.co-radio{display:flex;justify-content:space-between;align-items:center;border:1px solid #ccc;border-radius:8px;padding:1rem;margin-bottom:.75rem;}
.co-radio.sel{border-color:var(--primary);border-width:2px;}
.co-summary{background:var(--image-bg);border-radius:20px;padding:1.75rem;position:sticky;top:90px;}
.co-item{display:grid;grid-template-columns:64px 1fr auto;gap:1rem;align-items:center;margin-bottom:1.25rem;}
.co-thumb{position:relative;width:64px;height:64px;border-radius:12px;overflow:hidden;background:#fff;}
.co-thumb img{width:100%;height:100%;object-fit:cover;}
.co-qty{position:absolute;top:-8px;right:-8px;background:var(--contrast);color:#fff;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:.75rem;}
.co-iname{font-weight:600;font-size:.95rem;}
.co-discount{display:flex;gap:.5rem;margin-bottom:1.25rem;}
.co-discount input{flex:1;border:1px solid #ccc;border-radius:8px;padding:.7rem;}
.co-discount button{border:1px solid #ccc;background:#fff;border-radius:8px;padding:0 1.25rem;cursor:pointer;}
.co-summary .line{display:flex;justify-content:space-between;margin:.5rem 0;}
.co-summary .total{font-weight:700;font-size:1.3rem;border-top:1px solid #ddd;padding-top:.75rem;margin-top:.75rem;}
.co-summary .total small{opacity:.5;font-size:.7rem;}

/* A+ long-form content — text left, image right (live layout) */
.aplus{padding:2rem 0;}
.ap-row{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;max-width:1500px;margin:0 auto;}
.ap-row .ap-img{background:var(--image-bg);aspect-ratio:16/10;overflow:hidden;border-radius:0 0 0 60px;}
.ap-row .ap-img img{width:100%;height:100%;object-fit:cover;}
.ap-row .ap-txt{display:flex;flex-direction:column;justify-content:center;padding:clamp(2rem,5vw,5rem);}
.ap-row .ap-txt h3{font-size:clamp(1.75rem,3.5vw,2.5rem);}
.ap-row .ap-txt p{font-size:1.05rem;line-height:1.6;opacity:.8;max-width:46ch;}
.ap-badge{font-size:.8rem;font-weight:700;letter-spacing:.05em;border:1px solid #ccc;border-radius:8px;padding:.4rem .7rem;display:inline-block;margin-bottom:1rem;width:max-content;}
.ap-row.reverse .ap-img{order:0;border-radius:0 0 60px 0;}
.ap-row.reverse .ap-txt{order:1;}

/* Tech Specs (left) + Box (right) side-by-side */
.specs-box{display:grid;grid-template-columns:1.3fr .9fr;gap:3.5rem;align-items:start;}
.box-col{padding-top:1rem;}
.box-card{max-width:440px;margin-left:auto;}

/* Tech Specs accordion */
.acc details{border-bottom:1px solid rgba(0,0,0,.10);}
.acc summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;
  padding:1.5rem .25rem;font-size:1.5rem;font-weight:500;letter-spacing:-.02em;}
.acc summary::-webkit-details-marker{display:none;}
.acc summary::after{content:"+";font-size:1.6rem;font-weight:400;transition:transform var(--t);}
.acc details[open] summary::after{content:"–";}
.acc .acc-body{padding:0 .25rem 1.5rem;}
.acc .acc-body p{margin:.5rem 0;opacity:.8;line-height:1.5;}
.acc .acc-body b{opacity:1;color:var(--contrast);}

/* Included in the Box */
.box-card{position:relative;background:var(--image-bg);border-radius:24px;padding:3rem 1.75rem 2.5rem;margin-top:1.5rem;}
.hang-tab{position:absolute;top:-26px;left:50%;transform:translateX(-50%);width:110px;height:50px;background:var(--contrast);border-radius:12px;}
.hang-tab::after{content:"";position:absolute;top:17px;left:50%;transform:translateX(-50%);width:42px;height:13px;background:var(--image-bg);border-radius:999px;}
.box-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem 1rem;}
.box-item{text-align:center;}
.box-ico{width:84px;height:84px;margin:0 auto .7rem;background:#fff;border-radius:50%;display:grid;place-items:center;}
.box-ico svg{width:40px;height:40px;}
.box-label{font-size:.9rem;}

/* Full-width video band (before footer) — black, like live embedded player */
.video-band{position:relative;min-height:62vh;display:grid;place-items:center;background:#000;}
.video-band .play{width:84px;height:84px;border-radius:50%;border:2px solid rgba(255,255,255,.85);color:#fff;
  display:grid;place-items:center;font-size:1.8rem;cursor:pointer;transition:transform var(--t),background var(--t);}
.video-band .play:hover{background:rgba(255,255,255,.15);transform:scale(1.06);}

/* A+ collage — text left + 2x2 image grid right (staggered, like live) */
.ap-collage{display:grid;grid-template-columns:1fr 1.2fr;gap:3rem;align-items:center;
  max-width:1500px;margin:0 auto;padding:clamp(2rem,5vw,4rem) clamp(1.5rem,4vw,4rem);}
.apc-head{font-size:clamp(2rem,4vw,2.75rem);margin-bottom:1.25rem;}
.apc-head u{text-decoration-color:var(--primary);text-underline-offset:4px;}
.apc-sub{font-weight:700;margin-bottom:.5rem;}
.apc-body{opacity:.8;line-height:1.6;max-width:44ch;}
.apc-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:3.5rem;row-gap:3.5rem;align-items:start;}
.apc-grid .col-cell{background:var(--image-bg);border-radius:var(--radius-card);overflow:hidden;}
.apc-grid .col-cell img{width:100%;height:100%;object-fit:cover;}
/* varied heights, masonry-like (matches live): short/tall, tall/short */
.apc-grid .col-cell:nth-child(1){aspect-ratio:4/3;}      /* top-left  short */
.apc-grid .col-cell:nth-child(2){aspect-ratio:3/4;}      /* top-right tall */
.apc-grid .col-cell:nth-child(3){aspect-ratio:3/4;}      /* bot-left  tall */
.apc-grid .col-cell:nth-child(4){aspect-ratio:4/3;}      /* bot-right short */
/* right column pushed down so columns stagger (offset like live) */
.apc-grid .col-cell:nth-child(2),.apc-grid .col-cell:nth-child(4){margin-top:5rem;}

/* Testimonials */
.tgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;}
.tcard{background:#fff;border-radius:var(--radius-card);padding:2rem;box-shadow:0 4px 18px rgba(0,0,0,.05);}
.tcard .s{color:var(--rating);font-size:1.25rem;}
.tcard .who{font-weight:600;margin-top:.5rem;}

/* About */
.prose{max-width:760px;margin:0 auto;font-size:1.05rem;line-height:1.6;}
.prose p{margin:0 0 1.2rem;}

/* Footer — matches live (CTA row + bottom bar) */
footer.site{background:#000;color:#fff;padding:3.5rem 0 1.5rem;}
footer.site a{opacity:.85;color:#fff;}footer.site a:hover{opacity:1;}
.footer-cta{display:grid;grid-template-columns:1.3fr 1fr .8fr 1.4fr;gap:2.5rem;align-items:start;}
.f-logo{height:30px;filter:invert(1);margin-bottom:1rem;}
.namm{font-size:.85rem;opacity:.7;margin-bottom:1.25rem;}
.namm b{display:block;font-size:1.3rem;letter-spacing:2px;opacity:1;}
.social{display:flex;gap:.9rem;font-size:1.15rem;}
.fh{font-size:1.15rem;font-weight:600;margin-bottom:1rem;}
.fcol ul{list-style:none;padding:0;margin:0;line-height:2.1;}
.news-field{display:flex;border:1px solid #444;border-radius:10px;overflow:hidden;margin-top:1.25rem;max-width:380px;}
.news-field input{flex:1;background:transparent;border:none;color:#fff;padding:1rem;font-size:1rem;outline:none;}
.news-field button{background:transparent;border:none;color:#fff;font-size:1.4rem;padding:0 1.25rem;cursor:pointer;}
.footer-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.12);margin-top:3rem;padding-top:1.5rem;font-size:.85rem;opacity:.85;}
.policies{display:flex;gap:1.25rem;flex-wrap:wrap;margin-top:.75rem;font-size:.8rem;opacity:.8;}
.pay{display:flex;gap:.4rem;flex-wrap:wrap;}
.pay span{background:#fff;color:#222;border-radius:5px;padding:.3rem .5rem;font-size:.62rem;font-weight:700;}

@media(max-width:900px){
  .grid,.grid.g3{grid-template-columns:repeat(2,1fr);}
  .pdp{grid-template-columns:1fr;}
  .g-thumbs{flex-direction:row;}
  .specs-box,.tgrid,.footer-cta{grid-template-columns:1fr;}
  nav.nav{display:none;}
  .buybox{position:static;padding-left:0;}
  .cart-layout,.checkout-layout{grid-template-columns:1fr;}
  .cart-row{grid-template-columns:70px 1fr auto;}
  .cart-tools{grid-template-columns:1fr;}
  .cart-summary,.co-summary{position:static;}
  .ap-row,.ap-row.reverse{grid-template-columns:1fr;}
  .ap-row.reverse .ap-img{order:1;}.ap-row.reverse .ap-txt{order:2;}
  .ap-row .ap-img,.ap-row.reverse .ap-img{border-radius:0;}
  .ap-collage{grid-template-columns:1fr;gap:1.5rem;}
  .apc-grid .col-cell:nth-child(2),.apc-grid .col-cell:nth-child(4){margin-top:0;}
  .feat-row,.name-strip,.pgrid,.pgrid.g3,.mv-grid,.timeline,.contact-layout{grid-template-columns:repeat(2,1fr);}
  .contact-layout{grid-template-columns:1fr;}
  .timeline{grid-template-columns:1fr;}
  .home-feat,.home-feat.reverse{grid-template-columns:1fr;row-gap:1.5rem;}
  .home-feat.reverse .hf-life{order:1;}.home-feat.reverse .hf-card{order:2;}
  .hh-img{aspect-ratio:4/3;}
  .mega{grid-template-columns:repeat(2,1fr);}
  .box-grid{grid-template-columns:repeat(2,1fr);}
  .acc summary{font-size:1.25rem;}
}
