:root{
  --bg:#0b1220;
  --panel:#0f1b33;
  --panel2:#0c172d;
  --text:#eef2ff;
  --muted:#9aa7bd;
  --line:rgba(255,255,255,.12);
  --brand:#b91c1c;
  --brand2:#ef4444;
  --good:#22c55e;

  --max:1120px;
  --radius:20px;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 10px 28px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(900px 650px at 15% 10%, rgba(185,28,28,.15), transparent 60%),
    radial-gradient(900px 650px at 85% 15%, rgba(59,130,246,.12), transparent 55%),
    radial-gradient(800px 650px at 50% 100%, rgba(34,197,94,.07), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.45;
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,18,32,.78);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:12px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.2px;
}
.brand .logo{
  width:38px; height:38px; border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  display:grid; place-items:center;
  overflow:hidden;
}
.brand .logo img{width:100%; height:100%; object-fit:contain}
.brand small{display:block; color:var(--muted); font-weight:800; font-size:11px; letter-spacing:.12em; text-transform:uppercase}

.links{
  display:flex; align-items:center; gap:16px;
}
.links a{
  color:var(--muted);
  font-weight:750;
  font-size:14px;
}
.links a:hover{color:var(--text)}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  font-weight:850;
  font-size:14px;
  cursor:pointer;
  transition: transform .06s ease, filter .12s ease, background .12s ease;
  user-select:none;

  /* ✅ BULLETPROOF: always white button text */
  color: var(--text) !important;
}

/* ✅ BULLETPROOF: if the button is an <a>, keep it white too */
a.btn{ color: var(--text) !important; }

.btn:hover{background: rgba(255,255,255,.07)}
.btn:active{transform: translateY(1px)}
.btn.primary{
  background: linear-gradient(180deg, var(--brand2), var(--brand));
  border-color: rgba(185,28,28,.35);
}
.btn.primary:hover{filter:brightness(1.06)}
.btn.ghost{background: transparent}
.btn.danger{
  background: rgba(239,68,68,.12);
  border-color: rgba(239,68,68,.35);
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  border-radius:999px;
  padding:6px 10px;
  color: rgba(238,242,255,.92);
  font-weight:850;
  font-size:12px;
}

.mobile-toggle{display:none}
@media (max-width: 980px){
  .mobile-toggle{display:inline-flex}
  .links{display:none}
  .nav-open .links{
    display:flex;
    position:absolute;
    left:0; right:0; top:64px;
    flex-direction:column;
    background: rgba(11,18,32,.92);
    border-bottom:1px solid var(--line);
    padding:14px 18px 18px;
  }
}

.hero{padding:54px 0 22px}
.heroGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:stretch;
}
@media (max-width: 980px){ .heroGrid{grid-template-columns:1fr} }

.card{
  background: rgba(15,27,51,.78);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card.soft{
  background: rgba(12,23,45,.75);
  box-shadow: var(--shadow2);
}
.cardPad{padding:22px}

.kicker{
  color:var(--muted);
  font-weight:950;
  letter-spacing:.14em;
  font-size:12px;
  text-transform:uppercase;
}

h1{margin:10px 0 10px; font-size:46px; line-height:1.05}
@media (max-width: 980px){ h1{font-size:36px} }
h2{margin:0 0 10px; font-size:24px}
h3{margin:0 0 8px; font-size:16px}

.lead{color: rgba(238,242,255,.9); font-size:16px; margin:0 0 16px}
.muted{color:var(--muted)}
.actions{display:flex; gap:10px; flex-wrap:wrap}

.section{padding:22px 0}
.grid3{display:grid; grid-template-columns: repeat(3,1fr); gap:14px}
@media (max-width: 980px){ .grid3{grid-template-columns:1fr} }

.mini{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.mini p{margin:0; color:var(--muted); font-size:14px}

.divider{
  height:1px;
  background: var(--line);
  margin:14px 0;
}

.notice{
  padding:14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size:14px;
}
.notice.good{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.08);
}
.notice.bad{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.08);
}

.form{display:grid; gap:10px}
.label{font-size:13px; color:var(--muted); font-weight:850}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline:none;
}
.input:focus{
  border-color: rgba(239,68,68,.35);
  box-shadow: 0 0 0 3px rgba(239,68,68,.14);
}

.pricing{
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
}
/* Prevent sticky header from covering anchor targets */
#checkout {
  scroll-margin-top: 120px; /* adjust if needed */
}

@media (max-width: 980px){ .pricing{grid-template-columns:1fr} }
.priceCard{padding:18px}
.priceTitle{font-weight:950; font-size:18px; margin:0 0 6px}
.price{font-size:34px; font-weight:950; margin:8px 0}
.ul{margin:10px 0 0; padding-left:16px; color:var(--muted)}
.ul li{margin:6px 0}

