/* ==========================================================================
   COREVIA — Cart page styles (premium biotech redesign)

   Everything in this file is scoped under `body.cart-page` (or is a brand
   new class only cart.html uses), so index.html and checkout.html keep
   their existing look untouched. No functional class/ID names, JS hooks,
   or logic were changed — this is presentation only.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   0. FULL-PAGE BIOTECH BACKGROUND
   Replaces the flat ambient gradient (cart page only) with the site's DNA
   artwork, pinned behind the whole page, covered in a dark navy overlay so
   it reads as depth rather than decoration fighting the UI.
   --------------------------------------------------------------------------- */
body.cart-page{ background:var(--void); }

body.cart-page .ambient{
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(77,139,255,.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 88% 20%, rgba(77,139,255,.09), transparent 62%),
    radial-gradient(ellipse 70% 55% at 8% 78%, rgba(77,139,255,.08), transparent 62%),
    linear-gradient(180deg, rgba(3,8,20,.90), rgba(6,10,25,.94)),
    url("images/hero.png");
  background-repeat: no-repeat;
  background-size: auto, auto, auto, auto, cover;
  background-position: center, center, center, center, center;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}

/* Soft fog near the base of the page — light, barely-there depth cue */
.fog-base{
  position:fixed; left:0; right:0; bottom:0; height:34vh;
  z-index:0; pointer-events:none;
  background:linear-gradient(180deg, transparent 0%, rgba(6,10,22,.32) 60%, rgba(4,7,16,.58) 100%);
}

/* ---------------------------------------------------------------------------
   1. LIVING ATMOSPHERE LAYER (DNA strands, drifting particles, hexagons)
   Pure CSS transforms/opacity only — no layout thrash, cheap to composite,
   kept faint enough to stay behind the glass UI at all times. Every motion
   here is intentionally slow: nothing should be consciously "seen" moving,
   only felt as ambience.
   --------------------------------------------------------------------------- */
.dna-strands{
  position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden;
}

/* Soft blue bloom sitting behind each strand — a wide, heavily blurred glow
   that drifts in sync with its strand so the light source feels attached
   to the DNA rather than pasted behind it. */
.dna-bloom{
  position:absolute; top:50%; width:420px; height:70%;
  border-radius:50%;
  background:radial-gradient(ellipse closest-side, rgba(77,139,255,.20), transparent 72%);
  filter:blur(30px);
  will-change:transform, opacity;
}
.dna-bloom-a{ left:-8%; transform:translateY(-50%); animation:bloom-breathe-a 50s ease-in-out infinite; }
.dna-bloom-b{ right:-10%; transform:translateY(-50%); width:360px; animation:bloom-breathe-b 64s ease-in-out infinite; }

@keyframes bloom-breathe-a{
  0%,100%{ opacity:.5; transform:translateY(-50%) translateX(0); }
  50%{ opacity:.75; transform:translateY(-52%) translateX(1.5%); }
}
@keyframes bloom-breathe-b{
  0%,100%{ opacity:.4; transform:translateY(-50%) translateX(0); }
  50%{ opacity:.6; transform:translateY(-48%) translateX(-1.5%); }
}

.dna-strand{
  position:absolute; top:-10%; height:130%; width:220px;
  opacity:.13;
  filter:drop-shadow(0 0 20px rgba(111,216,255,.4));
  will-change:transform;
}
.dna-strand-a{ left:-4%; animation:dna-drift-a 70s ease-in-out infinite; }
.dna-strand-b{ right:-6%; width:180px; opacity:.08; animation:dna-drift-b 86s ease-in-out infinite; }

@keyframes dna-drift-a{
  0%,100%{ transform:translate(0,0) rotate(0deg); }
  50%{ transform:translate(.6%,-2%) rotate(.9deg); }
}
@keyframes dna-drift-b{
  0%,100%{ transform:translate(0,0) rotate(0deg); }
  50%{ transform:translate(-.6%,2%) rotate(-.7deg); }
}

/* Tiny glowing hexagons — mostly dim, occasionally brightening as if
   catching a passing light, then fading back down. Sparse by design. */
