/* ============================================================
   ЗЕЛЁНЫЙ НЕФРИТ — Design System CSS
   Premium Green & Gold Palette
   ============================================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Colors — Premium Deep Green Theme */
  --bg-primary: #0A1A12;
  --bg-secondary: #0E2218;
  --bg-surface: #122B1E;
  --bg-surface-raised: #183424;
  --bg-surface-overlay: rgba(10, 26, 18, 0.94);

  --text-primary: #F5F2EC;
  --text-secondary: #C4BDA8;
  --text-muted: #7A9484;

  --gold-primary: #C9A84C;
  --gold-variant: #DFC46A;
  --gold-hover: #D4B85A;
  --gold-subtle: rgba(201, 168, 76, 0.12);

  --jade: #4E8C5E;
  --jade-light: #6AAE7A;
  --jade-dark: #2D6B3B;
  --jade-accent: #5CA36C;

  --border-color: rgba(201, 168, 76, 0.2);
  --border-subtle: rgba(78, 140, 94, 0.18);
  --border-gold: rgba(201, 168, 76, 0.4);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(78, 140, 94, 0.2);
  --shadow-glow-strong: 0 0 30px rgba(201, 168, 76, 0.25);
  --shadow-glow-jade: 0 0 24px rgba(78, 140, 94, 0.3);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-max: 1320px;
  --header-height: 70px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--gold-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
  color: var(--text-primary);
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 14px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ============================================================
   TOP BANNER
   ============================================================ */
.top-banner {
  background: linear-gradient(90deg, #0E2218 0%, #153D24 50%, #0E2218 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}
.top-banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}
.top-banner-right {
  display: none;
}
@media (min-width: 768px) {
  .top-banner .container {
    justify-content: space-between;
  }
  .top-banner-right {
    display: flex;
    gap: var(--space-md);
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-surface-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-base);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon svg {
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-brand {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 2px;
  line-height: 1.1;
}
.logo-sub {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-lg);
}
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 0;
  position: relative;
  transition: color var(--transition-fast);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width var(--transition-base);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-primary);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
  transition: all var(--transition-fast);
  position: relative;
}
.header-icon-btn:hover {
  color: var(--gold-primary);
  background: var(--gold-subtle);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold-primary);
  color: var(--bg-primary);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-fast);
}
.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: var(--text-secondary);
}
@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}
.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: var(--space-lg);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}
.mobile-nav-overlay.open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav-close {
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: var(--text-muted);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.mobile-nav-links a {
  display: block;
  padding: var(--space-md) var(--space-sm);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.mobile-nav-links a:hover {
  background: var(--gold-subtle);
  color: var(--gold-primary);
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface-overlay);
  backdrop-filter: blur(20px);
  z-index: 1500;
  padding: var(--space-lg);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-base);
}
.search-overlay.open {
  transform: translateY(0);
  opacity: 1;
}

.search-overlay-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.search-overlay-inner input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: var(--text-primary);
  font-size: 16px;
  outline: none;
  transition: border-color var(--transition-fast);
}
.search-overlay-inner input::placeholder {
  color: var(--text-muted);
}
.search-overlay-inner input:focus {
  border-color: var(--gold-primary);
}
.search-overlay-inner button {
  width: 44px;
  height: 44px;
  font-size: 20px;
  color: var(--text-muted);
}

