
/* Shared OddGravity cart + checkout prototype */
.header-link-button{display:inline-flex;align-items:center;text-decoration:none}
body.cart-open{overflow:hidden}
.cart-backdrop{position:fixed;inset:0;background:rgba(3,3,7,.62);backdrop-filter:blur(3px);z-index:80;opacity:0;pointer-events:none;transition:opacity .22s ease}
.cart-backdrop.is-open{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;right:0;top:0;bottom:0;width:min(440px,100%);background:#111016;border-left:1px solid var(--line);z-index:90;transform:translateX(102%);transition:transform .28s cubic-bezier(.2,.8,.2,1);display:grid;grid-template-rows:auto 1fr auto;box-shadow:-24px 0 80px rgba(0,0,0,.35)}
.cart-drawer.is-open{transform:translateX(0)}
.cart-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 22px 18px;border-bottom:1px solid var(--line)}
.cart-drawer-head h2{font-size:26px;letter-spacing:-.035em;margin:0}.cart-close{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:transparent;color:#fff;font-size:25px;cursor:pointer}
.cart-drawer-body{overflow:auto;padding:8px 22px 18px}.cart-empty{padding:52px 4px;text-align:center}.cart-empty h3{font-size:25px;margin:0 0 8px}.cart-empty p{color:var(--muted);margin:0 0 20px}.cart-empty a{display:inline-flex;min-height:46px;align-items:center;padding:0 18px;border-radius:999px;background:#fff;color:#111;font-weight:850;text-decoration:none}
.cart-line{display:grid;grid-template-columns:76px 1fr auto;gap:14px;padding:18px 0;border-bottom:1px solid var(--line);align-items:start}.cart-line-image{width:76px;height:90px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:#18161d}.cart-line-copy{min-width:0}.cart-line-name{display:block;font-weight:800;text-decoration:none;line-height:1.25;margin:3px 0 5px}.cart-line-price{color:#aaa3b7;font-size:13px;margin:0 0 10px}.cart-line-remove{border:0;background:transparent;color:#8f8799;padding:0;text-decoration:underline;cursor:pointer;font-size:12px}.cart-line-total{font-weight:850;white-space:nowrap;padding-top:3px}
.mini-qty{display:inline-grid;grid-template-columns:32px 34px 32px;align-items:center;border:1px solid var(--line);border-radius:10px;overflow:hidden}.mini-qty button{height:32px;border:0;background:rgba(255,255,255,.025);color:#fff;cursor:pointer}.mini-qty span{text-align:center;font-size:12px;font-weight:800}
.cart-drawer-foot{padding:18px 22px 22px;border-top:1px solid var(--line);background:#111016}.cart-subtotal-row{display:flex;justify-content:space-between;gap:20px;font-weight:850;font-size:18px;margin-bottom:5px}.cart-tax-note{margin:0 0 16px;color:#81798b;font-size:12px}.cart-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:9px}.cart-secondary,.cart-checkout{min-height:50px;border-radius:13px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:850}.cart-secondary{border:1px solid var(--line);color:#fff}.cart-checkout{background:#fff;color:#111}.cart-checkout.is-disabled{opacity:.45;pointer-events:none}

.cart-page-shell,.checkout-shell{max-width:var(--max);margin:0 auto;padding:46px 24px 110px}.page-intro{display:flex;align-items:end;justify-content:space-between;gap:28px;padding:20px 0 38px;border-bottom:1px solid var(--line)}.page-intro h1{font-size:clamp(48px,7vw,84px);line-height:.94;letter-spacing:-.05em;margin:8px 0 0}.page-intro p{color:var(--muted);max-width:460px;margin:0 0 6px}
.cart-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:54px;padding-top:34px}.cart-page-lines{min-width:0}.cart-page-line{display:grid;grid-template-columns:118px minmax(0,1fr) auto;gap:18px;padding:20px 0;border-bottom:1px solid var(--line);align-items:start}.cart-page-line img{width:118px;height:138px;object-fit:cover;border-radius:16px;border:1px solid var(--line);background:#18161d}.cart-page-line h2{font-size:20px;margin:2px 0 7px}.cart-page-line h2 a{text-decoration:none}.cart-page-line .meta{color:var(--muted);font-size:13px;margin:0 0 15px}.cart-page-line .line-total{font-size:18px;font-weight:900;white-space:nowrap}.cart-summary{position:sticky;top:116px;border:1px solid var(--line);background:#15131a;border-radius:20px;padding:22px}.cart-summary h2{margin:0 0 18px;font-size:23px}.summary-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid var(--line);color:#c7c0cf}.summary-row.total{font-size:20px;font-weight:900;color:#fff;border-bottom:0;padding-top:18px}.summary-note{font-size:12px;color:#81798b;line-height:1.55}.checkout-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;border-radius:14px;background:#fff;color:#111;font-weight:900;text-decoration:none;margin-top:18px}.checkout-button.is-disabled{opacity:.45;pointer-events:none}.continue-shopping{display:block;text-align:center;margin-top:13px;color:#a89fb3;font-size:13px}.cart-page-empty{padding:70px 0}.cart-page-empty h2{font-size:32px;margin:0 0 8px}.cart-page-empty p{color:var(--muted);margin:0 0 22px}

.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:64px;padding-top:34px}.checkout-form h2,.checkout-summary h2{font-size:25px;margin:0 0 20px}.form-section{padding:0 0 34px;margin-bottom:34px;border-bottom:1px solid var(--line)}.form-section:last-of-type{border-bottom:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field-grid .wide{grid-column:1/-1}.checkout-form label{display:grid;gap:7px;color:#b9b2c3;font-size:12px;font-weight:700}.checkout-form input,.checkout-form select{width:100%;min-height:50px;border-radius:12px;border:1px solid var(--line);background:#15131a;color:#fff;padding:0 13px;outline:none}.checkout-form input:focus,.checkout-form select:focus{border-color:rgba(143,77,255,.9);box-shadow:0 0 0 3px rgba(143,77,255,.14)}.checkout-form button{min-height:54px;border:0;border-radius:14px;background:#fff;color:#111;font-weight:900;padding:0 22px;cursor:pointer}.form-help{color:#81798b;font-size:12px;line-height:1.5;margin:10px 0 0}.checkout-summary{position:sticky;top:116px;border:1px solid var(--line);background:#15131a;border-radius:20px;padding:22px}.checkout-mini-line{display:grid;grid-template-columns:58px 1fr auto;gap:11px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.checkout-mini-line img{width:58px;height:66px;border-radius:10px;object-fit:cover;border:1px solid var(--line)}.checkout-mini-line strong{font-size:13px;display:block}.checkout-mini-line small{color:#8f8799}.checkout-mini-line b{font-size:13px;white-space:nowrap}.review-card{border:1px solid var(--line);border-radius:18px;padding:22px;background:#15131a}.review-card h2{margin-top:0}.review-address{color:#c7c0cf;line-height:1.65}.review-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.review-actions button{min-height:48px;border-radius:12px;padding:0 18px;font-weight:850;cursor:pointer}.review-actions .back{border:1px solid var(--line);background:transparent;color:#fff}.review-actions .pay{border:0;background:#fff;color:#111}.secure-note{display:flex;gap:9px;align-items:flex-start;color:#81798b;font-size:12px;line-height:1.5;margin-top:14px}.secure-dot{width:8px;height:8px;border-radius:50%;margin-top:5px;background:linear-gradient(135deg,var(--purple),var(--cyan));flex:0 0 auto}

@media(max-width:900px){.cart-page-grid,.checkout-layout{grid-template-columns:1fr}.cart-summary,.checkout-summary{position:static}.page-intro{align-items:start;flex-direction:column}.checkout-layout{gap:34px}}
@media(max-width:620px){.cart-drawer{width:100%}.cart-page-shell,.checkout-shell{padding:26px 16px 82px}.cart-page-line{grid-template-columns:90px 1fr}.cart-page-line img{width:90px;height:108px}.cart-page-line .line-total{grid-column:2;text-align:left}.field-grid{grid-template-columns:1fr}.field-grid .wide{grid-column:auto}.cart-actions{grid-template-columns:1fr}.page-intro{padding-bottom:28px}.checkout-layout{padding-top:26px}}
@media(prefers-reduced-motion:reduce){.cart-drawer,.cart-backdrop{transition:none}}

/* V12 — cart / checkout mobile refinements */
@media(max-width:620px){
  .cart-drawer-head{padding-left:16px;padding-right:16px}
  .cart-drawer-body{padding-left:16px;padding-right:16px}
  .cart-drawer-foot{padding-left:16px;padding-right:16px}
  .cart-checkout,.cart-secondary{min-height:50px}
  .checkout-form input,.checkout-form select,.checkout-form textarea{font-size:16px;min-height:48px}
  .checkout-form textarea{min-height:96px}
}
@media(max-width:390px){
  .cart-page-shell,.checkout-shell{padding-left:12px;padding-right:12px}
  .cart-page-line{grid-template-columns:76px 1fr;gap:12px}
  .cart-page-line img{width:76px;height:92px}
}

.cart-empty button[data-cart-retry]{
  min-height:46px;padding:0 18px;border:0;border-radius:999px;background:#fff;color:#111;font-weight:850;cursor:pointer
}
.cart-page-empty button.primary-cta{border:0;cursor:pointer}

.cart-policy-note{padding-top:12px;border-top:1px solid var(--line);color:#b9b1c4}.cart-policy-note a{color:#fff;text-underline-offset:3px}

.cart-delivery{font-size:12px;line-height:1.55;color:var(--muted);margin:8px 0 12px}.cart-delivery strong{color:var(--text);font-weight:600}
