:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --line:#e5e7eb;
  --primary:#1d4ed8;
  --primary2:#2563eb;
  --chip:#eef2ff;
  --shadow: 0 10px 24px rgba(2,6,23,.10);
  --shadow2: 0 14px 30px rgba(2,6,23,.12);
  --radius: 18px;
  --radius2: 22px;
  --safe: max(env(safe-area-inset-bottom), 10px);
}

*{box-sizing:border-box}
html,body{height:100%; overflow-x:hidden}
body{
  margin:0;
  font-family:"Work Sans",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(#fff, #fff);
}

a{color:inherit; text-decoration:none}
button{font-family:inherit}
img{max-width:100%; display:block}

.topbar{
  position:sticky; top:0; z-index:30;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
  padding:10px 14px 12px;
}
.topbar__row{display:flex; align-items:center; gap:10px}
.topbar__spacer{flex:1}

.brand{
  display:flex; align-items:center; gap:10px;
}
.brand__text{
  font-weight:800;
  letter-spacing:.2px;
  font-size:22px;
  color:var(--primary);
}

.iconbtn{
  width:40px; height:40px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  display:grid; place-items:center;
  cursor:pointer;
  box-shadow: 0 4px 12px rgba(2,6,23,.06);
}
.iconbtn:active{transform:translateY(1px)}

.burger{
  width:18px;height:12px;position:relative;display:block
}
.burger:before,.burger:after,.burger i{
  content:""; position:absolute; left:0; right:0; height:2px;
  background:#0f172a; border-radius:10px;
}
.burger:before{top:0}
.burger:after{bottom:0}
.burger i{top:5px}

.x{
  width:18px;height:18px; position:relative; display:block;
}
.x:before,.x:after{
  content:""; position:absolute; left:8px; top:2px;
  width:2px;height:14px;background:#0f172a;border-radius:10px
}
.x:before{transform:rotate(45deg)}
.x:after{transform:rotate(-45deg)}

.search{margin-top:10px}
.search__wrap{
  display:flex; align-items:stretch;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 18px rgba(2,6,23,.06);
}
.search__input{
  flex:1;
  padding:14px 14px;
  border:none;
  outline:none;
  font-size:15px;
}
.search__btn{
  width:54px;
  border:none;
  background:linear-gradient(180deg,var(--primary2),var(--primary));
  display:grid; place-items:center;
  cursor:pointer;
}

main{
  max-width:980px;
  margin:0 auto;
  padding:14px 14px calc(90px + var(--safe));
}

/* Sections */
.section{margin-top:14px}
.section__title{
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
  text-align:center;
  font-size:28px;
  color:#1f2937;
  margin:18px 0 14px;
}
.section__subtitle{
  text-align:center;
  margin:-4px 0 12px;
  color:var(--muted);
  font-size:14px;
}

/* Hero */
.hero{
  border-radius:22px;
  background: radial-gradient(1200px 400px at 20% -40%, #93c5fd 0%, rgba(147,197,253,0) 55%),
              radial-gradient(900px 350px at 90% 0%, #dbeafe 0%, rgba(219,234,254,0) 60%),
              linear-gradient(180deg,#ffffff,#f8fafc);
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.hero__inner{
  padding:14px;
}
.hero__badge{
  display:inline-flex; align-items:center; gap:8px;
  background:#111827;
  color:#fff;
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.4px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  margin-top:12px;
}
.hero__card{
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff,#ffffff);
  border:1px solid rgba(2,6,23,.08);
  box-shadow:0 10px 22px rgba(2,6,23,.08);
  overflow:hidden;
}
.hero__media{
  height:210px;
  background:
    radial-gradient(260px 140px at 15% 35%, rgba(29,78,216,.18), rgba(29,78,216,0) 70%),
    radial-gradient(240px 120px at 80% 25%, rgba(59,130,246,.18), rgba(59,130,246,0) 70%),
    linear-gradient(135deg,#f8fafc,#ffffff);
  position:relative;
}
.hero__media .mock-phone{
  position:absolute;
  left:16px; bottom:16px;
  width:120px; height:160px;
  border-radius:22px;
  background: linear-gradient(180deg,#111827,#0b1220);
  box-shadow: 0 16px 30px rgba(2,6,23,.25);
  border: 1px solid rgba(255,255,255,.12);
}
.hero__media .mock-phone:before{
  content:"";
  position:absolute; inset:12px;
  border-radius:18px;
  background: radial-gradient(120px 120px at 30% 30%, rgba(59,130,246,.55), rgba(59,130,246,0) 65%),
              linear-gradient(180deg,#1f2937,#111827);
}
.hero__media .mock-bubble{
  position:absolute;
  right:16px; top:18px;
  width:160px; height:120px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(2,6,23,.10);
  box-shadow: 0 14px 26px rgba(2,6,23,.10);
  padding:10px;
}
.hero__media .mock-bubble .line{
  height:10px; border-radius:999px; background:#e5e7eb; margin:8px 0;
}
.hero__media .mock-bubble .line.b{width:80%}
.hero__media .mock-bubble .line.c{width:60%}

.hero__content{padding:12px 14px 14px}
.hero__h1{
  font-size:26px;
  line-height:1.1;
  margin:2px 0 10px;
}
.hero__price{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:12px;
  margin:10px 0 12px;
}
.hero__price .p{
  font-size:14px;
  color:#334155;
}
.hero__price .v{
  font-size:26px;
  font-weight:800;
}
.hero__cta{
  display:flex; gap:10px; align-items:center;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:999px;
  padding:12px 14px;
  border:1px solid rgba(2,6,23,.10);
  background:#fff;
  font-weight:800;
  cursor:pointer;
  gap:8px;
}
.btn--primary{
  background:linear-gradient(180deg,var(--primary2),var(--primary));
  border:none;
  color:#fff;
  box-shadow:0 14px 26px rgba(29,78,216,.22);
}
.btn--ghost{
  background:#fff;
}
.btn:active{transform:translateY(1px)}

/* Categories */
.categories{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.cat{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
  background:
    radial-gradient(240px 120px at 10% 20%, rgba(59,130,246,.30), rgba(59,130,246,0) 70%),
    linear-gradient(135deg,#0ea5e9,#1d4ed8);
  position:relative;
  min-height:120px;
}
.cat__label{
  position:absolute;
  top:10px; left:10px;
  font-weight:900;
  color:#fff;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.4px;
}
.cat__img{
  position:absolute;
  right:-8px; bottom:-10px;
  width:98px; height:98px;
  border-radius:18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 30px rgba(2,6,23,.18);
}
.cat__img:before{
  content:"";
  position:absolute; inset:12px;
  border-radius:14px;
  background: radial-gradient(80px 80px at 30% 20%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%),
              linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.05));
}
.cat--home{
  background: radial-gradient(240px 120px at 10% 20%, rgba(34,197,94,.25), rgba(34,197,94,0) 70%),
              linear-gradient(135deg,#0ea5e9,#0f172a);
}
.cat--kitchen{
  background: radial-gradient(240px 120px at 10% 20%, rgba(245,158,11,.25), rgba(245,158,11,0) 70%),
              linear-gradient(135deg,#2563eb,#0f172a);
}
.cat--laptops{
  background: radial-gradient(240px 120px at 10% 20%, rgba(168,85,247,.25), rgba(168,85,247,0) 70%),
              linear-gradient(135deg,#1d4ed8,#0f172a);
}

/* Tabs + Product grid */
.tabs{
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:6px;
  display:flex;
  gap:6px;
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
}
.tab{
  flex:1;
  text-align:center;
  border:none;
  background:transparent;
  padding:10px 10px;
  border-radius:12px;
  font-weight:800;
  cursor:pointer;
  color:#334155;
  text-transform:uppercase;
  letter-spacing:.3px;
  font-size:12px;
}
.tab.is-active{
  background:var(--chip);
  color:var(--primary);
  border:1px solid rgba(29,78,216,.18);
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  margin-top:12px;
}
.card{
  background:#fff;
  border:1px solid rgba(2,6,23,.10);
  border-radius:16px;
  box-shadow: var(--shadow);
  overflow:hidden;
  cursor:pointer;
}
.card__media{
  height:120px;
  background:linear-gradient(180deg,#f8fafc,#ffffff);
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 10px 10px;
  overflow:hidden;
}
.pill{
  position:absolute;
  top:10px; left:10px;
  z-index:8;
  pointer-events:none;
  font-weight:900;
  font-size:10px;
  letter-spacing:.4px;
  text-transform:uppercase;
  padding:4px 8px;
  border-radius:999px;
  background:#4c1d95;
  color:#fff;
  z-index:3;
  pointer-events:none;
}
.card__img{
  width:68px; height:92px;
  border-radius:16px;
  background:linear-gradient(180deg,#111827,#0b1220);
  box-shadow:0 14px 24px rgba(2,6,23,.20);
  border:1px solid rgba(255,255,255,.12);
}
.card__img.alt{
  width:88px;height:68px;border-radius:14px;background:linear-gradient(180deg,#334155,#0f172a);
}
.card__body{padding:10px 10px 12px}
.card__name{
  color:var(--primary);
  font-weight:800;
  font-size:13px;
  line-height:1.2;
  min-height:34px;
}
.card__meta{
  margin-top:6px;
  color:#475569;
  font-size:11.5px;
}
.card__price{
  margin-top:8px;
  font-weight:900;
  font-size:16px;
}
.card__row{
  display:flex; align-items:center; justify-content:space-between;
  gap:8px;
  margin-top:10px;
}
.badge{
  font-size:10px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(2,6,23,.12);
  background:#fff;
  font-weight:900;
  text-transform:uppercase;
}
.badge--fav{background:#eff6ff; border-color:#bfdbfe; color:#1d4ed8}

/* Newsletter */
.newsletter{
  background:#374151;
  color:#fff;
  border-radius:18px;
  padding:18px;
  box-shadow: var(--shadow2);
}
.newsletter h3{
  margin:0 0 8px;
  font-size:22px;
  font-weight:900;
}
.newsletter p{
  margin:0 0 14px;
  color:#d1d5db;
  line-height:1.35;
}
.nl__row{
  display:flex; gap:10px;
}
.nl__row input{
  flex:1;
  border:none;
  outline:none;
  border-radius:12px;
  padding:12px 12px;
}
.nl__row button{
  border:none;
  border-radius:12px;
  padding:12px 14px;
  background:linear-gradient(180deg,var(--primary2),var(--primary));
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.newsletter small{
  display:block;
  margin-top:10px;
  color:#cbd5e1;
}
.newsletter a{color:#34d399; font-weight:800}

/* Footer */
.footer{
  margin-top:14px;
  border-top:1px solid var(--line);
  padding-top:14px;
}
.footer__grid{
  display:grid;
  gap:10px;
}
.footer__box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 22px rgba(2,6,23,.06);
}
.footer__h{
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
  margin:0 0 10px;
}
.footer__p{margin:0; color:#475569; line-height:1.35}
.footer__link{
  display:inline-flex; margin-top:10px;
  color:var(--primary);
  font-weight:900;
}
.social{
  display:flex; gap:14px; align-items:center;
  margin-top:8px;
}
.social a{
  width:36px;height:36px;border-radius:12px;
  border:1px solid var(--line);
  display:grid; place-items:center;
  background:#fff;
}
.copyright{
  margin-top:12px;
  text-align:center;
  color:#64748b;
  font-weight:700;
}

/* Product Page */
.pdp{
  display:grid;
  gap:12px;
}
.pdp__gallery{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px;
  box-shadow: var(--shadow);
}
.pdp__heroimg{
  height:260px;
  border-radius:16px;
  background:
    radial-gradient(260px 180px at 40% 30%, rgba(29,78,216,.18), rgba(29,78,216,0) 70%),
    linear-gradient(180deg,#ffffff,#f8fafc);
  display:grid; place-items:center;
  position:relative;
}
.pdp__phone{
  width:160px;height:220px;border-radius:28px;
  background:linear-gradient(180deg,#111827,#0b1220);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 40px rgba(2,6,23,.25);
}
.pdp__thumbs{
  display:flex;
  gap:10px;
  padding-top:12px;
  overflow:auto;
}
.thumb{
  width:56px;height:56px;border-radius:12px;
  border:2px solid transparent;
  background:linear-gradient(180deg,#111827,#0b1220);
  flex:0 0 auto;
  cursor:pointer;
}
.thumb.is-active{border-color: var(--primary)}

.pdp__info{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  box-shadow: var(--shadow);
}
.pdp__title{
  color:var(--primary);
  font-weight:900;
  font-size:22px;
  margin:0 0 8px;
}
.pdp__link{
  color:#2563eb;
  font-weight:800;
  font-size:13px;
}
.pdp__sku{
  margin-top:10px;
  color:#64748b;
  font-size:12px;
  letter-spacing:.3px;
}
.pdp__price{
  margin-top:10px;
  font-size:32px;
  font-weight:900;
}
.pdp__actions{
  display:flex; gap:10px; margin-top:10px;
}
.squarebtn{
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  display:grid; place-items:center;
  box-shadow:0 10px 22px rgba(2,6,23,.06);
  cursor:pointer;
}
.gift{
  margin-top:12px;
  border:1px solid rgba(34,197,94,.35);
  background:rgba(34,197,94,.10);
  border-radius:16px;
  overflow:hidden;
  display:flex;
}
.gift__side{
  background:#16a34a;
  color:#fff;
  font-weight:900;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  padding:10px 8px;
  letter-spacing:.6px;
}
.gift__body{padding:12px}
.gift__h{
  font-weight:900;
  margin:0 0 4px;
}
.gift__p{margin:0; color:#14532d; font-weight:700}

.addcart{
  position:sticky;
  bottom:calc(12px + var(--safe));
  z-index:20;
  margin-top:12px;
}
.addcart .btn--primary{
  width:100%;
  border-radius:14px;
  padding:14px 14px;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.4px;
}

/* PDP tabs */
.pdpTabs{
  display:flex;
  gap:10px;
  overflow:auto;
  padding:12px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
}
.pdpTab{
  flex:1 0 auto;
  min-width:160px;
  text-align:center;
  font-weight:900;
  text-transform:uppercase;
  font-size:12px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(2,6,23,.10);
  background:#fff;
  cursor:pointer;
}
.pdpTab.is-active{
  border-color: rgba(29,78,216,.25);
  background: #eff6ff;
  color: var(--primary);
}
.specs{
  margin-top:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.specs__block{
  padding:12px 14px;
  border-top:1px solid var(--line);
}
.specs__block:first-child{border-top:none}
.specs__h{
  color:var(--primary);
  font-weight:900;
  font-size:20px;
  margin:0 0 10px;
}
.table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:14px;
  border:1px solid var(--line);
}
.table tr{border-bottom:1px solid var(--line)}
.table tr:last-child{border-bottom:none}
.table th,.table td{
  text-align:left;
  padding:10px 10px;
  font-size:13px;
}
.table th{width:50%; color:#0f172a}
.table td{color:#334155}

/* WhatsApp floating */
.wa-float{
  position:fixed;
  right:16px;
  bottom:calc(18px + var(--safe));
  width:64px;height:64px;
  border-radius:999px;
  background:#22c55e;
  color:#fff;
  display:grid;
  place-items:center;
  box-shadow:0 18px 34px rgba(34,197,94,.25);
  border: 6px solid rgba(34,197,94,.18);
  z-index:60;
}
.wa-float__badge{
  position:absolute;
  right:4px; top:4px;
  width:20px;height:20px;
  border-radius:999px;
  background:#ef4444;
  display:grid; place-items:center;
  font-size:11px;
  font-weight:900;
  border:2px solid #fff;
}

/* Drawer */
.drawer{position:fixed; inset:0; z-index:80; display:none}
.drawer.is-open{display:block}
.drawer__backdrop{
  position:absolute; inset:0;
  background:rgba(2,6,23,.45);
}
.drawer__panel{
  position:absolute; left:0; top:0; bottom:0;
  width:min(320px, 88vw);
  background:#fff;
  border-right:1px solid var(--line);
  box-shadow: 18px 0 50px rgba(2,6,23,.22);
  padding:12px;
}
.drawer__head{display:flex; align-items:center; justify-content:space-between}
.drawer__title{font-weight:900; font-size:18px}
.drawer__nav{margin-top:10px; display:grid; gap:8px}
.drawer__link{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:800;
}
.drawer__hint{
  margin-top:14px;
  color:#64748b;
  font-weight:700;
  font-size:12px;
  padding:12px;
  border-radius:14px;
  background:#f8fafc;
  border:1px dashed rgba(2,6,23,.15);
}

/* Responsive */
@media (min-width: 740px){
  main{padding:18px 18px calc(90px + var(--safe))}
  .hero__grid{grid-template-columns: 1.1fr .9fr; align-items:stretch}
  .hero__media{height:280px}
  .categories{grid-template-columns: repeat(4, 1fr)}
  .grid{grid-template-columns: repeat(4, 1fr)}
  .footer__grid{grid-template-columns: 1.2fr 1fr 1fr}
  .pdp{grid-template-columns: 1.1fr .9fr}
  .addcart{position:static}
}


/* === Real product images (keep Jet-style UI) === */
.hero__media{ position:relative; overflow:hidden; }
.hero__img{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  max-width:92%;
  max-height:92%;
  object-fit:contain;
  filter: drop-shadow(0 18px 22px rgba(2,6,23,.20));
}
.hero__mediaShade{
  position:absolute; inset:0;
  background: radial-gradient(300px 220px at 30% 30%, rgba(29,78,216,.12), rgba(29,78,216,0) 70%),
              radial-gradient(260px 200px at 80% 10%, rgba(59,130,246,.12), rgba(59,130,246,0) 70%);
  pointer-events:none;
}

.promoBanner{
  position:relative;
  height:100%;
  min-height:210px;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
}
.promoBanner__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(700px 260px at 20% 30%, rgba(255,255,255,.20), rgba(255,255,255,0) 55%),
    radial-gradient(700px 260px at 90% 10%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 6px, rgba(255,255,255,0) 6px 18px),
    linear-gradient(135deg, #1d4ed8, #0ea5e9);
}
.promoBanner__txt{
  position:absolute; inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  text-transform:uppercase;
  padding:16px;
}
.promoBanner__small{
  font-weight:900;
  letter-spacing:1.2px;
  font-size:20px;
  opacity:.95;
}
.promoBanner__big{
  font-weight:900;
  letter-spacing:1.2px;
  font-size:44px;
  line-height:1;
  text-shadow: 0 14px 26px rgba(2,6,23,.25);
}
.promoDots{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
}
.dot{
  width:10px;height:10px;border-radius:999px;
  background:rgba(255,255,255,.45);
}
.dot.is-active{ background:#fff; }

.card__photo{
  position:relative;
  z-index:1;
  max-height:104px;
  max-width:calc(100% - 8px);
  width:auto;
  object-fit:contain;
  margin-top:10px;
  display:block;
  filter: drop-shadow(0 10px 14px rgba(2,6,23,.12));
}

.pdp__mainimg{
  width:100%;
  height:100%;
  max-height:260px;
  object-fit:contain;
}.pdp__slider{
  display:flex;
  width:100%;
  height:100%;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  border-radius:16px;
}
.pdp__slider::-webkit-scrollbar{ display:none; }
.pdp__slide{
  flex:0 0 100%;
  width:100%;
  height:100%;
  scroll-snap-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pdp__slide img{
  cursor: zoom-in;
  width:100%;
  height:100%;
  max-height:260px;
  object-fit:contain;
}

.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
}

.pdp__desc{
  margin-top:10px;
  padding:10px 12px;
  border:1px solid rgba(2,6,23,.10);
  border-radius:14px;
  background:#f8fafc;
  color:#334155;
  font-weight:700;
  line-height:1.45;
  font-size:13px;
}

.specs__bullets{
  display:grid;
  gap:6px;
  color:#334155;
  font-weight:700;
  line-height:1.35;
  font-size:13px;
}

@media (min-width: 740px){
  .promoBanner{ min-height:280px; }
  .promoBanner__big{ font-size:54px; }
  .card__photo{ max-height:120px; }
  .pdp__mainimg{ max-height:340px; }
}


/* Mobile overflow guards */
.pdp, .pdp__gallery, .pdp__info{min-width:0;}
#app{overflow-x:hidden;}

@media (max-width: 739px){
  .pdp{grid-template-columns:1fr !important;}
  .pdp__heroimg{height:240px;}
  .pdp__slide img{
  cursor: zoom-in;max-height:240px;}
}


/* ---------- Lightbox ---------- */
.no-scroll{ overflow:hidden; }

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.78);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:2000;
  padding:14px;
}
.lightbox.is-open{ display:flex; }

.lightbox__inner{
  position:relative;
  width:min(920px, 100%);
  height:min(92vh, 680px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.lightbox__img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius:14px;
  background:#0b1220;
  box-shadow:0 24px 50px rgba(0,0,0,.35);
}

.lightbox__close{
  position:absolute;
  top:8px;
  right:8px;
  width:38px;
  height:38px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(6px);
}

.lightbox__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:none;
  border-radius:14px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:28px;
  font-weight:900;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(6px);
}
.lightbox__prev{ left:8px; }
.lightbox__next{ right:8px; }

.lightbox__count{
  position:absolute;
  bottom:8px;
  left:50%;
  transform:translateX(-50%);
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-weight:900;
  font-size:12px;
  letter-spacing:.2px;
  backdrop-filter: blur(6px);
}

@media (max-width:480px){
  .lightbox__nav{
    width:38px;height:38px;border-radius:12px;font-size:26px;
  }
  .lightbox__close{
    width:36px;height:36px;border-radius:12px;
  }
}
