/* ============================================================
   MOBILA — Clean CSS
   Author: cleaned & consolidated
   Structure:
     1. Tokens & Reset
     2. Topbar
     3. Nav
     4. Category Nav
     5. Ticker
     6. Hero
     7. Quick Links
     8. Layout (Main + Sidebar)
     9. Products Section
    10. Banners
    11. Carousels
    12. Product Cards
    13. Products Grid
    14. Features Strip
    15. Footer
    16. Toast
    17. Modals (Product / EMI / Store)
    18. Cart & Wishlist Panels
    19. Utilities
    20. Responsive (Tablet → Mobile → Small)
   ============================================================ */


/* ============================================================
   1. TOKENS & RESET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Fonts */
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Backgrounds */
  --bg:      #F5F7FB;
  --bg2:     #EEF2F7;
  --bg3:     #E2E8F0;

  /* Surfaces */
  --surface:  #FFFFFF;
  --surface2: #FCFCFD;

  /* Text */
  --text:  #0F172A;
  --text2: #334155;
  --text3: #64748B;
  --text4: #94A3B8;

  /* Brand */
  --accent:       #FF5A1F;
  --accent2:      #FF7A45;
  --accent-light: rgba(255, 90, 31, 0.08);

  /* Status */
  --green:       #16A34A;
  --green-light: rgba(22, 163, 74, 0.10);
  --red:         #DC2626;

  /* Extra */
  --gold: #F5B301;
  --cyan: #0EA5E9;

  /* Borders */
  --border:  rgba(15, 23, 42, 0.06);
  --border2: rgba(15, 23, 42, 0.12);

  /* Radii */
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05), 0 1px 3px rgba(15,23,42,0.08);
  --shadow:    0 4px 12px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg: 0 12px 32px rgba(15,23,42,0.12), 0 4px 10px rgba(15,23,42,0.06);
  --shadow-xl: 0 24px 64px rgba(15,23,42,0.16);

  /* Transition */
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { cursor: pointer; text-decoration: none; color: inherit; }

::-webkit-scrollbar       { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text4); }


/* ============================================================
   2. TOPBAR
   ============================================================ */

.topbar {
  background: #EC4F1B;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.85);
}

.topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-left .sep { opacity: 0.3; margin: 0 6px; }

.topbar-right { display: flex; align-items: center; }

.topbar-right a {
  padding: 2px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11.5px;
  white-space: nowrap;
  transition: color 0.2s;
}
.topbar-right a:last-child { border-right: none; }
.topbar-right a:hover { color: #fff; }


/* ============================================================
   3. NAV
   ============================================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.nav-logo {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text);
}
.nav-logo span { color: var(--accent); }

/* Search */
.nav-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.nav-search input {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 10px 48px 10px 20px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}
.nav-search input:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.10);
}
.nav-search input::placeholder { color: var(--text4); }

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  border-radius: 99px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, transform 0.15s;
}
.search-btn:hover {
  background: var(--accent2);
  transform: translateY(-50%) scale(1.05);
}

/* Search dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  z-index: 999;
}
.search-dropdown.show { display: block; }

.search-item {
  padding: 11px 18px;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--bg2); }
.search-item-brand {
  font-size: 10px;
  color: var(--text3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.search-item-price {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.nav-action:hover { background: var(--bg2); }
.nav-action .icon  { font-size: 19px; line-height: 1; }
.nav-action .label { font-size: 10.5px; color: var(--text3); font-weight: 600; letter-spacing: 0.2px; }

/* Cart badge */
.cart-badge .badge {
  position: absolute;
  top: 4px;
  right: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transform: scale(0);
  transition: transform 0.25s var(--transition);
}
.cart-badge .badge.visible { transform: scale(1); }


/* ============================================================
   4. CATEGORY NAV
   ============================================================ */

.cat-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 800;
}

.cat-nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-link {
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text3);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  display: block;
  letter-spacing: 0.1px;
}
.cat-link:hover  { color: var(--text); }
.cat-link.active { color: var(--accent); border-bottom-color: var(--accent); }


/* ============================================================
   5. TICKER
   ============================================================ */

.ticker-wrap {
  background: #4F46E5;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 0 30px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================================
   6. HERO
   ============================================================ */

.hero-wrap {
  display: flex !important; /* never let JS collapse this to none */
  width: 100%;
  height: 420px;
  min-height: 420px;
  flex-shrink: 0;
}

/* --- Main banner --- */
.hero-main {
  flex: 1;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  position: relative;
}

.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  padding: 0 52px;
  gap: 30px;
}
.hero-slide.active { display: flex; }

