/* ============================================================
   Divya Sugandh - Premium Agarbatti Store
   Design: Luxury / Refined | White + Gold + Warm Ivory
   Fonts: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --gold:         #C9A84C;
  --gold-light:   #E8C97A;
  --gold-dark:    #9E7D2F;
  --gold-pale:    #F5EDD4;
  --white:        #FFFFFF;
  --ivory:        #FDFAF4;
  --cream:        #F7F0E3;
  --brown-light:  #7D5E3C;
  --brown:        #5C3D1E;
  --text-dark:    #1A1208;
  --text-mid:     #4A3728;
  --text-soft:    #8B7355;
  --border:       #E8D9BC;
  --shadow-sm:    0 2px 12px rgba(201,168,76,0.10);
  --shadow-md:    0 8px 32px rgba(92,61,30,0.12);
  --shadow-lg:    0 20px 60px rgba(92,61,30,0.18);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Gold Divider ---- */
.gold-divider {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto 24px;
}

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(253,250,244,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--text-dark);
}
.nav-logo-tagline {
  font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--gold-dark); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  position: relative;
  background: none; border: none;
  font-size: 1.3rem;
  color: var(--text-mid);
  padding: 8px;
  transition: var(--transition);
}
.cart-btn:hover { color: var(--gold-dark); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem; font-weight: 600;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.cart-count.show { opacity: 1; }

.nav-menu-btn {
  display: none;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--text-mid);
  padding: 8px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--ivory);
  flex-direction: column;
  padding: 80px 32px 32px;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.mobile-nav-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none;
  font-size: 1.8rem; color: var(--text-mid);
  cursor: pointer;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(135deg, #1A0F02 0%, #3D2208 40%, #5C3D1E 100%);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg-ornament {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 40%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg, var(--gold) 0, var(--gold) 1px,
    transparent 0, transparent 50%
  );
  background-size: 28px 28px;
}
.hero-smoke {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 50%; opacity: 0.15;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.5), transparent 70%);
  animation: smokeFloat 8s ease-in-out infinite alternate;
}
@keyframes smokeFloat {
  0% { transform: translateY(0) scaleX(1); opacity: 0.15; }
  100% { transform: translateY(-30px) scaleX(1.1); opacity: 0.22; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  width: 100%;
}
.hero-text { color: var(--white); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s ease both;
}
.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 1.05;
  color: var(--white);
  margin-bottom: 10px;
  animation: fadeSlideUp 0.8s ease 0.1s both;
}
.hero-title-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  max-width: 480px; margin-bottom: 40px;
  animation: fadeSlideUp 0.8s ease 0.2s both;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease 0.3s both;
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(201,168,76,0.2);
  animation: fadeSlideUp 0.8s ease 0.4s both;
}
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--gold-light);
}
.hero-stat-label {
  font-size: 0.75rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-card-stack {
  position: relative; width: 340px; height: 420px;
}
.hero-incense-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  padding: 24px;
  animation: cardFloat 6s ease-in-out infinite alternate;
}
.hero-incense-card:nth-child(1) {
  width: 280px; bottom: 0; left: 0;
  animation-delay: 0s;
  background: rgba(201,168,76,0.1);
}
.hero-incense-card:nth-child(2) {
  width: 240px; top: 0; right: 0;
  animation-delay: 2s;
}
.hero-incense-card:nth-child(3) {
  width: 200px; top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation-delay: 4s;
  background: rgba(255,255,255,0.05);
}
.hero-card-icon { font-size: 2.5rem; margin-bottom: 10px; }
.hero-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--white); font-weight: 600;
}
.hero-card-price {
  font-size: 0.85rem; color: var(--gold-light); margin-top: 4px;
}
@keyframes cardFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}
.hero-incense-card:nth-child(3) {
  animation: cardFloat3 6s ease-in-out 4s infinite alternate;
}
@keyframes cardFloat3 {
  0% { transform: translate(-50%,-50%) translateY(0); }
  100% { transform: translate(-50%,-50%) translateY(-14px); }
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.06em;
  transition: var(--transition);
  border: none; cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 28px rgba(201,168,76,0.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(201,168,76,0.5);
  color: var(--gold-light);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
}
.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { padding: 10px 14px; }

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  padding: 12px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 48px;
  animation: marqueeScroll 22s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white);
  white-space: nowrap; font-weight: 500;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   CATEGORIES SECTION
   ============================================================ */
.category-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.category-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.category-card .icon { font-size: 2rem; margin-bottom: 8px; }
.category-card .name {
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-mid);
}
.category-card .count {
  font-size: 0.72rem; color: var(--text-soft);
  margin-top: 4px;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.4);
}
.product-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--cream);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.07);
}
.product-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-featured { background: var(--gold); color: var(--white); }
.badge-bestseller { background: var(--brown); color: var(--white); }
.badge-discount { background: #E74C3C; color: var(--white); }
.badge-limited { background: #F39C12; color: var(--white); }
.badge-out { background: #7F8C8D; color: var(--white); }

.product-quick-actions {
  position: absolute; top: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateX(8px);
  transition: var(--transition);
}
.product-card:hover .product-quick-actions {
  opacity: 1; transform: translateX(0);
}
.quick-action-btn {
  width: 36px; height: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}
.quick-action-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-category {
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 6px; font-weight: 500;
}
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 10px;
  line-height: 1.3;
}
.product-name a:hover { color: var(--gold-dark); }
.product-fragrance {
  font-size: 0.8rem; color: var(--text-soft);
  margin-bottom: 12px;
}
.product-fragrance span { color: var(--text-mid); }
.product-price-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.price-discounted {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--text-dark);
}
.price-original {
  font-size: 0.88rem; color: var(--text-soft);
  text-decoration: line-through;
}
.price-save {
  font-size: 0.72rem; color: #27AE60; font-weight: 600;
  background: #E8F8EF; padding: 2px 8px; border-radius: 100px;
}
.stock-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 500; margin-bottom: 14px;
}
.stock-dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.in-stock .stock-dot { background: #27AE60; }
.limited-stock .stock-dot { background: #F39C12; }
.out-of-stock .stock-dot { background: #E74C3C; }
.in-stock { color: #27AE60; }
.limited-stock { color: #E67E22; }
.out-of-stock { color: #E74C3C; }

.product-actions {
  display: flex; gap: 8px; margin-top: auto;
  flex-wrap: wrap;
}
.product-actions .btn { flex: 1; min-width: 0; }

/* ============================================================
   SECTION - FEATURED / BEST SELLERS
   ============================================================ */
.featured-section { background: var(--ivory); }
.bestseller-section { background: var(--cream); }
.limited-section {
  background: linear-gradient(135deg, #1A0F02, #3D2208);
}
.limited-section .section-label { color: var(--gold-light); }
.limited-section .section-title { color: var(--white); }
.limited-section .section-sub { color: rgba(255,255,255,0.6); }
.limited-section .gold-divider {
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

/* ============================================================
   WHY US / FEATURES
   ============================================================ */
.features-section { background: var(--white); }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-item { text-align: center; padding: 32px 20px; }
.feature-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold-pale);
  border: 1.5px solid var(--gold);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}
.feature-item:hover .feature-icon {
  background: var(--gold);
  transform: scale(1.08);
}
.feature-item h4 {
  font-size: 1.05rem; margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.88rem; color: var(--text-soft); line-height: 1.6;
}

/* ============================================================
   PRODUCT PAGE (LISTING)
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, #1A0F02, #3D2208);
  padding: 60px 24px; text-align: center;
}
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white); margin-bottom: 8px;
}
.page-banner p { color: rgba(255,255,255,0.65); font-size: 1rem; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  margin-top: 12px;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.filter-bar label {
  font-size: 0.82rem; font-weight: 500; color: var(--text-soft);
}
.filter-select, .filter-input {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: var(--transition);
}
.filter-select:focus, .filter-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.filter-input { flex: 1; min-width: 200px; }
.search-wrap { position: relative; flex: 1; min-width: 200px; }
.search-wrap .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-soft); pointer-events: none;
}
.search-wrap .filter-input { padding-left: 36px; width: 100%; }

.products-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.products-count { font-size: 0.9rem; color: var(--text-soft); }
.products-count strong { color: var(--text-dark); }

.empty-state {
  grid-column: 1/-1;
  text-align: center; padding: 80px 24px;
}
.empty-state .empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 {
  font-size: 1.5rem; color: var(--text-mid); margin-bottom: 8px;
}
.empty-state p { color: var(--text-soft); margin-bottom: 24px; }

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 48px;
}
.page-btn {
  min-width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  cursor: pointer; padding: 0 12px;
}
.page-btn:hover, .page-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.page-btn.disabled {
  opacity: 0.4; pointer-events: none;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.product-gallery {}
.gallery-main {
  aspect-ratio: 1/1; background: var(--cream);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 12px;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: flex; gap: 10px; overflow-x: auto;
}
.gallery-thumb {
  width: 80px; height: 80px; flex-shrink: 0;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--border); cursor: pointer;
  transition: var(--transition);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info {}
.detail-category {
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 8px; font-weight: 500;
}
.detail-name {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600; margin-bottom: 12px;
}
.detail-meta {
  display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap;
}
.detail-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--text-soft);
}
.detail-meta-item strong { color: var(--text-mid); }
.detail-price-block {
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 24px;
}
.detail-price-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--text-dark);
}
.detail-price-original {
  font-size: 1rem; color: var(--text-soft);
  text-decoration: line-through; margin-left: 8px;
}
.detail-discount-badge {
  background: #E74C3C; color: var(--white);
  font-size: 0.78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
  margin-left: 10px;
}
.detail-description {
  font-size: 0.95rem; color: var(--text-mid);
  line-height: 1.8; margin-bottom: 24px;
}
.detail-specs {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; margin-bottom: 24px;
}
.spec-row {
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-label {
  width: 140px; flex-shrink: 0;
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-soft); padding: 12px 16px;
  background: var(--cream);
}
.spec-value {
  flex: 1; padding: 12px 16px;
  font-size: 0.88rem; color: var(--text-dark);
}

.qty-selector {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; width: fit-content; margin-bottom: 24px;
}
.qty-btn {
  width: 44px; height: 44px;
  background: var(--cream); border: none;
  font-size: 1.2rem; font-weight: 300;
  color: var(--text-mid); cursor: pointer;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--gold); color: var(--white); }
.qty-input {
  width: 60px; height: 44px; border: none;
  text-align: center;
  font-family: 'Jost', sans-serif; font-size: 1rem; font-weight: 500;
  background: var(--white); color: var(--text-dark);
}
.qty-input:focus { outline: none; }
.qty-label { font-size: 0.82rem; color: var(--text-soft); margin-left: 12px; }

.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.detail-actions .btn { flex: 1; min-width: 160px; justify-content: center; }
.lang-toggle {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.lang-btn {
  background: var(--white); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; cursor: pointer;
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--gold); border-color: var(--gold); color: var(--white);
}

/* ============================================================
   CART
   ============================================================ */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-header-row {
  display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  padding: 14px 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-soft);
  font-weight: 500;
}
.cart-item-row {
  display: grid; grid-template-columns: 3fr 1fr 1fr 1fr 40px;
  padding: 18px 20px; align-items: center;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.cart-item-row:last-child { border-bottom: none; }
.cart-item-row:hover { background: var(--ivory); }
.cart-item-info { display: flex; align-items: center; gap: 14px; }
.cart-item-img {
  width: 68px; height: 68px; border-radius: var(--radius-sm);
  object-fit: cover; background: var(--cream);
  border: 1px solid var(--border); flex-shrink: 0;
}
.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600; color: var(--text-dark);
}
.cart-item-cat { font-size: 0.78rem; color: var(--text-soft); margin-top: 2px; }
.cart-qty-wrap {
  display: flex; align-items: center; gap: 6px;
}
.cart-qty-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--white);
  font-size: 1rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-qty-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.cart-qty-num {
  min-width: 28px; text-align: center;
  font-weight: 600; font-size: 0.95rem;
}
.cart-price, .cart-subtotal { font-weight: 500; }
.cart-subtotal { font-weight: 600; color: var(--gold-dark); }
.cart-remove {
  background: none; border: none;
  color: var(--text-soft); font-size: 1rem;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.cart-remove:hover { color: #E74C3C; }

.cart-summary {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: sticky; top: 100px;
}
.cart-summary h3 {
  font-size: 1.4rem; margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; font-size: 0.92rem;
}
.summary-row.total {
  font-size: 1.1rem; font-weight: 700;
  border-top: 2px solid var(--border);
  padding-top: 14px; margin-top: 4px;
}
.summary-save { color: #27AE60; font-weight: 600; }
.cart-lang-toggle { margin: 16px 0; }

.cart-empty {
  text-align: center; padding: 80px 24px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed; top: 90px; right: 20px;
  z-index: 9999; display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  min-width: 280px; max-width: 360px;
  animation: toastIn 0.35s ease both;
  border-left: 4px solid var(--gold);
}
.toast.success { border-left-color: #27AE60; }
.toast.error { border-left-color: #E74C3C; }
.toast-icon { font-size: 1.2rem; }
.toast-msg { font-size: 0.88rem; color: var(--text-mid); flex: 1; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo-name { color: var(--white); font-size: 1.6rem; }
.footer-brand .nav-logo-tagline { color: var(--gold-light); }
.footer-desc {
  font-size: 0.88rem; line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-top: 14px; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: rgba(255,255,255,0.6);
  transition: var(--transition); cursor: pointer;
}
.social-btn:hover {
  background: var(--gold); border-color: var(--gold); color: var(--white);
}
.footer-col h5 {
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 18px; font-family: 'Jost', sans-serif;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-size: 0.8rem; color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: 12px;
}

/* ============================================================
   ALERTS / MESSAGES
   ============================================================ */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; margin-bottom: 20px;
}
.alert-success { background: #E8F8EF; border: 1px solid #27AE60; color: #1E8449; }
.alert-error { background: #FDEDEC; border: 1px solid #E74C3C; color: #C0392B; }
.alert-warning { background: #FEF9E7; border: 1px solid #F39C12; color: #D35400; }
.alert-info { background: #EBF5FB; border: 1px solid #3498DB; color: #1A5276; }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.65); }
}

/* ============================================================
   PLACEHOLDER IMAGE SVG
   ============================================================ */
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--cream), var(--gold-pale));
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; color: var(--gold);
  font-size: 2.5rem;
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--cream) 25%, var(--border) 50%, var(--cream) 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.4s ease infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeletonLoading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-cards { grid-template-columns: repeat(3, 1fr); }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-header-row { display: none; }
  .cart-item-row { grid-template-columns: 1fr; gap: 10px; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .filter-bar { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .category-cards { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .detail-actions { flex-direction: column; }
  .cart-layout { grid-template-columns: 1fr; }
}
