/* style.css ✅ FINAL SYNCED VERSION */

:root{
  --red:#E10600;
  --black:#0B0B0B;
  --gold:#FFD700;
  --white:#FFFFFF;

  --bg:#070707;
  --panel:#0f0f10;
  --panel2:#151516;
  --muted:#A7A7A7;
  --text:#F6F6F6;
  --stroke:rgba(255,255,255,.10);

  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 24px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(225,6,0,.25), transparent 55%),
    radial-gradient(900px 450px at 95% 0%, rgba(255,215,0,.18), transparent 55%),
    radial-gradient(700px 400px at 60% 110%, rgba(225,6,0,.14), transparent 55%),
    var(--bg);
  color:var(--text);
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }
button, input, select, textarea{ font:inherit; }

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

/* Top bar */
.topbar{
  background: rgba(15,15,16,.85);
  border-bottom:1px solid var(--stroke);
  backdrop-filter: blur(12px);
  position: sticky;
  top:0;
  z-index:50;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:10px;
}
.topbar__left{ display:flex; align-items:center; gap:10px; }
.topbar__right{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.topbar__link{ color: var(--gold); font-weight:600; }
.sep{ color: rgba(255,255,255,.25); }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid rgba(255,215,0,.35);
  background: rgba(255,215,0,.10);
  color: var(--gold);
  border-radius: 999px;
  font-weight:700;
  letter-spacing:.2px;
  font-size:12px;
}

.muted{ color:var(--muted); }
.fineprint{ font-size:12px; }

/* Header */
.header{
  position: sticky;
  top:46px;
  z-index:40;
  background: rgba(7,7,7,.70);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--stroke);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand__mark{
  width:44px;
  height:44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  font-family: Oswald, Inter, sans-serif;
  font-weight:700;
  letter-spacing:.5px;
  background: linear-gradient(135deg, rgba(225,6,0,.95), rgba(255,215,0,.65));
  box-shadow: 0 10px 30px rgba(225,6,0,.22);
}
.brand__name{ font-weight:900; letter-spacing:.2px; }
.brand__tagline{
  font-size:12px;
  color: rgba(255,255,255,.65);
  margin-top:2px;
}

.nav{ display:flex; gap:14px; align-items:center; }
.nav__link{
  padding:10px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  font-weight:600;
}
.nav__link:hover{ background: rgba(255,255,255,.07); }
.nav__link.active{
  background: rgba(225,6,0,.18);
  border: 1px solid rgba(225,6,0,.35);
  color: var(--white);
}

.header__actions{ display:flex; align-items:center; gap:10px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius: 999px;
  padding:10px 14px;
  border:1px solid transparent;
  cursor:pointer;
  user-select:none;
  font-weight:700;
}
.btn__icon{ font-size:16px; }
.btn--primary{
  background: linear-gradient(135deg, var(--red), #b70400);
  color: var(--white);
  box-shadow: 0 12px 34px rgba(225,6,0,.25);
}
.btn--primary:hover{ filter: brightness(1.05); }
.btn--ghost{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: var(--white);
}
.btn--ghost:hover{ background: rgba(255,255,255,.09); }

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 8px;
  border-radius:999px;
  background: rgba(255,215,0,.16);
  border:1px solid rgba(255,215,0,.35);
  color: var(--gold);
  font-weight:800;
  font-size:12px;
}

/* Mobile menu button */
.hamburger{
  display:none;
  width:44px;
  height:44px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  padding:10px;
  gap:5px;
  flex-direction:column;
  justify-content:center;
}
.hamburger span{
  display:block;
  height:2px;
  width:100%;
  background: rgba(255,255,255,.85);
  border-radius:999px;
}

.mobileNav{
  border-top:1px solid var(--stroke);
  background: rgba(7,7,7,.85);
}
.mobileNav__inner{
  padding:12px 0 16px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mobileNav__link{
  padding:12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  font-weight:700;
}
.mobileNav__divider{
  height:1px;
  background: var(--stroke);
  margin:6px 0;
}

.app{ padding: 22px 0 90px; }

/* Sections / hero */
.hero{ padding: 22px 0 16px; }
.heroCard{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(225,6,0,.32), transparent 60%),
    radial-gradient(700px 260px at 90% 25%, rgba(255,215,0,.20), transparent 60%),
    linear-gradient(180deg, rgba(21,21,22,.85), rgba(15,15,16,.75));
  box-shadow: var(--shadow);
  padding: 22px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  overflow:hidden;
  position:relative;
}
.heroTitle{
  font-family: Oswald, Inter, sans-serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  margin: 0 0 10px 0;
}
.heroSubtitle{ font-size: 15px; color: rgba(255,255,255,.75); line-height:1.6; }
.heroActions{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px; }