/* Slide backgrounds */
.hs-1 { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #38bdf8 100%); }
.hs-2 { background: linear-gradient(135deg, #1a0f2e 0%, #5b21b6 45%, #c084fc 100%); }
.hs-3 { background: linear-gradient(135deg, #3b0a0a 0%, #dc2626 45%, #f59e0b 100%); }

/* Hero tag pill */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 22px;
}
.hero-tag .tag-icon {
  width: 18px;
  height: 18px;
  background: rgba(109, 94, 247, 0.6);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* Hero text */
.hero-content {
  flex: 1;
  max-width: 480px;
  z-index: 2;
}

.hero-content h2 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.hero-content h2 em {
  color: #FFD580;
  font-style: italic;
  display: block;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  margin: 14px 0 28px;
  line-height: 1.7;
  max-width: 340px;
}

.hero-btns { display: flex; gap: 14px; align-items: center; }

.btn-primary {
  background: linear-gradient(135deg, #6d5ef7, #4f46e5);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
  padding: 11px 28px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); }

/* Hero image */
.hero-image {
  width: 260px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}
.hero-image img {
  max-height: 380px;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.55));
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Arrows */
.hero-arrows {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}
.arr-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.arr-btn:hover { background: rgba(255, 255, 255, 0.25); }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 52px;
  display: flex;
  gap: 7px;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.hero-dot.active { background: #7c6ffa; width: 26px; }

/* --- Side cards --- */
.hero-side {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.side-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease;
}
.side-card:hover { transform: scale(1.02); }
.side-card:first-child { border-radius: 0 14px 0 0; }
.side-card:last-child  { border-radius: 0 0 14px 0; }

/* Glow orb */
.side-card::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  top: -50px;
  right: -40px;
  pointer-events: none;
}

.side-card.emi      { background: linear-gradient(160deg, #4f46e5 0%, #3b82f6 55%, #22d3ee 100%); }
.side-card.exchange { background: linear-gradient(160deg, #7c3aed 0%, #a855f7 55%, #ec4899 100%); }

.sc-row { display: flex; justify-content: space-between; align-items: flex-start; }
.sc-label { color: rgba(255, 255, 255, 0.90); font-size: 13px; font-weight: 700; }
.sc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.sc-price {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 10px;
}
.sc-sub {
  display: block;
  color: rgba(255, 255, 255, 0.70);
  font-size: 11.5px;
  margin-top: 4px;
  margin-bottom: 14px;
}
.sc-btn {
  height: 38px;
  padding: 0 20px;
  border: none;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}
.sc-btn:hover { background: #fff; color: #111827; }


/* ============================================================
   7. QUICK LINKS
   ============================================================ */

.quick-links {
  max-width: 1440px;
  margin: 20px auto 0;
  padding: 0 32px;
}

.ql-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}
.ql-inner::-webkit-scrollbar { display: none; }

.ql-item {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text2);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.ql-item:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.25);
}
.ql-item .ql-icon { font-size: 14px; }


/* ============================================================
   8. LAYOUT — MAIN + SIDEBAR
   ============================================================ */

.main {
  max-width: 1440px;
  margin: 28px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.widget-head {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text3);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.widget-list { list-style: none; }
.widget-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  transition: all 0.15s;
  cursor: pointer;
}
.widget-list li:last-child a { border-bottom: none; }
.widget-list li a:hover,
.widget-list li a.active {
  color: var(--accent);
  background: var(--accent-light);
  padding-left: 20px;
}
.widget-list li a span {
  font-size: 11px;
  color: var(--text4);
  font-weight: 500;
}

/* Brand grid */
.brand-grid { padding: 12px; display: flex; flex-wrap: wrap; gap: 7px; }

.brand-btn {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text2);
  padding: 5px 13px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.brand-btn:hover,
.brand-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Price filter */
.price-filter { padding: 14px 16px; }
.price-filter label {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 10px;
  display: block;
  font-weight: 500;
}
.price-filter input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 99px;
  background: var(--bg3);
  outline: none;
  margin: 8px 0;
  cursor: pointer;
}
.price-filter input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.15);
}
.price-range-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px;
}
.price-range-labels strong { color: var(--accent); font-size: 13px; font-weight: 700; }


/* ============================================================
   9. PRODUCTS SECTION (wrapper)
   ============================================================ */

.products-section { display: flex; flex-direction: column; gap: 28px; }

/* Section header */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sec-title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
}
.sec-viewall {
  background: transparent;
  border: 1.5px solid var(--border2);
  color: var(--text3);
  padding: 7px 16px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sec-viewall:hover { border-color: var(--accent); color: var(--accent); }


/* ============================================================
   10. BANNERS
   ============================================================ */

.banner-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.banner-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.banner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.banner-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.banner-card h3 em { color: #FFD580; font-style: italic; }
.banner-card p { font-size: 12px; color: rgba(255, 255, 255, 0.60); margin-top: 4px; }
.banner-emoji { font-size: 50px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); flex-shrink: 0; }


/* ============================================================
   11. CAROUSELS
   ============================================================ */

.carousel-wrap { position: relative; }
.carousel-outer { overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 14px;
  padding: 4px 2px 8px;
  transition: transform 0.4s var(--transition);
}

/* Brand carousel */
.brand-carousel-outer { overflow: hidden; }
.brand-carousel-track {
  display: flex;
  gap: 10px;
  padding: 4px 2px 8px;
  transition: transform 0.4s var(--transition);
}

.brand-card {
  min-width: 108px;
  height: 58px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text2);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.brand-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Arrow buttons */
.carousel-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border2);
  color: var(--text);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.carousel-arrow-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.30);
}
.carousel-arrow-btn.prev { left: -18px; }
.carousel-arrow-btn.next { right: -18px; }

