/* Excelencia Skincare - Master CSS Stylesheet */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --white: #FFFFFF;
  --cream: #FAF9F6;
  --sage-green: #A8C3A0;
  --sage-dark: #849F7D;
  --sage-light: #F2F6F1;
  --gold: #C9A227;
  --gold-dark: #A5821A;
  --gold-light: #F4ECCF;
  --charcoal: #1F1F1F;
  --charcoal-light: #363636;
  --charcoal-extra-light: #7E7E7E;
  --border-light: rgba(31, 31, 31, 0.08);
  
  /* Glassmorphism Defaults */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(168, 195, 160, 0.12);
  
  /* Transitions & Shadows */
  --shadow-soft: 0 10px 40px -15px rgba(31, 31, 31, 0.06);
  --shadow-medium: 0 15px 45px -10px rgba(31, 31, 31, 0.12);
  --shadow-luxury: 0 20px 50px -15px rgba(168, 195, 160, 0.25);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Typography */
  --font-sans: 'Poppins', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

/* Dark Mode Color Schemes */
[data-theme="dark"] {
  --white: #121214;
  --cream: #18181B;
  --sage-green: #A8C3A0;
  --sage-dark: #B9D1B2;
  --sage-light: #202721;
  --gold: #E5B935;
  --gold-dark: #C9A227;
  --gold-light: #322A12;
  --charcoal: #FAF9F6;
  --charcoal-light: #E1E1E6;
  --charcoal-extra-light: #A1A1AA;
  --border-light: rgba(255, 255, 255, 0.08);
  
  --glass-bg: rgba(24, 24, 27, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 10px 40px -15px rgba(0, 0, 0, 0.4);
  --shadow-medium: 0 15px 45px -10px rgba(0, 0, 0, 0.5);
  --shadow-luxury: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--cream);
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--sage-green);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sage-dark);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.3;
}

p {
  font-weight: 300;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Helper Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
}

/* --- Loading Animation --- */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cream);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--sage-light);
  border-top: 3px solid var(--gold);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

.loader-logo {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  letter-spacing: 3px;
  color: var(--charcoal);
  margin-top: 20px;
  opacity: 0;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --- Announcement Bar --- */
.announcement-bar {
  background-color: var(--charcoal);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 1001;
  overflow: hidden;
  height: 34px;
}

@media (max-width: 480px) {
  .announcement-bar {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }
}

.announcement-slider {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  height: 100%;
}

.announcement-slide {
  height: 34px;
  line-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Sticky Header & Navigation --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--charcoal);
  text-transform: uppercase;
}

.logo span {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu-list {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mega Menu Dropdown */
.has-mega-menu {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 600px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-light);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 10;
}

.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-column h4 {
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}

.mega-column a {
  display: block;
  font-size: 1.3rem;
  font-weight: 300;
  padding: 6px 0;
  color: var(--charcoal);
}

.mega-column a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  font-size: 2rem;
  position: relative;
  padding: 5px;
  transition: var(--transition-fast);
}

.nav-action-btn:hover {
  color: var(--gold);
  transform: scale(1.1);
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--gold);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1005;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--charcoal);
  transition: var(--transition-smooth);
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    flex-direction: column;
    padding: 100px 40px;
    transition: var(--transition-smooth);
    z-index: 1002;
  }
  
  .nav-menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .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);
  }
  
  .has-mega-menu:hover .mega-menu {
    display: none;
  }
}

/* --- Buttons Styles --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--sage-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--sage-dark);
  box-shadow: 0 10px 20px rgba(168, 195, 160, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background-color: var(--charcoal) !important;
  color: var(--white) !important;
  border-color: var(--charcoal) !important;
  transform: translateY(-2px);
}

.hero-section .btn-outline:hover {
  background-color: transparent !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  opacity: 0.8;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background-color: var(--gold-dark);
  box-shadow: 0 10px 20px rgba(201, 162, 39, 0.3);
  transform: translateY(-2px);
}

/* --- Hero Banner Section --- */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 550px;
  background-image: linear-gradient(rgba(31, 31, 31, 0.35), rgba(31, 31, 31, 0.35)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

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

.hero-content h3 {
  font-size: 1.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage-green);
  margin-bottom: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
}