.tagRow{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  text-align:left;
}
.table th{
  color: rgba(238,242,255,.9);
  background: rgba(255,255,255,.04);
  font-weight:900;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.table td{color: var(--muted)}
.table tr:last-child td{border-bottom:none}

.footer{
  padding:24px 0 40px;
  color: var(--muted);
  border-top:1px solid var(--line);
  margin-top:24px;
}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:950;
  font-size:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
}
.badge.active{
  border-color: rgba(34,197,94,.35);
  background: rgba(34,197,94,.10);
  color: rgba(238,242,255,.95);
}
.badge.lock{
  border-color: rgba(239,68,68,.35);
  background: rgba(239,68,68,.10);
}

.searchRow{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
}
.searchRow .input{flex:1; min-width: 240px}

.videoGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 980px){ .videoGrid{grid-template-columns:1fr} }
.videoCard{
  padding:14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.videoCard .meta{display:flex; justify-content:space-between; gap:10px; align-items:flex-start}
.videoCard h3{margin:0; font-size:15px}
.videoCard p{margin:8px 0 0; color:var(--muted); font-size:13px}
.chip{
  display:inline-flex; align-items:center; padding:5px 10px;
  border-radius:999px; font-weight:900; font-size:11px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(238,242,255,.9);
}

/* ---------------------------
   Mobile checkout fix
   Put card details UNDER name/contact fields
---------------------------- */
/* Checkout layout: 2 columns desktop */
.checkoutGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}

/* Mobile: stack account + payment vertically */
@media (max-width: 980px){
  .checkoutGrid{
    grid-template-columns: 1fr;
  }
}

/* Prevent Square card clipping */
@media (max-width: 720px){
  #card-container,
  iframe{
    max-width:100% !important;
  }

  form{
    overflow:visible !important;
  }
}

/* =========================
   PRO SHOP — PREMIUM
========================= */

.shopGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top:18px;
}
@media (max-width: 980px){
  .shopGrid{grid-template-columns:1fr}
}

.productCard{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.productCard:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,.14);
}

/* PREMIUM IMAGE AREA */
.productImg{
  height: 150px;
  padding: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(700px 220px at 50% 10%, rgba(239,68,68,.10), transparent 60%),
    radial-gradient(700px 220px at 20% 80%, rgba(59,130,246,.10), transparent 55%),
    rgba(255,255,255,.02);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* PREMIUM IMAGE AREA — LARGER */
.productImg{
  height: 220px;               /* 👈 Bigger image area */
  padding: 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(700px 260px at 50% 10%, rgba(239,68,68,.10), transparent 60%),
    radial-gradient(700px 260px at 20% 80%, rgba(59,130,246,.10), transparent 55%),
    rgba(255,255,255,.02);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Larger product visual */
.productImg img{
  max-height: 180px;          /* 👈 Bigger product image */
  max-width: 100%;
  object-fit: contain;
  display:block;

  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 35px rgba(0,0,0,.35);
}

/* Title + price row */
.productTop{
  padding: 14px 16px 6px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.productName{
  margin:0;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .2px;
}
.productPrice{
  font-weight: 950;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(238,242,255,.92);
  white-space:nowrap;
}

/* Controls */
.productControls{
  padding: 10px 16px 0;
  display:grid;
  gap:10px;
}

.shopSelect{
  width:100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  color: var(--text);
  outline:none;
  font-weight: 850;
  font-size: 13px;
}
.shopSelect:focus{
  border-color: rgba(239,68,68,.35);
  box-shadow: 0 0 0 3px rgba(239,68,68,.14);
}

/* PREMIUM BUTTON: less “cheap red bar”, more luxury */
.shopBuyBtn{
  margin: 14px 16px 16px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(238,242,255,.92);
  font-weight: 950;
  cursor:pointer;
  transition: transform .05s ease, background .15s ease, border-color .15s ease, filter .15s ease;
}
.shopBuyBtn:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.shopBuyBtn:active{ transform: translateY(1px); }
.shopBuyBtn:disabled{
  opacity:.60;
  cursor:not-allowed;
}

/* If you still want a brand accent, add it as a subtle glow not a full red button */
.productCard:hover .shopBuyBtn{
  box-shadow: 0 0 0 3px rgba(239,68,68,.10);
}

/* Status */
.productStatus{
  padding: 0 16px 16px;
  font-size: 13px;
}

/* =========================
   PRODUCT QUICK VIEW MODAL
========================= */

.productCard{ cursor:pointer; }

.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.modal[aria-hidden="false"]{ display:block; }

.modalBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}

.modalCard{
  position:relative;
  width:min(980px, calc(100% - 32px));
  margin: 70px auto;
  background: rgba(12,23,45,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  overflow:hidden;
}

.modalClose{
  position:absolute;
  right:14px;
  top:14px;
  z-index:2;
}

.modalGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:0;
}
@media (max-width: 980px){
  .modalCard{ margin: 18px auto; }
  .modalGrid{ grid-template-columns: 1fr; }
}

.modalImgWrap{
  padding: 26px;
  background:
    radial-gradient(900px 520px at 35% 15%, rgba(239,68,68,.12), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(59,130,246,.12), transparent 55%),
    rgba(255,255,255,.02);
  border-right: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 420px;
}
@media (max-width: 980px){
  .modalImgWrap{ border-right:none; border-bottom: 1px solid rgba(255,255,255,.10); min-height: 320px; }
}

.modalImgWrap img{
  width:100%;
  height:100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

.modalInfo{
  padding: 24px;
}

#modalCardMount{
  padding: 10px 0 0;
}

/* Make Square iframe play nice in modal */
#modalCardMount iframe{
  max-width: 100% !important;
}

/* =========================
   GRID CARD POLISH
========================= */

.productCard{
  position: relative;
}

/* subtle image zoom on hover */
.productImg img{
  transition: transform .22s ease, filter .22s ease;
}
.productCard:hover .productImg img{
  transform: scale(1.03);
  filter: brightness(1.02);
}

/* tighten title row a bit */
.productTop{
  padding: 12px 16px 12px;
}

/* hidden "Quick View" chip that appears on hover */
.quickView{
  position:absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(238,242,255,.92);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events:none;
}

.productCard:hover .quickView{
  opacity: 1;
  transform: translateY(0);
}

/* optional: make price badge slightly quieter */
.productPrice{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(238,242,255,.92);
}

/* Replay overlay for YouTube embeds */
.yt-wrap {
  position: relative;
  border-radius: 16px; /* matches your card vibe */
  overflow: hidden;
}

.yt-replay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 0;
  cursor: pointer;
  background: rgba(0,0,0,.60);
  color: #fff;
}

