:root {
  --gold: #F4B400;
  --gold-light: #FFD54F;
  --gold-dark: #D4A000;
  --black: #121212;
  --black-light: #1E1E1E;
  --white: #FFFFFF;
  --cream: #F8F8F5;
  --beige: #EFE7DC;
  --beige-light: #F5F0EA;
  --gray: #8B8B8B;
  --gray-light: #D4D4D4;
  --gray-lighter: #E8E8E5;
  --success: #2E7D32;
  --danger: #C62828;
  --info: #1565C0;
  --warning: #F9A825;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.15);
  --shadow-gold: 0 4px 24px rgba(244,180,0,0.25);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(255,255,255,0.2);
  /* Backward compat for admin */
  --primary: var(--gold);
  --primary-dark: var(--gold-dark);
  --secondary: var(--black);
  --accent: var(--black-light);
  --light: var(--cream);
  --dark: var(--black);
  --font-sans: var(--font-primary);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-primary);
  color: var(--black);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement {
  background: var(--black);
  color: var(--white);
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 1001;
  overflow: hidden;
}
.announcement-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.announcement-item {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
  white-space: nowrap;
}
.announcement-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.announcement-gold { color: var(--gold); font-weight: 700; }
.announcement-countdown { font-weight: 700; color: var(--gold); }

/* ===== HEADER / NAVBAR ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.header.scrolled { background: rgba(255,255,255,0.98); box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 0; }
.logo img { height: 36px; width: auto; }
.logo-text { font-size: 24px; font-weight: 900; letter-spacing: -0.5px; color: var(--black); }
.logo-text .gold { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav-links > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-links > a:hover { color: var(--gold); }
.nav-links > a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--beige-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--black);
}
.nav-action-btn:hover { background: var(--beige); transform: translateY(-1px); }
.nav-action-btn svg { width: 20px; height: 20px; }
.nav-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== MOBILE BOTTOM NAV ===== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: var(--white);
  border-top: 1px solid var(--gray-lighter);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
  z-index: 1000;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  text-decoration: none;
  color: var(--gray);
  font-size: 10px;
  font-weight: 600;
  transition: color 0.2s;
  position: relative;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.bottom-nav-item svg {
  width: 22px;
  height: 22px;
}
.bottom-nav-item:hover,
.bottom-nav-item:active,
.bottom-nav-item.active {
  color: var(--gold-dark);
}
.bottom-nav-badge {
  position: absolute;
  top: 2px;
  right: 4px;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(165deg, var(--beige) 0%, var(--cream) 40%, var(--white) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(244,180,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(239,231,220,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,180,0,0.12);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
}
.hero-badge svg { width: 16px; height: 16px; }
.hero-content h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--black);
}
.hero-content h1 .gold { color: var(--gold); }
.hero-content p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.8;
}
.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}
.hero-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(244,180,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-lighter);
}
.hero-stat { text-align: left; }
.hero-stat-number {
  font-size: 24px;
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-main {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-3deg);
  transition: var(--transition-slow);
}
.hero-image-main:hover { transform: perspective(1000px) rotateY(0deg) translateY(-8px); }
.hero-collage {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  transform: perspective(1000px) rotateY(-3deg);
  transition: var(--transition-slow);
}
.hero-collage:hover { transform: perspective(1000px) rotateY(0deg) translateY(-4px); }
.hero-collage-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  cursor: pointer;
  display: block;
}
.hero-collage-item:hover { transform: scale(1.04); z-index: 2; }
.hero-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-collage-large { grid-row: span 1; grid-column: span 1; }
.hero-collage-tl { border-radius: var(--radius-lg) 0 0 0; }
.hero-collage-tr { border-radius: 0 var(--radius-lg) 0 0; }
.hero-collage-bl { border-radius: 0 0 0 var(--radius-lg); }
.hero-collage-br { border-radius: 0 0 var(--radius-lg) 0; }
.hero-collage-item .hero-collage-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-float-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.hero-float-card-1 {
  top: 10%;
  right: -8%;
}
.hero-float-card-2 {
  bottom: 15%;
  left: -8%;
  animation-delay: -2s;
}
.hero-float-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hero-float-card p { font-size: 13px; font-weight: 600; color: var(--black); }
.hero-float-card small { 
  font-size: 11px;
  color: var(--gray);
  display: block;
  font-weight: 400;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-primary);
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--black);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(244,180,0,0.4); }
.btn-secondary {
  background: var(--black);
  color: var(--white);
}
.btn-secondary:hover { background: var(--black-light); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-light {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-block { width: 100%; display: flex; }

/* ===== SECTION STYLING ===== */
.section { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-beige { background: var(--beige); }
.section-white { background: var(--white); }
.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark .section-title,
.section-dark .section-subtitle { color: var(--white); }
.section-dark .section-subtitle { opacity: 0.7; }
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,180,0,0.12);
  color: var(--gold-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--black);
  margin-bottom: 16px;
}
.section-title .gold { color: var(--gold); }
.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.8;
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--beige);
  display: block;
  text-decoration: none;
  color: inherit;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--white);
}
.category-card-overlay h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.category-card-overlay p { font-size: 13px; opacity: 0.8; }

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--black);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-badge.sold-out { background: var(--black); color: var(--white); }
.product-badge.bestseller {
  background: var(--black);
  color: var(--gold);
  left: auto;
  right: 16px;
}
.product-wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
  font-size: 18px;
  opacity: 0;
  transform: scale(0.8);
}
.product-card:hover .product-wishlist { opacity: 1; transform: scale(1); }
.product-wishlist:hover { background: var(--white); }
.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--beige-light);
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.product-card:hover .product-image { transform: scale(1.06); }
.product-quick-add {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
  white-space: nowrap;
}
.product-card:hover .product-quick-add { opacity: 1; transform: translateX(-50%) translateY(0); }
.product-quick-add:hover { background: var(--gold); color: var(--black); }
.product-info { padding: 20px; }
.product-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-name a { color: var(--black); transition: var(--transition); }
.product-name a:hover { color: var(--gold); }
.product-desc {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 13px;
}
.product-rating .stars { color: var(--gold); }
.product-rating .count { color: var(--gray); font-weight: 500; }
.product-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.product-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.5px;
}
.product-price .price-old,
.product-price .original,
.old-price {
  font-size: 15px;
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 600;
  margin-left: 8px;
}
.current-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.5px;
}
.product-stock {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
}
.stock-low { background: rgba(198,40,40,0.08); color: var(--danger); }
.stock-available { background: rgba(46,125,50,0.08); color: var(--success); }

/* ===== PROMO BANNER ===== */
.promo-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.promo-content h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.promo-content h2 .gold { color: var(--gold); }
.promo-content p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.promo-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 8px;
}
.promo-price small {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
  margin-left: 12px;
}
.promo-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.promo-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}
.promo-feature svg { width: 18px; height: 18px; flex-shrink: 0; }
.promo-image { text-align: center; }
.promo-image img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(244,180,0,0.2));
}

/* ===== TRUST SECTION ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.trust-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(244,180,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
}
.trust-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.trust-card p { font-size: 13px; color: var(--gray); }

/* ===== BEFORE / AFTER ===== */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ba-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.ba-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  position: relative;
}
.ba-images::after {
  content: 'VS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}
.ba-img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
}
.ba-label {
  position: absolute;
  bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
}
.ba-label-left { left: 8px; background: rgba(0,0,0,0.7); color: var(--white); }
.ba-label-right { right: 8px; background: rgba(244,180,0,0.9); color: var(--black); }
.ba-info { padding: 16px 20px; }
.ba-customer {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ba-rating { color: var(--gold); font-size: 13px; }
.ba-result { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 64px;
  color: var(--gold);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-meta { font-size: 12px; color: var(--gray); }
.testimonial-stars { color: var(--gold); margin-bottom: 10px; font-size: 14px; }
.testimonial-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--black);
  font-style: italic;
}

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-lighter);
  padding: 20px 0;
  cursor: pointer;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  user-select: none;
}
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
}
.faq-item.active .faq-toggle {
  background: var(--gold);
  color: var(--black);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.8;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 16px;
}
.faq-item:first-child { border-top: 1px solid var(--gray-lighter); }

