/* ==========================================================================
   PAVANA ETHNIC BOUTIQUE - DESIGN SYSTEM & CORE STYLES
   Colors: White, Cream (#FAF7F2), Maroon (#6B1D2F), Gold (#D4AF37), Dark Brown (#2C1A1D)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEME TOKENS
   -------------------------------------------------------------------------- */
:root {
  --primary-maroon: #6B1D2F;
  --primary-dark: #4A101E;
  --primary-light: #8C2B42;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F9E29C;
  --accent-gold-dark: #A38118;
  --bg-cream: #FAF7F2;
  --bg-white: #FFFFFF;
  --bg-card: #FFFDF9;
  --text-dark: #2C1A1D;
  --text-muted: #635255;
  --text-light: #FAF7F2;
  --border-light: #EAE3D6;
  --border-gold: rgba(212, 175, 55, 0.35);
  
  /* Typography */
  --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout & Spacing */
  --container-max: 1280px;
  --header-height: 80px;
  --topbar-height: 38px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Shadows & Elevation */
  --shadow-sm: 0 4px 12px rgba(44, 26, 29, 0.05);
  --shadow-md: 0 8px 24px rgba(44, 26, 29, 0.1);
  --shadow-lg: 0 16px 40px rgba(44, 26, 29, 0.16);
  --glass-bg: rgba(255, 253, 249, 0.85);
  --glass-border: rgba(212, 175, 55, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Section Header Typography */
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-family: var(--font-heading);
  color: var(--accent-gold-dark);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.section-title {
  font-size: 2.4rem;
  color: var(--primary-maroon);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: 14px auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: var(--transition-normal);
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--primary-maroon);
  color: var(--text-light);
  border: 1px solid var(--primary-maroon);
  box-shadow: 0 4px 15px rgba(107, 29, 47, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 29, 47, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  color: var(--primary-dark);
  border: 1px solid var(--accent-gold);
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-maroon);
  border: 1px solid var(--primary-maroon);
}

.btn-outline:hover {
  background-color: var(--primary-maroon);
  color: var(--text-light);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
}

.badge-maroon {
  background-color: var(--primary-maroon);
  color: var(--text-light);
}

.badge-gold {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.badge-outline {
  border: 1px solid var(--primary-maroon);
  color: var(--primary-maroon);
}

/* --------------------------------------------------------------------------
   3. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.825rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-gold-light);
}

.top-bar-social {
  display: flex;
  gap: 14px;
}

.top-bar-social a {
  color: var(--text-light);
}

.top-bar-social a:hover {
  color: var(--accent-gold);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img,
.brand-logo-img {
  height: 46px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-maroon);
  letter-spacing: 2px;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  font-weight: 600;
  margin-top: 3px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--primary-maroon);
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  position: relative;
  font-size: 1.25rem;
  color: var(--text-dark);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.icon-btn:hover {
  color: var(--primary-maroon);
  background-color: rgba(107, 29, 47, 0.05);
  border-color: var(--border-gold);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--primary-maroon);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-white);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-maroon);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 26, 29, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background-color: var(--bg-card);
  z-index: 2001;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.mobile-nav-drawer.active {
  left: 0;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links .nav-link {
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   4. HERO BANNER SECTION — CAROUSEL
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--primary-dark);
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slide stack */
.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  will-change: opacity, visibility;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 1;
}

/* Gradient overlay for each individual slide to guarantee content readability */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 7, 12, 0.78) 0%,
    rgba(26, 7, 12, 0.55) 55%,
    rgba(26, 7, 12, 0.18) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Prev / Next arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background: rgba(212, 175, 55, 0.35);
  border-color: var(--accent-gold);
  transform: translateY(-50%) scale(1.08);
}
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.hero-dot.active {
  background: var(--accent-gold);
  transform: scale(1.3);
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  color: var(--text-light);
  max-width: 650px;
  padding: 60px 0;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  color: var(--accent-gold-light);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-title {
  font-size: 3.4rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: 1.1rem;
  color: #E2D9C5;
  margin-bottom: 35px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   4a. WELCOME/INTRO SECTION
   -------------------------------------------------------------------------- */
.welcome-intro-section {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.welcome-intro-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-maroon), var(--accent-gold));
}

.welcome-container {
  max-width: 800px;
  margin: 0 auto;
}

.welcome-crest {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: block;
}

.welcome-quote {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--primary-maroon);
  line-height: 1.5;
  margin: 25px 0 20px;
  font-style: italic;
  font-weight: 500;
  position: relative;
  padding: 0 40px;
}

.welcome-quote::before,
.welcome-quote::after {
  content: '“';
  font-family: var(--font-heading);
  font-size: 4.5rem;
  color: rgba(212, 175, 55, 0.15);
  position: absolute;
  line-height: 1;
}

.welcome-quote::before {
  left: 10px;
  top: -20px;
}

.welcome-quote::after {
  content: '”';
  right: 10px;
  bottom: -45px;
}

.welcome-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

.welcome-divider {
  width: 80px;
  height: 1px;
  background-color: var(--accent-gold);
  margin: 25px auto;
  position: relative;
}

.welcome-divider::after {
  content: '✦';
  color: var(--accent-gold);
  background-color: var(--bg-card);
  padding: 0 8px;
  font-size: 0.8rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* --------------------------------------------------------------------------
   5. FEATURED CATEGORIES SECTION
   -------------------------------------------------------------------------- */
.categories-slider-container {
  position: relative;
  width: 100%;
}

.categories-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 10px 0;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.categories-grid::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.cat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-maroon);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