.search-results {
  max-width: 700px;
  margin: var(--space-md) auto 0;
  max-height: 400px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  text-decoration: none;
}
.search-result-item:hover {
  background: var(--gold-subtle);
}
.search-result-item img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.search-result-item .sr-info {
  flex: 1;
}
.search-result-item .sr-name {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
}
.search-result-item .sr-price {
  color: var(--gold-primary);
  font-size: 13px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-variant));
  color: var(--bg-primary);
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-variant), var(--gold-primary));
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.45);
  transform: translateY(-1px);
  color: var(--bg-primary);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1.5px solid var(--gold-primary);
}
.btn-outline-gold:hover {
  background: var(--gold-subtle);
  box-shadow: var(--shadow-glow);
  color: var(--gold-primary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

.btn-add-cart {
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}
.btn-add-cart:hover {
  background: linear-gradient(135deg, var(--jade), var(--jade-light));
  color: #fff;
  box-shadow: 0 2px 12px rgba(78, 140, 94, 0.35);
  border-color: transparent;
}

.btn-add-cart-detail {
  flex: 1;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  position: absolute;
  top: 12px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  z-index: 2;
}
.badge-new {
  left: 12px;
  background: var(--jade);
  color: white;
}
.badge-sale {
  right: 12px;
  background: #C0392B;
  color: white;
}
.badge-lg {
  font-size: 12px;
  padding: 6px 14px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0A1A12 0%, #0E2E1A 40%, #153D24 70%, #0E2218 100%);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(78, 140, 94, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 25% 75%, rgba(201, 168, 76, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 10%, rgba(78, 140, 94, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    gap: var(--space-3xl);
    padding: var(--space-4xl) 0;
  }
}

.hero-text {
  flex: 1;
}

.hero-subtitle {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: linear-gradient(180deg, #F5F2EC 0%, #C9A84C 50%, #DFC46A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: var(--space-xl);
  max-width: 420px;
  line-height: 1.7;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 550px;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-image-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(78, 140, 94, 0.25) 0%, rgba(201, 168, 76, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes heroGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.1); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar, .bottom-trust {
  background: linear-gradient(135deg, #0E2218 0%, #122B1E 50%, #0E2218 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-2xl) 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 768px) {
  .trust-bar-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  text-align: left;
}
.trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 22px;
}
.trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-primary);
}
.section-title-center {
  text-align: center;
}

.section-overtitle {
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-link:hover {
  gap: 10px;
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}
@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: cardAppear 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; }
.product-card:nth-child(9) { animation-delay: 0.45s; }

@keyframes cardAppear {
  to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
  border-color: var(--jade);
  box-shadow: var(--shadow-glow), 0 0 12px rgba(78, 140, 94, 0.15);
  transform: translateY(-4px);
}

.product-card-image-link {
  display: block;
  text-decoration: none;
}

.product-card-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-primary);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: var(--bg-surface-overlay);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}
.product-card:hover .product-fav-btn {
  opacity: 1;
  transform: scale(1);
}
.product-fav-btn:hover {
  color: #E74C3C;
  background: rgba(231, 76, 60, 0.15);
}
.product-fav-btn.active {
  color: #E74C3C;
}
.product-fav-btn.active i {
  font-weight: 900;
}

.product-card-body {
  padding: var(--space-md);
}

.product-card-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-title:hover {
  color: var(--gold-primary);
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  font-size: 12px;
}
.product-material {
  color: var(--jade-light);
  font-weight: 500;
}
.product-rating {
  color: var(--gold-primary);
}
.product-rating i {
  font-size: 10px;
  margin-right: 2px;
}

.product-card-price-row {
  margin-bottom: var(--space-md);
}
.price-current {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.price-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: var(--space-sm);
}

/* ============================================================
   BRAND STORY
   ============================================================ */
.brand-story-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #122B1E 100%);
}
.brand-story-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 768px) {
  .brand-story-inner {
    grid-template-columns: 1fr 1fr;
  }
}
.brand-story-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.brand-story-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold-primary);
  text-transform: uppercase;
}
.brand-story-text h2 {
  margin: var(--space-md) 0;
  font-family: var(--font-heading);
  font-style: italic;
}
.brand-story-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* ============================================================
   COLLECTIONS
   ============================================================ */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
@media (min-width: 768px) {
  .collections-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .collections-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.collection-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: all var(--transition-base);
  border: 1px solid var(--border-subtle);
}
.collection-card:hover {
  border-color: var(--jade);
  box-shadow: var(--shadow-glow), 0 0 12px rgba(78, 140, 94, 0.15);
  transform: translateY(-4px);
}
.collection-card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
}
.collection-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.collection-card:hover .collection-card-img img {
  transform: scale(1.1);
}
.collection-card-body {
  padding: var(--space-md);
  background: var(--bg-surface);
  text-align: center;
}
.collection-card-cat {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 2px;
}
.collection-card-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
  padding: var(--space-3xl) 0;
}
.quote-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.quote-mark {
  font-family: var(--font-heading);
  font-size: 60px;
  color: var(--gold-primary);
  line-height: 1;
  display: block;
  opacity: 0.5;
}
blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}
blockquote cite {
  font-size: 14px;
  color: var(--text-muted);
  font-style: normal;
}

/* ============================================================
   CATALOG
   ============================================================ */
.catalog-hero {
  background: linear-gradient(160deg, #0A1A12 0%, #0E2E1A 50%, #153D24 100%);
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}
.catalog-title {
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
}
.catalog-desc {
  color: var(--text-muted);
  font-size: 15px;
}

.catalog-section {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 260px 1fr;
  }
}