/* ===== SOCIAL SHOWCASE ===== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.showcase-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.showcase-item:hover img { transform: scale(1.05); }
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.showcase-item:hover .showcase-overlay { opacity: 1; }
.showcase-overlay svg { width: 32px; height: 32px; fill: var(--white); }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(244,180,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.cta-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}
.cta-badge svg { width: 16px; height: 16px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { margin-bottom: 16px; display: block; }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.9;
  max-width: 320px;
}
.footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 14px;
}
.footer-contact li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--white);
}
.footer-social a:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.footer-social a svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-payments { display: flex; gap: 8px; align-items: center; }
.footer-payments span {
  padding: 4px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* ===== SOCIAL PROOF TOASTS ===== */
.live-toast-container {
  position: fixed;
  bottom: 90px;
  left: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.live-toast {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  animation: slideInLeft 0.5s ease;
  font-size: 13px;
}
.live-toast img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.live-toast p { font-weight: 500; }
.live-toast small { display: block; font-size: 11px; color: var(--gray); font-weight: 400; }
.live-toast .gold { color: var(--gold); font-weight: 700; }

@keyframes slideInLeft {
  from { transform: translateX(-120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Hide messenger on product pages */
.pd-page .messenger-float { display: none !important; }

/* ===== MESSENGER FLOAT ===== */
.messenger-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #0084FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,132,255,0.4);
  transition: var(--transition);
}
.messenger-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(0,132,255,0.5); }
.messenger-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ===== EXIT POPUP ===== */
.exit-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 5000;
  align-items: center;
  justify-content: center;
}
.exit-popup.show { display: flex; }
.exit-popup-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: popIn 0.4s ease;
}
@keyframes popIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.exit-popup-icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.exit-popup h2 {
  font-size: 28px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 12px;
}
.exit-popup p { color: var(--gray); margin-bottom: 24px; font-size: 15px; line-height: 1.7; }
.exit-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.exit-popup-close:hover { background: var(--beige-light); }

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal.show { display: flex; }
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  animation: popIn 0.3s ease;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.modal-header h2 { font-size: 22px; font-weight: 800; }
.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--beige-light); }

/* ===== COUNTDOWN ===== */
.countdown {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.countdown-item {
  background: rgba(244,180,0,0.1);
  border: 1px solid rgba(244,180,0,0.2);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  text-align: center;
  min-width: 60px;
}
.countdown-number {
  font-size: 22px;
  font-weight: 900;
  display: block;
  color: var(--black);
  line-height: 1.2;
}
.countdown-label {
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* ===== FORM CONTROLS ===== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--black);
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-lighter);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-primary);
  transition: all 0.25s ease;
  background: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: #fffef5;
  box-shadow: 0 0 0 4px rgba(244,180,0,0.12), 0 2px 8px rgba(244,180,0,0.08);
  transform: scale(1.005);
}
.form-control:hover {
  border-color: var(--gold-light);
}
.form-control::placeholder { color: var(--gray-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B8B8B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ===== ALERTS ===== */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
}
.alert-success { background: rgba(46,125,50,0.08); color: var(--success); border: 1px solid rgba(46,125,50,0.15); }
.alert-danger { background: rgba(198,40,40,0.08); color: var(--danger); border: 1px solid rgba(198,40,40,0.15); }
.alert-warning { background: rgba(249,168,37,0.08); color: var(--warning); border: 1px solid rgba(249,168,37,0.15); }
.alert-info { background: rgba(21,101,192,0.08); color: var(--info); border: 1px solid rgba(21,101,192,0.15); }

/* ===== PRODUCT PAGE ===== */
.product-page { padding: 40px 0 80px; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.product-gallery {
  position: sticky;
  top: 100px;
  align-self: start;
}
.product-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--beige-light);
  margin-bottom: 12px;
  aspect-ratio: 1;
  position: relative;
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.product-gallery-thumbs {
  display: flex;
  gap: 8px;
}
.product-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.6;
}
.product-gallery-thumb.active { border-color: var(--gold); opacity: 1; }
.product-gallery-thumb:hover { opacity: 0.9; }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,180,0,0.1);
  color: var(--gold-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.product-detail-title {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.product-detail-price {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.product-detail-price .current {
  font-size: 32px;
  font-weight: 900;
  color: var(--black);
}
.product-detail-price .old {
  font-size: 20px;
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 600;
}
.product-detail-price .discount {
  background: rgba(198,40,40,0.08);
  color: var(--danger);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
}
.product-detail-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 24px;
}
.product-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  background: var(--cream);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}
.product-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.product-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
}
.product-qty button {
  width: 44px;
  height: 44px;
  border: 2px solid var(--gray-lighter);
  background: var(--white);
  font-size: 20px;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-qty button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.product-qty button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.product-qty button:hover { background: var(--beige-light); }
.product-qty input {
  width: 60px;
  height: 44px;
  text-align: center;
  border: 2px solid var(--gray-lighter);
  border-left: none;
  border-right: none;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-primary);
}
.product-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--gray);
}
.product-detail-meta strong { color: var(--black); }