/* Dots */
.carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.c-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--bg3);
  cursor: pointer;
  transition: all 0.3s;
}
.c-dot.active { width: 22px; background: var(--accent); }


/* ============================================================
   12. PRODUCT CARDS
   ============================================================ */

.product-card {
  min-width: 198px;
  background: linear-gradient(to bottom, #ffffff, #fbfcfe);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--transition);
}
.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}
.product-card:hover .card-actions { opacity: 1; transform: translateY(0); }

/* Badges */
.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}
.card-badge.new    { background: var(--cyan); }
.card-badge.gold   { background: var(--gold); }
.card-badge.gaming { background: #7C3AED; }

/* Wishlist button */
.card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  color: var(--text3);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.card-wishlist:hover { border-color: var(--accent); color: var(--accent); }
.card-wishlist.active { background: #FEF2F2; border-color: var(--red); color: var(--red); }

/* Image area */
.card-img {
  width: 100%;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s var(--transition);
}
.product-card:hover .card-img { transform: scale(1.08); }
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Body */
.card-body { padding: 14px 14px 10px; }
.card-brand {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text4);
  margin-bottom: 3px;
}
.card-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.3;
}
.card-spec {
  font-size: 11px;
  color: var(--text3);
  margin-bottom: 10px;
  line-height: 1.5;
}
.card-price {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.card-price-now {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.card-price-old {
  font-size: 11.5px;
  color: var(--text4);
  text-decoration: line-through;
}
.card-price-off {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 2px 7px;
  border-radius: 99px;
}
.card-emi { font-size: 10.5px; color: var(--text3); margin-top: 4px; }
.card-emi span { color: var(--cyan); font-weight: 700; }

/* Actions */
.card-actions {
  padding: 0 14px 13px;
  display: flex;
  gap: 7px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s var(--transition);
}
.btn-cart {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cart:hover { background: var(--accent2); transform: scale(1.02); }

.btn-view {
  background: var(--bg2);
  color: var(--text2);
  border: 1.5px solid var(--border2);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-view:hover { border-color: var(--accent); color: var(--accent); }


/* ============================================================
   13. PRODUCTS GRID (all-products view)
   ============================================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.products-grid .product-card { min-width: unset; }
.products-grid .card-actions { opacity: 1; transform: none; }

.products-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.products-count { font-size: 13.5px; color: var(--text3); font-weight: 500; }
.products-count strong { color: var(--text); font-weight: 700; }

.sort-select {
  background: var(--surface);
  border: 1.5px solid var(--border2);
  color: var(--text2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--accent); }

.load-more-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--border2);
  color: var(--text2);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s;
}
.load-more-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* No results */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  color: var(--text3);
  gap: 10px;
  text-align: center;
}
.no-results .nr-icon { font-size: 52px; opacity: 0.35; }
.no-results h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text2);
}


/* ============================================================
   14. FEATURES STRIP
   ============================================================ */

.features-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
  box-shadow: var(--shadow-sm);
}
.features-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--bg2); }
.feature-icon  { font-size: 28px; flex-shrink: 0; }
.feature-title { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.feature-sub   { font-size: 11.5px; color: var(--text3); }


/* ============================================================
   15. FOOTER
   ============================================================ */

footer { background: var(--text); color: rgba(255, 255, 255, 0.85); }

.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  padding: 52px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-logo-f {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  cursor: pointer;
  margin-bottom: 14px;
}
.footer-logo-f span { color: var(--accent2); }

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 22px;
}

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s;
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.60);
  cursor: pointer;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: rgba(255, 255, 255, 0.35); }
