/* ============================================
   متجر فاخر - Premium Store Styles
   ============================================ */

/* ===== Reset & Variables ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0a0f;
  --bg-soft: #12121c;
  --bg-card: #181824;
  --bg-card-hover: #20202e;
  --bg-elevated: #1f1f2e;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f5f5f7;
  --text-soft: #a0a0b0;
  --text-muted: #6b6b80;
  --gold: #d4af37;
  --gold-soft: #e8c560;
  --gold-deep: #b8941f;
  --gold-glow: rgba(212, 175, 55, 0.18);
  --gold-glow-strong: rgba(212, 175, 55, 0.35);
  --green: #22c55e;
  --red: #ef4444;
  --blue: #3b82f6;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 10px 40px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-gold: 0 8px 30px var(--gold-glow);
  --container: 1440px;
  --sidebar-w: 280px;
  --font: 'Tajawal', 'Inter', system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select { font-family: inherit; }
::selection { background: var(--gold); color: #000; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-card-hover); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Topbar ===== */
.topbar {
  background: linear-gradient(90deg, #0a0a0f, #1a1408, #0a0a0f);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--gold-soft);
  text-align: center;
  font-weight: 500;
}
.topbar span { display: inline-block; animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #8b6914);
  display: grid; place-items: center;
  color: #000;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 4px 14px var(--gold-glow);
}
.logo-text {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.search-box {
  flex: 1;
  max-width: 480px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: all .2s;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box input:focus { border-color: var(--gold); background: var(--bg-elevated); }
.search-box .icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--gold-soft); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn {
  width: 42px; height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 18px;
  transition: all .2s;
  position: relative;
}
.icon-btn:hover { background: var(--bg-card-hover); border-color: var(--gold); color: var(--gold-soft); }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--gold);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 20px;
  min-width: 18px;
  text-align: center;
}
.menu-toggle { display: none; font-size: 24px; }

/* ===== Layout ===== */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 28px;
  padding: 28px 0;
}

/* ===== Sidebar ===== */
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-left: 4px;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.2px;
}
.sidebar-title .badge {
  font-size: 11px;
  color: var(--gold-soft);
  font-weight: 600;
}

/* Categories list */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-soft);
  transition: all .2s;
  cursor: pointer;
}
.cat-item:hover { background: var(--bg-card-hover); color: var(--text); }
.cat-item.active { background: var(--gold-glow); color: var(--gold-soft); }
.cat-emoji { font-size: 18px; width: 24px; text-align: center; }
.cat-count {
  margin-right: auto;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 20px;
}
.cat-item.active .cat-count { background: var(--gold); color: #000; }

/* Price filter */
.price-filter { padding: 4px 0; }
.price-range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 4px;
  outline: none;
}
.price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px var(--gold-glow);
}
.price-range::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.price-display {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-soft);
}
.price-display .val { color: var(--gold-soft); font-weight: 700; }

/* Top picks */
.top-pick {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s;
}
.top-pick:last-child { border-bottom: none; }
.top-pick:hover { transform: translateX(-4px); }
.top-pick img {
  width: 50px; height: 50px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-elevated);
}
.top-pick-info { flex: 1; min-width: 0; }
.top-pick-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.top-pick-price { font-size: 13px; font-weight: 800; color: var(--gold-soft); }

/* Promo card */
.promo-card {
  background: linear-gradient(135deg, #1a1408 0%, #2a1f0a 100%);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: '🔥';
  position: absolute;
  font-size: 120px;
  opacity: 0.08;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.promo-card .promo-emoji { font-size: 36px; margin-bottom: 8px; position: relative; }
.promo-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; position: relative; }
.promo-card p { font-size: 12px; color: var(--text-soft); margin-bottom: 14px; position: relative; }
.promo-card .btn { width: 100%; padding: 10px; font-size: 13px; position: relative; }

/* Contact card */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.contact-card .wa-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  background: #25d366;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.contact-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-card p { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.contact-card .phone {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold-soft);
  direction: ltr;
  margin-bottom: 12px;
}