/* ===== CHECKOUT / CART ===== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.checkout-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}
.checkout-section h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}
.order-summary {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.order-summary h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; }
.order-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-lighter);
  font-size: 14px;
}
.order-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  padding: 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  border-bottom: 1px solid var(--gray-lighter);
}
.cart-table td { padding: 16px; vertical-align: middle; border-bottom: 1px solid var(--gray-lighter); }
.cart-table .product-col {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-table .product-col img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.qty-control { display: flex; align-items: center; gap: 0; }
.qty-control button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-lighter);
  background: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.qty-control button:hover { background: var(--beige-light); }
.qty-control .qty-input {
  width: 44px;
  height: 36px;
  text-align: center;
  border: 1px solid var(--gray-lighter);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-primary);
}

/* ===== VISITOR COUNTER ===== */
.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,180,0,0.12);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
}
.visitor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* ===== ACCOUNT PAGE ===== */
.account-page { padding: 60px 0; }
.account-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}
.account-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}
.account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 16px;
}
.account-info p { font-size: 14px; color: var(--gray); margin-bottom: 6px; }
.account-info strong { color: var(--black); }
.account-orders { display: flex; flex-direction: column; gap: 16px; }
.account-order-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.account-order-card:hover { box-shadow: var(--shadow); }
.account-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-lighter);
}
.account-order-number { font-weight: 800; font-size: 16px; }
.account-order-date { font-size: 13px; color: var(--gray); }
.account-order-total { font-size: 20px; font-weight: 900; color: var(--black); }
.status-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-pending { background: rgba(244,180,0,0.12); color: var(--gold-dark); }
.status-paid { background: rgba(13, 153, 102, 0.10); color: #0d9966; }
.status-processing { background: rgba(21,101,192,0.08); color: var(--info); }
.status-shipped { background: rgba(46,125,50,0.08); color: var(--success); }
.status-delivered { background: rgba(46,125,50,0.12); color: var(--success); }
.status-cancelled { background: rgba(198,40,40,0.08); color: var(--danger); }
.status-refunded { background: rgba(156,39,176,0.08); color: #9c27b0; }

.ref-order-cell .ref-order-tooltip {
  display:none;position:absolute;z-index:100;background:var(--white);
  border:1px solid var(--gray-lighter);border-radius:var(--radius-sm);
  padding:10px 14px;box-shadow:0 4px 20px rgba(0,0,0,0.12);
  min-width:240px;top:100%;left:0;margin-top:4px;
}
.ref-order-cell:hover .ref-order-tooltip { display:block; }

/* ===== VARIANT SELECTORS ===== */
.variant-selector { display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px; }
.variant-btn { padding:10px 20px;border:2px solid var(--gray-lighter);border-radius:var(--radius-sm);cursor:pointer;font-weight:600;transition:var(--transition);background:var(--white); }
.variant-btn.active { border-color:var(--gold);background:rgba(244,180,0,0.08); }
.variant-btn:hover { border-color:var(--gold); }
/* ===== WISHLIST ===== */
.wishlist-heart { cursor:pointer;transition:var(--transition);font-size:22px; }
.wishlist-heart.active { color:var(--danger); }
.wishlist-page { padding:60px 0; }
.wishlist-empty { text-align:center;padding:80px 20px; }
.wishlist-empty-icon { font-size:64px;margin-bottom:16px; }
.wishlist-item { display:flex;align-items:center;gap:16px;padding:16px;background:var(--white);border-radius:var(--radius);margin-bottom:12px;box-shadow:var(--shadow-sm);border:1px solid rgba(0,0,0,0.04); }
.wishlist-item-img { width:80px;height:80px;object-fit:cover;border-radius:var(--radius-sm); }
.wishlist-item-info { flex:1; }
.wishlist-item-name { font-weight:700;font-size:15px;margin-bottom:4px; }
.wishlist-item-price { font-weight:900;color:var(--gold);font-size:18px; }
/* ===== COMPARE ===== */
.compare-bar { position:fixed;bottom:0;left:0;right:0;background:var(--white);border-top:2px solid var(--gold);padding:16px 24px;z-index:1001;display:none;box-shadow:0 -4px 20px rgba(0,0,0,0.1); }
.compare-bar.show { display:flex;align-items:center;gap:16px;justify-content:center;flex-wrap:wrap; }
.compare-bar-thumb { width:48px;height:48px;object-fit:cover;border-radius:6px;border:1px solid var(--gray-lighter); }
.compare-checkbox { width:18px;height:18px;cursor:pointer;accent-color:var(--gold); }
.compare-table { width:100%;border-collapse:collapse;margin-top:24px; }
.compare-table th,.compare-table td { padding:16px;text-align:center;border:1px solid var(--gray-lighter);vertical-align:middle; }
.compare-table th { background:var(--cream);font-weight:700;font-size:14px; }
.compare-table td { font-size:14px; }
.compare-table .compare-img { width:120px;height:120px;object-fit:cover;border-radius:var(--radius-sm);margin:0 auto; }
/* ===== FILTER SIDEBAR ===== */
.filter-sidebar { background:var(--white);border-radius:var(--radius);padding:24px;margin-bottom:24px;border:1px solid rgba(0,0,0,0.04); }
.filter-group { margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--gray-lighter); }
.filter-group:last-child { border-bottom:none;margin-bottom:0;padding-bottom:0; }
.filter-group h4 { font-size:14px;font-weight:700;margin-bottom:12px; }
.filter-label { display:flex;align-items:center;gap:8px;font-size:14px;color:var(--gray);cursor:pointer;padding:4px 0; }
.filter-label input { accent-color:var(--gold); }
.filter-tag { display:inline-flex;align-items:center;gap:6px;background:var(--beige-light);padding:6px 12px;border-radius:100px;font-size:12px;font-weight:600; }
.filter-tag-remove { cursor:pointer;font-size:16px;line-height:1;color:var(--gray); }
.filter-tag-remove:hover { color:var(--danger); }
.price-slider { width:100%;accent-color:var(--gold); }
.result-count { font-size:14px;color:var(--gray);margin-bottom:16px; }
.products-layout { display:grid;grid-template-columns:280px 1fr;gap:32px;align-items:start; }
.sort-bar { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap; }
.sort-bar select { padding:10px 16px;border:2px solid var(--gray-lighter);border-radius:var(--radius-sm);font-size:14px;font-weight:500;font-family:var(--font-primary);background:var(--white); }
.filter-toggle-mobile { display:none; }
/* ===== LOYALTY ===== */
.loyalty-card { text-align:center;padding:40px;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-sm); }
.loyalty-points { font-size:56px;font-weight:900;color:var(--gold); }
.loyalty-history { margin-top:24px; }
.loyalty-item { display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--gray-lighter);font-size:14px; }
.loyalty-earned { color:var(--success);font-weight:700; }
.loyalty-redeemed { color:var(--danger);font-weight:700; }

