@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* Premium Luxury Palette */
  --bg: #080b12;
  --surface: #0e1420;
  --surface2: #141c2e;
  --surface3: #1a2440;
  --border: #1e2d4a;
  --border-gold: rgba(197,160,80,0.25);

  /* Gold / Champagne Accents */
  --gold: #c5a050;
  --gold-light: #e2c47a;
  --gold-pale: #f5e6c0;
  --champagne: #d4b483;

  /* Legacy alias so old references still work */
  --accent: #c5a050;
  --accent2: #8b1a3a;

  /* Burgundy / Ruby accent */
  --ruby: #8b1a3a;
  --ruby-light: #b52250;

  /* Text */
  --text: #ede8df;
  --text-muted: #7a8aaa;
  --text-dim: #4a5a7a;

  /* Status */
  --success: #2e7d5e;
  --danger: #8b1a3a;

  --radius: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium grain/noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.35;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 8px;
  text-transform: uppercase;
  animation: pulse 1.5s ease-in-out infinite;
}
.preloader-bar {
  margin-top: 24px;
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--champagne));
  border-radius: 2px;
  animation: load 2s ease forwards;
}
@keyframes load { from { width: 0; } to { width: 100%; } }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.5;} }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,11,18,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 6px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-search {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 16px;
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.875rem;
  width: 220px;
  transition: var(--transition);
}
.nav-search:focus { outline: none; border-color: var(--gold); width: 280px; }
.nav-search::placeholder { color: var(--text-muted); }

.cart-btn {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 8px 16px;
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-btn:hover { border-color: var(--gold); color: var(--gold); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--ruby);
  color: var(--gold-pale);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 0.3s ease;
}
@keyframes bounce { 0%{transform:scale(1);} 50%{transform:scale(1.4);} 100%{transform:scale(1);} }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(197,160,80,0.06) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(139,26,58,0.05) 0%, transparent 50%),
              radial-gradient(ellipse 60% 50% at 80% 20%, rgba(197,160,80,0.04) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.hero-badge {
  display: inline-block;
  background: rgba(197,160,80,0.08);
  border: 1px solid rgba(197,160,80,0.3);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 2px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
  letter-spacing: 2px;
}
.hero h1 span { color: var(--gold); font-style: italic; }
.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--champagne) 100%);
  color: #08080f;
  padding: 14px 36px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(197,160,80,0.25); filter: brightness(1.1); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 14px 36px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 1px;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.hero-image-area {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 580px;
  animation: fadeIn 1s 0.3s ease both;
}
.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  overflow: hidden;
}
.hero-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px rgba(197,160,80,0.08); }
.hero-card-emoji { font-size: 0; margin-bottom: 0; }
.hero-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.hero-card-name { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.5px; }
.hero-card-price { font-size: 0.78rem; color: var(--gold); margin-top: 4px; font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; }
.hero-card:nth-child(2) { margin-top: 30px; }
.hero-card:nth-child(4) { margin-top: -30px; }

@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ===== SECTION TITLES ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.section-subtitle { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ===== CATEGORIES ===== */
.categories { padding: 80px 5%; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
  display: block;
}
.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: var(--surface2);
}
.category-card.active { border-color: var(--gold); background: rgba(197,160,80,0.05); }
.cat-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.cat-name { font-weight: 500; font-size: 0.875rem; margin-bottom: 4px; letter-spacing: 0.5px; }
.cat-count { color: var(--text-muted); font-size: 0.75rem; }

/* ===== PRODUCTS ===== */
.products-section { padding: 40px 5% 80px; }
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.products-count { color: var(--text-muted); font-size: 0.875rem; }
.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--gold); }
.sort-select option { background: var(--surface); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  animation: fadeUp 0.4s ease both;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(197,160,80,0.06); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--ruby);
  color: var(--gold-pale);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 1px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.product-badge.new { background: var(--surface3); color: var(--gold); border: 1px solid var(--border-gold); }
.product-badge.sale { background: var(--ruby); }
.product-badge.hot { background: linear-gradient(135deg, var(--gold), var(--champagne)); color: #08080f; }
.product-badge.luxury { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.product-badge.bestseller { background: transparent; border: 1px solid var(--champagne); color: var(--champagne); }

.product-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(0,0,0,0.6);
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-muted);
}
.product-wish:hover, .product-wish.active { color: var(--danger); background: rgba(244,67,54,0.15); }

