/* ================================================
   SHOPVN - MAIN STYLESHEET
   Aesthetic: Modern Light Theme
   ================================================ */

:root {
  --black: #ffffff;
  --dark: #f8f9fa;
  --dark2: #f0f2f5;
  --dark3: #e8ecf1;
  --gold: #0066ff;
  --gold-light: #3385ff;
  --gold-pale: rgba(0,102,255,0.08);
  --white: #1a1a1a;
  --white2: #2c2c2c;
  --gray: #666666;
  --gray-light: #999999;
  --red: #e05252;
  --green: #4caf7d;

  --font-display: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-body: Arial, 'Helvetica Neue', Helvetica, sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-gold: 0 2px 12px rgba(0,102,255,0.12);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e8ecf1;
  transition: var(--transition);
  overflow: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 70px;
}
.navbar::-webkit-scrollbar {
  display: none;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}
.nav-inner::-webkit-scrollbar {
  display: none;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
}
.logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 0.3rem;
  margin: 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: visible;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links::-webkit-scrollbar {
  display: none;
}
.nav-links a {
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--gray-light);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon-btn {
  position: relative;
  width: 40px; 
  height: 40px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--gray-light);
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
}
.icon-btn:hover { color: var(--gold); background: var(--gold-pale); }
.badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.badge.visible { display: flex; }

/* Search Bar */
.search-bar {
  background: var(--dark);
  border-top: 1px solid #e8ecf1;
  padding: 1rem 2rem;
  display: none;
  animation: slideDown 0.3s ease;
}
.search-bar.open { display: block; }
.search-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.search-inner input {
  flex: 1;
  background: var(--dark2);
  border: 1px solid #e0e0e0;
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  min-height: 44px;
}
.search-inner input:focus { outline: none; border-color: var(--gold); }
.search-inner button {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 1.2rem;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-results {
  max-width: 600px;
  margin: 0.5rem auto 0;
}
.search-result-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--dark3);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.search-result-item:hover { background: var(--dark3); }
.sr-emoji { font-size: 1.5rem; }
.sr-info strong { display: block; font-size: 0.9rem; }
.sr-info span { color: var(--gold); font-size: 0.8rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  display: block;
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,168,76,0.05) 0%, transparent 60%),
    linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0d0d0d 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  flex: 1;
}
.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  max-width: 480px;
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--black);
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  border: 2px solid var(--gold);
  min-height: 44px;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-primary.light {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}
.btn-primary.light:hover {
  background: var(--white2);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 0.9rem;
  background: transparent;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}
.btn-full {
  width: 100%;
  justify-content: center;
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.btn-full:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-full.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.btn-full.secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}
.btn-mini {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  background: var(--dark3);
  border: none;
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}
.btn-mini:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-1px);
}
.btn-mini.danger {
  background: rgba(244,67,54,0.15);
  color: #f44336;
}
.btn-mini.danger:hover {
  background: #f44336;
  color: var(--white);
}

/* ===================== FORM ELEMENTS ===================== */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea,
select {
  font-size: 15px;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid #d0d0d0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  color: var(--white);
  background: var(--dark2);
  transition: var(--transition);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}

textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

/* Hero Visual */
.hero-visual {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 360px;
  z-index: 2;
  animation: fadeInRight 1s ease;
}
.visual-card {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.visual-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.visual-card.v1 {
  grid-column: 1 / -1;
}
.product-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  gap: 0.5rem;
}
.product-img-placeholder span { font-size: 3rem; }
.product-img-placeholder p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  z-index: 2;
}
.scroll-indicator span {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 1.5s ease infinite;
}

/* ===================== STATS ===================== */
.stats-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 3rem 2rem;
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}
.stat {
  flex: 1;
  text-align: center;
  padding: 1rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat p {
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
}

/* ===================== SECTIONS ===================== */
.section { padding: 6rem 0; }
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
}
.view-all {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
  white-space: nowrap;
}
.view-all:hover { letter-spacing: 0.1em; }