/* ===== FLASH SALE ===== */
.flash-badge { display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,var(--danger),#E53935);color:white;padding:6px 16px;border-radius:100px;font-size:13px;font-weight:800;margin-bottom:12px; }
.flash-price { color:var(--danger); }
/* ===== WHOLESALE TABLE ===== */
.wholesale-table { width:100%;border-collapse:collapse;margin-bottom:20px; }
.wholesale-table th,.wholesale-table td { padding:10px 16px;border:1px solid var(--gray-lighter);font-size:14px; }
.wholesale-table th { background:var(--cream);font-weight:700;text-align:left; }
/* ===== ORDER TRACKING ===== */
.track-form { max-width:480px;margin:0 auto 40px; }
.track-card { background:var(--white);border-radius:var(--radius);padding:32px;box-shadow:var(--shadow-sm);max-width:720px;margin:0 auto; }
.track-progress { display:flex;justify-content:center;gap:0;margin:40px 0;padding:0;position:relative; }
.track-step { text-align:center;flex:1;position:relative; }
.track-step-circle { width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;font-weight:800;font-size:18px;border:3px solid var(--gray-light);background:var(--white);color:var(--gray);position:relative;z-index:2; }
.track-step.completed .track-step-circle { background:var(--success);border-color:var(--success);color:white; }
.track-step.active .track-step-circle { background:var(--gold);border-color:var(--gold);color:black; }
.track-step-label { font-size:13px;font-weight:600;color:var(--gray); }
.track-step.completed .track-step-label { color:var(--success); }
.track-step.active .track-step-label { color:var(--gold-dark); }
.track-step-line { position:absolute;top:22px;left:50%;width:100%;height:3px;background:var(--gray-light);z-index:1; }
.track-step:first-child .track-step-line { display:none; }
.track-step.completed .track-step-line { background:var(--success); }
.track-detail { display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px;padding-top:24px;border-top:1px solid var(--gray-lighter); }
.track-detail-item label { font-size:12px;font-weight:700;color:var(--gray);text-transform:uppercase;letter-spacing:0.5px;display:block;margin-bottom:4px; }
.track-detail-item span { font-size:16px;font-weight:600; }
/* ===== ZOOM + LIGHTBOX ===== */
.product-gallery-main { cursor:zoom-in;overflow:hidden; }
.product-gallery-main img.zoomed { transform:scale(1.5);cursor:zoom-out; }
.lightbox { position:fixed;inset:0;background:rgba(0,0,0,0.92);z-index:9999;display:none;align-items:center;justify-content:center; }
.lightbox.show { display:flex; }
.lightbox img { max-width:90%;max-height:90%;object-fit:contain;border-radius:8px; }
.lightbox-close { position:absolute;top:24px;right:24px;font-size:36px;color:white;cursor:pointer;background:rgba(0,0,0,0.3);width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:none; }
.lightbox-nav { position:absolute;top:50%;transform:translateY(-50%);font-size:36px;color:white;cursor:pointer;padding:16px 20px;background:rgba(0,0,0,0.3);border-radius:50%;border:none;transition:var(--transition); }
.lightbox-nav:hover { background:rgba(0,0,0,0.6); }
.lightbox-prev { left:24px; } .lightbox-next { right:24px; }

/* Q&A */
.qa-section { margin-top:48px; }
.qa-item { padding:20px;background:var(--white);border-radius:var(--radius);margin-bottom:12px;border:1px solid rgba(0,0,0,0.04); }
.qa-question { font-weight:700;margin-bottom:8px;display:flex;justify-content:space-between; }
.qa-question-text { flex:1; }
.qa-question-meta { font-size:12px;color:var(--gray);font-weight:400; }
.qa-answer { padding:16px;background:var(--cream);border-radius:var(--radius-sm);margin-top:12px;border-left:3px solid var(--gold); }
.qa-answer-text { font-size:14px;line-height:1.7; }
.qa-admin-badge { display:inline-block;background:var(--gold);color:var(--black);padding:2px 10px;border-radius:100px;font-size:11px;font-weight:700;margin-bottom:8px; }
.qa-vote { font-size:12px;color:var(--gray);cursor:pointer;transition:var(--transition); }
.qa-vote:hover { color:var(--gold); }
.qa-vote.active { color:var(--gold);font-weight:700; }
.qa-tabs { display:flex;gap:0;margin-bottom:32px;border-bottom:2px solid var(--gray-lighter); }
.qa-tab { padding:14px 28px;font-weight:700;font-size:15px;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;transition:var(--transition);color:var(--gray); }
.qa-tab.active { color:var(--gold);border-bottom-color:var(--gold); }
.qa-tab-content { display:none; }
.qa-tab-content.active { display:block; }
/* Bundle */
.bundle-list { display:flex;flex-direction:column;gap:12px;margin-bottom:24px; }
.bundle-item { display:flex;align-items:center;gap:16px;padding:16px;background:var(--cream);border-radius:var(--radius-sm); }
.bundle-item img { width:64px;height:64px;object-fit:cover;border-radius:8px; }
.bundle-item-info { flex:1; }
.bundle-item-name { font-weight:700;font-size:15px; }
.bundle-item-qty { font-size:13px;color:var(--gray); }
.bundle-savings { display:inline-block;background:var(--success);color:white;padding:4px 12px;border-radius:100px;font-size:12px;font-weight:700;margin-bottom:16px; }
/* Referral */
.referral-section { background:var(--white);border-radius:var(--radius);padding:24px;margin-top:24px;border:1px solid rgba(0,0,0,0.04); }
.referral-link-box { display:flex;gap:8px;margin-top:12px; }
.referral-link-box input { flex:1;padding:12px;border:2px solid var(--gray-lighter);border-radius:var(--radius-sm);font-size:14px; }
.referral-stats { display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px;text-align:center; }
.referral-stat-number { font-size:28px;font-weight:900;color:var(--gold); }
.referral-stat-label { font-size:13px;color:var(--gray); }

/* Returns */
.return-card { background:var(--white);border-radius:var(--radius);padding:24px;margin-bottom:16px;border:1px solid rgba(0,0,0,0.04); }
.return-header { display:flex;justify-content:space-between;align-items:center;margin-bottom:12px; }
.return-status { font-size:12px;font-weight:700;padding:4px 12px;border-radius:100px; }
.return-status.pending { background:rgba(244,180,0,0.12);color:var(--gold-dark); }
.return-status.approved { background:rgba(46,125,50,0.08);color:var(--success); }
.return-status.rejected { background:rgba(198,40,40,0.08);color:var(--danger); }
.return-status.refunded { background:rgba(21,101,192,0.08);color:var(--info); }

/* RTL support */
[dir="rtl"] { text-align:right; }
[dir="rtl"] .nav-links { flex-direction:row-reverse; }
[dir="rtl"] .product-layout { direction:rtl; }
[dir="rtl"] .checkout-grid { direction:rtl; }
/* Subscription */
.subscription-toggle { display:flex;gap:12px;margin-bottom:16px; }
.subscription-option { flex:1;padding:16px;border:2px solid var(--gray-lighter);border-radius:var(--radius-sm);cursor:pointer;text-align:center;transition:var(--transition); }
.subscription-option.active { border-color:var(--gold);background:rgba(244,180,0,0.05); }
.subscription-option:hover { border-color:var(--gold); }
.subscription-option .save-badge { display:inline-block;background:var(--success);color:white;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:700;margin-top:4px; }
/* Pricing rules */
.pricing-rule-badge { display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,var(--gold),var(--gold-light));color:var(--black);padding:4px 12px;border-radius:100px;font-size:12px;font-weight:700; }
/* Social Login */
.social-login-divider { display:flex;align-items:center;gap:16px;margin:24px 0;color:var(--gray);font-size:13px; }
.social-login-divider::before,.social-login-divider::after { content:'';flex:1;height:1px;background:var(--gray-lighter); }
.social-btn { display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 24px;border-radius:var(--radius-sm);font-size:14px;font-weight:700;cursor:pointer;border:2px solid var(--gray-lighter);transition:var(--transition);background:var(--white);width:100%; }
.social-btn:hover { border-color:var(--gold);transform:translateY(-1px); }
.social-btn-facebook { color:#1877F2; }
.social-btn-facebook:hover { background:#1877F2;color:white;border-color:#1877F2; }
.social-btn-google { color:#DB4437; }
.social-btn-google:hover { background:#DB4437;color:white;border-color:#DB4437; }
/* Store Credit */
.credit-card { background:var(--white);border-radius:var(--radius);padding:24px;border:1px solid rgba(0,0,0,0.04);margin-bottom:16px; }
.credit-balance { font-size:48px;font-weight:900;color:var(--gold); }
.credit-history { margin-top:16px; }
.credit-item { display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--gray-lighter);font-size:14px; }
.credit-added { color:var(--success);font-weight:700; }
.credit-used { color:var(--danger);font-weight:700; }
/* AI Recommendations */
.ai-recs-section { margin-top:48px; }
.ai-spinner { text-align:center;padding:40px; }
.ai-spinner-dot { display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--gold);margin:0 4px;animation:aiBounce 1.4s ease-in-out infinite both; }
.ai-spinner-dot:nth-child(1) { animation-delay:-0.32s; } .ai-spinner-dot:nth-child(2) { animation-delay:-0.16s; }
@keyframes aiBounce { 0%,80%,100% { transform:scale(0); } 40% { transform:scale(1); } }
/* Push */
.push-card { background:var(--white);border-radius:var(--radius);padding:24px;border:1px solid rgba(0,0,0,0.04); }

/* CSV Import */
.csv-preview { overflow-x:auto;margin-bottom:20px; }
.csv-preview table { width:100%;border-collapse:collapse; }
.csv-preview th,.csv-preview td { padding:8px 12px;border:1px solid var(--gray-lighter);font-size:13px; }
.csv-preview th { background:var(--cream);font-weight:700; }
.import-results { display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px; }
.import-result-card { padding:20px;border-radius:var(--radius-sm);text-align:center; }
.import-result-card.created { background:rgba(46,125,50,0.08);color:var(--success); }
.import-result-card.updated { background:rgba(21,101,192,0.08);color:var(--info); }
.import-result-card.errors { background:rgba(198,40,40,0.08);color:var(--danger); }
.import-result-number { font-size:32px;font-weight:900; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-features { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .before-after-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .promo-banner { grid-template-columns: 1fr; padding: 40px; text-align: center; }
  .promo-content { order: 1; }
  .promo-features { align-items: center; }
  .product-layout,
  .pd-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }
  .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .bottom-nav { display: flex; }
  body { padding-bottom: 72px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 1px solid var(--gray-lighter);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 0; font-size: 15px; }
  .announcement-inner { gap: 12px; font-size: 11px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 4px; }
  .announcement-inner::-webkit-scrollbar { display: none; }
  .announcement-item { white-space: nowrap; flex-shrink: 0; }
  .hero { padding: 48px 0 64px; }
  .hero-content h1 { font-size: 32px; }
  .hero-badges { justify-content: center; }
  .hero-features { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-float-card { display: none; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-info { padding: 14px; }
  .product-name { font-size: 14px; }
  .product-price { font-size: 18px; }
  .product-price .original,
  .product-price .price-old { font-size: 13px; }
  .product-wishlist { opacity: 1; transform: scale(1); }
  .product-quick-add { display: none; }
  .categories-grid { gap: 12px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-card { padding: 24px 16px; }
  .before-after-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .promo-banner { padding: 32px 24px; }
  .promo-price { font-size: 36px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-features-grid { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table td { display: block; padding: 12px; border: none; }
  .cart-table tr { display: block; margin-bottom: 16px; background: var(--white); border-radius: var(--radius); padding: 16px; border: 1px solid var(--gray-lighter); }
  .cart-table td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; color: var(--gray); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
  .products-layout { grid-template-columns: 1fr; }
  .filter-toggle-mobile { display: flex; width: 100%; margin-bottom: 16px; padding: 12px 20px; background: var(--white); border: 2px solid var(--gray-lighter); border-radius: var(--radius-sm); cursor: pointer; font-weight: 700; font-size: 14px; font-family: inherit; justify-content: space-between; align-items: center; }
  .filter-toggle-mobile.active + .filter-sidebar { display: block; }
  .filter-sidebar { display: none; }
  .checkout-section { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav-links { padding: 16px; }
  .nav-links > a { font-size: 14px; padding: 10px 0; }
  .logo img { height: 32px; }
  .hero { padding: 32px 0 48px; }
  .hero-content h1 { font-size: 24px; }
  .hero-content p { font-size: 14px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 28px; }
  .product-grid { gap: 8px; }
  .product-info { padding: 10px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 16px; }
  .product-price .original,
  .product-price .price-old { font-size: 12px; }
  .product-desc { font-size: 12px; }
  .product-rating { font-size: 11px; }
  .bottom-nav-item { font-size: 10px; }
  .bottom-nav-item svg { width: 20px; height: 20px; }
  .cart-table tr { padding: 12px; margin-bottom: 12px; }
  .cart-table td { padding: 8px; font-size: 13px; }
  .checkout-section { padding: 16px; }
  .checkout-section h3 { font-size: 16px; }
  .footer-grid { gap: 24px; }
  .trust-grid { gap: 8px; }
  .trust-card { padding: 16px; }
  .categories-grid { gap: 8px; }
  .promo-banner { padding: 24px 16px; }
  .promo-content h2 { font-size: 20px; }
  .promo-price { font-size: 28px; }
  .promo-price small { font-size: 14px; }
  .showcase-grid { gap: 4px; }
  .pd-page { padding: 16px 0 32px; }
  .pd-title { font-size: 18px; }
  .pd-price-current { font-size: 22px; }
  .pd-price-old { font-size: 13px; }
  .pd-price-save { font-size: 10px; padding: 1px 6px; }
  .pd-price { gap: 6px; }
  .pd-desc { font-size: 13px; }
  .pd-tab { padding: 8px 12px; font-size: 12px; }
  .pd-related-grid { gap: 8px; }
  .pd-section { padding: 16px 0; }
  .form-row { gap: 12px; }
  input, select, textarea { font-size: 14px; }
  .product-options { margin: 6px 0 2px; gap: 4px; }
  .opt-group-label { font-size: 10px; }
  .opt-color-swatch { width: 20px; height: 20px; }
  .opt-pill { font-size: 11px; padding: 4px 10px; }
}

@media (max-width: 375px) {
  .product-grid { gap: 6px; }
  .product-info { padding: 8px; }
  .product-name { font-size: 12px; }
  .product-price { font-size: 14px; }
  .product-price .original,
  .product-price .price-old { font-size: 11px; }
  .product-desc { display: none; }
  .product-options,
  .product-options-row { display: none; }
  .bottom-nav { padding: 6px 0; }
  .bottom-nav-item { font-size: 9px; }
  .bottom-nav-item svg { width: 18px; height: 18px; }
  .hero-content h1 { font-size: 20px; }
  .section { padding: 40px 0; }
  .cart-table tr { padding: 10px; }
  .checkout-section { padding: 12px; }
}

/* ═══════════════════════════════════════
   PRODUCT OPTIONS on Listing Cards
   ═══════════════════════════════════════ */
.product-options {
  margin: 10px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.opt-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.opt-group-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
/* Color swatches */
.opt-color-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.opt-color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.opt-color-swatch.selected {
  border-color: var(--black);
  box-shadow: 0 0 0 1.5px var(--black);
  transform: scale(1.1);
}
.opt-color-swatch:hover {
  transform: scale(1.15);
}
.opt-overflow-badge {
  width:24px;height:24px;
  border-radius:50%;
  background:var(--beige);
  font-size:10px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--gray);
  text-decoration:none;
}
/* Pill buttons (size, material, mounting, assembly) */
.opt-pill-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.opt-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--gray-light);
  background: var(--white);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--black);
}
.opt-pill.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.opt-pill:hover:not(.selected):not(.disabled) {
  border-color: var(--gold);
}
.opt-pill.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: line-through;
}
/* Pack / Quantity */
.opt-pack-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.opt-pack-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  min-width: 64px;
}
.opt-pack-btn.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.opt-pack-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.opt-pack-btn .pack-qty { font-size: 12px; font-weight: 700; }
.opt-pack-btn .pack-price { font-size: 10px; color: var(--gray); }
.opt-pack-btn.selected .pack-price { color: var(--gold-light); }
.opt-pack-btn .pack-save {
  font-size: 9px; background: var(--gold); color: var(--black); padding: 1px 4px; border-radius: 999px; font-weight: 700; margin-top: 2px;
}
/* Finish */
.opt-finish-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.opt-finish-swatch {
  width: 28px; height: 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.opt-finish-swatch.selected {
  border-color: var(--black);
  transform: scale(1.1);
}
.opt-finish-swatch:hover:not(.disabled) { transform: scale(1.15); }
.opt-finish-swatch.disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
/* Capacity select */
.opt-capacity-select {
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  font-size: 12px;
  background: var(--white);
  width: 100%;
  max-width: 180px;
}
/* Slots */
.opt-slots-btn {
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  min-width: 36px;
  text-align: center;
}
.opt-slots-btn.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.opt-slots-btn:hover:not(.selected):not(.disabled) {
  border-color: var(--gold);
}
.opt-slots-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: line-through;
}
/* Personalization */
.opt-perso-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.opt-perso-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}
.opt-perso-input {
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  font-size: 12px;
  background: var(--white);
  width: 100%;
}
.opt-perso-counter {
  font-size: 10px;
  color: var(--gray);
  text-align: right;
}
/* Option price adjustment indicator on cards */
.opt-price-adjust {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  margin-left: 4px;
}
/* Selected options summary line on card */
.opt-selected-summary {
  font-size: 10px;
  color: var(--gray);
  margin-top: 4px;
  line-height: 1.3;
}
.opt-selected-summary strong {
  color: var(--black);
}
/* Option validation message */
.opt-required-msg {
  font-size: 10px;
  color: var(--danger);
  margin-top: 2px;
  display: none;
}
.opt-required-msg.show {
  display: block;
}

/* ============================================================
   PRODUCT DETAIL PAGE (pd-*)
   ============================================================ */
.pd-back-nav { display: none; }
.pd-page {
  padding: 40px 0 60px;
  background: var(--cream);
}
.pd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* LAYOUT */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .pd-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* GALLERY */
.pd-gallery {
  position: sticky;
  top: 120px;
}
@media (max-width: 900px) {
  .pd-gallery { position: static; }
}
.pd-gallery-main {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: crosshair;
  aspect-ratio: 1;
  border: 1px solid var(--gray-lighter);
}
.pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.pd-gallery-main img.zoomed {
  transform: scale(2);
}
.pd-gallery-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.pd-gallery-zoom:hover {
  background: var(--beige);
  transform: scale(1.1);
}
.pd-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--danger);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 2;
}