.hex-drift{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.hex-mote{
  position:absolute;
  width:14px; height:14px;
  opacity:0;
  background:transparent;
  border:1px solid var(--blue-bright);
  clip-path:polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  filter:drop-shadow(0 0 6px rgba(77,139,255,.5));
  will-change:transform, opacity;
}
.hex-mote-1{ top:18%; left:12%; animation:hex-occasional 26s ease-in-out infinite; }
.hex-mote-2{ top:62%; left:82%; width:10px; height:10px; animation:hex-occasional 31s ease-in-out infinite 6s; }
.hex-mote-3{ top:78%; left:22%; width:18px; height:18px; animation:hex-occasional 38s ease-in-out infinite 14s; }
.hex-mote-4{ top:34%; left:70%; width:11px; height:11px; animation:hex-occasional 29s ease-in-out infinite 3s; }
.hex-mote-5{ top:50%; left:45%; width:9px; height:9px; animation:hex-occasional 34s ease-in-out infinite 19s; }
.hex-mote-6{ top:12%; left:60%; width:13px; height:13px; animation:hex-occasional 40s ease-in-out infinite 9s; }

/* Long, mostly-dark cycle with one brief, gentle glow near the midpoint —
   reads as "occasional" rather than a continuous pulse. */
@keyframes hex-occasional{
  0%, 40%{ opacity:0; transform:translate(0,0) rotate(0deg); }
  55%{ opacity:.3; transform:translate(8px,-14px) rotate(16deg); }
  70%{ opacity:0; transform:translate(14px,-24px) rotate(28deg); }
  100%{ opacity:0; transform:translate(14px,-24px) rotate(28deg); }
}

/* Drifting particles — soft blue motes crossing the page on slow diagonal
   paths, never fully opaque, spread across the full viewport rather than
   just rising from the bottom edge. */
.particle-drift{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.mote{
  position:absolute;
  width:3px; height:3px; border-radius:50%;
  background:var(--blue-bright);
  box-shadow:0 0 8px 2px rgba(77,139,255,.45);
  opacity:0;
  will-change:transform, opacity;
  animation:mote-drift linear infinite;
}
.m1{ left:4%;  top:88%; animation-duration:58s; animation-delay:0s;  --dx:120px;  --dy:-70vh; }
.m2{ left:16%; top:15%; animation-duration:70s; animation-delay:6s;  --dx:-90px;  --dy:60vh; width:2px; height:2px; }
.m3{ left:30%; top:70%; animation-duration:64s; animation-delay:14s; --dx:100px;  --dy:-55vh; }
.m4{ left:46%; top:30%; animation-duration:76s; animation-delay:3s;  --dx:-110px; --dy:50vh;  width:2px; height:2px; }
.m5{ left:58%; top:85%; animation-duration:60s; animation-delay:20s; --dx:80px;   --dy:-65vh; }
.m6{ left:70%; top:20%; animation-duration:72s; animation-delay:9s;  --dx:-100px; --dy:58vh;  width:2px; height:2px; }
.m7{ left:84%; top:75%; animation-duration:66s; animation-delay:24s; --dx:90px;   --dy:-60vh; }
.m8{ left:94%; top:12%; animation-duration:80s; animation-delay:12s; --dx:-80px;  --dy:65vh;  width:2px; height:2px; }

@keyframes mote-drift{
  0%{ transform:translate(0,0); opacity:0; }
  10%{ opacity:.3; }
  90%{ opacity:.18; }
  100%{ transform:translate(var(--dx), var(--dy)); opacity:0; }
}

@media (max-width:768px){
  .dna-strand-b, .dna-bloom-b{ display:none; }
  .hex-mote-3, .hex-mote-4, .hex-mote-5, .hex-mote-6{ display:none; }
  .m5,.m6,.m7,.m8{ display:none; }
}

@media (prefers-reduced-motion: reduce){
  .dna-strand, .dna-bloom, .hex-mote, .mote{ animation:none !important; opacity:.08 !important; }
}

/* ---------------------------------------------------------------------------
   2. PAGE WIDTH + SPACING (cart page only)
   --------------------------------------------------------------------------- */
body.cart-page .container{ max-width:1450px; }

.cart-main{ padding:176px 0 130px; }

.cart-grid{
  display:grid;
  grid-template-columns:7fr 3fr;
  gap:68px;
  align-items:start;
}

/* ---------------------------------------------------------------------------
   3. HEADER — elevated glass morphism
   --------------------------------------------------------------------------- */
.cart-page .nav.scrolled{
  padding:18px 0;
  background:
    linear-gradient(180deg, rgba(10,15,28,.55), rgba(7,10,20,.55));
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom:1px solid rgba(111,216,255,.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 1px 0 rgba(111,216,255,.08),
    0 20px 60px -32px rgba(0,0,0,.75),
    0 0 44px -20px rgba(77,139,255,.3);
}
.cart-page .checkout-back{
  padding:11px 24px;
  font-size:.8rem;
  font-weight:500;
  background:rgba(255,255,255,.03);
  border-color:rgba(255,255,255,.1);
  transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft), border-color .3s var(--ease-soft), color .3s var(--ease-soft), background .3s var(--ease-soft);
}
.cart-page .checkout-back:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.045);
  box-shadow:0 12px 28px -16px var(--blue-glow);
}
.cart-page .checkout-back:active{
  transform:translateY(0);
  transition-duration:.1s;
}