/* Sidebar */
.catalog-sidebar {
  display: none;
}
.catalog-sidebar.open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-secondary);
  padding: var(--space-xl);
  overflow-y: auto;
}
@media (min-width: 1024px) {
  .catalog-sidebar {
    display: block;
    position: static;
    background: none;
    padding: 0;
  }
}

.filter-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}
.filter-title {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color var(--transition-fast);
}
.filter-option:hover {
  color: var(--gold-primary);
}
.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-gold);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.filter-option input[type="checkbox"] {
  border-radius: var(--radius-sm);
}
.filter-option input[type="radio"]:checked,
.filter-option input[type="checkbox"]:checked {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
}
.filter-option input[type="radio"]:checked::after,
.filter-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--bg-primary);
  border-radius: 50%;
}
.filter-option input[type="checkbox"]:checked::after {
  border-radius: 1px;
  width: 8px;
  height: 5px;
  background: transparent;
  border-bottom: 2px solid var(--bg-primary);
  border-left: 2px solid var(--bg-primary);
  transform: translate(-50%, -60%) rotate(-45deg);
}

/* Price slider */
.price-range {
  padding: var(--space-sm) 0;
}
.price-range input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  outline: none;
}
.price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--gold-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(185, 151, 58, 0.4);
}
.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* Toolbar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}
.catalog-count {
  font-size: 13px;
  color: var(--text-muted);
}
.catalog-toolbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.filter-mobile-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: transparent;
}
@media (min-width: 1024px) {
  .filter-mobile-btn {
    display: none;
  }
}

.sort-select {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}
.sort-select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* Empty state */
.catalog-empty {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}
.catalog-empty i {
  font-size: 48px;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}
.catalog-empty h3 {
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
}
.catalog-empty p {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.breadcrumbs {
  padding: var(--space-md) 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.breadcrumbs .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 12px;
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--gold-primary);
}
.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 10px;
}
.breadcrumb-current {
  color: var(--text-secondary);
}

.product-detail-section {
  padding: var(--space-2xl) 0;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
@media (min-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* Gallery */
.product-gallery {
  position: relative;
}
.product-gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  cursor: zoom-in;
}
.product-gallery-main img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-gallery-main:hover img {
  transform: scale(1.15);
}
.product-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--bg-surface-overlay);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.product-gallery-main:hover .product-zoom-hint {
  opacity: 1;
}

.product-gallery-thumbs {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
  cursor: pointer;
  background: var(--bg-surface);
}
.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--gold-primary);
}
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-sku {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}
.product-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--gold-primary);
  font-size: 14px;
}
.review-count {
  font-size: 13px;
  color: var(--text-muted);
}

.product-price-block {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.price-current-lg {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}
.price-old-lg {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-discount-badge {
  background: rgba(192, 57, 43, 0.2);
  color: #E74C3C;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.product-specs-mini {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.spec-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--text-secondary);
}
.spec-item i {
  color: var(--gold-primary);
  width: 16px;
  text-align: center;
  font-size: 13px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.product-tag {
  padding: 4px 12px;
  font-size: 12px;
  background: var(--gold-subtle);
  color: var(--gold-primary);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.product-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  align-items: center;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 44px;
  font-size: 18px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.qty-btn:hover {
  color: var(--gold-primary);
  background: var(--gold-subtle);
}
.qty-selector input {
  width: 48px;
  text-align: center;
  border: none;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  -moz-appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.product-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}
.product-trust-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-trust-row i {
  color: var(--gold-primary);
}

/* Fengshui Tip */
.fengshui-tip {
  background: linear-gradient(135deg, rgba(78, 140, 94, 0.08), rgba(201, 168, 76, 0.05));
  border: 1px solid rgba(78, 140, 94, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.fengshui-tip-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--gold-primary);
  font-size: 14px;
}
.fengshui-tip p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   PRODUCT TABS
   ============================================================ */
.product-tabs-section {
  padding: var(--space-2xl) 0 var(--space-3xl);
  border-top: 1px solid var(--border-subtle);
}

.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
}
.tab-btn {
  padding: var(--space-md) var(--space-xl);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.tab-btn:hover {
  color: var(--text-secondary);
}
.tab-btn.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}
.specs-table td {
  padding: var(--space-md);
  font-size: 14px;
}
.specs-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}
.specs-table td:last-child {
  color: var(--text-primary);
}

.reviews-placeholder {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
}
.reviews-placeholder i {
  font-size: 36px;
  margin-bottom: var(--space-md);
  display: block;
  opacity: 0.5;
}

/* Related */
.related-section {
  border-top: 1px solid var(--border-subtle);
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
}
.cart-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}
.cart-drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
}
.cart-drawer-header button {
  width: 36px;
  height: 36px;
  font-size: 18px;
  color: var(--text-muted);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
}