/* =========================
   ✅ PREMIUM ADD TO CART
   Matches your tokens + vibe
========================= */

/* area that holds the button */
.productBottom{
  margin-top: 2px;
  padding: 0 16px 16px;
  display:flex;
  justify-content:flex-end;
}

/* premium glass + brand glow */
.addBtn{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);

  background:
    radial-gradient(140px 60px at 25% 25%, rgba(239,68,68,.18), transparent 60%),
    radial-gradient(160px 70px at 80% 15%, rgba(59,130,246,.14), transparent 60%),
    rgba(255,255,255,.05);

  color: rgba(238,242,255,.92);
  font-weight: 950;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;

  cursor:pointer;
  user-select:none;

  transition: transform .08s ease, background .18s ease, border-color .18s ease, filter .18s ease, box-shadow .18s ease;
  box-shadow:
    0 10px 24px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.08);
}

/* premium edge sheen */
.addBtn::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 70%);
  opacity:.55;
}

/* hover = lift + glow */
.addBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
  background:
    radial-gradient(160px 70px at 20% 30%, rgba(239,68,68,.22), transparent 62%),
    radial-gradient(180px 80px at 80% 20%, rgba(59,130,246,.18), transparent 62%),
    rgba(255,255,255,.07);
  box-shadow:
    0 14px 32px rgba(0,0,0,.45),
    0 0 0 3px rgba(239,68,68,.10),
    inset 0 1px 0 rgba(255,255,255,.10);
}

/* click press */
.addBtn:active{
  transform: translateY(0px);
  filter: brightness(0.98);
}

/* success flash (if you use the .added class in JS) */
.addBtn.added{
  border-color: rgba(34,197,94,.35);
  background:
    radial-gradient(160px 70px at 30% 25%, rgba(34,197,94,.25), transparent 62%),
    rgba(255,255,255,.06);
  box-shadow:
    0 14px 32px rgba(0,0,0,.45),
    0 0 0 3px rgba(34,197,94,.12),
    inset 0 1px 0 rgba(255,255,255,.10);
}

/* keep button readable on mobile */
@media (max-width: 980px){
  .productBottom{ padding: 0 14px 14px; }
  .addBtn{ width: 100%; }
}

/* =========================
   CART DRAWER (PRO SHOP)
========================= */
.cartDrawer{ position:fixed; inset:0; display:none; z-index:9998; }
.cartDrawer[aria-hidden="false"]{ display:block; }

.cartBackdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}

.cartPanel{
  position:absolute;
  top:0; right:0;
  height:100%;
  width:min(420px, calc(100% - 36px));
  background: rgba(12,23,45,.94);
  border-left: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  padding: 18px;
  overflow:auto;
}

.cartHead{
  display:flex; justify-content:space-between; align-items:flex-start; gap:12px;
}

.cartItems{ display:grid; gap:12px; }

.cartItem{
  display:grid;
  grid-template-columns: 64px 1fr auto;
  gap:10px;
  padding:12px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}

.cartItem img{
  width:64px; height:64px; object-fit:contain;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.cartItemName{ font-weight:950; font-size:13px; margin:0; }
.cartItemMeta{ color: var(--muted); font-size:12px; margin-top:4px; line-height:1.3; }

.qtyRow{
  display:flex; align-items:center; gap:8px; justify-content:flex-end;
}

.qtyBtn{
  width:32px; height:32px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
  font-weight:950;
}

.qtyNum{ min-width:22px; text-align:center; font-weight:950; color: rgba(238,242,255,.92); }

.removeBtn{
  border:0;
  background: transparent;
  color: rgba(239,68,68,.9);
  cursor:pointer;
  font-weight:900;
  font-size:12px;
  padding:0;
  margin-top:8px;
}

.cartTotals{
  display:flex; align-items:center; justify-content:space-between;
}
.cartTotal{
  font-weight:950;
  font-size:18px;
}
