/* ================================================
   WE STORE — Premium Glass Design System
   westore.co.in
   ================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700;800&family=Hind:wght@300;400;500;600&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --gold:       #f59e0b;
  --gold-d:     #d97706;
  --gold-light: #fef3c7;
  --green:      #16a34a;
  --green-d:    #15803d;
  --red:        #dc2626;
  --purple:     #7c3aed;
  --purp-l:     #a855f7;
  --purp-bg:    #f5f3ff;
  --teal:       #0891b2;
  --blue:       #2563eb;

  /* Light theme */
  --bg:         #f3f4f6;
  --bg2:        #ffffff;
  --bg3:        #f9fafb;
  --card:       #ffffff;
  --border:     #e5e7eb;
  --border2:    #d1d5db;
  --txt:        #111827;
  --txt2:       #6b7280;
  --txt3:       #9ca3af;

  /* Glass */
  --g-dark:     #0f0a1e;
  --g-dark2:    #1a0533;
  --g-border:   rgba(255,255,255,0.15);
  --g-bg:       rgba(255,255,255,0.07);
  --g-bg2:      rgba(255,255,255,0.12);

  /* Shadows */
  --sh:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --sh2:  0 4px 16px rgba(0,0,0,0.10);
  --sh3:  0 10px 40px rgba(0,0,0,0.14);
  --sh-g: 0 0 24px rgba(245,158,11,0.2);

  /* Radius */
  --r:    8px;
  --r2:   12px;
  --r3:   16px;
  --r4:   20px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; width: 100%; }
body {
  font-family: 'Hind', system-ui, sans-serif;
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
table { max-width: 100%; }
.wrap, .wrap-sm, .wrap-md { overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Baloo 2', cursive; font-weight: 700; line-height: 1.25; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── TOPBAR ── */
.topbar {
  background: #1e1b4b;
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar a { color: rgba(255,255,255,0.65); }
.topbar a:hover { color: var(--gold); }

/* ── HEADER ── */
/* ── STICKY HEADER WRAP — header + navbar dono scroll pe fixed ── */
.sticky-header-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
}

header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.hdr {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.logo {
  font-family: 'Baloo 2', cursive;
  font-size: 24px;
  font-weight: 800;
  color: var(--txt);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: var(--gold); }

/* Search */
.search-form {
  flex: 1;
  min-width: 180px;
  max-width: 440px;
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  background: var(--bg3);
  transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--purple); }
.search-form input {
  flex: 1;
  padding: 9px 14px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--txt);
}
.search-form button {
  padding: 0 16px;
  background: var(--gold);
  border: none;
  font-size: 16px;
  transition: background .2s;
}
.search-form button:hover { background: var(--gold-d); }

/* Header Actions */
.hdr-right {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-wrap: nowrap;
  overflow: hidden;
}
.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--green);
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
}
.wallet-pill:hover { background: var(--green-d); }
.hdr-btn {
  padding: 6px 12px;
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  background: var(--bg2);
  color: var(--txt);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.hdr-btn:hover, .hdr-btn.on { background: var(--purp-bg); border-color: var(--purple); color: var(--purple); }
.hdr-btn.fill { background: var(--purple); color: #fff; border-color: var(--purple); }
.hdr-btn.fill:hover { background: var(--purp-l); border-color: var(--purp-l); }
.user-greet { display: none; } /* mobile pe hide — space bachao */

/* ── NAVBAR — header ke andar hai, header ke saath stick karta hai ── */
.navbar { background: var(--purple); }
.nb { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; overflow-x: auto; }
.nb a {
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all .2s;
  display: block;
}
.nb a:hover, .nb a.on { color: #fff; border-bottom-color: var(--gold); }

/* ── HERO SLIDER — pure image, NO cropping, dynamic multi-image ── */
.hero-slider{position:relative;width:100%;overflow:hidden;background:#0f0a1e;transition:height .3s ease}
.hero-track{display:flex;transition:transform .5s ease}
.hero-slide{flex:0 0 100%;width:100%}
.hero-slide img{width:100%;height:auto;display:block;object-fit:contain}
.hero-nav{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.4);color:#fff;border:none;width:36px;height:36px;border-radius:50%;font-size:20px;z-index:5;display:flex;align-items:center;justify-content:center;cursor:pointer}
.hero-nav.prev{left:10px}.hero-nav.next{right:10px}
.hero-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:5}
.hero-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.5);border:none;cursor:pointer;padding:0}
.hero-dot.active{background:#fff;width:20px;border-radius:4px}
@media (max-width:768px){ .hero-nav{width:30px;height:30px;font-size:16px} }

/* ── PROMO BANNER ── */
.promo-banner {
  background: linear-gradient(90deg, #1e1b4b, #3730a3);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}
.promo-banner b { color: var(--gold); }
.promo-banner a { background: var(--gold); color: #000; padding: 6px 16px; border-radius: var(--r); font-size: 13px; font-weight: 700; }

/* ── LAYOUT ── */
main { min-height: calc(100vh - 280px); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 28px 20px; }
.wrap-sm { max-width: 540px; margin: 0 auto; padding: 28px 20px; }
.wrap-md { max-width: 820px; margin: 0 auto; padding: 28px 20px; }
.pg-title { font-size: 26px; margin-bottom: 4px; }
.pg-sub   { color: var(--txt2); font-size: 14px; margin-bottom: 22px; }
.section-gap { margin-bottom: 40px; }

/* ── FLASH ── */
.flash {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.flash button { background: none; border: none; font-size: 18px; opacity: .6; line-height: 1; }
.flash button:hover { opacity: 1; }
.flash-success { background: #dcfce7; color: #166534; border-left: 4px solid var(--green); }
.flash-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--red); }
.flash-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid var(--teal); }
.flash-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--gold); }

/* ── HOW IT WORKS ── */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.how-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--sh);
  transition: transform .2s, box-shadow .2s;
}
.how-card:hover { transform: translateY(-3px); box-shadow: var(--sh2); }
.how-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--purple); color: #fff;
  font-family: 'Baloo 2', cursive; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.how-card h4 { font-size: 14px; margin-bottom: 6px; }