.cart-empty {
  text-align: center;
  padding: var(--space-3xl) var(--space-md);
}
.cart-empty i {
  font-size: 48px;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  opacity: 0.4;
}
.cart-empty h4 {
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
}
.cart-empty p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

/* Cart Items */
.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-subtle);
  animation: fadeIn 0.3s ease;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-price {
  font-size: 14px;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.cart-item-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-surface);
}
.cart-item-qty-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}
.cart-item-qty {
  font-size: 14px;
  font-weight: 600;
  width: 24px;
  text-align: center;
}
.cart-item-remove {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 14px;
  padding: 4px;
}
.cart-item-remove:hover {
  color: #E74C3C;
}

/* Cart Footer */
.cart-drawer-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.cart-summary-row.cart-total {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}
.cart-trust-icons {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  font-size: 11px;
  color: var(--text-muted);
}
.cart-trust-icons span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-trust-icons i {
  color: var(--gold-primary);
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-section {
  padding: var(--space-2xl) 0 var(--space-3xl);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
@media (min-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
  }
}

/* Steps */
.checkout-steps {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}
.checkout-step.active .step-num {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}
.checkout-step.completed .step-num {
  background: var(--jade);
  color: white;
  border-color: var(--jade);
}
.checkout-step.active .step-label {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Step Panels */
.checkout-step-panel {
  display: none;
}
.checkout-step-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}
.checkout-step-panel h2 {
  font-family: var(--font-heading);
  margin-bottom: var(--space-xl);
}

/* Form */
.form-group {
  margin-bottom: var(--space-md);
}
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast);
}
.form-input::placeholder {
  color: var(--text-muted);
}
.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(185, 151, 58, 0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.form-actions-row {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Shipping Options */
.shipping-methods, .payment-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.shipping-option, .payment-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.shipping-option:hover, .payment-option:hover {
  border-color: var(--gold-primary);
  background: var(--gold-subtle);
}
.shipping-option input, .payment-option input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-gold);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}
.shipping-option input:checked, .payment-option input:checked {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
}
.shipping-option input:checked::after, .payment-option input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--bg-primary);
  border-radius: 50%;
}
.shipping-option div {
  flex: 1;
}
.shipping-option strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.shipping-option p {
  font-size: 12px;
  color: var(--text-muted);
}
.shipping-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-primary);
}

.payment-option i {
  font-size: 18px;
  color: var(--gold-primary);
  width: 24px;
  text-align: center;
}
.payment-option span {
  font-size: 14px;
  color: var(--text-primary);
}

.checkout-trust-icons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  font-size: 12px;
  color: var(--text-muted);
}
.checkout-trust-icons span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.checkout-trust-icons i {
  color: var(--gold-primary);
}

/* Summary Card */
.checkout-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}
.checkout-summary-card h3 {
  font-family: var(--font-heading);
  margin-bottom: var(--space-lg);
}

.checkout-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}
.checkout-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-item-info {
  flex: 1;
}
.checkout-item-name {
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.checkout-item-qty {
  font-size: 12px;
  color: var(--text-muted);
}
.checkout-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-primary);
  white-space: nowrap;
}

.checkout-totals {
  margin-top: var(--space-md);
}
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
}
.checkout-total-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-md);
  margin-top: var(--space-sm);
}

/* Success */
.checkout-success {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}
.success-icon {
  margin-bottom: var(--space-xl);
  animation: successPulse 2s ease-in-out infinite;
}
@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.checkout-success h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: var(--space-md);
}
.success-order-num {
  font-size: 18px;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.checkout-success p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}