.product-image {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: var(--surface2);
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(8,11,18,0.4));
  pointer-events: none;
}

.product-category {
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.product-name {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.2px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.stars { color: var(--gold); font-size: 0.75rem; }
.rating-num { font-size: 0.75rem; color: var(--text-muted); }

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--gold); letter-spacing: 0.5px; }
.product-original { font-size: 0.82rem; color: var(--text-dim); text-decoration: line-through; margin-left: 6px; }

.add-to-cart {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.72rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.add-to-cart:hover { background: var(--gold); color: #08080f; }
.add-to-cart.added { background: var(--success); color: white; border-color: var(--success); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.page-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.875rem;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(197,160,80,0.07); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 5000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.2rem; }
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 2001;
  transform: translateX(100%);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.cart-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-close:hover { border-color: var(--danger); color: var(--danger); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  animation: fadeUp 0.3s ease;
}
.cart-item-emoji {
  width: 60px;
  height: 60px;
  background: var(--surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.cart-item-price { color: var(--gold); font-weight: 600; font-size: 0.9rem; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; }
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 28px;
  height: 28px;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-num { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }
.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  margin-left: auto;
  transition: var(--transition);
}
.remove-btn:hover { color: var(--danger); }

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.cart-empty-icon { font-size: 4rem; margin-bottom: 16px; display: block; }

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}
.cart-summary { margin-bottom: 16px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cart-summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.cart-summary-row.total span:last-child { color: var(--gold); }
.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--champagne) 100%);
  color: #08080f;
  border: none;
  border-radius: 2px;
  padding: 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.checkout-btn:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(197,160,80,0.25); }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 5%;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature-icon { font-size: 1.8rem; }
.feature-text h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.feature-text p { font-size: 0.8rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-top: 12px; }
.footer-col h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 16px; color: var(--text); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: gap;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-image-area { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-search { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .hero { padding-top: 80px; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-drawer { width: 100vw; }
}
/* ===== LUXURY ENHANCEMENTS ===== */

/* Gold shimmer on logo hover */
.nav-logo {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-pale) 40%, var(--gold) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position 0.6s ease;
}
.nav-logo:hover { background-position: right center; }

/* Gold divider ornament */
.section-header::after {
  content: '— ✦ —';
  display: block;
  color: var(--gold);
  opacity: 0.4;
  font-size: 0.7rem;
  letter-spacing: 8px;
  margin-top: 16px;
}

/* Product card image container shimmer on hover */
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197,160,80,0.04), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover::before { left: 150%; }

/* Qty buttons gold style */
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Feature icon gold tint */
.feature-icon { font-size: 1.6rem; color: var(--gold); }

/* Footer accent color */
strong[style*="accent"] { color: var(--gold) !important; }

/* Hero section gold vertical line accent */
.hero-content::before {
  content: '';
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  margin-bottom: 24px;
  opacity: 0.5;
}

/* Smooth preloader bar */
.preloader-bar {
  margin-top: 28px;
  width: 160px;
  height: 1px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

/* Product info padding refinement */
.product-info { padding: 20px; }

/* Category card icon use gold for text icons */
.cat-icon { font-size: 1.4rem; color: var(--gold); letter-spacing: 0; }

/* Wishlist button refinement */
.product-wish {
  background: rgba(8,11,18,0.7);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
}
.product-wish:hover, .product-wish.active { color: var(--ruby-light); background: rgba(139,26,58,0.12); border-color: var(--ruby-light); }

/* ============================================================
   FULL RESPONSIVE OVERHAUL — ALL SCREEN SIZES
   Breakpoints: 1200px | 900px | 768px | 600px | 400px
   ============================================================ */

/* ── Large tablet / small desktop ── */
@media (max-width: 1200px) {
  .hero-image-area { width: 42%; }
  .hero-card-img { height: 100px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
}

/* ── Tablet ── */
@media (max-width: 900px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-search { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 4%; }

  /* Mobile menu search */
  #mobileMenu input[type="text"] { font-size: 16px; /* prevent iOS zoom */ }

  /* Hero */
  .hero { padding: 100px 5% 50px; min-height: auto; }
  .hero-image-area { display: none; }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  /* Categories grid */
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }

  /* Products grid */
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

  /* Features strip */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  /* Hero */
  .hero { padding: 88px 5% 40px; }
  .hero-content { max-width: 100%; }
  .hero-btns { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.8rem; }

  /* Products grid — 2 columns on tablet-mobile */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { height: 180px; }
  .product-info { padding: 14px; }

  /* Section */
  .categories { padding: 60px 4%; }
  .products-section { padding: 30px 4% 60px; }
  .section-header { margin-bottom: 36px; }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item { flex-direction: column; text-align: center; gap: 8px; }

  /* Products toolbar */
  .products-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .products-toolbar > div { width: 100%; justify-content: space-between; }

  /* Cart drawer */
  .cart-drawer { width: 100vw; }

  /* Toast */
  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 40px 5% 24px; margin-top: 40px; }

  /* Pagination */
  .pagination { gap: 6px; }
  .page-btn { padding: 8px 10px; font-size: 0.8rem; }
}

