/* ============ deals.1mxtushar.online — premium digital store ============ */
:root {
  --bg: #050816;
  --bg-2: #090d20;
  --yellow: #ffd60a;
  --yellow-soft: #ffdf3d;
  --violet: #915eff;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #22c55e;
  --red: #ef4444;
  --ink: #f5f8fc;
  --muted: #a3b3cc;
  --dim: #64748f;
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.10);
  --r-lg: 22px; --r-md: 16px; --r-sm: 12px;
  --font-display: "Space Grotesk", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6;
  overflow-x: hidden; overflow-x: clip; max-width: 100%; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
img, video, canvas { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ambient */
#starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.vignette { position: fixed; inset: 0; z-index: 59; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(3, 5, 14, 0.55) 100%); }

/* ---------- nav ---------- */
.site-nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; }
.nav-pill { width: min(1200px, 94%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(9, 13, 32, 0.72); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 12px 40px rgba(0,0,0,0.45); }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.brand small { display: block; font-size: 0.64rem; font-weight: 500; color: var(--dim); letter-spacing: 0.1em; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 700; color: #0d0d0d;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-soft)); box-shadow: 0 4px 18px rgba(255,214,10,0.4); }
.brand-logo {
  width: 38px; height: 38px; border-radius: 12px; flex: none; object-fit: cover;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}
.nav-search { flex: 1; max-width: 380px; position: relative; }
.nav-search input { width: 100%; padding: 11px 18px 11px 42px; border-radius: 999px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05); color: var(--ink); font-family: var(--font); font-size: 0.9rem; outline: none; transition: 0.25s; }
.nav-search input::placeholder { color: var(--dim); }
.nav-search input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,214,10,0.12); }
.nav-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: var(--dim); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px;
  background: var(--yellow); color: #0d0d0d; font-weight: 700; font-size: 0.92rem; border: 0; cursor: pointer;
  font-family: var(--font-display); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,214,10,0.35); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 999px; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--bg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 170px 0 70px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(255,214,10,0.13), rgba(145,94,255,0.08) 55%, transparent 70%);
  pointer-events: none; }