.heroMedia{ display:flex; align-items:center; justify-content:center; }
.heroMock{
  width:100%;
  max-width: 420px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(180px 120px at 30% 25%, rgba(255,215,0,.22), transparent 60%),
    radial-gradient(260px 180px at 60% 60%, rgba(225,6,0,.22), transparent 60%),
    rgba(255,255,255,.06);
  padding:16px;
}
.heroMock__row{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.heroMock__chip{
  border-radius:999px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  font-weight:700;
  font-size:12px;
}
.heroMock__card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(7,7,7,.55);
  padding: 12px;
}
.heroMock__card + .heroMock__card{ margin-top:10px; }
.heroMock__title{ font-weight:800; margin:0 0 6px; }
.heroMock__line{ height:10px; border-radius:999px; background: rgba(255,255,255,.10); margin:8px 0; }
.heroMock__cta{
  width:100%;
  border-radius: 14px;
  padding: 10px 12px;
  text-align:center;
  font-weight:900;
  background: linear-gradient(135deg, rgba(225,6,0,.9), rgba(255,215,0,.22));
  border:1px solid rgba(255,215,0,.18);
}

.section{ margin-top: 18px; }
.sectionHeader{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}
.h2{ margin:0; font-size: 20px; }
.h3{ margin:0; font-size:16px; font-weight:900; }
.sub{ font-size:13px; color: rgba(255,255,255,.65); }

.controls{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.input, .select, .textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  padding: 10px 12px;
  color: var(--white);
  outline:none;
}
.input::placeholder{ color: rgba(255,255,255,.45); }
.select option{ background:#111; color:#fff; }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.card{
  grid-column: span 4;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.card__media{ aspect-ratio: 16 / 9; background: rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.08); position:relative; }
.card__media img{ width:100%; height:100%; object-fit: cover; }
.card__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.42));
  pointer-events:none;
}
.card__body{ padding: 12px; display:flex; flex-direction:column; gap:10px; }
.card__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.card__title{ font-weight:900; }
.card__desc{ font-size: 12px; color: rgba(255,255,255,.65); line-height:1.5; }
.price{ font-weight:900; color: var(--gold); white-space:nowrap; }
.card__meta{ display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.chip{
  border-radius:999px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  font-size:12px;
  font-weight:700;
}

.card__actions{ display:flex; gap:10px; align-items:center; }
.qty{
  display:flex;
  align-items:center;
  gap:8px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  padding: 6px 10px;
}
.qty button{
  width:26px; height:26px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--white);
  cursor:pointer;
}
.qty button:hover{ background: rgba(255,255,255,.10); }
.qty span{ min-width:18px; text-align:center; font-weight:800; }

.card__footer{
  margin-top:auto;
  padding: 0 12px 12px 12px;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
.small{ font-size:12px; }

.hr{ height:1px; background: var(--stroke); margin: 14px 0; }
.noteBox{ border-radius: 18px; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05); padding: 12px; }

.linkGold{ color: var(--gold); font-weight:900; }

/* Checkout layout helpers */
.span-7{ grid-column: span 7; }
.span-5{ grid-column: span 5; }
.formGrid{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.field--full{ grid-column: 1 / -1; }
.label{ font-weight:800; font-size:12px; color: rgba(255,255,255,.75); margin-bottom:6px; }
.radioRow{ display:flex; gap:12px; flex-wrap:wrap; }
.radio{ display:flex; gap:8px; align-items:center; padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.05); }
.radio input{ transform: translateY(1px); }

/* Checkout summary mini */
.cartList{ display:flex; flex-direction:column; gap:10px; }
.cartItemMini{ display:flex; gap:10px; }
.cartItemMini__thumb{ width:64px; height:64px; border-radius:14px; overflow:hidden; border:1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.06); }
.cartItemMini__thumb img{ width:100%; height:100%; object-fit:cover; }
.cartItemMini__title{ font-weight:900; }
.cartItemMini__sub{ font-size:12px; color: rgba(255,255,255,.65); margin-top:2px; }
.cartItemMini__row{ display:flex; justify-content:space-between; gap:10px; margin-top:8px; align-items:center; }

/* Totals */
.totals{ display:flex; flex-direction:column; gap:8px; }
.totals__row{ display:flex; justify-content:space-between; }
.totals__row--bold{ font-weight:900; border-top:1px solid rgba(255,255,255,.10); padding-top:10px; margin-top:6px; }

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(15,15,16,.95);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 10px 14px;
  z-index:10000;
  font-weight:800;
}

/* Sticky Order */
.stickyOrder{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index:60;
  display:none;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  border:1px solid rgba(255,215,0,.22);
  background: linear-gradient(135deg, rgba(225,6,0,.95), rgba(255,215,0,.20));
  box-shadow: 0 14px 34px rgba(225,6,0,.28);
  color: var(--white);
  font-weight:900;
}
.stickyOrder__icon{ font-size:18px; }

/* CART overlay */
.cart-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  z-index: 9998;
}
.cart-overlay[hidden]{ display:none !important; }