/* ===== Main Content ===== */
.main-content { min-width: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 60px 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1408 0%, #0a0a0f 60%, #0a0f1a 100%);
  border: 1px solid rgba(212,175,55,0.2);
  overflow: hidden;
  margin-bottom: 32px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--gold-glow);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.5s infinite;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 50%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero p {
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: all .25s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #000;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--gold-glow-strong); }
.btn-ghost {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-card-hover); border-color: var(--gold); color: var(--gold-soft); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat { text-align: center; }
.stat-num {
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== Features bar ===== */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.feature-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.feature-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--gold-glow);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.feature-title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.feature-desc { font-size: 12px; color: var(--text-muted); }

/* ===== Section ===== */
section.block { margin-bottom: 48px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 26px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border-radius: 4px;
}
.section-subtitle { color: var(--text-muted); font-size: 13px; margin-top: 6px; }
.see-all {
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: gap .2s;
  white-space: nowrap;
}
.see-all:hover { gap: 12px; }

/* ===== Product Grid ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.product-image {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1f1f2e, #14141d);
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.4));
  pointer-events: none;
}
.discount-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(239,68,68,0.4);
  z-index: 2;
}
.new-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--green);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 2;
}
.bestseller-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 2;
}
.wishlist-btn {
  position: absolute;
  bottom: 12px; left: 12px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 16px;
  color: var(--text);
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s;
}
.product-card:hover .wishlist-btn { opacity: 1; transform: translateY(0); }
.wishlist-btn:hover { background: var(--red); color: #fff; }
.wishlist-btn.active { background: var(--red); color: #fff; opacity: 1; transform: translateY(0); }

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-category {
  font-size: 11px;
  color: var(--gold-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.stars { color: var(--gold-soft); letter-spacing: 1px; font-size: 13px; }
.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
  padding-top: 4px;
}
.price-now {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold-soft);
}
.price-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.buy-btn {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #000;
  border-radius: var(--radius-xs);
  font-weight: 800;
  font-size: 13px;
  transition: all .2s;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.buy-btn:hover { transform: scale(1.02); box-shadow: 0 6px 16px var(--gold-glow); }
.buy-btn:active { transform: scale(0.98); }

/* ===== Offers Banner ===== */
.offers-banner {
  background: linear-gradient(135deg, #1a1408 0%, #0a0a0f 100%);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.offers-banner::before {
  content: '🔥';
  position: absolute;
  font-size: 220px;
  opacity: 0.05;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.offers-banner h2 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 10px;
  position: relative;
}
.offers-banner h2 .accent {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.offers-banner p { color: var(--text-soft); margin-bottom: 24px; position: relative; }
.countdown {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 24px 0;
  position: relative;
  flex-wrap: wrap;
}
.countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 76px;
}
.countdown-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}
.countdown-label { font-size: 11px; color: var(--text-muted); }

/* ===== Categories Grid ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all .3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transform: scaleX(0);
  transition: transform .3s;
}
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.category-emoji {
  font-size: 44px;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform .3s;
}
.category-card:hover .category-emoji { transform: scale(1.1); }
.category-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.category-count { font-size: 12px; color: var(--text-muted); }

/* ===== Newsletter ===== */
.newsletter {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
}
.newsletter h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; position: relative; }
.newsletter p { color: var(--text-soft); margin-bottom: 24px; position: relative; }
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border .2s;
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: var(--text-muted); }

/* ===== Footer ===== */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-soft); font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-soft); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-soft); }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-contact .icon { color: var(--gold-soft); font-size: 16px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 16px;
  transition: all .2s;
}
.social a:hover { background: var(--gold); color: #000; transform: translateY(-2px); }

/* ===== WhatsApp Floating ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 99;
  transition: transform .2s;
  animation: bounce 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== Cart Drawer ===== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0; visibility: hidden;
  transition: all .3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; max-width: 440px;
  height: 100%;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform .3s;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  padding: 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cart-close { font-size: 26px; color: var(--text-soft); transition: color .2s; line-height: 1; }
.cart-close:hover { color: var(--red); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 60px 20px; }
.cart-empty .emoji { font-size: 60px; margin-bottom: 16px; opacity: 0.4; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  align-items: center;
}
.cart-item-img {
  width: 64px; height: 64px;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.cart-item-price { font-size: 14px; font-weight: 800; color: var(--gold-soft); }
.cart-item-qty { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.cart-item-remove { color: var(--text-muted); font-size: 22px; transition: color .2s; line-height: 1; padding: 4px 8px; }
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 22px; border-top: 1px solid var(--border); }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}
.cart-total .num { font-size: 24px; font-weight: 900; color: var(--gold-soft); }
.checkout-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: #fff;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  transition: transform .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.checkout-btn:hover { transform: scale(1.02); }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  transform: translateX(120%);
  transition: transform .3s;
  max-width: 340px;
}
.toast.show { transform: translateX(0); }
.toast .icon { color: var(--green); font-size: 20px; }

/* ===== Mobile sidebar toggle ===== */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px; height: 52px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  z-index: 90;
  font-size: 22px;
  box-shadow: var(--shadow-gold);
  align-items: center;
  justify-content: center;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0; right: -100%;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    max-height: 100vh;
    background: var(--bg-soft);
    z-index: 250;
    padding: 20px;
    overflow-y: auto;
    transition: right .3s;
  }
  .sidebar.open { right: 0; }
  .sidebar-toggle { display: flex; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .search-box { display: none; }
}
@media (max-width: 768px) {
  .products-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 36px 24px; }
  .offers-banner, .newsletter { padding: 32px 20px; }
  .countdown-box { min-width: 64px; padding: 10px; }
  .countdown-num { font-size: 24px; }
  .section-title { font-size: 22px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 26px; bottom: 16px; left: 16px; }
  .newsletter-form { flex-direction: column; }
  .sidebar-toggle { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 20px; }
}
@media (max-width: 480px) {
  .products-grid, .categories-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .topbar { font-size: 11px; padding: 6px; }
  .logo { font-size: 20px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
  .container { padding: 0 16px; }
}
