/* ═══════════════════════════════════════════════
   TECHZONE — ECOMMERCE STYLESHEET
   Palette: Volcanic Glass (#1A1A1A, #FF6B2B, #FFB088)
   Fonts: Syne (display) + Outfit (body)
═══════════════════════════════════════════════ */

:root {
  --bg-dark:    #0d0d0d;
  --bg-card:    #161616;
  --bg-card2:   #1e1e1e;
  --border:     #2a2a2a;
  --accent:     #FF6B2B;
  --accent2:    #FFB088;
  --text-main:  #f0f0f0;
  --text-muted: #888;
  --text-dim:   #555;
  --white:      #ffffff;
  --success:    #22c55e;
  --danger:     #ef4444;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.7);
  --transition: all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Syne', sans-serif; font-weight: 700; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; }

.text-accent { color: var(--accent); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ══════════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════════ */
.topbar {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 0;
  letter-spacing: 0.3px;
}
.topbar i { margin-right: 5px; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.main-navbar {
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.brand-icon { font-size: 24px; }
.brand-text {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.brand-accent { color: var(--accent); }

/* Search */
.search-wrapper { flex: 1; max-width: 560px; }
.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,43,0.15); }
.search-cat {
  background: var(--bg-card);
  border: none;
  border-right: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  padding: 10px 12px;
  outline: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.search-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  font-family: 'Outfit', sans-serif;
}
.search-box input::placeholder { color: var(--text-dim); }
.search-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 16px;
  transition: var(--transition);
}
.search-btn:hover { background: #e55a1f; }

/* Nav Actions */
.nav-icon-btn {
  position: relative;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  transition: var(--transition);
}
.nav-icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.badge-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-dark);
}
.btn-signin {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-main);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}
.btn-signin:hover { border-color: var(--accent); color: var(--accent); }
.btn-signup {
  background: var(--accent);
  border: 1.5px solid var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}