/* ---------------------------------------------------------------------------
   4. CART HEADING
   --------------------------------------------------------------------------- */
.cart-page .section-eyebrow{
  font-weight:600;
  letter-spacing:.22em;
}

.cart-title-row{
  display:flex; align-items:baseline; justify-content:space-between;
  margin-top:16px; margin-bottom:44px;
}
.cart-title{
  font-family:var(--font-display);
  font-size:clamp(2rem, 3.4vw, 2.8rem);
  font-weight:600;
  color:var(--white);
  letter-spacing:-.015em;
  line-height:1.1;
}
.cart-count-label{
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.03em;
  font-variant-numeric: tabular-nums;
  color:var(--silver-dim);
  padding:7px 15px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:100px;
  background:rgba(255,255,255,.025);
}

/* ---------------------------------------------------------------------------
   5. PRODUCT CARDS — premium biotech product presentation
   Three-zone layout: floating vial (~35%) | content | control panel.
   All JS-bound classes (.qty-dec/.qty-inc/.qty-val/.cart-row-remove) are
   unchanged and simply nested one level deeper — cart.js binds them with
   querySelector, which searches the whole subtree, so behaviour is
   untouched.
   --------------------------------------------------------------------------- */
.cart-list{ display:flex; flex-direction:column; gap:22px; }

.cart-row{
  position:relative;
  display:flex;
  align-items:stretch;
  min-height:200px;
  gap:8px;
  padding:20px 36px;
  overflow:hidden;
  border:1px solid rgba(111,216,255,.12);
  border-radius:24px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.045), rgba(255,255,255,.012) 60%),
    linear-gradient(180deg, rgba(12,16,30,.55), rgba(8,11,22,.55));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 1px 0 rgba(0,0,0,.4),
    0 24px 48px -34px rgba(0,0,0,.7),
    0 0 30px -22px rgba(77,139,255,.3);
  opacity:0;
  animation:
    card-fade .85s var(--ease-soft) forwards,
    card-rise .85s var(--ease-soft);
  animation-delay: calc(var(--row-i, 0) * 70ms), calc(var(--row-i, 0) * 70ms);
  transition:
    transform .3s var(--ease-soft),
    box-shadow .3s var(--ease-soft),
    border-color .3s var(--ease-soft);
}

/* Faint laboratory grid — a whisper of texture, never a pattern you notice */
.cart-row::before{
  content:'';
  position:absolute; inset:0;
  z-index:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black, transparent 75%);
  opacity:.5;
}
/* Glass reflection — one soft diagonal sheen across the top edge */
.cart-row::after{
  content:'';
  position:absolute; inset:0;
  z-index:0; pointer-events:none;
  background:linear-gradient(120deg, rgba(255,255,255,.05) 0%, transparent 28%);
}

.cart-row:hover{
  transform:translateY(-4px);
  border-color:rgba(111,216,255,.34);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 1px 0 rgba(0,0,0,.4),
    0 32px 60px -30px rgba(0,0,0,.75),
    0 0 54px -16px rgba(77,139,255,.45);
}

@keyframes card-fade{
  from{ opacity:0; filter:blur(6px); }
  to{ opacity:1; filter:blur(0); }
}
@keyframes card-rise{
  from{ transform:translateY(24px); }
  to{ transform:translateY(0); }
}