.hero-content h1 {
  font-size: 5.6rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 15px;
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 3.8rem; }
  .hero-content p { font-size: 1.6rem; }
}

@media (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.section-header span {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 3.6rem;
  color: var(--charcoal);
  margin-bottom: 15px;
  position: relative;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--sage-green);
  margin: 15px auto 0;
}

.section-header p {
  font-size: 1.6rem;
  color: var(--charcoal-extra-light);
}

/* --- Premium Product Card --- */
.product-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-color: var(--sage-green);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background-color: #F7F7F7;
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-image {
  transform: scale(1.08);
}

/* Badges */
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gold);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-badge.sale {
  background: var(--sage-green);
}

.product-wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 2;
  color: var(--charcoal-extra-light);
}

.product-wishlist-btn:hover {
  color: #E03E3E;
  transform: scale(1.1);
}

.product-wishlist-btn.active {
  color: #E03E3E;
}

/* Card Actions Overlay */
.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(transparent, rgba(31, 31, 31, 0.8));
  display: flex;
  justify-content: center;
  gap: 10px;
  transform: translateY(101%);
  transition: var(--transition-smooth);
  z-index: 3;
}

.product-card:hover .product-card-actions {
  transform: translateY(0);
}

.card-action-icon-btn {
  background: var(--white);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  font-size: 1.8rem;
}

.card-action-icon-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.08);
}

.product-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--charcoal-extra-light);
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.product-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
  font-family: var(--font-serif);
}

.product-rating {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.product-rating span {
  color: var(--charcoal-extra-light);
  font-size: 1.2rem;
  margin-left: 4px;
}

.product-price-wrapper {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--charcoal);
}

.product-original-price {
  font-size: 1.4rem;
  text-decoration: line-through;
  color: var(--charcoal-extra-light);
}

/* --- Shop by Category --- */
.category-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.category-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .category-bg {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(31, 31, 31, 0.1), rgba(31, 31, 31, 0.8));
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFFFFF;
}

.category-overlay h3 {
  font-size: 2.4rem;
  font-family: var(--font-serif);
  margin-bottom: 8px;
}

.category-overlay p {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.category-card:hover .category-overlay p {
  opacity: 1;
  max-height: 80px;
}

.category-btn {
  align-self: flex-start;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  padding-bottom: 3px;
}

.category-btn i {
  margin-left: 5px;
}

/* --- Why Choose Us (Brand Highlights) --- */
.why-choose-us-section {
  background-color: var(--sage-light);
}

.feature-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-luxury);
  border-color: var(--sage-green);
}

.feature-icon-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-dark);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon-container {
  background: var(--gold);
  color: var(--white);
  transform: rotateY(180deg);
}

.feature-item h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.feature-item p {
  font-size: 1.4rem;
  color: var(--charcoal-extra-light);
  line-height: 1.6;
}

/* --- Before & After Gallery --- */
.before-after-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 450px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
  .before-after-container {
    height: auto;
    aspect-ratio: 4/3;
  }
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  z-index: 1;
}

.ba-after {
  z-index: 2;
  clip-path: inset(0 0 0 50%); /* Start chopped in half */
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 4px solid var(--sage-green);
  border-radius: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  color: var(--sage-dark);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
}

.ba-label {
  position: absolute;
  bottom: 20px;
  background: rgba(31, 31, 31, 0.7);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 4;
}

.ba-label-before {
  left: 20px;
}

.ba-label-after {
  right: 20px;
}

/* --- Customer Reviews Section --- */
.reviews-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 40px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  text-align: center;
}

.review-stars {
  color: var(--gold);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.review-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.6;
  color: var(--charcoal-light);
  margin-bottom: 30px;
}

.review-author {
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.review-author-title {
  font-size: 1.2rem;
  color: var(--charcoal-extra-light);
  margin-top: 4px;
}

/* Slider buttons */
.review-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--sage-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--sage-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.review-nav-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.review-prev-btn { left: -60px; }
.review-next-btn { right: -60px; }

@media (max-width: 992px) {
  .review-prev-btn { left: 10px; }
  .review-next-btn { right: 10px; }
  .reviews-slider { padding: 40px 60px; }
}

/* --- Newsletter Section --- */
.newsletter-section {
  background-image: linear-gradient(rgba(31,31,31,0.85), rgba(31,31,31,0.85)), url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 4rem;
  margin-bottom: 15px;
}

.newsletter-content p {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.8);
}

.newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 8px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 0 20px;
  font-family: var(--font-sans);
  color: var(--white);
  font-size: 1.5rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-form button {
  padding: 12px 30px;
}

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 10px;
  }
  .newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    height: 54px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* --- Footer --- */
footer {
  background-color: #1F1F1F;
  color: #FFFFFF;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h3 {
  font-size: 2.2rem;
  font-family: var(--font-serif);
  margin-bottom: 24px;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.footer-col h4 {
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

.footer-col p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--gold);
  font-size: 1.6rem;
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* --- Cart & Wishlist Drawers --- */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 31, 31, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow-medium);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

@media (max-width: 480px) {
  .drawer { max-width: 100%; right: -100%; }
}

.drawer.active {
  right: 0;
}

.drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-size: 2rem;
  font-family: var(--font-serif);
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: var(--charcoal);
}

.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Drawer Cart Item Card */
.drawer-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.drawer-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #F7F7F7;
}

.drawer-item-details {
  flex-grow: 1;
}

.drawer-item-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.drawer-item-variant {
  font-size: 1.2rem;
  color: var(--charcoal-extra-light);
  margin-bottom: 8px;
}

.drawer-item-price-qty {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-item-price {
  font-weight: 600;
  font-size: 1.5rem;
}

.qty-counter {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background-color: var(--sage-light);
}

.qty-val {
  font-size: 1.3rem;
  font-weight: 500;
  padding: 0 8px;
}

.drawer-item-remove {
  background: none;
  border: none;
  color: var(--charcoal-extra-light);
  cursor: pointer;
  font-size: 1.4rem;
  margin-left: 10px;
}

.drawer-item-remove:hover {
  color: #E03E3E;
}

.drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-light);
  background: var(--sage-light);
}

.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-actions .btn {
  width: 100%;
}

/* Empty drawer message */
.drawer-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--charcoal-extra-light);
}

.drawer-empty i {
  font-size: 4.8rem;
  color: var(--sage-green);
  margin-bottom: 15px;
}

/* --- Floating Utilities --- */
.floating-utilities {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.btn-floating {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-whatsapp {
  background-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-3px);
}

.btn-call {
  background-color: var(--gold);
  color: #FFFFFF !important;
}

.btn-call:hover {
  background-color: var(--gold-dark);
  color: #FFFFFF !important;
  transform: translateY(-3px);
}

.btn-back-to-top {
  background-color: var(--sage-green);
  opacity: 0;
  visibility: hidden;
}

.btn-back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background-color: var(--sage-dark);
  transform: translateY(-3px);
}