.pd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pd-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  flex-shrink: 0;
  transition: var(--transition);
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-thumb.active {
  border-color: var(--gold);
}
.pd-thumb:hover {
  border-color: var(--gold-dark);
}

.pd-gallery-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.pd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-light);
  cursor: pointer;
  transition: var(--transition);
}
.pd-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .pd-gallery-dots { display: flex; }
  .pd-thumbs { display: none; }
}

/* INFO COLUMN */
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.pd-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--black);
  margin: 0;
}
.pd-wishlist {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-lighter);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
}
.pd-wishlist:hover {
  color: var(--danger);
  border-color: var(--danger);
}
.pd-wishlist.active {
  color: var(--danger);
  border-color: var(--danger);
  background: #fff5f5;
}

/* RATING */
.pd-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-stars {
  display: flex;
  gap: 2px;
  line-height: 1;
}
.pd-star {
  font-size: 16px;
  color: var(--gray-light);
  line-height: 1;
}
.pd-star.filled {
  color: var(--gold);
}
.pd-rating-text {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}
.pd-rating-count {
  color: var(--gray-light);
  font-weight: 400;
}

/* PRICE */
.pd-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-price-current {
  font-size: 32px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.pd-price-old {
  font-size: 18px;
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 500;
}
.pd-price-save {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--danger);
  padding: 2px 10px;
  border-radius: 999px;
  line-height: 1.6;
}