/* ===================== CATEGORIES ===================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.cat-card {
  background: var(--dark);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
}
.cat-card:hover {
  border-color: var(--gold);
  background: #f5f7ff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.cat-card.cat-big {
  grid-column: 1 / -1;
  padding: 2rem;
}
.cat-img {
  width: 60px; height: 60px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.cat-card.cat-big .cat-img {
  width: 80px; height: 80px;
  font-size: 2.5rem;
}
.cat-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}
.cat-card.cat-big .cat-info h3 { font-size: 1.6rem; }
.cat-info p { color: var(--gray); font-size: 0.8rem; }

/* ===================== PRODUCTS GRID ===================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--dark);
  border: 1px solid #e8ecf1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,102,255,0.15);
}
.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }
.product-img {
  aspect-ratio: 4/3;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.product-img-inner .emoji,
.product-img-inner i.emoji { font-size: 4rem; }
.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--black);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.product-badge.new { background: var(--green); color: white; }
.product-badge.sale { background: var(--red); color: white; }
.product-actions {
  position: absolute;
  top: 0; right: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.75rem;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition);
}
.action-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gold);
  font-size: 0.9rem;
}
.action-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}
.stars-text { color: #f5c518; }
.rating-count { color: var(--gray); }
.product-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.price-current {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}
.price-original {
  font-size: 0.9rem;
  color: var(--gray);
  text-decoration: line-through;
}
.price-discount {
  font-size: 0.75rem;
  background: rgba(224,82,82,0.15);
  color: var(--red);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}
/* Make button container take remaining space and push button to bottom */
.product-info > div:last-child {
  margin-top: auto;
}
.buy-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
  font-size: 0.95rem;
}
.buy-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.product-card-footer {
  padding: 0 1.25rem 1.25rem;
}

/* ===================== PROMO BANNER ===================== */
.promo-banner {
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  padding: 5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}
.promo-content { position: relative; z-index: 2; }
.promo-tag {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.promo-content h2 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1rem;
}
.promo-content h2 span { color: var(--gold); font-weight: 700; }
.promo-sub { color: var(--gray-light); margin-bottom: 2rem; }
.promo-deco {
  position: relative;
  width: 300px;
  height: 200px;
}
.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.2);
}
.deco-circle.c1 { width: 200px; height: 200px; top: 0; left: 0; }
.deco-circle.c2 { width: 140px; height: 140px; top: 30px; left: 80px; border-color: rgba(201,168,76,0.15); }
.deco-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  letter-spacing: 0.1em;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section { background: var(--dark2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.testimonial-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(201,168,76,0.2); }
.testimonial-card.featured-testimonial {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.05);
  transform: translateY(-10px);
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card p {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.avatar {
  width: 40px; height: 40px;
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}
.reviewer strong { display: block; font-size: 0.9rem; }
.reviewer span { color: var(--gray); font-size: 0.78rem; }

/* ===================== FEATURES ===================== */
.features-section {
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.feature-item p { color: var(--gray); font-size: 0.85rem; }

/* ===================== NEWSLETTER ===================== */
.newsletter-section {
  padding: 4rem 0;
  background: var(--dark2);
  border-top: 1px solid rgba(201,168,76,0.1);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.newsletter-text p { color: var(--gray-light); }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.newsletter-form input {
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--white);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  min-width: 280px;
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--gold-light); }

/* ===================== FOOTER ===================== */
.footer {
  padding: 4rem 0 2rem;
  background: var(--dark);
  border-top: 1px solid #e8ecf1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--gray);
  font-size: 0.875rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}
.social-links {
  display: flex;
  gap: 0.5rem;
}
.social-btn {
  width: 36px; height: 36px;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  color: var(--gray-light);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gray);
  font-size: 0.8rem;
}

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===================== PAGE STYLES ===================== */
.page-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #f9f9ff 100%);
  border-bottom: 1px solid #e8ecf1;
}
.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.breadcrumb {
  color: var(--gray);
  font-size: 0.875rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* Filters */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  background: var(--dark);
  border: 1px solid #e0e0e0;
  color: var(--gray);
  border-radius: 100px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.sort-select {
  margin-left: auto;
  background: var(--dark);
  border: 1px solid #e0e0e0;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--gold); }

/* FORMS */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gray-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  background: var(--dark2);
  border: 1px solid #e0e0e0;
  color: var(--white);
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--dark);
}
.form-control::placeholder { color: var(--gray); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error { color: var(--red); font-size: 0.78rem; margin-top: 0.3rem; }
.form-hint { color: var(--gray); font-size: 0.78rem; margin-top: 0.3rem; }

/* AUTH PAGES */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: 
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(201,168,76,0.05) 0%, transparent 70%),
    var(--black);
  padding-top: 90px;
}
.auth-card {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 3rem;
  width: 100%;
  max-width: 480px;
}
.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.auth-header .logo { margin-bottom: 1.5rem; justify-content: center; display: flex; }
.auth-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.auth-header p { color: var(--gray); font-size: 0.9rem; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--gray);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--gray);
  font-size: 0.875rem;
}
.auth-footer a { color: var(--gold); }
.auth-footer a:hover { text-decoration: underline; }