/* --- Live Search Overlay --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-container {
  width: 100%;
  max-width: 800px;
  margin: 100px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}

.search-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.search-bar-header h2 {
  font-size: 3rem;
  font-family: var(--font-serif);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--charcoal);
  margin-bottom: 30px;
}

.search-input-wrapper input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 15px 40px 15px 0;
  font-family: var(--font-sans);
  font-size: 2.2rem;
  color: var(--charcoal);
}

.search-input-wrapper input:focus {
  outline: none;
}

.search-input-wrapper i {
  position: absolute;
  right: 10px;
  font-size: 2.4rem;
  color: var(--charcoal-extra-light);
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-result-item:hover {
  padding-left: 10px;
}

.search-result-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #F7F7F7;
}

.search-result-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.search-result-price {
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

/* --- Quick View Modal --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 31, 31, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.quickview-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%) scale(0.9);
  width: 90%;
  max-width: 800px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
  z-index: 2201;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active + .quickview-modal,
.quickview-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.quickview-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .quickview-container { grid-template-columns: 1fr; }
  .quickview-modal { height: 90vh; overflow-y: auto; }
}

.quickview-image-container {
  background-color: #F7F7F7;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
}

.quickview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickview-details {
  display: flex;
  flex-direction: column;
}

.quickview-title {
  font-size: 2.4rem;
  font-family: var(--font-serif);
  color: var(--charcoal);
  margin-bottom: 8px;
}

.quickview-rating {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.quickview-price-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.quickview-price {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--charcoal);
}

.quickview-original-price {
  font-size: 1.6rem;
  text-decoration: line-through;
  color: var(--charcoal-extra-light);
}

.quickview-desc {
  font-size: 1.4rem;
  color: var(--charcoal-extra-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.quickview-meta {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  font-size: 1.3rem;
  color: var(--charcoal-extra-light);
}

.quickview-meta span {
  display: block;
  margin-bottom: 6px;
}

.quickview-meta strong {
  color: var(--charcoal);
}

/* Accordions for Details Page */
.detail-accordion {
  border-bottom: 1px solid var(--border-light);
}

.detail-accordion-header {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.detail-accordion-header h3 {
  font-size: 1.6rem;
  font-weight: 500;
  font-family: var(--font-sans);
}

.detail-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-accordion-content p {
  padding-bottom: 16px;
  font-size: 1.4rem;
  color: var(--charcoal-extra-light);
  line-height: 1.6;
}

/* --- Wishlist Grid --- */
.wishlist-empty {
  text-align: center;
  padding: 80px 0;
}

.wishlist-empty i {
  font-size: 6rem;
  color: var(--sage-green);
  margin-bottom: 20px;
}

/* --- Cart & Checkout Elements --- */
.cart-table-container {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-table th {
  padding: 15px;
  border-bottom: 2px solid var(--border-light);
  font-weight: 600;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.cart-table td {
  padding: 20px 15px;
  border-bottom: 1px solid var(--border-light);
}

.checkout-summary {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.checkout-summary-row.total {
  font-size: 2rem;
  font-weight: 600;
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
  margin-top: 15px;
}

/* Coupon System */
.coupon-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.coupon-input {
  flex-grow: 1;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 1.4rem;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--sage-green);
}

/* --- Shared Form Fields --- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  background-color: var(--white);
  color: var(--charcoal);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--sage-green);
  box-shadow: 0 0 0 3px rgba(168, 195, 160, 0.15);
}

/* --- Ingredients Glossary --- */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .ingredient-grid { grid-template-columns: 1fr; }
}

.ingredient-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.ingredient-card h3 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.ingredient-type {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--sage-dark);
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.ingredient-desc {
  font-size: 1.5rem;
  color: var(--charcoal-extra-light);
  margin-bottom: 15px;
}

.ingredient-source {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--charcoal-light);
}

/* --- FAQ Accordion --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 500;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 1.4rem;
  color: var(--charcoal-extra-light);
  line-height: 1.6;
}

/* --- Blog Post Card --- */
.blog-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.blog-img-container {
  overflow: hidden;
  aspect-ratio: 1.6;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-info {
  padding: 24px;
}

.blog-meta {
  font-size: 1.2rem;
  color: var(--charcoal-extra-light);
  margin-bottom: 10px;
}

.blog-title {
  font-size: 2rem;
  font-family: var(--font-serif);
  margin-bottom: 12px;
}

.blog-excerpt {
  font-size: 1.4rem;
  color: var(--charcoal-extra-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-readmore {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gold);
}

.blog-readmore:hover {
  color: var(--gold-dark);
}

/* --- Mobile Header Actions Responsive Fixes --- */
@media (max-width: 576px) {
  .nav-actions .nav-action-btn:nth-child(2),
  .nav-actions .nav-action-btn:nth-child(3) {
    display: none !important;
  }
  
  .nav-actions {
    gap: 8px !important;
  }
  
  .logo img {
    height: 40px !important;
  }
}

/* --- Hide Product Reviews/Ratings --- */
.product-rating, 
.details-rating, 
.quickview-rating {
  display: none !important;
}