/* FLASH SALE */
.pd-flash {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}
.pd-flash-badge {
  font-size: 14px;
  font-weight: 800;
  color: var(--danger);
}
.pd-flash-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pd-timer-item {
  text-align: center;
}
.pd-timer-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--black);
  background: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  min-width: 32px;
  display: inline-block;
  text-align: center;
}
.pd-timer-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 1px;
}
.pd-timer-sep {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray);
  margin-top: -8px;
}

/* STOCK */
.pd-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.pd-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}
.pd-stock.low .pd-stock-dot,
.pd-stock.low {
  color: var(--danger);
}
.pd-stock.low .pd-stock-dot {
  background: var(--danger);
}
.pd-stock.out .pd-stock-dot {
  background: var(--gray);
}
.pd-stock.out {
  color: var(--gray);
}

.pd-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

/* FEATURES */
.pd-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--beige-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.pd-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
}
.pd-feature span {
  font-size: 16px;
}

/* SECTIONS (variants, wholesale, options) */
.pd-section {
  border-top: 1px solid var(--gray-lighter);
  padding-top: 16px;
}
.pd-section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Variants */
.pd-variants {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pd-variant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-light);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.pd-variant:hover {
  border-color: var(--gold);
}
.pd-variant.selected,
.pd-variant.active {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}
.pd-variant-name {
  font-size: 12px;
  font-weight: 600;
}
.pd-variant-price {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray);
}
.pd-variant.selected .pd-variant-price,
.pd-variant.active .pd-variant-price {
  color: var(--gold-light);
}

/* Wholesale */
.pd-wholesale {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-wholesale-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--gold);
  background: #fffbe6;
  font-size: 12px;
}
.pd-wholesale-item strong {
  color: var(--gold-dark);
  font-size: 14px;
}

.pd-required {
  color: var(--danger);
  font-weight: 700;
}

/* FORM */
.pd-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pd-exclusive {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: var(--black);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.pd-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pd-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.pd-qty button {
  width: 40px;
  height: 44px;
  border: none;
  background: var(--beige-light);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--black);
}
.pd-qty button:hover {
  background: var(--beige);
}
.pd-qty input {
  width: 56px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  background: var(--white);
  outline: none;
  -moz-appearance: textfield;
}
.pd-qty input::-webkit-outer-spin-button,
.pd-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pd-cart-btn {
  height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.pd-cart-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.pd-cart-btn svg {
  flex-shrink: 0;
}

.pd-buy-btn {
  height: 44px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.pd-buy-btn:hover {
  background: var(--black-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.pd-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.pd-share .share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}
.pd-share .share-btn:hover {
  opacity: 0.8;
  transform: scale(1.1);
}
.pd-share .share-btn svg {
  width: 18px;
  height: 18px;
}
.share-fb { color: #1877F2; background: rgba(24,119,242,0.1); }
.share-ig { color: #E4405F; background: rgba(228,64,95,0.1); }
.share-wa { color: #25D366; background: rgba(37,211,102,0.1); }
.share-msgr { color: #0084FF; background: rgba(0,132,255,0.1); }

.pd-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
}
.pd-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* SECTION BLOCKS (description, related, bundles, etc.) */
.pd-section-block {
  margin-top: 48px;
}
.pd-section-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--black);
}
.pd-section-title .gold {
  color: var(--gold);
}

.pd-desc-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--black);
  max-width: 800px;
}

/* RELATED PRODUCTS */
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.pd-related-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-lighter);
}
.pd-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pd-related-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}
.pd-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.pd-related-card:hover .pd-related-img img {
  transform: scale(1.05);
}
.pd-related-body {
  padding: 12px;
}
.pd-related-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pd-related-price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
}
.pd-related-old {
  font-size: 12px;
  color: var(--gray);
  text-decoration: line-through;
  font-weight: 500;
}

/* AI RECOMMENDATIONS */
.ai-spinner {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 40px 0;
}
.ai-spinner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: ai-bounce 1s infinite alternate;
}
.ai-spinner-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.ai-spinner-dot:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes ai-bounce {
  from { transform: translateY(0); opacity: 0.3; }
  to { transform: translateY(-12px); opacity: 1; }
}

/* ═══════════════════════════════════════
   PRODUCT DETAIL PAGE — BUNDLE / PACK
   ═══════════════════════════════════════ */
.pd-bundle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.pd-section-title.pd-bundle-title {
  margin-bottom: 0;
}
.pd-bundle-save-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2E7D32, #43A047);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(46,125,50,0.3);
  letter-spacing: -0.2px;
  animation: pulse-badge 2s ease-in-out infinite;
}
.pd-bundle-save-badge strong {
  font-size: 16px;
}
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 2px 12px rgba(46,125,50,0.3); }
  50% { box-shadow: 0 4px 24px rgba(46,125,50,0.5); }
}
.pd-bundle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}
.pd-bundle-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-lighter);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.pd-bundle-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
  border-radius: 0 4px 4px 0;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pd-bundle-card:hover::before {
  transform: scaleY(1);
}
.pd-bundle-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.pd-bundle-card-img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--beige-light);
  border: 1px solid var(--gray-lighter);
}
.pd-bundle-card-info {
  flex: 1;
  min-width: 0;
}
.pd-bundle-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
  line-height: 1.3;
}
.pd-bundle-card-meta {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}
.pd-bundle-card-meta strong {
  color: var(--black);
  font-weight: 700;
}
.pd-bundle-card-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(46,125,50,0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
}
.pd-bundle-card:hover .pd-bundle-card-check {
  background: var(--success);
  color: var(--white);
  transform: scale(1.1);
}
.pd-bundle-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--beige-light), var(--white));
  border-radius: var(--radius);
  border: 2px dashed var(--gold);
  position: relative;
}
.pd-bundle-total::after {
  content: '🎯';
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 20px;
}
.pd-bundle-total-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 2px;
}
.pd-bundle-total-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.5px;
}
.pd-bundle-total-save span {
  display: inline-block;
  background: rgba(46,125,50,0.1);
  color: var(--success);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .pd-bundle-grid { grid-template-columns: 1fr; }
  .pd-bundle-total { flex-direction: column; text-align: center; }
  .pd-bundle-total::after { right: 50%; transform: translateX(50%); }
}

/* ═══════════════════════════════════════
   PRODUCT DETAIL PAGE — OPTIONS (upgraded)
   ═══════════════════════════════════════ */
.pd-section .product-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pd-section .product-options .opt-group {
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.3s ease;
}
.pd-section .product-options .opt-group:hover {
  border-color: var(--beige);
}
.pd-section .product-options .opt-group-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}
/* Color swatches - detail page */
.pd-section .product-options .opt-color-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-section .product-options .opt-color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 3px solid transparent;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.pd-section .product-options .opt-color-swatch.selected {
  border-color: var(--white);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black);
  transform: scale(1.12);
}
.pd-section .product-options .opt-color-swatch:hover {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--gold);
}
/* Pill buttons - detail page */
.pd-section .product-options .opt-pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pd-section .product-options .opt-pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--gray-lighter);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--black);
}
.pd-section .product-options .opt-pill:hover:not(.selected) {
  border-color: var(--gold);
  background: rgba(244,180,0,0.04);
  transform: translateY(-1px);
}
.pd-section .product-options .opt-pill.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
/* Quantity pack - detail page */
.pd-section .product-options .opt-pack-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-section .product-options .opt-pack-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--gray-lighter);
  background: var(--white);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 110px;
  position: relative;
}
.pd-section .product-options .opt-pack-btn:hover:not(.selected) {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.pd-section .product-options .opt-pack-btn.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.pd-section .product-options .opt-pack-btn .pack-qty {
  font-size: 16px;
  font-weight: 800;
}
.pd-section .product-options .opt-pack-btn .pack-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
}
.pd-section .product-options .opt-pack-btn.selected .pack-price {
  color: var(--gold-light);
}
.pd-section .product-options .opt-pack-btn .pack-save {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 11px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(244,180,0,0.3);
}
/* Finish swatches - detail page */
.pd-section .product-options .opt-finish-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-section .product-options .opt-finish-swatch {
  width: 48px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 3px solid transparent;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.pd-section .product-options .opt-finish-swatch.selected {
  border-color: var(--white);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--black);
  transform: scale(1.06);
}
.pd-section .product-options .opt-finish-swatch:hover {
  transform: scale(1.1);
}
/* Capacity select - detail page */
.pd-section .product-options .opt-capacity-select {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-lighter);
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  width: 100%;
  max-width: 260px;
  transition: var(--transition);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%238B8B8B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.pd-section .product-options .opt-capacity-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244,180,0,0.1);
  outline: none;
}
/* Storage slots - detail page */
.pd-section .product-options .opt-slots-btn {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-lighter);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 48px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}
.pd-section .product-options .opt-slots-btn:hover:not(.selected) {
  border-color: var(--gold);
}
.pd-section .product-options .opt-slots-btn.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
/* Personalization - detail page */
.pd-section .product-options .opt-perso-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-section .product-options .opt-perso-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}
.pd-section .product-options .opt-perso-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
}
.pd-section .product-options .opt-perso-input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-lighter);
  font-size: 14px;
  background: var(--white);
  width: 100%;
  transition: var(--transition);
  font-family: var(--font-primary);
}
.pd-section .product-options .opt-perso-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244,180,0,0.1);
  outline: none;
}
.pd-section .product-options .opt-perso-counter {
  font-size: 12px;
  color: var(--gray);
  text-align: right;
}