.success-delivery {
  font-size: 14px;
  color: var(--text-muted);
}
.success-quote {
  margin-top: var(--space-2xl);
  font-style: italic;
  color: var(--text-muted);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
}
.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-glow-strong);
  color: var(--text-primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  pointer-events: auto;
  animation: toastIn 0.4s ease, toastOut 0.3s ease 2.5s forwards;
  max-width: 360px;
}
.toast i {
  color: var(--gold-primary);
  font-size: 16px;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100%); }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-inner {
  text-align: center;
  padding: var(--space-3xl);
}
.error-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--gold-primary);
  line-height: 1;
  opacity: 0.3;
  margin-bottom: var(--space-md);
}
.error-inner h2 {
  font-family: var(--font-heading);
  margin-bottom: var(--space-md);
}
.error-inner p {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #0E2218 0%, #081510 100%);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--gold-primary);
  margin-bottom: var(--space-md);
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  padding: 4px 0;
  transition: color var(--transition-fast);
}
.footer-col a:hover {
  color: var(--gold-primary);
}
.footer-col p {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 4px 0;
}
.footer-col p i {
  color: var(--gold-primary);
  width: 16px;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 16px;
}
.footer-social a:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  background: var(--gold-subtle);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-links {
  display: flex;
  gap: var(--space-lg);
}
.footer-links a {
  color: var(--text-muted);
  font-size: 12px;
}
.footer-links a:hover {
  color: var(--gold-primary);
}

/* ============================================================
   SKELETON LOADERS
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-surface-raised) 50%, var(--bg-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Prevent body scroll when drawer/overlay is open */
body.no-scroll {
  overflow: hidden;
}

/* ============================================================
   SALE BANNER (Promotion Timer)
   ============================================================ */
.sale-banner {
  background: linear-gradient(90deg, #1A0A0A 0%, #2D1010 30%, #3A1515 50%, #2D1010 70%, #1A0A0A 100%);
  border-bottom: 1px solid rgba(201, 57, 43, 0.3);
  padding: 10px 0;
  font-size: 13px;
  color: #FFD4CC;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: saleBannerShimmer 3s ease infinite;
}
.sale-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 168, 76, 0.06) 50%, transparent 100%);
  animation: saleBannerGlow 4s ease-in-out infinite;
}
@keyframes saleBannerGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.sale-banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.sale-banner-text {
  font-weight: 600;
}
.sale-banner-code {
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold-primary);
  padding: 2px 10px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  cursor: pointer;
  transition: all 0.2s;
}
.sale-banner-code:hover {
  background: rgba(201, 168, 76, 0.35);
}
.sale-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 14px;
  color: #FF6B6B;
  font-variant-numeric: tabular-nums;
}
.sale-timer-label {
  font-weight: 400;
  font-size: 11px;
  color: #FFA59E;
  margin-right: 4px;
}
.sale-timer-unit {
  background: rgba(255, 107, 107, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 28px;
  text-align: center;
}
.sale-timer-sep {
  color: #FF6B6B;
  opacity: 0.5;
}
.sale-banner-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #FFA59E;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.6;
  transition: opacity 0.2s;
  z-index: 2;
}
.sale-banner-close:hover { opacity: 1; }

/* ============================================================
   FIRST ORDER POPUP
   ============================================================ */
.first-order-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 16px;
}
.first-order-popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}
.first-order-popup {
  background: linear-gradient(160deg, #122B1E, #183424 50%, #0E2218);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 168, 76, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}
.first-order-popup-overlay.visible .first-order-popup {
  transform: scale(1) translateY(0);
}
.first-order-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  border-radius: 50%;
  transition: all 0.2s;
}
.first-order-popup-close:hover {
  color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.1);
}
.first-order-popup-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.first-order-popup h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-variant));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.first-order-popup p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.first-order-popup-code {
  display: inline-block;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.25));
  color: var(--gold-primary);
  padding: 10px 28px;
  border-radius: 8px;
  font-family: monospace;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  border: 1px dashed rgba(201, 168, 76, 0.5);
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.first-order-popup-code:hover {
  background: rgba(201, 168, 76, 0.3);
  transform: scale(1.02);
}
.first-order-popup .btn {
  margin-top: 8px;
}
.first-order-popup-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ============================================================
   SOCIAL PROOF NOTIFICATION
   ============================================================ */
.social-proof-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 4500;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 340px;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(201, 168, 76, 0.1);
  transform: translateX(-120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}