/* Tiny glowing accent — a single quiet indicator, top-right corner */
.cart-row-accent{
  position:absolute; top:22px; right:24px;
  width:5px; height:5px; border-radius:50%;
  background:var(--blue-bright);
  box-shadow:0 0 8px 1px rgba(77,139,255,.6);
  animation:accent-pulse 4.5s ease-in-out infinite;
  z-index:1;
}
@keyframes accent-pulse{
  0%,100%{ opacity:.35; transform:scale(1); }
  50%{ opacity:.9; transform:scale(1.3); }
}

/* ---------------------------------------------------------------------------
   5a. LEFT ZONE — the vial as hero element
   --------------------------------------------------------------------------- */
.cart-row-visual{
  position:relative;
  z-index:1;
  flex:0 0 35%;
  max-width:320px;
  display:flex; align-items:center; justify-content:center;
}

.cart-row-halo{
  position:absolute;
  width:170px; height:170px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(77,139,255,.32), rgba(77,139,255,.1) 55%, transparent 72%);
  filter:blur(18px);
  transition: opacity .3s var(--ease-soft), transform .3s var(--ease-soft);
}
.cart-row:hover .cart-row-halo{
  opacity:1.15;
  transform:scale(1.08);
}

.cart-row-groundlight{
  position:absolute;
  bottom:14px;
  width:96px; height:16px;
  border-radius:50%;
  background:radial-gradient(ellipse closest-side, rgba(77,139,255,.4), transparent 75%);
  filter:blur(4px);
  transition: opacity .3s var(--ease-soft);
}

.cart-row-media{
  position:relative;
  z-index:1;
  height:160px;
  width:100%;
  display:flex; align-items:center; justify-content:center;
}
.cart-row-media img{
  max-height:160px;
  max-width:100%;
  width:auto; height:auto;
  object-fit:contain;
  filter:drop-shadow(0 18px 22px rgba(0,0,0,.45));
  transition: transform .3s var(--ease-soft), filter .3s var(--ease-soft);
}
.cart-row:hover .cart-row-media img{
  transform:translateY(-4px);
  filter:drop-shadow(0 24px 26px rgba(0,0,0,.5));
}

/* ---------------------------------------------------------------------------
   5b. CENTRE ZONE — category, name, grade, description
   --------------------------------------------------------------------------- */
.cart-row-body{
  position:relative;
  z-index:1;
  flex:1 1 auto;
  min-width:0;
  display:flex; flex-direction:column; justify-content:center;
  padding:0 30px;
}