.how-card p  { font-size: 12px; color: var(--txt2); line-height: 1.5; }

/* ── SECTION HEADER ── */
.sec-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.sec-title { font-size: 22px; }
.sec-link  { font-size: 13px; color: var(--purple); font-weight: 600; }
.sec-link:hover { text-decoration: underline; }

/* ── CATEGORY PILLS ── */
.cat-row { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; }
.cat-pill {
  padding: 7px 16px; border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--bg2);
  font-size: 13px; font-weight: 600;
  color: var(--txt2);
  white-space: nowrap; flex-shrink: 0;
  transition: all .2s;
}
.cat-pill:hover, .cat-pill.on { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ── COUPON CARDS ── */
.coupon-grid, .voucher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.coup-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r3);
  overflow: hidden;
  box-shadow: var(--sh);
  transition: all .22s;
  display: flex;
  flex-direction: column;
}
.coup-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--sh-g); }
.coup-img {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  position: relative;
  flex-shrink: 0;
}
.coup-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 6px;
}
.b-hot { background: #ef4444; color: #fff; }
.b-new { background: #10b981; color: #fff; }
.coup-stock {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.45); color: #fff;
  font-size: 11px; padding: 3px 8px; border-radius: 6px; font-weight: 600;
}
.coup-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.coup-name { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.coup-cat  { font-size: 11px; color: var(--txt3); background: var(--bg3); padding: 2px 8px; border-radius: 10px; display: inline-block; margin-bottom: 8px; }
.coup-range { font-size: 13px; color: var(--txt2); margin-bottom: 14px; flex: 1; }
.coup-range b { color: var(--green); font-weight: 700; }
.coup-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.coup-price { font-family: 'Baloo 2', cursive; font-size: 24px; font-weight: 800; color: var(--purple); }
.coup-price small { font-size: 12px; font-weight: 400; color: var(--txt3); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 20px; border-radius: var(--r); border: none;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all .2s; white-space: nowrap;
  font-family: 'Hind', sans-serif;
}
.btn-sm  { padding: 6px 14px; font-size: 13px; }
.btn-lg  { padding: 13px 28px; font-size: 16px; }
.btn-xl  { padding: 15px 34px; font-size: 17px; font-family: 'Baloo 2', cursive; }
.btn-block { width: 100%; }
.btn-gold   { background: var(--gold);   color: #000; }
.btn-gold:hover   { background: var(--gold-d); transform: translateY(-1px); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purp-l); }
.btn-green  { background: var(--green);  color: #fff; }
.btn-green:hover  { background: var(--green-d); }
.btn-red    { background: var(--red);    color: #fff; }
.btn-red:hover    { background: #b91c1c; }
.btn-teal   { background: var(--teal);   color: #fff; }
.btn-outline { background: transparent; color: var(--txt); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); background: var(--purp-bg); }
.btn-ghost  { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover  { background: rgba(255,255,255,0.18); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.btn-hero { display: inline-block; padding: 13px 28px; background: var(--gold); color: #000; border-radius: var(--r2); font-family: 'Baloo 2', cursive; font-size: 17px; font-weight: 700; transition: all .2s; border: none; }
.btn-hero:hover { background: var(--gold-d); transform: translateY(-2px); box-shadow: var(--sh-g); }

/* ── CARDS / FORMS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 28px;
  box-shadow: var(--sh);
}
.card h2 { font-size: 26px; margin-bottom: 4px; }
.card .sub { color: var(--txt2); font-size: 14px; margin-bottom: 22px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 13px; color: var(--txt2); margin-bottom: 5px; font-weight: 600; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 10px 14px;
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: var(--r); color: var(--txt);
  font-size: 15px; outline: none; transition: border-color .2s;
  font-family: 'Hind', sans-serif;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--purple); background: var(--bg2); }
.fg textarea { resize: vertical; min-height: 80px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-hint { font-size: 12px; color: var(--txt3); margin-top: 4px; }
.form-link { text-align: center; margin-top: 14px; font-size: 14px; color: var(--txt2); }
.form-link a { color: var(--purple); font-weight: 600; }
.form-link a:hover { text-decoration: underline; }
.input-group { display: flex; gap: 0; }
.input-group input { border-radius: var(--r) 0 0 var(--r); flex: 1; }
.input-group button { border-radius: 0 var(--r) var(--r) 0; }

/* ── STAT CARDS ── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-grid > * { min-width: 0; }
.contact-grid > * { min-width: 0; }
.contact-grid a, .contact-grid p, .contact-grid span { word-break: break-word; overflow-wrap: break-word; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr !important; } }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r3); padding: 20px; box-shadow: var(--sh); }
.stat-ico  { font-size: 30px; margin-bottom: 10px; }
.stat-val  { font-family: 'Baloo 2', cursive; font-size: 30px; font-weight: 800; }
.stat-val.gr { color: var(--green); }
.stat-val.pu { color: var(--purple); }
.stat-val.go { color: var(--gold-d); }
.stat-val.re { color: var(--red); }
.stat-val.te { color: var(--teal); }
.stat-lbl  { font-size: 13px; color: var(--txt2); font-weight: 500; margin-top: 3px; }

/* ── PRODUCT CARDS ── */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.prod-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--r3); overflow: hidden; box-shadow: var(--sh);
  transition: all .22s; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: var(--sh2); }
.prod-img  { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 58px; background: #f0fdf4; flex-shrink: 0; }
.prod-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.prod-name { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.prod-desc { font-size: 12px; color: var(--txt3); margin-bottom: 6px; }
.prod-cat  { font-size: 11px; color: var(--txt3); background: var(--bg3); padding: 2px 8px; border-radius: 10px; display: inline-block; margin-bottom: 8px; }
.prod-val  { font-family: 'Baloo 2', cursive; font-size: 26px; font-weight: 800; color: var(--green); }
.prod-stk  { font-size: 12px; color: var(--txt3); margin: 4px 0 12px; }

/* ── TABLES ── */
.tbl-wrap  { overflow-x: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--r3); box-shadow: var(--sh); }
table      { width: 100%; border-collapse: collapse; }
th, td     { padding: 11px 15px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--border); }
th         { color: var(--txt2); font-weight: 600; background: var(--bg3); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg3); }

/* ── BADGES ── */
.bdg       { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.bdg-g     { background: #dcfce7; color: #166534; }
.bdg-y     { background: #fef3c7; color: #92400e; }
.bdg-p     { background: #ede9fe; color: #5b21b6; }
.bdg-r     { background: #fee2e2; color: #991b1b; }
.bdg-b     { background: #dbeafe; color: #1e40af; }
.bdg-t     { background: #cffafe; color: #164e63; }

/* ── ALERTS ── */
.alert     { padding: 13px 18px; border-radius: var(--r2); font-size: 14px; margin-bottom: 18px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; word-break: break-word; overflow-wrap: break-word; }
.alert > *:last-child { min-width: 0; flex: 1; }
.alert-s   { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-e   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-i   { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.alert-w   { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

/* ── EMPTY STATE ── */
.empty     { text-align: center; padding: 48px 20px; color: var(--txt2); }
.empty .ei { font-size: 52px; margin-bottom: 14px; }
.empty h3  { font-size: 20px; margin-bottom: 8px; color: var(--txt); }
.empty p   { font-size: 14px; }
.no-match  { background: #fffbeb; border: 1.5px dashed var(--gold); border-radius: var(--r3); padding: 32px; text-align: center; }
.no-match .big { font-size: 48px; margin-bottom: 12px; }
.no-match h4   { font-size: 18px; margin-bottom: 8px; }
.no-match p    { font-size: 14px; color: var(--txt2); margin-bottom: 16px; }

/* ── SCRATCH CARD ── */
.scratch-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--r3); padding: 26px; box-shadow: var(--sh); }
.scratch-wrap {
  width: 100%; max-width: 420px; height: 200px;
  border-radius: var(--r3); position: relative; overflow: hidden;
  margin: 14px auto; background: #1a1a2e; cursor: crosshair;
  border: 1px solid rgba(255,255,255,0.08);
}
.scratch-reveal {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.scratch-amt { font-family: 'Baloo 2', cursive; font-size: 62px; font-weight: 800; color: var(--gold); }
.scratch-lbl { font-size: 14px; color: rgba(255,255,255,.6); }
.scratch-win { font-size: 13px; color: #4ade80; font-weight: 600; }
#sc          { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.scratch-prog { font-size: 13px; color: var(--txt2); text-align: center; margin-top: 8px; min-height: 20px; }

/* ── WALLET HERO ── */
.wallet-hero { background: linear-gradient(135deg, #2e1065, #7c3aed); color: #fff; border-radius: var(--r3); padding: 26px; }
.wallet-hero .lbl  { font-size: 13px; opacity: .75; margin-bottom: 4px; }
.wallet-hero .amt  { font-family: 'Baloo 2', cursive; font-size: 50px; font-weight: 800; line-height: 1; }
.wallet-hero .sub  { font-size: 13px; opacity: .7; margin-top: 6px; }

/* ── MODAL ── */
.modal-bg  { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 500; align-items: center; justify-content: center; padding: 16px; }
.modal-bg.open { display: flex; }
.modal     { background: var(--bg2); border-radius: var(--r4); width: 100%; max-width: 500px; padding: 30px; position: relative; box-shadow: var(--sh3); max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--bg3); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 17px; display: flex; align-items: center; justify-content: center; color: var(--txt2); }
.modal-close:hover { background: var(--border); color: var(--txt); }

/* ── ORDER TRACKER ── */
.tracker  { display: flex; align-items: center; overflow-x: auto; padding: 12px 0; }
.tr-step  { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; min-width: 70px; }
.tr-dot   { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.tr-step.done .tr-dot { background: var(--green); border-color: var(--green); color: #fff; }
.tr-step.cur  .tr-dot { background: var(--purple); border-color: var(--purple); color: #fff; }
.tr-lbl   { font-size: 11px; color: var(--txt2); text-align: center; }
.tr-step.done .tr-lbl, .tr-step.cur .tr-lbl { color: var(--txt); font-weight: 600; }
.tr-line  { flex: 1; height: 2px; background: var(--border); }
.tr-line.done { background: var(--green); }

/* ── PAGINATION ── */
.pager    { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.pg-btn   { padding: 7px 14px; border-radius: var(--r); border: 1.5px solid var(--border); background: var(--bg2); font-size: 13px; font-weight: 600; color: var(--txt2); transition: all .2s; }
.pg-btn:hover, .pg-btn.active { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ── TOAST ── */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px); background: #1e1b4b; color: #fff; border-radius: var(--r2); padding: 13px 24px; font-size: 14px; z-index: 9999; transition: transform .3s; white-space: nowrap; box-shadow: 0 4px 24px rgba(0,0,0,.3); max-width: 90vw; }
.toast.on  { transform: translateX(-50%) translateY(0); }
.toast.s   { background: #166534; }
.toast.e   { background: #991b1b; }
.toast.i   { background: #1e40af; }

/* ── FOOTER ── */
footer { background: #1e1b4b; color: rgba(255,255,255,.6); margin-top: 52px; }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 48px 20px 32px; display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { font-family: 'Baloo 2', cursive; font-size: 26px; font-weight: 800; color: #fff; display: block; margin-bottom: 10px; }
.footer-logo span { color: var(--gold); }
.footer-grid p { font-size: 14px; line-height: 1.65; max-width: 280px; }
.footer-grid h4 { font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer-grid a  { display: block; font-size: 13px; margin-bottom: 8px; transition: color .2s; }
.footer-grid a:hover { color: var(--gold); }
.social-links { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-link  { width: 36px; height: 36px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all .2s; }
.social-link:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input { flex: 1; padding: 9px 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r); color: #fff; font-size: 13px; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form button { background: var(--gold); color: #000; border: none; padding: 9px 14px; border-radius: var(--r); font-size: 13px; font-weight: 700; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.footer-bottom a { font-size: 12px; }
.footer-bottom a:hover { color: var(--gold); }

/* ── ADMIN ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: #1e1b4b; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.a-logo { padding: 20px 18px; font-family: 'Baloo 2', cursive; font-size: 22px; font-weight: 800; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.a-logo span { color: var(--gold); }
.a-logo small { display: block; font-family: 'Hind', sans-serif; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.4); margin-top: 2px; }
.a-nav-section { padding: 12px 18px 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: rgba(255,255,255,.3); font-weight: 600; }
.a-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 13px; color: rgba(255,255,255,.65); transition: all .2s; border-left: 3px solid transparent; }
.a-nav-item:hover, .a-nav-item.on { background: rgba(255,255,255,.08); color: #fff; border-left-color: var(--gold); }
.a-nav-item .icon { font-size: 17px; width: 20px; text-align: center; }
.a-badge { margin-left: auto; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.admin-main { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--sh); position: sticky; top: 0; z-index: 100; }
.admin-content { padding: 24px; overflow-y: auto; flex: 1; }
.a-page-title { font-size: 22px; margin-bottom: 4px; }
.a-page-sub   { color: var(--txt2); font-size: 14px; margin-bottom: 22px; }
.a-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r3); padding: 22px; box-shadow: var(--sh); margin-bottom: 22px; }
.a-card h3 { font-size: 17px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .admin-sidebar { width: 200px; }
}
@media (max-width: 768px) {
  .slide { padding: 32px 20px; flex-direction: column; text-align: center; }
  .slide-coin { font-size: 68px; }
  .slide-content h1 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .row2, .row3 { grid-template-columns: 1fr; }
  /* Header — ek hi row, nowrap */
  .hdr { flex-wrap: nowrap; gap: 8px; padding: 8px 12px; }
  .hdr-right { gap: 5px; flex-wrap: nowrap; }
  .logo { font-size: 20px; }
  .wallet-pill { padding: 5px 8px; font-size: 11px; gap: 3px; }
  .hdr-btn { padding: 6px 9px; font-size: 12px; }
  .user-greet { display: none; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .a-nav-item { padding: 8px 14px; }
  .cart-layout { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .topbar { display: none; }
  .coupon-grid, .voucher-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .coup-img, .prod-img { height: 100px; font-size: 40px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .modal { padding: 20px; }
  .wrap { padding: 16px 14px; }
  .wallet-tab-btn { flex: 1 1 calc(50% - 5px); text-align: center; white-space: normal; font-size: 13px; padding: 10px 8px; }
  .cart-layout { grid-template-columns: 1fr !important; }
  .alert { font-size: 13px; }
}