.cat-arrow:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.cat-arrow-prev {
  left: -20px;
}

.cat-arrow-next {
  right: -20px;
}

@media (max-width: 768px) {
  .cat-arrow {
    display: none;
  }
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  aspect-ratio: 4/5;
  display: block;
  flex: 0 0 280px;
  max-width: 280px;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(44, 26, 29, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--text-light);
}

.category-name {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.category-link-text {
  font-size: 0.85rem;
  color: var(--accent-gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   6. PRODUCT CARD & GRID SYSTEM
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: #F5F0E6;
  display: block;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-actions-quick {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-fast);
  z-index: 2;
}

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

.action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--primary-maroon);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.action-btn:hover {
  background-color: var(--primary-maroon);
  color: var(--text-light);
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.05rem;
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em;
}

.product-title a:hover {
  color: var(--primary-maroon);
}

.product-meta-tags {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  gap: 8px;
  flex-wrap: wrap;
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-maroon);
}

.original-price {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.btn-add-cart {
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. ABOUT BOUTIQUE & WHY CHOOSE US
   -------------------------------------------------------------------------- */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-gold);
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.feature-box {
  background-color: var(--bg-card);
  padding: 32px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.feature-box:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(107, 29, 47, 0.08);
  color: var(--primary-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 18px;
  border: 1px stroke var(--accent-gold);
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary-maroon);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. INSTAGRAM & REVIEWS SECTION
   -------------------------------------------------------------------------- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.insta-card {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.insta-card:hover img {
  transform: scale(1.1);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(107, 29, 47, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  opacity: 0;
  transition: var(--transition-fast);
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

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

.review-card {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stars-row {
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.review-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-maroon);
}

.reviewer-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. SHOP PAGE & FILTERS
   -------------------------------------------------------------------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 36px;
}

.filter-sidebar {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-size: 1rem;
  color: var(--primary-maroon);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
}

.filter-item input[type="checkbox"],
.filter-item input[type="radio"] {
  accent-color: var(--primary-maroon);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.price-range-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-slider {
  width: 100%;
  accent-color: var(--primary-maroon);
}

.price-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Search & Sort Controls Top Bar */
.shop-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-card);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.shop-search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-cream);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  width: 320px;
}

.shop-search-input input {
  background: none;
  width: 100%;
  color: var(--text-dark);
}

.shop-sort-select {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.shop-sort-select select {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   10. SINGLE PRODUCT PAGE DETAILS
   -------------------------------------------------------------------------- */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.product-gallery-box {
  display: flex;
  gap: 20px;
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 90px;
}

.thumb-img {
  width: 90px;
  height: 110px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.thumb-img.active, .thumb-img:hover {
  border-color: var(--primary-maroon);
}

.gallery-main-view {
  flex-grow: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  aspect-ratio: 3/4;
  background-color: #F5F0E6;
}

.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-summary-box {
  display: flex;
  flex-direction: column;
}

.pd-title {
  font-size: 2.2rem;
  color: var(--primary-maroon);
  margin-bottom: 12px;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.pd-current-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-maroon);
}

.pd-original-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

.pd-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.spec-item {
  font-size: 0.9rem;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 600;
}

.spec-val {
  color: var(--text-dark);
  font-weight: 700;
}

.pd-desc {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 28px;
  line-height: 1.7;
}

.pd-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--primary-maroon);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 46px;
  background-color: rgba(107, 29, 47, 0.06);
  color: var(--primary-maroon);
  font-weight: 700;
  font-size: 1.1rem;
}

.qty-input {
  width: 50px;
  height: 46px;
  text-anchor: middle;
  text-align: center;
  font-weight: 700;
  background: var(--bg-white);
  color: var(--text-dark);
}

/* Social Share Suite */
.share-suite {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.share-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.share-btns {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.share-btn:hover {
  background-color: var(--primary-maroon);
  color: var(--text-light);
  border-color: var(--primary-maroon);
}

/* --------------------------------------------------------------------------
   11. CART DRAWER & WHATSAPP CHECKOUT MODAL
   -------------------------------------------------------------------------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(44, 26, 29, 0.6);
  backdrop-filter: blur(4px);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background-color: var(--bg-card);
  z-index: 3001;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 20px 24px;
  background-color: var(--primary-maroon);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  color: var(--text-light);
  font-size: 1.2rem;
}

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

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 70px;
  height: 90px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-size: 0.95rem;
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--primary-maroon);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

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

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--primary-maroon);
}

/* --------------------------------------------------------------------------
   12. FLOATING BUTTONS & TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}

.back-to-top-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-maroon);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-msg {
  background-color: var(--primary-maroon);
  color: var(--text-light);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInToast 0.3s ease forwards;
}

@keyframes slideInToast {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* --------------------------------------------------------------------------
   13. FOOTER SECTION
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding-top: 70px;
  border-top: 3px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .brand-logo-img {
  filter: brightness(0) invert(1);
}

.footer-brand .brand-name {
  color: var(--accent-gold-light);
  margin-bottom: 12px;
}

.footer-desc {
  color: #D4C9B5;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 14px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.footer-heading {
  font-size: 1.1rem;
  color: var(--accent-gold-light);
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #E2D9C5;
  font-size: 0.9rem;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.9rem;
  color: #E2D9C5;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
}

.footer-contact-item i {
  color: var(--accent-gold);
}

.footer-bottom {
  background-color: #360B15;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #B5A893;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}