/* TABS (Reviews / Q&A) */
.pd-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-lighter);
  margin-bottom: 24px;
}
.pd-tab {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  position: relative;
  transition: var(--transition);
}
.pd-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}
.pd-tab.active {
  color: var(--black);
}
.pd-tab.active::after {
  background: var(--gold);
}
.pd-tab:hover {
  color: var(--black);
}
.qa-tab-content {
  display: none;
}
.qa-tab-content.active {
  display: block;
}

/* REVIEW SUMMARY */
.pd-review-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-lighter);
}
.pd-review-score {
  font-size: 48px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.pd-review-stars .pd-star {
  font-size: 20px;
}
.pd-review-count {
  font-size: 14px;
  color: var(--gray);
}

/* REVIEW LIST */
.pd-review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.pd-review-card {
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.pd-review-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.pd-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}
.pd-review-name {
  font-size: 14px;
  font-weight: 700;
}
.pd-review-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pd-review-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

/* REVIEW FORM */
.pd-review-form {
  margin-top: 32px;
}
.pd-review-form h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.pd-review-success {
  padding: 12px 16px;
  background: #e8f5e9;
  color: var(--success);
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 16px;
}
.pd-form-field {
  margin-bottom: 14px;
}
.pd-form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--black);
}
.pd-form-field input,
.pd-form-field textarea,
.pd-form-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-primary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.pd-form-field input:focus,
.pd-form-field textarea:focus,
.pd-form-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244,180,0,0.12);
}
.pd-form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.pd-star-input {
  display: flex;
  gap: 4px;
}
.pd-star-btn {
  font-size: 28px;
  cursor: pointer;
  color: var(--gray-light);
  transition: var(--transition);
  line-height: 1;
}
.pd-star-btn.active,
.pd-star-btn:hover {
  color: var(--gold);
}

.pd-submit-btn {
  padding: 12px 32px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}
.pd-submit-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.pd-empty {
  text-align: center;
  padding: 24px;
  color: var(--gray);
  font-size: 15px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--gray-light);
}