.social-proof-notification.visible {
  transform: translateX(0);
  opacity: 1;
}
.social-proof-notification img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.social-proof-info {
  flex: 1;
  min-width: 0;
}
.social-proof-info strong {
  color: var(--text-primary);
  font-size: 13px;
}
.social-proof-info .sp-city {
  color: var(--jade-light);
  font-size: 13px;
}
.social-proof-info .sp-product {
  display: block;
  color: var(--gold-primary);
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.social-proof-info .sp-time {
  display: block;
  color: var(--text-muted);
  font-size: 10px;
  margin-top: 3px;
}
.social-proof-close {
  position: absolute;
  top: 6px;
  right: 8px;
  color: var(--text-muted);
  font-size: 12px;
  padding: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}
.social-proof-notification:hover .social-proof-close {
  opacity: 1;
}

/* ============================================================
   FREE SHIPPING PROGRESS BAR
   ============================================================ */
.free-shipping-bar {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(78, 140, 94, 0.08), rgba(201, 168, 76, 0.05));
  border: 1px solid rgba(78, 140, 94, 0.2);
  border-radius: 10px;
}
.free-shipping-text {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.4;
}
.free-shipping-text i {
  color: var(--jade-light);
  margin-right: 4px;
}
.free-shipping-text strong {
  color: var(--gold-primary);
}
.free-shipping-track {
  height: 6px;
  background: rgba(78, 140, 94, 0.15);
  border-radius: 3px;
  overflow: hidden;
}
.free-shipping-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--jade), var(--jade-light), var(--gold-primary));
  border-radius: 3px;
  transition: width 0.5s ease;
  position: relative;
}
.free-shipping-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmerBar 2s infinite;
}
@keyframes shimmerBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.free-shipping-complete {
  font-size: 12px;
  color: var(--jade-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.free-shipping-complete i {
  color: var(--gold-primary);
}

/* ============================================================
   STOCK COUNTER
   ============================================================ */
.stock-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #E67E22;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(230, 126, 34, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(230, 126, 34, 0.15);
}
.stock-counter i {
  animation: stockPulse 1.5s ease-in-out infinite;
}
@keyframes stockPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.stock-counter-low {
  color: #E74C3C;
  background: rgba(231, 76, 60, 0.08);
  border-color: rgba(231, 76, 60, 0.15);
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}
.review-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jade-dark), var(--jade));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.review-author-info .review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.review-author-info .review-city {
  font-size: 11px;
  color: var(--text-muted);
}
.review-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--jade-light);
  background: rgba(78, 140, 94, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}
.review-stars {
  color: var(--gold-primary);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.review-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================================
   GIFT WITH PURCHASE
   ============================================================ */
.gift-notice {
  margin-top: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.04));
  border: 1px dashed rgba(201, 168, 76, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gift-notice-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.gift-notice-text {
  flex: 1;
}
.gift-notice-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 2px;
}
.gift-notice-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}
.gift-notice img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

/* ============================================================
   PROMO CODE INPUT (Checkout)
   ============================================================ */
.promo-code-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.promo-code-row {
  display: flex;
  gap: 8px;
}
.promo-code-row input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  outline: none;
  transition: border-color 0.2s;
}
.promo-code-row input::placeholder {
  color: var(--text-muted);
  text-transform: none;
  font-family: var(--font-body);
  letter-spacing: 0;
}
.promo-code-row input:focus {
  border-color: var(--gold-primary);
}
.promo-code-row button {
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.promo-code-row button:hover {
  background: var(--gold-subtle);
}
.promo-code-row button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.promo-result {
  margin-top: 8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
}
.promo-result.success {
  color: var(--jade-light);
  background: rgba(78, 140, 94, 0.1);
  border: 1px solid rgba(78, 140, 94, 0.2);
}
.promo-result.error {
  color: #E74C3C;
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.15);
}
.promo-applied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(78, 140, 94, 0.08);
  border: 1px solid rgba(78, 140, 94, 0.2);
  border-radius: 8px;
  margin-top: 8px;
}
.promo-applied-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.promo-applied-code {
  font-family: monospace;
  font-weight: 700;
  color: var(--jade-light);
}
.promo-applied-discount {
  color: var(--gold-primary);
  font-weight: 600;
}
.promo-applied-remove {
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
}
.promo-applied-remove:hover {
  color: #E74C3C;
}
.checkout-total-row.discount {
  color: var(--jade-light);
}

/* ============================================================
   RESPONSIVE FIXES FOR MARKETING
   ============================================================ */
@media (max-width: 480px) {
  .sale-banner .container {
    font-size: 11px;
    gap: 6px;
  }
  .sale-timer-unit {
    min-width: 22px;
    padding: 2px 4px;
    font-size: 12px;
  }
  .social-proof-notification {
    left: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
    bottom: 12px;
  }
  .first-order-popup {
    padding: 28px 20px;
  }
  .first-order-popup h3 {
    font-size: 18px;
  }
  .first-order-popup-code {
    font-size: 16px;
    padding: 8px 20px;
  }
}