.footer-bottom p a { color: rgba(255, 255, 255, 0.50); transition: color 0.2s; }
.footer-bottom p a:hover { color: #fff; }

.payment-icons { display: flex; gap: 7px; }
.payment-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.60);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}
.payment-icon:hover { border-color: var(--accent2); color: #fff; }


/* ============================================================
   16. TOAST
   ============================================================ */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text);
  color: #fff;
  padding: 13px 24px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-xl);
  transition: all 0.35s var(--transition);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }


/* ============================================================
   17. MODALS
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }

.modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.96) translateY(20px);
  transition: transform 0.3s var(--transition);
}
.modal-overlay.show .modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--text3);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Product modal */
.modal-img {
  width: 100%;
  height: 200px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.modal-img img { width: 100%; height: 200px; object-fit: contain; }

.modal-body { padding: 24px; }
.modal-brand {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text4);
  margin-bottom: 6px;
}
.modal-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}
.modal-spec { font-size: 13px; color: var(--text2); margin-bottom: 18px; line-height: 1.7; }
.modal-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.modal-price-now { font-family: var(--font-head); font-size: 28px; font-weight: 800; }
.modal-price-old { font-size: 16px; color: var(--text4); text-decoration: line-through; }
.modal-price-off {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 99px;
}
.modal-actions { display: flex; gap: 10px; }

.modal-btn-cart {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-btn-cart:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 90, 31, 0.35);
}
.modal-btn-wish {
  background: transparent;
  color: var(--text2);
  border: 1.5px solid var(--border2);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-btn-wish:hover        { border-color: var(--red); color: var(--red); }
.modal-btn-wish.active       { background: #FEF2F2; border-color: var(--red); color: var(--red); }

/* EMI modal */
.emi-modal-body { padding: 28px; }
.emi-modal-body h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.emi-input {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.emi-input:focus { border-color: var(--accent); background: var(--surface); }

.emi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.emi-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}
.emi-month  { font-size: 11px; color: var(--text3); margin-bottom: 5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.emi-amount { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--accent); }
.emi-label  { font-size: 10px; color: var(--text4); margin-top: 4px; font-weight: 500; }

/* Store modal */
.store-search-input {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.store-search-input:focus { border-color: var(--accent); background: var(--surface); }

.store-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.store-card:hover { border-color: var(--accent); background: var(--surface); }
.store-name { font-size: 13.5px; font-weight: 700; margin-bottom: 3px; }
.store-addr { font-size: 12px; color: var(--text3); margin-bottom: 8px; }
.store-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.store-tag {
  font-size: 10.5px;
  padding: 2px 10px;
  border-radius: 99px;
  background: rgba(14, 165, 233, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(14, 165, 233, 0.20);
  font-weight: 600;
}
.store-tag.open {
  background: rgba(22, 163, 74, 0.08);
  color: var(--green);
  border-color: rgba(22, 163, 74, 0.25);
}


/* ============================================================
   18. CART & WISHLIST PANELS
   ============================================================ */

/* Overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.show { opacity: 1; pointer-events: all; }

/* Shared panel base */
.cart-panel,
.wishlist-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-left: 1px solid var(--border2);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--transition);
}
.cart-panel    { width: 400px; box-shadow: -12px 0 48px rgba(0,0,0,0.12); }
.wishlist-panel{ width: 380px; box-shadow: -12px 0 48px rgba(0,0,0,0.10); }

.cart-panel.show,
.wishlist-panel.show { transform: translateX(0); }

.cart-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg2);
}
.cart-header h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; }

.cart-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border2);
  color: var(--text3);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.cart-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.cart-items     { flex: 1; overflow-y: auto; padding: 14px; }
.wishlist-items { flex: 1; overflow-y: auto; padding: 14px; }

/* Empty state */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
  color: var(--text3);
}
.cart-empty-icon { font-size: 56px; opacity: 0.3; }
.cart-empty p { font-size: 14.5px; font-weight: 500; }

/* Cart item */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 13px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  position: relative;
}
.cart-item-img  { font-size: 42px; min-width: 42px; line-height: 1; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-brand { font-size: 10.5px; color: var(--text3); margin-bottom: 5px; font-weight: 500; }
.cart-item-price { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--accent); }

/* Qty controls */
.cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border2);
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.qty-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.qty-val { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }

.cart-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  color: var(--text4);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  transition: color 0.2s;
}
.cart-remove:hover { color: var(--red); }

/* Footer */
.cart-footer { padding: 16px 22px; border-top: 1px solid var(--border); background: var(--bg2); }
.cart-summary { margin-bottom: 14px; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 6px;
  font-weight: 500;
}
.cart-total-row.grand {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.checkout-btn {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.checkout-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.35);
}