.cart-row-category{
  display:inline-flex; align-self:flex-start;
  font-size:10px; font-weight:600; letter-spacing:1.5px;
  text-transform:uppercase; color:#8fe3ff;
  margin-bottom:10px;
  padding:5px 11px;
  border:1px solid rgba(111,216,255,.35);
  border-radius:999px;
  background:linear-gradient(180deg, rgba(15,35,70,.75), rgba(10,24,50,.6));
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.cart-row:hover .cart-row-category{
  border-color:rgba(111,216,255,.55);
  background:linear-gradient(180deg, rgba(20,45,85,.8), rgba(13,30,60,.65));
}
.cart-row-name{
  font-family:var(--font-display);
  font-size:1.26rem; font-weight:700; color:var(--white);
  letter-spacing:-.01em;
  line-height:1.2;
}
.cart-row-grade{
  font-family:var(--font-mono);
  font-size:.68rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--silver-dim);
  margin-top:5px;
}
.cart-row-desc{
  margin-top:11px;
  max-width:46ch;
  font-size:.84rem; line-height:1.55;
  color:var(--silver);
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ---------------------------------------------------------------------------
   5c. RIGHT ZONE — control panel: price, quantity, remove
   --------------------------------------------------------------------------- */
.cart-row-controls{
  position:relative;
  z-index:1;
  flex:0 0 216px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:16px;
  text-align:center;
  padding-left:30px;
  border-left:1px solid rgba(255,255,255,.07);
}

.cart-row-pricing{ display:flex; flex-direction:column; align-items:center; }
.cart-row-total{
  font-family:var(--font-display);
  font-size:1.6rem; font-weight:600;
  font-variant-numeric: tabular-nums;
  color:var(--blue-bright);
  letter-spacing:-.01em;
  text-shadow:0 0 22px rgba(77,139,255,.4);
}
.cart-row-price{
  font-size:.78rem; color:var(--silver-dim);
  margin-top:5px;
  font-variant-numeric: tabular-nums;
}

.cart-row-qty .qty-control{
  display:flex; align-items:center;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.12);
  border-radius:100px;
  padding:2px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.cart-row-qty .qty-control:focus-within,
.cart-row-qty .qty-control:hover{
  border-color:rgba(111,216,255,.38);
  background:rgba(255,255,255,.035);
}
.cart-row-qty .qty-control button{
  width:34px; height:34px;
  font-size:1.1rem;
  border-radius:50%;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.cart-row-qty .qty-control button:hover{ color:var(--blue-bright); background:rgba(77,139,255,.14); }
.cart-row-qty .qty-control button:active{ transform:scale(.86); }
.cart-row-qty .qty-control span{
  min-width:30px;
  font-variant-numeric: tabular-nums;
  font-weight:500;
  color:var(--white);
}

.cart-row-remove{
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%;
  padding:11px 18px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:100px;
  background:rgba(255,255,255,.02);
  color:var(--silver);
  font-size:.8rem; font-weight:500;
  transition:
    color .25s var(--ease-soft),
    background .25s var(--ease-soft),
    border-color .25s var(--ease-soft),
    box-shadow .25s var(--ease-soft),
    transform .25s var(--ease-soft);
}
.cart-row-remove svg{ transition: transform .3s var(--ease-soft); flex-shrink:0; }
.cart-row-remove:hover{
  color:#ffb3b3;
  background:rgba(224,90,90,.1);
  border-color:rgba(224,90,90,.45);
  box-shadow:0 0 22px -6px rgba(224,90,90,.5);
  transform:translateY(-1px);
}
.cart-row-remove:hover svg{ transform:rotate(-8deg) translateY(-1px); }
.cart-row-remove:active{ transform:translateY(0) scale(.97); }

.cart-empty{
  display:none;
  flex-direction:column; align-items:flex-start; gap:20px;
  padding:80px 46px;
  color:var(--silver-dim);
  border:1px solid rgba(255,255,255,.075);
  border-radius:24px;
  background:linear-gradient(155deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
  backdrop-filter: blur(16px);
  box-shadow:0 1px 0 rgba(255,255,255,.05) inset, 0 24px 48px -34px rgba(0,0,0,.7);
}

/* ---------------------------------------------------------------------------
   6. ORDER SUMMARY — premium sticky glass panel
   (defines .order-summary / .summary-row locally since cart.html does not
   load checkout.css; scoped by context so nothing else on the site changes)
   --------------------------------------------------------------------------- */
.order-summary{
  position:sticky; top:132px;
  border:1px solid rgba(111,216,255,.14);
  border-radius:24px;
  padding:38px 34px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.05), rgba(255,255,255,.015) 60%),
    linear-gradient(180deg, rgba(13,18,34,.6), rgba(8,11,22,.6));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 1px 0 rgba(0,0,0,.4),
    0 36px 72px -36px rgba(0,0,0,.75),
    0 0 60px -22px rgba(77,139,255,.26);
  opacity:0;
  animation:
    summary-fade .85s var(--ease-soft) forwards,
    summary-rise .85s var(--ease-soft),
    summary-glow-pulse 7s ease-in-out .85s infinite;
}
@keyframes summary-fade{
  from{ opacity:0; filter:blur(6px); }
  to{ opacity:1; filter:blur(0); }
}
@keyframes summary-rise{
  from{ transform:translateY(20px); }
  to{ transform:translateY(0); }
}
@keyframes summary-glow-pulse{
  0%,100%{ box-shadow:0 1px 0 rgba(255,255,255,.07) inset, 0 1px 0 rgba(0,0,0,.4), 0 36px 72px -36px rgba(0,0,0,.75), 0 0 60px -22px rgba(77,139,255,.22); }
  50%{ box-shadow:0 1px 0 rgba(255,255,255,.07) inset, 0 1px 0 rgba(0,0,0,.4), 0 36px 72px -36px rgba(0,0,0,.75), 0 0 72px -18px rgba(77,139,255,.38); }
}

.order-summary h2{
  font-family:var(--font-display);
  font-size:1.28rem; font-weight:600; color:var(--white); margin-bottom:28px;
  letter-spacing:-.008em;
}
.summary-row{
  display:flex; justify-content:space-between;
  font-size:.88rem; color:var(--silver-dim);
  margin-bottom:16px;
  font-family:var(--font-mono);
}
.summary-row span:last-child{ font-variant-numeric: tabular-nums; }
.summary-row.total{
  color:var(--white); font-size:1.2rem; font-weight:500;
  padding-top:20px; margin-top:10px;
  border-top:1px solid rgba(255,255,255,.09);
}
.summary-row.total span:last-child{
  color:var(--blue-bright);
  text-shadow:0 0 20px rgba(77,139,255,.4);
}

.checkout-submit{
  position:relative;
  overflow:hidden;
  margin-top:28px !important;
  opacity:1 !important;
  animation:none !important;
  padding:19px 38px;
  font-size:.95rem;
  font-weight:600;
  letter-spacing:.02em;
  box-shadow:
    0 1px 0 rgba(255,255,255,.15) inset,
    0 16px 40px -16px var(--blue-glow);
  transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}
.checkout-submit::after{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32) 46%, rgba(255,255,255,.32) 54%, transparent 70%);
  transform:translateX(-120%);
  transition:none;
  pointer-events:none;
}
.checkout-submit:hover::after{
  transform:translateX(120%);
  transition:transform .85s var(--ease-soft);
}
.checkout-submit:hover{
  transform:translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.2) inset,
    0 22px 50px -16px rgba(77,139,255,.6);
}
.checkout-submit:active{
  transform:translateY(-1px) scale(.99);
  transition-duration:.12s;
}