/* ===================== CART ===================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.cart-item:hover { border-color: rgba(201,168,76,0.2); }
.cart-item-img {
  width: 90px; height: 90px;
  background: var(--dark3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.cart-item-meta { color: var(--gray); font-size: 0.8rem; margin-bottom: 0.75rem; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--gold); color: var(--black); }
.qty-val {
  width: 40px;
  text-align: center;
  font-size: 0.9rem;
}
.cart-item-price {
  text-align: right;
}
.cart-item-price .price { font-size: 1.2rem; font-weight: 600; color: var(--gold); }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  margin-top: 0.5rem;
}
.cart-item-remove:hover { color: var(--red); }
.cart-summary {
  background: var(--dark2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 90px;
}
.cart-summary h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.summary-row .label { color: var(--gray-light); }
.summary-row.total {
  padding-top: 1rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 1.1rem;
  font-weight: 600;
}
.summary-row.total .value { color: var(--gold); font-size: 1.3rem; }
.coupon-form {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.coupon-form input {
  flex: 1;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  padding: 0.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
}
.coupon-form input:focus { outline: none; border-color: var(--gold); }
.coupon-form button {
  background: var(--dark3);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition);
}
.coupon-form button:hover { background: var(--gold); color: var(--black); }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInRight {
  from { opacity: 0; transform: translateY(-50%) translateX(40px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }

/* ===================== ADMIN STYLES ===================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}
.admin-sidebar {
  width: 260px;
  background: var(--dark);
  border-right: 1px solid #e8ecf1;
  padding: 2rem 0;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  pointer-events: auto;
}
.sidebar-logo {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid #e8ecf1;
  margin-bottom: 1rem;
}
.sidebar-menu { list-style: none; }
.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: var(--gray);
  font-size: 0.875rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-menu li a:hover, .sidebar-menu li a.active {
  color: var(--gold);
  background: var(--gold-pale);
  border-left-color: var(--gold);
}
.sidebar-section-title {
  padding: 1rem 1.5rem 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}
.admin-main {
  margin-left: 260px;
  flex: 1;
  min-height: 100vh;
  background: var(--black);
  position: relative;
  z-index: 1;
  width: calc(100% - 260px);
  overflow-x: hidden;
}
.admin-topbar {
  height: 64px;
  background: var(--dark);
  border-bottom: 1px solid #e8ecf1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
}
.topbar-title { font-family: var(--font-display); font-size: 1.3rem; }
.topbar-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; white-space: nowrap; margin-left: auto; }
.admin-content { padding: 2rem; }

/* Admin Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.admin-stat-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}
.admin-stat-card:hover { border-color: rgba(201,168,76,0.2); }
.asc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.asc-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
.asc-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.asc-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.asc-change {
  font-size: 0.78rem;
}
.asc-change.up { color: var(--green); }
.asc-change.down { color: var(--red); }

/* Admin Table */
.admin-table-container {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.table-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  padding: 0.875rem 1.5rem;
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.admin-table td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
}
.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-success { background: rgba(76,175,125,0.15); color: var(--green); }
.status-warning { background: rgba(255,193,7,0.15); color: #ffc107; }
.status-danger { background: rgba(224,82,82,0.15); color: var(--red); }
.status-info { background: rgba(100,180,255,0.15); color: #64b4ff; }

/* ===================== RESPONSIVE ===================== */

/* Tablet: 1100px - 769px */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card.featured-testimonial { transform: none; }
}

@media (max-width: 1100px) {
  body { font-size: 15px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .product-name { font-size: 1rem; }
  .buy-btn { padding: 0.7rem 1rem; font-size: 0.95rem; }
}

/* Tablet: 768px - 481px */
@media (max-width: 768px) {
  body { font-size: 15px; }
  
  /* Navbar */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 1rem; height: 60px; }
  .logo { font-size: 1.5rem; }
  
  /* Layout */
  .shop-layout { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; margin-left: auto; }
  .cat-sidebar { display: none; position: fixed; left: 0; top: 60px; width: 100%; height: calc(100vh - 60px); z-index: 999; border-radius: 0; max-height: 100%; }
  .cat-sidebar.open { display: block; }
  
  /* Hero */
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  .hero-sub { margin: 0 auto 2.5rem; }
  .stats-banner { flex-wrap: wrap; }
  .stat-divider { display: none; }
  
  /* Categories & Products */
  .categories-grid { grid-template-columns: 1fr; }
  .cat-card.cat-big { grid-column: auto; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-card { border-radius: 12px; }
  .product-name { font-size: 0.95rem; margin-bottom: 0.4rem; }
  .product-price .price-current { font-size: 1.1rem; }
  .buy-btn { padding: 0.8rem; font-size: 0.95rem; min-height: 44px; }
  
  /* Features & Other */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .promo-banner { flex-direction: column; text-align: center; }
  
  /* Admin */
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; text-align: center; }
}

/* Mobile: 480px - 361px */
@media (max-width: 480px) {
  body { font-size: 14px; line-height: 1.5; }
  
  /* Navbar */
  .nav-inner { padding: 0 0.75rem; height: 55px; gap: 0.75rem; }
  .logo { font-size: 1.25rem; }
  .icon-btn { width: 36px; height: 36px; font-size: 1.1rem; }
  .badge { width: 18px; height: 18px; font-size: 0.6rem; }
  
  /* Layout */
  .shop-layout { padding-top: 1rem; padding-bottom: 2rem; }
  .nav-inner { padding: 0 0.75rem; }
  .container { padding: 0 1rem; }
  
  /* Products Grid */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .product-card { border-radius: 10px; }
  .product-img { aspect-ratio: 3/3; }
  .product-img-inner .emoji, .product-img-inner i.emoji { font-size: 3rem; }
  .product-info { padding: 0.9rem; }
  .product-name { font-size: 0.9rem; margin-bottom: 0.3rem; line-height: 1.2; }
  .product-rating { font-size: 0.75rem; margin-bottom: 0.5rem; gap: 0.3rem; }
  .product-price { flex-direction: column; gap: 0.25rem; }
  .price-current { font-size: 1rem; }
  .buy-btn { padding: 0.75rem 0.75rem; font-size: 0.9rem; min-height: 44px; border-radius: 6px; }
  
  /* Search */
  .search-input-wrapper { width: 100%; }
  .search-input-wrapper input { font-size: 15px; padding: 0.65rem 1rem; }
  
  /* Action Buttons */
  .action-btn { width: 32px; height: 32px; font-size: 0.8rem; }
  .product-actions { padding: 0.75rem 0.5rem; gap: 0.4rem; }
  
  /* Forms */
  input, textarea, select { font-size: 15px; padding: 0.7rem; }
  button { font-size: 0.95rem; padding: 0.75rem 1.25rem; min-height: 44px; }
  
  /* Categories */
  .categories-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cat-card { padding: 1.5rem 1rem; }
  .cat-title { font-size: 1.1rem; }
  
  /* Admin Stats */
  .admin-stats-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stat-card { padding: 1.5rem 1rem; }
  
  /* Modals */
  .modal-box { padding: 1.5rem 1rem; width: 95% !important; max-width: calc(100vw - 1.5rem); }
  .modal-field { margin-bottom: 1rem; }
  .modal-field label { font-size: 0.9rem; }
  .modal-field input, .modal-field textarea, .modal-field select { font-size: 15px; padding: 0.65rem; }
  
  /* Rate Section */
  .rate-stars { font-size: 1.2rem; gap: 0.5rem; }
  
  /* Buttons spacing */
  .modal-footer button, .btn-primary, .btn-outline { min-height: 44px; font-size: 0.95rem; }
}

/* Extra small: 360px and below */
@media (max-width: 360px) {
  body { font-size: 13px; }
  
  .products-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .product-card { border-radius: 8px; }
  .product-info { padding: 0.75rem; }
  .product-name { font-size: 0.85rem; }
  .price-current { font-size: 0.95rem; }
  .buy-btn { font-size: 0.85rem; padding: 0.65rem; }
  
  .nav-inner { padding: 0 0.5rem; }
  .logo { font-size: 1.1rem; }
  .container { padding: 0 0.75rem; }
  
  button, .btn-primary { font-size: 0.9rem; padding: 0.65rem 1rem; }
  input, textarea { font-size: 13px; }
}
