
:root {
  /* Color System */
  --primary: #e67e22;
  --primary-dark: #d35400;
  --accent: #f39c12;
  --background: #fdf6ec;
  --surface: #ffffff;
  --text-primary: #1a0a00;
  --text-secondary: #8b6a4a;
  --text-muted: #8b6a4a;
  --border: #e8d5b7;
  --light: #fff9f2;
  --ink: #1a0a00;
  --cream: #fdf6ec;
  --amber: #e67e22;
  --gold: #f39c12;
  --rust: #c0392b;
  --sage: #27ae60;
  
  /* Gradients */
  --hero-gradient: linear-gradient(135deg, #1a0a00 0%, #3d1a00 40%, #6b2d00 100%);
  --cta-gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  
  /* Spacing */
  --section-padding: 80px;
  --container-max: 1400px;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── HEADER ── */
header {
  background: var(--ink);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: background var(--transition-medium), backdrop-filter var(--transition-medium);
}

header.scrolled {
  background: rgba(26, 10, 0, 0.95);
  backdrop-filter: blur(10px);
}

.top-bar {
  background: var(--primary);
  text-align: center;
  padding: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: white;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  gap: 20px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
  cursor: pointer;
  text-decoration: none;
}

.logo span { color: var(--cream); }

.search-bar {
  flex: 1;
  max-width: 500px;
  display: flex;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  overflow: hidden;
}

.search-bar input {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-family: var(--font-body);
  font-size: 14px;
}

.search-bar input::placeholder { color: rgba(255,255,255,0.5); }

.search-bar button {
  padding: 10px 18px;
  background: var(--primary);
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background var(--transition-fast);
}

.search-bar button:hover { background: var(--accent); }

.nav-actions { display: flex; gap: 20px; align-items: center; }

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  color: var(--cream);
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
  position: relative;
  background: none;
  border: none;
  padding: 0;
}

.nav-btn:hover { opacity: 1; }

.nav-btn .icon { font-size: 22px; }

.badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--rust);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ── CATEGORY NAV ── */
.cat-nav {
  background: #2c1810;
  padding: 0 40px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-nav::-webkit-scrollbar { display: none; }

.cat-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.cat-nav a:hover, .cat-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── HERO ── */
.hero {
  background: var(--hero-gradient);
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230,126,34,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '🛍️';
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 180px;
  opacity: 0.15;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-content { max-width: 600px; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,126,34,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(230,126,34,0); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 60px);
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.6s;
}

/* ── SOCIAL PROOF ── */
.social-proof {
  padding: 40px 0;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.trusted-text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 1;
  color: var(--primary);
}

/* ── STATS ── */
.stats-bar {
  background: var(--primary);
  padding: 14px 40px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat { text-align: center; color: white; }
.stat .num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  display: block;
}
.stat .lbl { font-size: 12px; opacity: 0.85; }

/* ── SECTIONS ── */
.section {
  padding: var(--section-padding) 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-alt { background: var(--light); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--text-primary);
  position: relative;
}

.section-head h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.see-all {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px dashed var(--primary);
  padding-bottom: 2px;
  transition: color var(--transition-fast);
}

.see-all:hover { color: var(--primary-dark); }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26,10,0,0.15);
  border-color: var(--primary);
}

.product-img {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-sale { background: var(--rust); color: white; }
.badge-new { background: var(--sage); color: white; }
.badge-hot { background: var(--primary); color: white; }

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-btn:hover { transform: scale(1.1); background: #ffe4e4; }

.product-info { padding: 16px; }

.product-cat {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.stars { color: var(--accent); font-size: 13px; }
.rating-count { font-size: 12px; color: var(--text-muted); }

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.price-current {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.add-cart {
  width: 100%;
  background: var(--ink);
  color: white;
  border: none;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-cart:hover { background: var(--primary); transform: scale(1.02); }

/* ── CATEGORY CARDS ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.cat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cat-card:hover {
  border-color: var(--primary);
  background: var(--light);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(230,126,34,0.15);
}

.cat-icon { font-size: 42px; margin-bottom: 10px; display: block; }
.cat-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.cat-count { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step-card {
  text-align: center;
  position: relative;
  padding: 30px 20px;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(26,10,0,0.1);
  border-color: var(--primary);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: white;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(26,10,0,0.1);
}

.stars {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.author-info strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── BANNER ── */
.promo-banner {
  background: var(--hero-gradient);
  border-radius: 18px;
  padding: 50px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  position: relative;
  gap: 20px;
  flex-wrap: wrap;
}

.promo-banner::before {
  content: '⚡';
  position: absolute;
  right: 40px;
  font-size: 200px;
  opacity: 0.07;
  top: 50%;
  transform: translateY(-50%);
}

.promo-text h3 {
  font-family: var(--font-heading);
  font-size: 36px;
  color: white;
  margin-bottom: 10px;
}

.promo-text p { color: rgba(255,255,255,0.65); font-size: 15px; }
.promo-text .discount { color: var(--accent); font-size: 48px; font-weight: 900; font-family: var(--font-heading); }

/* ── FEATURES ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 40px;
  background: var(--ink);
}

.feature {
  text-align: center;
  color: white;
  padding: 24px;
}

.feature-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.feature h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--accent); }
.feature p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ── FAQ ── */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 0;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 16px;
}

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--hero-gradient);
  padding: 60px 40px;
  text-align: center;
  color: white;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  margin-bottom: 12px;
}

.newsletter-content p {
  margin-bottom: 24px;
  opacity: 0.9;
}

.newsletter-content form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-content input {
  flex: 1;
  min-width: 250px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
}

.newsletter-content button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
  font-family: var(--font-body);
}

.newsletter-content button:hover {
  background: var(--primary-dark);
}

/* ── FOOTER ── */
footer {
  background: #100500;
  color: rgba(255,255,255,0.6);
  padding: 50px 40px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h5 {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

.payment-icons { display: flex; gap: 8px; }
.payment-icons span {
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: white;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--primary);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── CART COUNTER ── */
#cart-count {
  display: none;
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--rust);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  
  nav { padding: 14px 20px; }
  
  .search-bar { display: none; }
  
  .hamburger { display: flex; }
  
  .cat-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
    z-index: 999;
  }
  
  .cat-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .section { padding: 40px 20px; }
  
  .stats-bar { gap: 30px; padding: 14px 20px; }
  
  .hero { padding: 40px 20px; min-height: 320px; }
  
  .hero::after { font-size: 100px; right: 20px; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .features { padding: 30px 20px; }
  
  .promo-banner { padding: 30px 24px; }
  
  .newsletter-section { padding: 40px 20px; }
  
  .section-head h2 { font-size: 26px; }
  
  .logo { font-size: 24px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.5s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }
