/* =============================================
   BIBLIA SHOP — MAIN CSS
   Purple Christian Bible Store Theme
   ============================================= */

/* --- CSS Variables --- */
:root {
  --primary:        #5b21b6;
  --primary-dark:   #3b0764;
  --primary-light:  #f5f3ff;
  --primary-mid:    #7c3aed;
  --accent:         #d4a017;
  --accent-light:   #fef3c7;
  --foreground:     #1a1a2e;
  --muted:          #6b7280;
  --muted-light:    #9ca3af;
  --background:     #fafaf9;
  --surface:        #ffffff;
  --border:         #e5e7eb;
  --border-light:   #f3f4f6;
  --success:        #16a34a;
  --danger:         #dc2626;
  --warning:        #d97706;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 16px rgba(91,33,182,0.10);
  --shadow-lg:      0 8px 32px rgba(91,33,182,0.15);
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --transition:     all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--foreground);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-whatsapp:hover { background: #128c7e; border-color: #128c7e; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,0.3); }

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* =============================================
   HEADER / NAVBAR
   ============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(91,33,182,0.12); }
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}
.navbar-logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}
.logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--primary-dark);
  line-height: 1.1;
}
.logo-text span {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar-nav a {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--foreground);
  text-decoration: none;
  transition: var(--transition);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--primary-light); color: var(--primary); }
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border);
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.65rem 1rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--primary); background: var(--primary-light); }

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,11,60,0.85) 0%, rgba(59,7,100,0.65) 50%, rgba(91,33,182,0.4) 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.hero-text {
  max-width: 680px;
  padding: 2rem 0;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-style: italic;
}
.hero-reference {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(4px);
}
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn:hover { background: rgba(255,255,255,0.3); }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  transition: var(--transition);
  padding: 0;
}
.slider-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* =============================================
   TRUST BADGES
   ============================================= */
.trust-badges {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.trust-badge:hover { background: var(--primary-light); }
.trust-badge-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.trust-badge-icon svg { width: 22px; height: 22px; }
.trust-badge-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}
.trust-badge-text span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}
.section-heading p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.categories-section {
  padding: 5rem 0;
  background: var(--background);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  text-decoration: none;
  display: block;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card:hover img { transform: scale(1.05); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,11,60,0.92) 0%, rgba(30,11,60,0.4) 50%, transparent 100%);
}
.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem;
  color: #fff;
}
.category-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.category-card-content p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-link {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.categories-browse {
  text-align: center;
  margin-top: 2.5rem;
}

/* =============================================
   PRODUCTS GRID
   ============================================= */
.products-section {
  padding: 5rem 0;
  background: #fff;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--primary-light);
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}
.product-badge.sale { background: #dc2626; }
.product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
}
.product-category {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--foreground);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-stars { display: flex; gap: 1px; }
.product-stars .star { color: var(--accent); font-size: 0.75rem; }
.product-stars .star.empty { color: var(--border); }
.product-price {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.product-price .price {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}
.product-price .original-price {
  font-size: 0.78rem;
  color: var(--muted-light);
  text-decoration: line-through;
}
.product-card-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 0.55rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 0.5rem;
}
.product-card-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.products-browse {
  text-align: center;
  margin-top: 3rem;
}

/* =============================================
   SCRIPTURE BANNER
   ============================================= */
.scripture-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-align: center;
}
.scripture-banner blockquote {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: rgba(255,255,255,0.15);
  line-height: 0;
  position: absolute;
  top: 2rem;
  left: -1rem;
}
.scripture-banner p {
  font-family: 'Lora', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #fff;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.scripture-banner cite {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
  padding: 5rem 0;
  background: var(--background);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.why-icon {
  width: 64px; height: 64px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--primary);
}
.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.why-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* =============================================
   PAGE HERO
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 4rem 0;
  text-align: center;
}
.page-hero-content .eyebrow { color: var(--accent); }
.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin: 0.5rem 0 0.75rem;
}
.page-hero-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb-bar {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span:last-child { color: var(--foreground); font-weight: 500; }

/* =============================================
   PRODUCT DETAIL
   ============================================= */
.product-detail { padding: 3rem 0 5rem; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary-light);
  aspect-ratio: 3/4;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  background: none;
  padding: 0;
  transition: var(--transition);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.product-info-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.product-info-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.product-info-stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.product-info-stars .star { color: var(--accent); font-size: 1rem; }
.product-info-short-desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.product-info-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--primary-light);
  border-radius: var(--radius-md);
}
.product-info-price .price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}
.product-info-price .original-price {
  font-size: 1rem;
  color: var(--muted-light);
  text-decoration: line-through;
}
.discount-badge {
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}
.product-info-stock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.product-info-stock.instock { color: var(--success); }
.product-info-stock.outofstock { color: var(--danger); }
.product-info-stock.preorder { color: var(--warning); }
.product-meta-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.meta-row {
  display: flex;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}