/* ============================================================
   19. UTILITIES
   ============================================================ */

.section-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; }


/* ============================================================
   20. RESPONSIVE
   ============================================================ */

/* ── Tablet (769px – 1100px) ── */
@media (min-width: 769px) and (max-width: 1100px) {
  .main               { grid-template-columns: 210px 1fr; gap: 18px; padding: 0 20px; }
  .hero-main          { height: 380px; }
  .features-inner     { grid-template-columns: repeat(2, 1fr); }
  .footer-top         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .banner-strip       { grid-template-columns: 1fr 1fr; }
  .nav-inner          { padding: 0 20px; }
  .quick-links        { padding: 0 20px; }
  .card-actions       { opacity: 1; transform: none; }
  .mobile-bottom-nav  { display: none; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {

  body { padding-bottom: 60px; }

  /* Topbar */
  .topbar-inner { padding: 0 14px; }
  .topbar-left  { font-size: 10.5px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .topbar-left .sep,
  .topbar-left span:not(:first-child) { display: none; }
  .topbar-right a { font-size: 10px; padding: 2px 9px; }
  .topbar-right a:nth-child(3),
  .topbar-right a:nth-child(4) { display: none; }

  /* Nav */
  .nav-inner  { padding: 0 14px; height: 56px; gap: 10px; }
  .nav-logo   { font-size: 22px; }
  .nav-search { flex: 1; max-width: none; }
  .nav-search input { padding: 8px 38px 8px 14px; font-size: 13px; }
  .search-btn { width: 30px; height: 30px; font-size: 12px; }
  .nav-actions { gap: 0; margin-left: 0; }
  .nav-action  { padding: 6px 8px; }
  .nav-action .icon  { font-size: 18px; }
  .nav-action .label { font-size: 9px; }
  .nav-action:first-child,
  .nav-action:last-child { display: none; }
  .cart-badge .badge { top: 3px; right: 5px; min-width: 15px; height: 15px; font-size: 8.5px; }

  /* Cat nav */
  .cat-nav       { top: 56px; }
  .cat-nav-inner { padding: 0 10px; }
  .cat-link      { padding: 10px 12px; font-size: 12px; }

  /* Ticker */
  .ticker-wrap { height: 30px; }
  .ticker-item { font-size: 11px; padding: 0 16px; height: 30px; }

  /* Hero */
  .hero-wrap  { flex-direction: column !important; padding: 10px; gap: 10px; height: auto !important; min-height: unset; }
  .hero-main  { width: 100%; height: 360px; border-radius: 20px; order: 1; }
  .hero-slide { padding: 32px 24px 28px; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; }
  .hero-content { flex: unset; width: 100%; max-width: none; }
  .hero-tag   { font-size: 9.5px; padding: 4px 12px; margin-bottom: 12px; }
  .hero-content h2 { font-size: 30px; letter-spacing: -0.5px; }
  .hero-content h2 em { font-size: 26px; }
  .hero-content p { font-size: 11px; margin-bottom: 20px; max-width: none; }
  .hero-btns  { justify-content: center; flex-wrap: wrap; }
  .btn-primary { padding: 11px 22px; font-size: 13px; }
  .btn-ghost   { padding: 10px 18px; font-size: 13px; }
  .hero-image  { position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0.18; pointer-events: none; padding-right: 10px; }
  .hero-image img { max-height: 280px; max-width: 240px; animation: none; }
  .hero-arrows { display: none; }
  .hero-dots  { bottom: 14px; left: 50%; transform: translateX(-50%); }

  /* Side cards */
  .hero-side  { width: 100%; flex-direction: row; gap: 10px; padding-left: 0; order: 2; }
  .side-card  { flex: 1; border-radius: 18px; padding: 16px 14px; min-height: 140px; }
  .side-card:first-child,
  .side-card:last-child { border-radius: 18px; }
  .sc-label   { font-size: 12px; }
  .sc-price   { font-size: 20px; }
  .sc-sub     { font-size: 10.5px; }
  .sc-btn     { padding: 7px 14px; font-size: 12px; }
  .sc-icon    { width: 38px; height: 38px; font-size: 18px; }

  /* Quick links */
  .quick-links { margin: 14px auto 0; padding: 0 14px; }
  .ql-item { padding: 9px 14px; font-size: 12px; }

  /* Layout */
  .main    { margin: 16px auto 0; padding: 0 14px; display: block; }
  .sidebar { display: none; }
  .products-section { gap: 20px; }

  /* Banners */
  .banner-strip { grid-template-columns: 1fr; gap: 10px; }
  .banner-card  { padding: 18px 16px; border-radius: 16px; }
  .banner-card h3 { font-size: 15px; }
  .banner-emoji { font-size: 40px; }

  /* Section headers */
  .sec-title   { font-size: 18px; }
  .sec-viewall { padding: 6px 14px; font-size: 11.5px; }

  /* Carousels — native scroll on mobile */
  .carousel-outer,
  .brand-carousel-outer { overflow-x: auto; scrollbar-width: none; }
  .carousel-outer::-webkit-scrollbar,
  .brand-carousel-outer::-webkit-scrollbar { display: none; }
  .carousel-track,
  .brand-carousel-track {
    transform: none !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    user-select: none;
    -webkit-user-select: none;
  }
  .carousel-track::-webkit-scrollbar,
  .brand-carousel-track::-webkit-scrollbar { display: none; }
  .carousel-arrow-btn { display: none; }
  .carousel-dots { display: none; }

  .brand-card { min-width: 90px; height: 48px; font-size: 12px; border-radius: 12px; flex-shrink: 0; scroll-snap-align: start; }

  /* Product cards */
  .product-card  { min-width: 164px; border-radius: 18px; flex-shrink: 0; scroll-snap-align: start; }
  .card-img      { height: 130px; }
  .card-img img  { height: 130px; }
  .card-body     { padding: 12px 12px 8px; }
  .card-brand    { font-size: 9.5px; }
  .card-name     { font-size: 13px; }
  .card-spec     { font-size: 10.5px; margin-bottom: 8px; }
  .card-price-now { font-size: 15px; }
  .card-price-old { font-size: 10px; }
  .card-price-off { font-size: 9.5px; }
  .card-emi       { font-size: 10px; }
  .card-actions   { padding: 8px 12px 12px; gap: 6px; opacity: 1; transform: none; }
  .btn-cart, .btn-view { padding: 9px 10px; font-size: 11.5px; border-radius: 10px; }
  .card-badge     { font-size: 9px; padding: 2px 8px; }
  .card-wishlist  { width: 28px; height: 28px; font-size: 13px; }

  /* Grid */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid .product-card { min-width: unset; flex-shrink: unset; scroll-snap-align: unset; }
  .products-grid .card-img { height: 130px; }
  .sort-select { font-size: 12px; padding: 7px 12px; }

  /* Features */
  .features-strip { margin-top: 28px; }
  .features-inner { padding: 0 14px; grid-template-columns: 1fr 1fr; }
  .feature-item   { padding: 18px 10px; gap: 10px; }
  .feature-item:nth-child(2n) { border-right: none; }
  .feature-item:nth-child(3),
  .feature-item:nth-child(4) { border-top: 1px solid var(--border); }
  .feature-icon  { font-size: 24px; }
  .feature-title { font-size: 12px; }
  .feature-sub   { font-size: 10.5px; }

  /* Footer */
  .footer-top    { padding: 36px 16px 24px; grid-template-columns: 1fr; gap: 28px; }
  .footer-logo-f { font-size: 26px; }
  .footer-bottom { padding: 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .payment-icons { flex-wrap: wrap; gap: 6px; }
  .footer-bottom p { font-size: 11.5px; }

  /* Toast */
  .toast { bottom: 76px; font-size: 13px; padding: 11px 20px; max-width: 88vw; }

  /* Modals */
  .modal-overlay  { padding: 0; align-items: flex-end; }
  .modal          { border-radius: 24px 24px 0 0; max-width: 100%; max-height: 92vh; }
  .modal-img,
  .modal-img img  { height: 170px; }
  .modal-body     { padding: 20px 18px 24px; }
  .modal-name     { font-size: 20px; }
  .modal-price-now{ font-size: 24px; }
  .modal-actions  { flex-direction: column; gap: 8px; }
  .modal-btn-cart,
  .modal-btn-wish { padding: 14px; font-size: 14px; width: 100%; }
  .emi-grid       { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* Panels */
  .cart-panel,
  .wishlist-panel { width: 100%; }

  /* Bottom nav */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    z-index: 950;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  }
  .mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: background 0.15s;
  }
  .mbn-item:active { background: var(--bg2); }
  .mbn-item.active .mbn-ico,
  .mbn-item.active .mbn-lbl { color: var(--accent); }
  .mbn-ico { font-size: 20px; line-height: 1; }
  .mbn-lbl { font-size: 9.5px; font-weight: 700; color: var(--text3); letter-spacing: 0.2px; }
  .mbn-badge {
    position: absolute;
    top: 6px;
    right: calc(50% - 20px);
    background: var(--accent);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    min-width: 15px;
    height: 15px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
  }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .mobile-bottom-nav { display: none; }
}

/* ── Small phones (≤ 390px) ── */
@media (max-width: 390px) {
  .hero-main { height: 320px; }
  .hero-content h2 { font-size: 26px; }
  .hero-content h2 em { font-size: 22px; }
  .hero-content p { font-size: 10.5px; }

  .side-card { min-height: 120px; padding: 13px 12px; }
  .sc-price  { font-size: 17px; }
  .sc-icon   { width: 32px; height: 32px; font-size: 15px; }

  .product-card  { min-width: 148px; }
  .card-img      { height: 115px; }
  .card-img img  { height: 115px; }
  .card-name     { font-size: 12px; }
  .card-price-now{ font-size: 14px; }

  .nav-logo   { font-size: 20px; }
  .nav-inner  { height: 52px; }
  .cat-nav    { top: 52px; }

  .banner-card h3 { font-size: 13.5px; }
  .banner-emoji   { font-size: 34px; }
}




/* SLIDE 4 — Deep Emerald + Gold */
.hs-4 {
  background: linear-gradient(135deg, #022c1e 0%, #065f46 45%, #d4a017 100%);
}
.hs-4 .hero-tag  { background: rgba(212,160,23,0.15); border-color: rgba(212,160,23,0.40); }
.hs-4 .hero-content h2 em { color: #fde68a; }
.hs-4 .btn-primary { background: linear-gradient(135deg, #d4a017, #f59e0b); color: #111; }

/* SLIDE 5 — Midnight Navy + Electric Cyan */
.hs-5 {
  background: linear-gradient(135deg, #020617 0%, #0c1a3a 45%, #0ea5e9 100%);
}
.hs-5 .hero-tag  { background: rgba(14,165,233,0.12); border-color: rgba(14,165,233,0.35); }
.hs-5 .hero-content h2 em { color: #38bdf8; }
.hs-5 .btn-primary { background: linear-gradient(135deg, #0ea5e9, #38bdf8); color: #000; }

/* SLIDE 6 — Burnt Orange + Cream */
.hs-6 {
  background: linear-gradient(135deg, #431407 0%, #9a3412 45%, #fed7aa 100%);
}
.hs-6 .hero-tag  { background: rgba(254,215,170,0.12); border-color: rgba(254,215,170,0.35); }
.hs-6 .hero-content h2 em { color: #fed7aa; }
.hs-6 .btn-primary { background: linear-gradient(135deg, #ea580c, #f97316); }

/* SLIDE 7 — Deep Plum + Rose Gold */
.hs-7 {
  background: linear-gradient(135deg, #2e0a3a 0%, #6b21a8 45%, #f9a8d4 100%);
}
.hs-7 .hero-tag  { background: rgba(249,168,212,0.12); border-color: rgba(249,168,212,0.35); }
.hs-7 .hero-content h2 em { color: #f9a8d4; }
.hs-7 .btn-primary { background: linear-gradient(135deg, #a855f7, #ec4899); }

/* SLIDE 8 — Forest Green + Lime */
.hs-8 {
  background: linear-gradient(135deg, #052e16 0%, #166534 45%, #a3e635 100%);
}
.hs-8 .hero-tag  { background: rgba(163,230,53,0.12); border-color: rgba(163,230,53,0.35); }
.hs-8 .hero-content h2 em { color: #bef264; }
.hs-8 .btn-primary { background: linear-gradient(135deg, #16a34a, #84cc16); color: #000; }

/* SLIDE 9 — Charcoal + Neon Yellow */
.hs-9 {
  background: linear-gradient(135deg, #0a0a0a 0%, #1c1c1c 45%, #ca8a04 100%);
}
.hs-9 .hero-tag  { background: rgba(234,179,8,0.12); border-color: rgba(234,179,8,0.35); }
.hs-9 .hero-content h2 em { color: #fde047; }
.hs-9 .btn-primary { background: linear-gradient(135deg, #ca8a04, #eab308); color: #000; }

/* SLIDE 10 — Cobalt Blue + White */
.hs-10 {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 45%, #93c5fd 100%);
}
.hs-10 .hero-tag  { background: rgba(147,197,253,0.12); border-color: rgba(147,197,253,0.35); }
.hs-10 .hero-content h2 em { color: #bfdbfe; }
.hs-10 .btn-primary { background: linear-gradient(135deg, #2563eb, #60a5fa); }

/* SLIDE 11 — Crimson Red + Snow White */
.hs-11 {
  background: linear-gradient(135deg, #450a0a 0%, #991b1b 45%, #fca5a5 100%);
}
.hs-11 .hero-tag  { background: rgba(252,165,165,0.12); border-color: rgba(252,165,165,0.35); }
.hs-11 .hero-content h2 em { color: #fecaca; }
.hs-11 .btn-primary { background: linear-gradient(135deg, #dc2626, #ef4444); }

/* SLIDE 12 — Warm Amber + Deep Brown */
.hs-12 {
  background: linear-gradient(135deg, #1c0a00 0%, #78350f 45%, #fbbf24 100%);
}
.hs-12 .hero-tag  { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.35); }
.hs-12 .hero-content h2 em { color: #fde68a; }
.hs-12 .btn-primary { background: linear-gradient(135deg, #d97706, #fbbf24); color: #000; }


/* =========================
   ACCOUNT MODAL
========================= */

.account-modal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(15,23,42,.45);
  backdrop-filter:blur(10px);
}

.account-box{
  width:100%;
  max-width:420px;
  background:#fff;
  border-radius:28px;
  padding:34px;
  position:relative;

  box-shadow:
    0 20px 60px rgba(0,0,0,.15),
    0 4px 12px rgba(0,0,0,.06);

  animation:accountPop .25s ease;
}

@keyframes accountPop{
  from{
    opacity:0;
    transform:translateY(20px) scale(.96);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.account-close{
  position:absolute;
  top:16px;
  right:16px;
  width:40px;
  height:40px;
  border:none;
  border-radius:50%;
  background:#f3f4f6;
  cursor:pointer;
  font-size:18px;
  transition:.2s;
}

.account-close:hover{
  background:#e5e7eb;
}

.account-title{
  font-size:34px;
  font-weight:800;
  color:#111827;
  margin-bottom:6px;
}

.account-subtitle{
  color:#6b7280;
  font-size:15px;
  margin-bottom:28px;
}

.account-input{
  width:100%;
  height:56px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:0 16px;
  margin-bottom:14px;
  font-size:15px;
  background:#f9fafb;
  transition:.2s;
  outline:none;
}

.account-input:focus{
  background:#fff;
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.1);
}

.account-btn{
  width:100%;
  height:56px;
  border:none;
  border-radius:16px;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:#fff;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition:.2s;
}

.account-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(37,99,235,.25);
}

.login-btn{
  background:linear-gradient(135deg,#0f172a,#1e293b);
}

.login-btn:hover{
  box-shadow:0 12px 24px rgba(15,23,42,.2);
}

.account-divider{
  display:flex;
  align-items:center;
  gap:14px;
  margin:24px 0;
}

.account-divider::before,
.account-divider::after{
  content:'';
  flex:1;
  height:1px;
  background:#e5e7eb;
}

.account-divider span{
  color:#9ca3af;
  font-size:13px;
  font-weight:700;
}

#accountMsg{
  margin-top:16px;
  text-align:center;
  font-size:14px;
  font-weight:600;
}

/* MOBILE */

@media(max-width:600px){

  .account-box{
    max-width:100%;
    border-radius:26px 26px 0 0;
    margin-top:auto;
    padding:28px 22px;
  }

}

.nav-actions{
  display:flex;
  align-items:center;
  gap:26px;
}

.nav-action{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  position:relative;
}

.nav-action .icon{
  font-size:24px;
  line-height:1;
}

.nav-action .label{
  margin-top:6px;
  font-size:14px;
  font-weight:600;
  color:#64748b;
}

#ordersModal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
}


/* MY ORDERS */

#myOrdersList{
  max-height:500px;
  overflow:auto;
  margin-top:18px;
}

#myOrdersList::-webkit-scrollbar{
  width:6px;
}

#myOrdersList::-webkit-scrollbar-thumb{
  background:#ccc;
  border-radius:20px;
}

.nav-action svg {
  display: block;
  color: inherit;
}


/* ── Wishlist & Orders panel / modal size fix ── */

.wishlist-panel {
  width: 480px;
}

#ordersModal .modal {
  max-width: 600px;
  width: 100%;
}

#ordersModal .emi-modal-body {
  padding: 32px;
}

#ordersModal h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

#myOrdersList {
  max-height: 60vh;
  overflow-y: auto;
}

/* Order cards bigger */
#myOrdersList > div {
  padding: 20px !important;
  border-radius: 16px !important;
  margin-bottom: 16px !important;
}

/* Wishlist items bigger */
.wishlist-panel .cart-item {
  padding: 16px;
}

.wishlist-panel .cart-item-img {
  width: 80px;
  height: 80px;
  font-size: 52px;
  flex-shrink: 0;
}

.wishlist-panel .cart-item-name {
  font-size: 15px;
}

.wishlist-panel .cart-item-price {
  font-size: 17px;
}

.wishlist-panel .cart-header h3 {
  font-size: 20px;
}

/* Mobile */
@media (max-width: 768px) {
  .wishlist-panel {
    width: 100%;
  }

  #ordersModal .modal {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
  }
}