/* CART panel */
.cart-panel{
  position: fixed;
  top: 10px;
  right: -420px;
  bottom: 10px;
  width: min(420px, calc(100% - 20px));
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(15,15,16,.92), rgba(10,10,10,.92));
  box-shadow: var(--shadow);
  z-index: 9999;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transition: right .25s ease;
}
.cart-panel.open{ right: 10px; }
.cart-header{
  padding: 14px 14px 12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid var(--stroke);
}
.cart-title{ font-weight:900; font-size:18px; }
.cart-subtitle{ margin-top:4px; font-size:12px; color: rgba(255,255,255,.70); }
.cart-close{
  width:40px; height:40px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--white);
  cursor:pointer;
}
.cart-close:hover{ background: rgba(255,255,255,.10); }

.cart-empty{
  padding: 18px 14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:8px;
}
.cart-empty-icon{ font-size:34px; }
.cart-empty-title{ font-weight:900; }
.cart-empty-text{ font-size:12px; color: rgba(255,255,255,.70); max-width: 280px; }

.cart-items{
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.cartRow{
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding: 10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.cartRow__top{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.cartRow__title{ font-weight:900; }
.cartRow__bottom{ display:flex; justify-content:space-between; gap:10px; align-items:center; }

.cart-block{ padding: 10px 14px 0; }
.cart-label{ display:block; font-size:12px; color: rgba(255,255,255,.70); font-weight:700; margin-bottom:6px; }
.cart-notes, .coupon-input{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  padding: 10px 12px;
  color: var(--white);
  outline:none;
}
.cart-coupon{ display:flex; gap:10px; align-items:center; }
.coupon-input{ flex:1; }
.coupon-msg{ padding: 8px 14px 0; font-size:12px; color: rgba(255,255,255,.70); }

.cart-totals{
  margin: 10px 14px 0;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding: 10px 12px;
}
.tot-row{ display:flex; justify-content:space-between; padding: 6px 0; font-size:13px; }
.tot-strong{ font-weight:900; border-top:1px solid rgba(255,255,255,.08); margin-top:6px; padding-top:10px; }

.cart-actions{ padding: 12px 14px 14px; display:flex; gap:10px; }
.cart-footnote{ padding: 0 14px 14px; font-size:12px; color: rgba(255,255,255,.65); }

.btn-primary{
  background: linear-gradient(135deg, var(--red), #b70400);
  color: var(--white);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight:900;
  cursor:pointer;
}
.btn-primary:hover{ filter: brightness(1.05); }

.btn-ghost{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight:800;
  cursor:pointer;
}
.btn-ghost:hover{ background: rgba(255,255,255,.10); }

.btn-outline{
  background: transparent;
  border:1px solid rgba(255,255,255,.18);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight:800;
  cursor:pointer;
}
.btn-outline:hover{ background: rgba(255,255,255,.06); }

.linkBtn{
  border:none;
  background: transparent;
  color: rgba(255,255,255,.75);
  cursor:pointer;
  font-weight:800;
}
.linkBtn:hover{ color: var(--gold); }

/* FOOTER */
.footer{
  margin-top: 24px;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(7,7,7,.75);
}
.footer__inner{
  padding: 18px 0;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 14px;
}
.footer__title{ margin:0 0 8px 0; font-weight:900; }
.footer__link{
  display:block;
  padding:6px 0;
  color:#E10600;
  font-weight:700;
}
.footer__link:hover{ color:#FFD700; }
.footer__text{ color:#FFFFFF; opacity:.78; font-size:13px; line-height:1.6; }

.footer__bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding: 12px 0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#FFFFFF;
  opacity:.72;
  font-size:12px;
}

.footerBtns{ margin-top:10px; display:flex; gap:10px; flex-wrap:wrap; }

.map-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--gold);
  font-weight:900;
}
.map-btn:hover{ background: rgba(255,255,255,.10); }

.map-btn-primary{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background: linear-gradient(135deg,var(--red),#b70400);
  color:white;
  font-weight:900;
}
.map-btn-primary:hover{ filter: brightness(1.05); }

/* EasyPaisa */
.easypaisa-payment{
  text-align:center;
  padding:14px;
  background:#0f0f10;
  border-radius:15px;
  border:1px solid rgba(255,255,255,0.1);
}
.easypaisa-image{
  width:220px;
  height:220px;
  background:white;
  padding:10px;
  border-radius:12px;
  margin:0 auto;
}
.easypaisa-note{
  color:#aaa;
  margin-top:10px;
  font-size:13px;
}

/* Policy list */
.policyList{ margin:0; padding-left:18px; }
.policyList li{ margin:8px 0; color: rgba(255,255,255,.80); }

/* Responsive */
@media (max-width: 980px){
  .grid .card{ grid-column: span 6; }
  .footer__inner{ grid-template-columns: 1fr 1fr; }
  .nav{ display:none; }
  .hamburger{ display:flex; }
  .stickyOrder{ display:flex; }
  .heroCard{ grid-template-columns: 1fr; }
  .formGrid{ grid-template-columns: 1fr; }
  .span-7, .span-5{ grid-column: span 12; }
}

@media (max-width: 560px){
  .grid .card{ grid-column: span 12; }
}

/* Tiny screens cart width */
@media (max-width: 420px){
  .cart-panel{
    width: 92vw;
    right: -92vw;
    top: 10px;
    bottom: 10px;
  }
  .cart-panel.open{ right: 10px; }
}