.btn-signup:hover { background: #e55a1f; transform: translateY(-1px); }

.mobile-search-bar .search-box { border-radius: 8px; }

/* ══════════════════════════════════════════════
   CATEGORY NAV
══════════════════════════════════════════════ */
.cat-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 65px;
  z-index: 999;
}
.cat-nav-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  padding: 6px 0;
  scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-item {
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; gap: 5px;
}
.cat-nav-item:hover { background: var(--bg-card2); color: var(--text-main); }
.cat-nav-item.active { background: var(--accent); color: #fff; }
.cat-nav-item i { font-size: 14px; }

/* ══════════════════════════════════════════════
   HERO BANNER
══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  overflow: hidden;
  height: 480px;
}
.hero-slider { width: 100%; height: 100%; position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 5%;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.hero-slide[data-bg="1"] { background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 60%, #16213e 100%); }
.hero-slide[data-bg="2"] { background: linear-gradient(135deg, #0d0d0d 0%, #1a0a00 60%, #2d1500 100%); }
.hero-slide[data-bg="3"] { background: linear-gradient(135deg, #050510 0%, #0a0a2e 60%, #0d0d3d 100%); }
.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.hero-content {
  flex: 1;
  max-width: 520px;
  z-index: 2;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,107,43,0.15);
  border: 1px solid rgba(255,107,43,0.4);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  animation: fadeInUp 0.6s ease 0.3s both;
}
.hero-price-tag {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.35s both;
}
.hero-price-tag strong { color: var(--accent2); font-size: 20px; }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover { background: #e55a1f; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,43,0.4); }
.btn-hero-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15); }

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 420px;
}
.hero-product-img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.8));
  animation: floatImg 4s ease-in-out infinite;
}
.hero-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
}
.glow-orange { background: radial-gradient(circle, rgba(255,107,43,0.35) 0%, transparent 70%); }
.glow-blue   { background: radial-gradient(circle, rgba(59,130,246,0.35) 0%, transparent 70%); }
.glow-purple { background: radial-gradient(circle, rgba(139,92,246,0.35) 0%, transparent 70%); }

/* Slider controls */
.hero-prev, .hero-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  z-index: 10;
  transition: var(--transition);
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-prev:hover, .hero-next:hover { background: var(--accent); border-color: var(--accent); }
.hero-dots {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ══════════════════════════════════════════════
   PROMO STRIP
══════════════════════════════════════════════ */
.promo-strip {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-right: 1px solid var(--border);
}
.promo-item:last-child { border-right: none; }
.promo-item i { font-size: 22px; color: var(--accent); flex-shrink: 0; }
.promo-item strong { display: block; font-size: 13px; color: var(--text-main); }
.promo-item span { font-size: 12px; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   MAIN CONTENT LAYOUT
══════════════════════════════════════════════ */
.main-content { padding: 28px 0 40px; }

/* ══════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════ */
.sidebar { position: sticky; top: 120px; }
.sidebar-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
}
.sidebar-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.sidebar-title i { color: var(--accent); }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { margin-bottom: 2px; }
.sidebar-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}
.sidebar-list a:hover { background: var(--bg-card2); color: var(--text-main); }
.sidebar-list a.active { background: rgba(255,107,43,0.12); color: var(--accent); }
.sidebar-list a i { font-size: 13px; width: 16px; }
.count {
  margin-left: auto;
  background: var(--bg-card2);
  color: var(--text-dim);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
}
.badge-hot {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Price Filter */
.price-filter { margin-bottom: 10px; }
.price-range {
  width: 100%;
  accent-color: var(--accent);
  margin-bottom: 6px;
}
.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.price-presets button {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 5px;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}
.price-presets button:hover { border-color: var(--accent); color: var(--accent); }

/* Rating Filter */
.rating-filter { list-style: none; padding: 0; margin: 0; }
.rating-filter li { margin-bottom: 6px; }
.rating-filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}
.rating-filter input { accent-color: var(--accent); }
.stars { color: #f59e0b; font-size: 13px; }

/* Brand Filter */
.brand-filter { list-style: none; padding: 0; margin: 0; }
.brand-filter li { margin-bottom: 6px; }
.brand-filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}
.brand-filter input { accent-color: var(--accent); }

/* Sidebar Ad */
.sidebar-ad {
  background: linear-gradient(135deg, #1a0800, #2d1200);
  border: 1px solid rgba(255,107,43,0.3);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.ad-tag {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 8px;
}
.sidebar-ad p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.sidebar-ad strong { color: var(--accent); }
.sidebar-ad button {
  background: var(--accent);
  color: #fff;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}
.sidebar-ad button:hover { background: #e55a1f; }

/* ══════════════════════════════════════════════
   FLASH SALE BANNER
══════════════════════════════════════════════ */
.flash-sale-banner {
  background: linear-gradient(90deg, #1a0800, #2d1200, #1a0800);
  border: 1px solid rgba(255,107,43,0.35);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.flash-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.flash-left > i { font-size: 22px; color: var(--accent); animation: pulse 1.5s infinite; }
.flash-left > span { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: var(--accent); letter-spacing: 2px; }
.countdown { display: flex; align-items: center; gap: 4px; }
.cd-item { text-align: center; }
.cd-item span {
  display: block;
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 4px 10px;
  border-radius: 6px;
  min-width: 40px;
  text-align: center;
}
.cd-item small { font-size: 10px; color: var(--text-muted); }
.cd-sep { color: var(--accent); font-weight: 700; font-size: 18px; padding-bottom: 12px; }
.flash-right { display: flex; align-items: center; gap: 12px; }
.flash-right span { font-size: 13px; color: var(--text-muted); }
.flash-right button {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.flash-right button:hover { background: #e55a1f; }

/* ══════════════════════════════════════════════
   PRODUCTS TOOLBAR
══════════════════════════════════════════════ */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.toolbar-left span { font-size: 13px; color: var(--text-muted); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  cursor: pointer;
}
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 34px; height: 34px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}
.view-btn.active, .view-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ══════════════════════════════════════════════
   PRODUCT GRID & CARDS
══════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.product-grid.list-view {
  grid-template-columns: 1fr;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.product-card:hover {
  border-color: rgba(255,107,43,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.product-card:hover .card-actions { opacity: 1; transform: translateY(0); }

/* Card badges */
.card-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  display: flex; flex-direction: column; gap: 4px;
}
.badge-sale {
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-new {
  background: var(--success);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-hot-tag {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Card image */
.card-img-wrap {
  position: relative;
  background: var(--bg-card2);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.06); }

/* Card quick actions */
.card-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 12px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.card-action-btn {
  flex: 1;
  background: var(--accent);
  color: #fff;
  padding: 7px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  text-align: center;
  transition: var(--transition);
}
.card-action-btn:hover { background: #e55a1f; }
.card-action-btn.outline {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}
.card-action-btn.outline:hover { background: rgba(255,255,255,0.2); }

/* Card body */
.card-body-custom { padding: 14px; }
.card-brand { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.card-stars { color: #f59e0b; font-size: 12px; }
.card-rating-count { font-size: 11px; color: var(--text-dim); }
.card-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-current { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: var(--accent); }
.price-original { font-size: 12px; color: var(--text-dim); text-decoration: line-through; }
.price-discount { font-size: 11px; color: var(--success); font-weight: 600; }

/* List view card */
.product-grid.list-view .product-card {
  display: flex;
  flex-direction: row;
}
.product-grid.list-view .card-img-wrap {
  width: 160px;
  height: 140px;
  flex-shrink: 0;
}
.product-grid.list-view .card-body-custom { flex: 1; }
.product-grid.list-view .card-actions {
  position: static;
  opacity: 1;
  transform: none;
  background: none;
  padding: 0 14px 14px;
  flex-direction: column;
  width: 140px;
  justify-content: flex-end;
}

/* ══════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════ */
.pagination-wrap { display: flex; justify-content: center; }
.pagination .page-link {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  padding: 8px 14px;
}
.pagination .page-item.active .page-link { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination .page-link:hover { background: var(--bg-card2); color: var(--text-main); }

/* ══════════════════════════════════════════════
   FEATURED CATEGORIES SECTION
══════════════════════════════════════════════ */
.featured-cats-section {
  padding: 50px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.section-header { text-align: center; margin-bottom: 32px; }
.section-header h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.section-header p { color: var(--text-muted); font-size: 15px; }
.cat-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255,107,43,0.15);
}
.cat-icon {
  width: 56px; height: 56px;
  background: rgba(255,107,43,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin: 0 auto 12px;
  transition: var(--transition);
}
.cat-card:hover .cat-icon { background: var(--accent); color: #fff; }
.cat-card span { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.cat-card small { color: var(--text-dim); font-size: 12px; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer { background: #080808; border-top: 1px solid var(--border); }
.footer-top { padding: 50px 0 30px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.newsletter-form input {
  flex: 1;
  background: var(--bg-card);
  border: none;
  color: var(--text-main);
  padding: 10px 14px;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  outline: none;
}
.newsletter-form button {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.newsletter-form button:hover { background: #e55a1f; }
.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pay-icon {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); margin: 0; }

/* ══════════════════════════════════════════════
   MODALS — SIDE DRAWER
══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.side-modal {
  background: var(--bg-card);
  width: 380px;
  max-width: 95vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  border-left: 1px solid var(--border);
}
.modal-overlay.open .side-modal { transform: translateX(0); }
.side-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.side-modal-header h5 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin: 0; }
.side-modal-header button {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.side-modal-header button:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.side-modal-body { flex: 1; overflow-y: auto; padding: 16px; }
.side-modal-footer { padding: 16px; border-top: 1px solid var(--border); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}
.empty-state i { font-size: 48px; display: block; margin-bottom: 12px; color: var(--border); }
.empty-state p { font-size: 15px; margin-bottom: 4px; color: var(--text-muted); }
.empty-state small { font-size: 13px; }

/* Cart items */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 64px; height: 64px;
  background: var(--bg-card2);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--accent); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.qty-btn {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 26px; height: 26px;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-num { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove {
  color: var(--text-dim);
  font-size: 16px;
  transition: var(--transition);
  align-self: flex-start;
}
.cart-item-remove:hover { color: var(--danger); }

/* Cart footer */
.cart-summary { margin-bottom: 14px; }
.cart-summary span { font-size: 14px; color: var(--text-muted); }
.cart-summary strong { font-size: 14px; }
.total-row span { font-size: 16px; font-weight: 700; color: var(--text-main); }
.total-row strong { font-size: 18px; font-weight: 800; color: var(--accent); }
.btn-checkout-full {
  display: block;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 8px;
  transition: var(--transition);
}
.btn-checkout-full:hover { background: #e55a1f; color: #fff; transform: translateY(-1px); }
.btn-continue {
  display: block;
  width: 100%;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  text-align: center;
  transition: var(--transition);
}
.btn-continue:hover { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════
   AUTH MODAL
══════════════════════════════════════════════ */
.modal-overlay.auth-center {
  justify-content: center;
  align-items: center;
}
.auth-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 420px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  margin: auto;
  align-self: center;
}
.modal-overlay.open .auth-modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  z-index: 5;
  transition: var(--transition);
}
.modal-close:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.auth-modal-inner { padding: 32px; }
.auth-logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}
.auth-modal-inner h4 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.auth-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form-group input {
  width: 100%;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,43,0.12); }
.input-icon-wrap { position: relative; }
.input-icon-wrap > i {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 15px;
}
.input-icon-wrap input { padding-left: 36px; }
.toggle-pass {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 15px;
  transition: var(--transition);
}
.toggle-pass:hover { color: var(--accent); }
.remember-me { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); cursor: pointer; }
.remember-me input { accent-color: var(--accent); }
.forgot-link { font-size: 13px; color: var(--accent); }
.btn-auth-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition);
  margin-top: 4px;
}
.btn-auth-submit:hover { background: #e55a1f; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,43,0.35); }
.auth-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
  color: var(--text-dim);
  font-size: 13px;
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.auth-divider span { background: var(--bg-card); padding: 0 12px; position: relative; }
.social-auth { display: flex; gap: 10px; margin-bottom: 16px; }
.social-auth-btn {
  flex: 1;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: var(--transition);
}
.social-auth-btn:hover { border-color: var(--accent); color: var(--accent); }
.auth-switch { text-align: center; font-size: 13px; color: var(--text-muted); margin: 0; }
.auth-switch a { color: var(--accent); font-weight: 600; }

/* ══════════════════════════════════════════════
   TOAST NOTIFICATIONS
══════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast-msg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  min-width: 260px;
  box-shadow: var(--shadow);
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
  display: flex; align-items: center; gap: 10px;
}
.toast-msg.success { border-left-color: var(--success); }
.toast-msg.error   { border-left-color: var(--danger); }
.toast-msg i { font-size: 16px; }

/* ══════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 80px; right: 24px;
  background: var(--accent);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255,107,43,0.4);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatImg {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateX(20px); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-section { height: auto; min-height: 360px; }
  .hero-slide { flex-direction: column; padding: 30px 20px; text-align: center; }
  .hero-visual { display: none; }
  .hero-title { font-size: 26px; }
  .hero-actions { justify-content: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .flash-sale-banner { flex-direction: column; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-img-wrap { height: 140px; }
}