.kicker { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--yellow); border: 1px solid rgba(255,214,10,0.3); padding: 8px 20px; border-radius: 999px;
  background: rgba(255,214,10,0.06); margin-bottom: 26px; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.04; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero h1 .accent { background: linear-gradient(120deg, var(--yellow) 20%, var(--yellow-soft) 60%, #ff9d0a);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 620px; margin: 0 auto 36px; }
.hero-stats { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.hstat { text-align: center; }
.hstat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--yellow); }
.hstat span { font-size: 0.82rem; color: var(--dim); }

/* ---------- toolbar ---------- */
.toolbar { position: sticky; top: 86px; z-index: 40; padding: 14px 0; margin-bottom: 8px;
  background: rgba(5, 8, 22, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.toolbar-inner { display: flex; align-items: center; gap: 14px; }
.cat-pills { display: flex; gap: 9px; overflow-x: auto; flex: 1; padding: 4px 2px; scrollbar-width: none; }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill { flex: 0 0 auto; padding: 9px 18px; font-size: 0.85rem; font-weight: 600; white-space: nowrap;
  color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  border-radius: 999px; cursor: pointer; transition: 0.22s var(--ease); font-family: var(--font); }
.cat-pill:hover { color: #fff; border-color: rgba(255,214,10,0.5); }
.cat-pill.active { color: #0d0d0d; background: var(--yellow); border-color: var(--yellow); }
.sort-wrap select { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05); color: var(--ink); font-family: var(--font); font-size: 0.85rem; outline: none; cursor: pointer; }
.sort-wrap select option { background: #0d1226; }

/* ---------- product grid ---------- */
.shop { padding: 36px 0 80px; }
.result-line { color: var(--muted); font-size: 0.92rem; margin: 6px 0 22px; }
.result-line b { color: var(--yellow); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.pcard { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 1.5px;
  background: linear-gradient(150deg, rgba(255,255,255,0.13), rgba(255,255,255,0.03));
  transition: transform 0.3s var(--ease), box-shadow 0.3s; cursor: pointer; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,214,10,0.22); }
.pcard-inner { background: rgba(9, 13, 32, 0.96); border-radius: calc(var(--r-lg) - 1.5px); padding: 22px; height: 100%;
  display: flex; flex-direction: column; }
.pcard-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.plogo { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #0d0d0d; flex: none; }
.plogo-img { width: 58px; height: 58px; border-radius: 16px; flex: none; object-fit: contain;
  background: #fff; padding: 7px; }
.qv-head .plogo-img { width: 72px; height: 72px; border-radius: 18px; padding: 9px; }
.citem .plogo-img { width: 46px; height: 46px; border-radius: 12px; padding: 5px; }
.ptag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: rgba(255,214,10,0.12); color: var(--yellow);
  border: 1px solid rgba(255,214,10,0.3); }
.pdur { display: inline-block; font-size: 0.74rem; font-weight: 700; color: var(--cyan);
  background: rgba(34,211,238,0.09); border: 1px solid rgba(34,211,238,0.25);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.pcard h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; margin-bottom: 4px; }
.pcat { font-size: 0.78rem; color: var(--dim); margin-bottom: 10px; }
.prating { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.prating .stars { color: var(--yellow); letter-spacing: 1px; }
.pprice-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; margin-top: auto; }
.pprice { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.pmrp { font-size: 0.9rem; color: var(--dim); text-decoration: line-through; }
.poff { font-size: 0.76rem; font-weight: 700; color: var(--green); background: rgba(34,197,94,0.1);
  padding: 3px 9px; border-radius: 999px; }
.pstock { font-size: 0.8rem; margin: 8px 0 16px; font-weight: 600; }
.pstock.in { color: var(--green); }
.pstock.low { color: var(--red); }
.pstock .sold { color: var(--dim); font-weight: 400; }
.pactions { display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-display);
  font-weight: 600; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: 0.25s var(--ease); }
.btn-add { flex: 1; padding: 12px; font-size: 0.9rem; background: rgba(255,214,10,0.1); color: var(--yellow);
  border-color: rgba(255,214,10,0.35); }
.btn-add:hover { background: rgba(255,214,10,0.2); }
.btn-buy { flex: 1; padding: 12px; font-size: 0.9rem; background: var(--yellow); color: #0d0d0d; }
.btn-buy:hover { box-shadow: 0 8px 24px rgba(255,214,10,0.35); transform: translateY(-1px); }
.btn-notify { flex: 1; padding: 12px; font-size: 0.9rem; background: rgba(145,94,255,0.1); color: var(--violet);
  border-color: rgba(145,94,255,0.4); }
.btn-notify:hover { background: rgba(145,94,255,0.2); }
.pstock.out { color: var(--red); }

/* ---------- trust / how / faq ---------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding: 20px 0 70px; }
.trust-card { display: flex; gap: 15px; align-items: flex-start; padding: 22px; border-radius: var(--r-md);
  background: var(--glass-bg); border: 1px solid var(--glass-border); }
.trust-card .tic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,214,10,0.1); border: 1px solid rgba(255,214,10,0.25); }
.trust-card .tic svg { width: 22px; height: 22px; stroke: var(--yellow); }
.trust-card h4 { font-size: 0.98rem; margin-bottom: 4px; }
.trust-card p { font-size: 0.84rem; color: var(--muted); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 700; }
.section-head h2 .dot { color: var(--yellow); }
.section-head p { color: var(--muted); max-width: 560px; margin: 12px auto 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--r-md); background: var(--glass-bg);
  border: 1px solid var(--glass-border); }
.step b.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: #0d0d0d; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.step h4 { margin-bottom: 8px; font-size: 1.02rem; }
.step p { font-size: 0.88rem; color: var(--muted); }
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--glass-border); border-radius: var(--r-md); margin-bottom: 12px;
  background: var(--glass-bg); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 20px 24px; background: none; border: 0; color: var(--ink); font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left; }
.faq-q .fx { font-size: 1.4rem; color: var(--yellow); transition: transform 0.3s; flex: none; }
.faq-item.open .faq-q .fx { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 0.92rem; }
section.block { padding: 70px 0; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--glass-border); padding: 50px 0 34px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-grid h5 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--yellow); }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--glass-border); color: var(--dim); font-size: 0.84rem; }

/* ---------- cart drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(3,5,14,0.6); z-index: 80; opacity: 0; pointer-events: none; transition: 0.3s; }
.cart-overlay.show { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 94vw); z-index: 81;
  background: #0b0f24; border-left: 1px solid var(--glass-border); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform 0.4s var(--ease); }
.cart-drawer.show { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--glass-border); }
.cart-head h3 { font-family: var(--font-display); font-size: 1.25rem; }
.cart-close { background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; color: var(--dim); padding: 60px 20px; }
.cart-empty .big { font-size: 3rem; margin-bottom: 14px; }
.citem { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-sm); background: var(--glass-bg);
  border: 1px solid var(--glass-border); }
.citem .plogo { width: 46px; height: 46px; font-size: 1.15rem; border-radius: 12px; }
.citem-info { flex: 1; }
.citem-info h4 { font-size: 0.92rem; margin-bottom: 2px; }
.citem-info .cdur { font-size: 0.76rem; color: var(--dim); }
.citem-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05); color: var(--ink); cursor: pointer; font-size: 1rem; }
.qty b { min-width: 20px; text-align: center; }
.citem-price { font-family: var(--font-display); font-weight: 700; color: var(--yellow); }
.citem-rm { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 1.15rem; }
.cart-foot { padding: 24px; border-top: 1px solid var(--glass-border); }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.cart-save { font-size: 0.82rem; color: var(--green); margin-bottom: 16px; }
.btn-checkout { width: 100%; padding: 16px; font-size: 1.02rem; background: var(--yellow); color: #0d0d0d; }
.btn-checkout:hover { box-shadow: 0 10px 30px rgba(255,214,10,0.4); }
.btn-continue { width: 100%; padding: 12px; margin-top: 10px; font-size: 0.9rem; background: transparent;
  color: var(--muted); border-color: var(--glass-border); }

/* ---------- modals ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(3,5,14,0.72); z-index: 90; display: grid;
  place-items: center; padding: 18px; opacity: 0; pointer-events: none; transition: 0.3s; }
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal { width: min(560px, 100%); max-height: 88vh; overflow-y: auto; border-radius: var(--r-lg); padding: 1.5px;
  background: linear-gradient(150deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
  transform: translateY(24px) scale(0.98); transition: 0.35s var(--ease); }
.modal-overlay.show .modal { transform: none; }
.modal-inner { background: #0b0f24; border-radius: calc(var(--r-lg) - 1.5px); padding: 32px; position: relative; }
.modal-close { position: absolute; top: 18px; right: 20px; background: none; border: 0; color: var(--muted);
  font-size: 1.5rem; cursor: pointer; }
.qv-head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.qv-head .plogo { width: 72px; height: 72px; font-size: 1.9rem; border-radius: 18px; }
.qv-head h3 { font-family: var(--font-display); font-size: 1.4rem; }
.qv-head .pcat { margin: 0; }
.qv-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.qv-meta span { font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--muted); }
.qv-meta span.hl { color: var(--yellow); border-color: rgba(255,214,10,0.35); }
.qv-desc { color: var(--muted); font-size: 0.94rem; margin-bottom: 18px; }
.qv-facts { margin-bottom: 22px; }
.qv-facts div { display: flex; gap: 10px; font-size: 0.88rem; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.qv-facts div:last-child { border: 0; }
.qv-facts b { color: var(--dim); font-weight: 500; min-width: 110px; }
.qv-buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.co-form label { display: block; font-size: 0.84rem; color: var(--muted); margin: 14px 0 7px; }
.co-form input { width: 100%; padding: 13px 18px; border-radius: 12px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.05); color: var(--ink); font-family: var(--font); font-size: 0.95rem; outline: none; }
.co-form input:focus { border-color: var(--yellow); }
.co-summary { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--r-sm);
  padding: 16px 18px; margin: 18px 0; font-size: 0.9rem; }
.co-summary div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.co-summary .tot { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem;
  border-top: 1px solid var(--glass-border); margin-top: 8px; padding-top: 10px; }
.co-note { font-size: 0.82rem; color: var(--dim); margin-top: 14px; text-align: center; }

/* toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(80px); z-index: 120;
  background: #0d1428; border: 1px solid rgba(255,214,10,0.35); color: var(--ink); padding: 14px 26px;
  border-radius: 999px; font-size: 0.9rem; font-weight: 600; opacity: 0; transition: 0.35s var(--ease);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5); pointer-events: none; max-width: 92vw; text-align: center; }
.toast.show { transform: translateX(-50%); opacity: 1; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-search { display: none; }
  .toolbar { top: 78px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 150px 0 56px; }
}
@media (max-width: 640px) {
  .brand small { display: none; }
  .cart-btn .clabel { display: none; }
  .cart-btn { padding: 11px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .pcard-inner { padding: 16px; }
  .pcard h3 { font-size: 0.94rem; }
  .pprice { font-size: 1.2rem; }
  .pactions { flex-direction: column; }
  .modal-inner { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