.cart-checkout-note{
  font-size:.74rem;
  color:var(--silver-dim);
  margin-top:16px;
  line-height:1.65;
}

.summary-badges{
  display:flex; flex-direction:column; gap:6px;
  margin-top:28px; padding-top:24px;
  border-top:1px solid rgba(255,255,255,.09);
}
.summary-badge{
  display:flex; align-items:center; gap:12px;
  font-size:.79rem; color:var(--silver-dim);
  padding:9px 10px;
  border-radius:12px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.summary-badge:hover{
  background:rgba(255,255,255,.03);
  color:var(--chrome);
}
.summary-badge svg{
  color:var(--blue-bright);
  flex-shrink:0;
  width:15px; height:15px;
  padding:6px;
  box-sizing:content-box;
  border-radius:50%;
  background:rgba(77,139,255,.1);
  border:1px solid rgba(77,139,255,.18);
}

/* ---------------------------------------------------------------------------
   7. RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width:900px){
  .cart-grid{ grid-template-columns:1fr; gap:36px; }
  .order-summary{ position:static; }
  .cart-main{ padding:150px 0 90px; }
}

@media (max-width:640px){
  .cart-row{
    flex-direction:column;
    align-items:stretch;
    min-height:0;
    padding:26px 24px;
    gap:6px;
  }
  .cart-row-visual{
    flex:0 0 auto;
    max-width:100%;
    height:130px;
    margin-bottom:14px;
  }
  .cart-row-media{ height:110px; }
  .cart-row-media img{ max-height:110px; }
  .cart-row-halo{ width:130px; height:130px; }
  .cart-row-body{
    padding:0;
    align-items:flex-start;
    text-align:left;
  }
  .cart-row-desc{ max-width:none; }
  .cart-row-controls{
    flex:0 0 auto;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    border-left:none;
    border-top:1px solid rgba(255,255,255,.07);
    padding-left:0;
    padding-top:18px;
    margin-top:18px;
    gap:14px;
  }
  .cart-row-pricing{ align-items:flex-start; }
  .cart-row-remove{ width:auto; padding:11px 16px; }
  .cart-row-remove-label{ display:none; }
}

@media (max-width:420px){
  .cart-row-controls{ flex-wrap:wrap; }
  .cart-row-qty{ order:3; flex:1 0 100%; }
  .cart-row-qty .qty-control{ justify-content:center; width:100%; }
}