.meta-row:last-child { border-bottom: none; }
.meta-row span:first-child {
  width: 130px;
  flex-shrink: 0;
  padding: 0.6rem 1rem;
  background: var(--background);
  font-weight: 600;
  color: var(--muted);
  border-right: 1px solid var(--border);
}
.meta-row span:last-child {
  padding: 0.6rem 1rem;
  color: var(--foreground);
}
.product-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.product-actions .btn { flex: 1; justify-content: center; min-width: 160px; }
.delivery-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--background);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.delivery-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.delivery-item svg { flex-shrink: 0; margin-top: 1px; color: var(--primary); }

/* Product Tabs */
.product-tabs {
  margin-top: 4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}
.tab-btn {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -1px;
}
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content {
  display: none;
  padding: 2rem;
}
.tab-content.active { display: block; }
.rich-description { line-height: 1.8; color: var(--foreground); }
.rich-description h1,.rich-description h2,.rich-description h3 { font-family:'Playfair Display',serif; margin:1.5rem 0 0.75rem; }
.rich-description p { margin-bottom:1rem; }
.rich-description ul,.rich-description ol { margin:0.75rem 0 1rem 1.5rem; }
.rich-description li { margin-bottom:0.4rem; }
.rich-description strong { font-weight:700; }
.details-table { display:flex; flex-direction:column; gap:0; }
.detail-row { display:flex; font-size:0.9rem; border-bottom:1px solid var(--border); }
.detail-row:last-child { border-bottom:none; }
.detail-row span:first-child { width:160px; flex-shrink:0; padding:0.75rem 1rem; font-weight:600; color:var(--muted); background:var(--background); border-right:1px solid var(--border); }
.detail-row span:last-child { padding:0.75rem 1rem; }
.delivery-tab-content h3 { font-family:'Playfair Display',serif; font-size:1.25rem; margin-bottom:1rem; }
.delivery-tab-content ul { margin-left:1.5rem; }
.delivery-tab-content li { margin-bottom:0.6rem; color:var(--muted); font-size:0.9rem; line-height:1.6; }
.delivery-tab-content p { margin-top:1rem; font-size:0.9rem; color:var(--muted); }
.delivery-tab-content a { color:var(--primary); }
.related-products { margin-top:4rem; }
.related-products h2 { font-family:'Playfair Display',serif; font-size:1.75rem; margin-bottom:2rem; }

/* =============================================
   SHOP PAGE
   ============================================= */
.shop-section { padding: 3rem 0 5rem; }
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.shop-sidebar { position: sticky; top: 90px; }
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-cat-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  transition: var(--transition);
}
.sidebar-cat-list a:hover, .sidebar-cat-list a.active { background: var(--primary-light); color: var(--primary); }
.sidebar-cat-list span { font-size: 0.75rem; color: var(--muted); }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.results-count { font-size: 0.875rem; color: var(--muted); }
.shop-sort { display: flex; align-items: center; gap: 0.5rem; }
.pagination { margin-top: 3rem; }
.pagination ul { list-style: none; display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.pagination li a, .pagination li span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--foreground);
  transition: var(--transition);
}
.pagination li.current span, .pagination li a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =============================================
   FAQ
   ============================================= */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  transition: var(--transition);
  gap: 1rem;
}
.faq-question:hover { background: var(--primary-light); color: var(--primary); }
.faq-icon { flex-shrink: 0; transition: transform 0.3s; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  background: var(--background);
}
.faq-answer.open { max-height: 500px; }
.faq-answer p {
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: linear-gradient(135deg, #0f0520 0%, #1e0b3c 50%, #2d1260 100%);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo .logo-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
}
.footer-logo strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #fff;
}
.footer-col p { font-size: 0.875rem; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.875rem;
  line-height: 1.5;
}
.footer-contact-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  color: var(--accent);
  display: block;
}
.footer-contact-item > div,
.footer-contact-item > span {
  display: flex;
  align-items: center;
  min-height: 18px;
}
.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  margin-top: 0.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--primary-mid); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   ANIMATE ON SCROLL
   ============================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .shop-layout { grid-template-columns: 200px 1fr; }
  .product-detail-grid { gap: 2.5rem; }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

/* =============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero-slider { height: 480px; }
  .hero-quote { font-size: 1.4rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
  .slider-btn { display: none; }
  .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .page-hero { padding: 3rem 0; }
  .page-hero-content h1 { font-size: 1.75rem; }
  .product-actions { flex-direction: column; }
  .product-actions .btn { min-width: unset; }
  .tabs-nav { overflow-x: auto; }
  .tab-btn { white-space: nowrap; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================= */
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-badges-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 420px; }
  .whatsapp-float { bottom: 1rem; right: 1rem; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