/* ── Small mobile ── */
@media (max-width: 600px) {
  /* Navbar */
  .nav-logo { font-size: 1.3rem; letter-spacing: 3px; }
  nav { height: 60px; }

  /* Mobile menu offset */
  #mobileMenu { top: 60px; }

  /* Hero */
  .hero { padding: 76px 5% 36px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 3rem); letter-spacing: 1px; }
  .hero p { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.6rem; letter-spacing: 2px; padding: 5px 14px; }
  .hero-stats { gap: 12px; margin-top: 36px; }
  .hero-stats .stat { flex: 1; min-width: 60px; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.7rem; }

  /* Categories — 3 per row on small mobile */
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-card { padding: 16px 8px; }
  .cat-icon { font-size: 1.2rem; margin-bottom: 8px; }
  .cat-name { font-size: 0.72rem; }
  .cat-count { font-size: 0.65rem; }

  /* Products — 2 columns still but tighter */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-image { height: 150px; }
  .product-name { font-size: 0.78rem; }
  .product-price { font-size: 1.1rem; }
  .add-to-cart { font-size: 0.65rem; padding: 7px 10px; }

  /* Features */
  .features-strip { padding: 24px 4%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature-text h4 { font-size: 0.8rem; }
  .feature-text p { font-size: 0.72rem; }

  /* Section titles */
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Cart */
  .cart-drawer { width: 100vw; }
  .cart-header { padding: 16px; }
  .cart-footer { padding: 14px; }

  /* Preloader */
  .preloader-logo { font-size: 2.2rem; letter-spacing: 4px; }
}

/* ── Extra small (e.g. iPhone SE) ── */
@media (max-width: 400px) {
  /* Products — 1 column on very small screens */
  .products-grid { grid-template-columns: 1fr; }
  .product-image { height: 200px; }

  /* Categories — 2 per row */
  .categories-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero  */
  .hero h1 { font-size: 1.9rem; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { padding: 12px 20px; font-size: 0.75rem; }

  /* Features strip — 1 col */
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { flex-direction: row; text-align: left; }
}

/* ── List-view product card (shop page) fix on mobile ── */
@media (max-width: 600px) {
  .products-grid.list-view .product-card {
    grid-template-columns: 1fr;
  }
  .products-grid.list-view .product-image {
    height: 180px;
  }
}

/* ── Nav height adjustment for small screens ── */
@media (max-width: 600px) {
  nav { height: 60px; padding: 0 4%; }
  #mobileMenu { top: 60px !important; }
}

/* ── Hamburger animation when active ── */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Input zoom fix: prevent iOS Safari from zooming on focus ── */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
  .nav-search { font-size: 16px !important; }
}

/* ── Prevent horizontal scroll on all pages ── */
html, body { max-width: 100%; overflow-x: hidden; }

/* ── Hero content width on tablet ── */
@media (max-width: 900px) {
  .hero-content { max-width: 100%; }
}

/* ── Footer bottom gap fix ── */
.footer-bottom { gap: 12px; flex-wrap: wrap; }

/* ── Product info consistent padding ── */
.product-info { padding: 16px; }

/* ── Checkout page padding at top for small nav ── */
@media (max-width: 600px) {
  .checkout-page { padding-top: 80px; }
  .page-hero { padding-top: 80px; }
}