/* Q&A */
.pd-qa-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.pd-qa-item {
  background: var(--white);
  border: 1px solid var(--gray-lighter);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.pd-qa-q {
  padding: 16px 20px;
}
.pd-qa-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--black);
}
.pd-qa-meta {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 500;
}
.pd-qa-a {
  padding: 16px 20px;
  background: var(--beige-light);
  border-top: 1px solid var(--gray-lighter);
}
.pd-qa-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}
.pd-qa-vote {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}
.pd-qa-vote:hover,
.pd-qa-vote.active {
  color: var(--gold);
}
.pd-qa-form {
  margin-top: 24px;
}
.pd-qa-form h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.show {
  display: flex;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 40px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  opacity: 0.7;
  transition: var(--transition);
}
.lightbox-close:hover {
  opacity: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .pd-page { padding: 20px 0 40px; }
  .pd-title { font-size: 20px; }
  .pd-price-current { font-size: 26px; }
  .pd-price-old { font-size: 15px; }
  .pd-price-save { font-size: 11px; padding: 1px 8px; }
  .pd-price { gap: 8px; }
  .pd-actions { flex-direction: column; }
  .pd-qty { width: 100%; }
  .pd-qty input { flex: 1; }
  .pd-cart-btn { width: 100%; }
  .pd-buy-btn { width: 100%; }
  .pd-meta { flex-direction: column; align-items: center; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-features { grid-template-columns: 1fr; }
  .pd-tab { padding: 10px 16px; font-size: 13px; }
}

/* ═══════════════════════════════════════
   COLOR QUANTITY PICKER
   ═══════════════════════════════════════ */
 .opt-color-picker {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
 }
 .opt-color-card {
   width: 100%;
   overflow: hidden;
 }
 .opt-color-card:hover {
 }
 .opt-color-card.active {
   background: var(--white);
   color: var(--black);
 }
 .opt-color-row {
   display: flex;
   align-items: center;
   width: 100%;
 }
 .opt-color-btn {
   display: flex;
   align-items: center;
   gap: 8px;
   flex: 1;
   min-width: 0;
   padding: 12px 14px;
   background: none;
   border: none;
   cursor: pointer;
   font-size: 15px;
   font-weight: 600;
   color: #333;
 }
 .opt-color-card.active .opt-color-btn {
   color: #000;
 }
 .opt-color-swatch {
   width: 26px;
   height: 26px;
   border-radius: 50%;
   flex-shrink: 0;
   border: 2px solid var(--gray-lighter);
 }
 .opt-color-card.active .opt-color-swatch {
   border-color: rgba(0,0,0,0.15);
 }
 .opt-color-name {
   font-size: 15px;
 }
  .opt-color-qty {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 8px 0 4px;
  }
  .opt-color-card:not(.active) .opt-color-qty {
    display: none;
  }
  .opt-color-qty-btn {
    width: 32px; height: 32px; border: none; border-radius: 8px;
    background: #f0f0f0; color: #333; font-size: 18px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    touch-action: manipulation; line-height: 1;
  }
  .opt-color-qty-btn:hover { background: #ddd; }
  .opt-color-qty-val {
    min-width: 24px; text-align: center; font-size: 16px; font-weight: 700; color: #333;
    padding: 0 6px;
  }
  .opt-color-total {
    font-size: 14px; font-weight: 700; color: #333; margin-top: 8px; text-align: right;
  }
 .opt-color-card.disabled {
   opacity: 0.4;
   pointer-events: none;
 }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* General card */
.card { background:var(--white);border-radius:var(--radius);border:1px solid rgba(0,0,0,0.04);overflow:hidden; }
.card-body { padding:20px; }
.card-header { padding:16px 20px;border-bottom:1px solid var(--gray-lighter);display:flex;justify-content:space-between;align-items:center; }
.card-header h3 { margin:0;font-size:15px;font-weight:800; }

/* Pagination */
.pagination { display:flex;align-items:center;justify-content:center;gap:6px;margin-top:32px; }
.pagination a,.pagination span { display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;transition:var(--transition);border:1px solid var(--gray-lighter);background:var(--white);color:var(--black);text-decoration:none; }
.pagination a:hover { border-color:var(--gold);color:var(--gold); }
.pagination .active { background:var(--gold);border-color:var(--gold);color:var(--black); }
.pagination .disabled { opacity:0.4;pointer-events:none; }

/* Legal / Privacy page content */
.legal-content { max-width:800px;margin:0 auto;background:var(--white);border-radius:var(--radius);padding:40px;box-shadow:var(--shadow-sm);border:1px solid rgba(0,0,0,0.04); }
.legal-content h3 { font-size:18px;font-weight:800;margin-top:28px;margin-bottom:8px;color:var(--black); }
.legal-content h3:first-child { margin-top:0; }
.legal-content p { line-height:1.7;color:var(--gray);margin-bottom:12px; }
.legal-content ul { line-height:1.7;color:var(--gray);padding-left:20px;margin-bottom:12px; }
.legal-content li { margin-bottom:4px; }
.legal-content .legal-footer { margin-top:32px;padding-top:20px;border-top:1px solid var(--gray-lighter);font-size:13px;color:var(--gray);text-align:center; }

/* ═══════════════════════════════════════
   REFERRAL DASHBOARD (user-facing)
   ═══════════════════════════════════════ */
.ref-hero { background:linear-gradient(135deg,#1a1200 0%,#2d1f00 50%,#3d2a00 100%);border-radius:20px;padding:36px 32px;margin-bottom:28px;position:relative;overflow:hidden; }
.ref-hero::before { content:'';position:absolute;top:-40px;right:-40px;width:200px;height:200px;background:radial-gradient(circle,rgba(244,180,0,0.15) 0%,transparent 70%);border-radius:50%; }
.ref-hero::after { content:'';position:absolute;bottom:-60px;left:-30px;width:160px;height:160px;background:radial-gradient(circle,rgba(244,180,0,0.08) 0%,transparent 70%);border-radius:50%; }
.ref-hero .rh-top { display:flex;align-items:center;gap:14px;margin-bottom:20px;position:relative;z-index:1; }
.ref-hero .rh-icon { width:48px;height:48px;border-radius:14px;background:rgba(244,180,0,0.15);display:flex;align-items:center;justify-content:center;font-size:22px; }
.ref-hero h1 { margin:0;font-size:22px;font-weight:800;color:#fff; }
.ref-hero h1 span { color:#f4b400; }
.ref-hero .rh-sub { font-size:13px;color:rgba(255,255,255,0.5);margin-top:2px; }
.ref-hero .rh-stats { display:grid;grid-template-columns:repeat(3,1fr);gap:12px;position:relative;z-index:1; }
.rh-stat { background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.08);border-radius:12px;padding:14px 16px;text-align:center; }
.rh-stat .rs-val { font-size:24px;font-weight:800;color:#f4b400;line-height:1; }
.rh-stat .rs-label { font-size:11px;color:rgba(255,255,255,0.5);margin-top:4px;text-transform:uppercase;letter-spacing:.5px; }
.ref-progress { background:var(--white);border-radius:16px;border:1px solid var(--gray-lighter);padding:24px;margin-bottom:20px;box-shadow:var(--shadow-sm); }
.ref-progress .rp-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:14px; }
.ref-progress .rp-header h3 { margin:0;font-size:15px;font-weight:700;color:var(--black); }
.ref-progress .rp-header .rp-pct { font-size:14px;font-weight:800;color:var(--gold); }
.ref-progress .rp-bar { height:10px;background:var(--gray-lighter);border-radius:99px;overflow:hidden;position:relative; }
.ref-progress .rp-bar-fill { height:100%;background:linear-gradient(90deg,#f4b400,#e5a800);border-radius:99px;transition:width .6s ease;position:relative; }
.ref-progress .rp-bar-fill::after { content:'';position:absolute;top:0;right:0;width:20px;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.3));border-radius:0 99px 99px 0; }
.ref-progress .rp-labels { display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:var(--gray); }
.ref-progress .rp-labels strong { color:var(--gold-dark); }
.ref-code { background:var(--white);border-radius:16px;border:1px solid var(--gray-lighter);padding:24px;margin-bottom:20px;box-shadow:var(--shadow-sm); }
.ref-code h3 { margin:0 0 14px;font-size:15px;font-weight:700;color:var(--black);display:flex;align-items:center;gap:8px; }
.ref-code .rc-display { display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap; }
.ref-code .rc-code { flex:1;min-width:180px;padding:14px 20px;border:2px dashed var(--gold);border-radius:12px;background:linear-gradient(135deg,#fffdf5,#fef9e7);text-align:center;font-size:26px;font-weight:900;letter-spacing:6px;color:var(--gold-dark);font-family:'SF Mono','Fira Code',monospace; }
.ref-code .rc-btns { display:flex;gap:8px;flex-wrap:wrap; }
.ref-code .rc-btns button { padding:10px 18px;border-radius:10px;font-size:13px;font-weight:700;border:none;cursor:pointer;transition:all .15s;display:flex;align-items:center;gap:6px; }
.ref-code .rc-btns .rc-copy { background:var(--gold);color:#1a1200; }
.ref-code .rc-btns .rc-copy:hover { background:#e5a800;transform:translateY(-1px); }
.ref-code .rc-btns .rc-share { background:var(--cream);color:var(--black);border:1.5px solid var(--gray-lighter); }
.ref-code .rc-btns .rc-share:hover { border-color:var(--gold);background:#fffbeb; }
.ref-code .rc-link { font-size:12px;color:var(--gray);line-height:1.5; }
.ref-code .rc-link a { color:var(--gold-dark);font-weight:600;text-decoration:none;word-break:break-all; }
.ref-free { display:none;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1.5px solid #a7f3d0;border-radius:16px;padding:20px 24px;margin-bottom:20px; }
.ref-free h3 { margin:0 0 6px;font-size:16px;font-weight:800;color:#065f46; }
.ref-free p { margin:0;font-size:13px;color:#047857; }
.ref-section { margin-bottom:20px; }
.ref-section .rs-head { display:flex;align-items:center;gap:8px;margin-bottom:14px; }
.ref-section .rs-head h3 { margin:0;font-size:15px;font-weight:700;color:var(--black); }
.ref-section .rs-head .rs-count { font-size:11px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--cream);color:var(--gray);border:1px solid var(--gray-lighter); }
.ref-table { width:100%;border-collapse:separate;border-spacing:0;background:var(--white);border-radius:12px;border:1px solid var(--gray-lighter);overflow:hidden;box-shadow:var(--shadow-sm); }
.ref-table th { padding:10px 14px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--gray);background:var(--cream);border-bottom:1px solid var(--gray-lighter);text-align:left; }
.ref-table td { padding:10px 14px;font-size:13px;color:var(--black);border-bottom:1px solid var(--gray-lighter);vertical-align:middle; }
.ref-table tr:last-child td { border-bottom:none; }
.ref-table .rt-status { display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px; }
.ref-table .rt-status.credited { background:#ecfdf5;color:#059669; }
.ref-table .rt-status.refunded { background:#fef2f2;color:#dc2626; }
.ref-table .rt-name { font-weight:600; }
.ref-table .rt-orders { display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:8px;background:var(--cream);font-size:12px;font-weight:700;color:var(--black); }
.ref-empty { text-align:center;padding:40px 20px; }
.ref-empty .re-icon { font-size:40px;margin-bottom:10px;opacity:.4; }
.ref-empty p { font-size:13px;color:var(--gray);margin:0; }
.ref-share-row { display:flex;gap:8px;flex-wrap:wrap;margin-top:12px; }
.ref-share-row a { display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:10px;font-size:12px;font-weight:700;text-decoration:none;transition:all .15s; }
.ref-share-row a:hover { transform:translateY(-1px); }
.ref-share-row .rs-wa { background:#25d366;color:#fff; }
.ref-share-row .rs-fb { background:#1877f2;color:#fff; }
.ref-share-row .rs-tw { background:#1da1f2;color:#fff; }
.ref-share-row .rs-email { background:var(--cream);color:var(--black);border:1.5px solid var(--gray-lighter); }
.ref-share-row .rs-email:hover { border-color:var(--gold); }
@media (max-width:640px) {
  .ref-hero .rh-stats { grid-template-columns:1fr; }
  .ref-code .rc-display { flex-direction:column; }
  .ref-code .rc-btns { width:100%; justify-content:center; }
  .ref-table { font-size:12px; }
  .ref-table th, .ref-table td { padding:8px 10px; }
}

/* ═══════════════════════════════════════
   IMAGE PROTECTION
   ═══════════════════════════════════════ */
img {
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.pd-gallery-main,
.product-gallery-main,
.product-image-wrap,
.pd-related-img,
.pd-bundle-card-img,
.product-col img,
.cart-table .product-col img {
  position: relative;
  pointer-events: auto;
}
.product-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}
