/* ==========================================================================
   Karvi Naturals - Pure • Handmade • Natural
   Master Stylesheet (HTML5, CSS3, Pure JavaScript Architecture)
   ========================================================================== */

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

:root {
  --primary: #501353;
  --primary-hover: #68196c;
  --primary-dark: #3b0d3d;
  --primary-light: #fbf5fc;
  --primary-border: #ebd6ed;
  --accent-purple: #9333ea;
  --accent-gold: #f59e0b;
  --bg-main: #faf8f9;
  --bg-card: #ffffff;
  --text-main: #2e1b34;
  --text-muted: #64748b;
  --text-dark: #1e293b;
  --admin-bg: #181a27;
  --admin-card: #1e2238;
  --admin-border: #2a2f4c;
  --border-color: #efe2f2;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 2px 0 rgba(80, 19, 83, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(80, 19, 83, 0.08), 0 2px 4px -2px rgba(80, 19, 83, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(80, 19, 83, 0.1), 0 4px 6px -4px rgba(80, 19, 83, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(80, 19, 83, 0.12), 0 8px 10px -6px rgba(80, 19, 83, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
}

/* ==========================================================================
   PRIMARY BUTTONS & FORM CONTROLS (Bold & Prominent)
   ========================================================================== */
.btn-primary, 
button[type="submit"],
.form-submit-btn {
  background-color: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.98rem !important;
  padding: 0.85rem 1.75rem !important;
  border-radius: 0.85rem !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  cursor: pointer !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 4px 14px rgba(80, 19, 83, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover,
button[type="submit"]:hover,
.form-submit-btn:hover {
  background-color: var(--primary-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(80, 19, 83, 0.45) !important;
}

.btn-primary:active,
button[type="submit"]:active,
.form-submit-btn:active {
  transform: translateY(0) !important;
}

.btn-secondary {
  background-color: #ffffff !important;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary-border) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.85rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-secondary:hover {
  background-color: var(--primary-light) !important;
  border-color: var(--primary) !important;
}

.font-serif {
  font-family: var(--font-serif);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   ANNOUNCEMENT TOP BAR
   ========================================================================== */
.announcement-bar {
  background-color: #461249;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-bar .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.announcement-bar a:hover {
  color: #f3e8f4;
}

.announcement-bar .divider {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.35rem;
}

.admin-pill-btn {
  background-color: #68196c;
  color: #fce7f3;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.admin-pill-btn:hover {
  background-color: #7e1e83;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 50;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.brand-logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 1.5px solid var(--primary-border);
  padding: 2px;
  background: #ffffff;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  color: #78716c;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #482c50;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.2s ease;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.action-icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #482c50;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

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

.cart-count-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

@media (min-width: 900px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem;
  gap: 0.75rem;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
}

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

/* ==========================================================================
   FULL-SCREEN HERO IMAGE BANNER SLIDER
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 580px;
  max-height: 720px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #230825;
}

@media (max-width: 768px) {
  .hero-slider-section {
    height: auto;
    min-height: 640px;
  }
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 0;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Individual Slide Immersive Background Banners */
.slide-1 {
  background: linear-gradient(105deg, rgba(32, 6, 34, 0.94) 0%, rgba(55, 13, 58, 0.85) 45%, rgba(74, 18, 78, 0.45) 80%, rgba(32, 6, 34, 0.2) 100%), url('../assets/hero_soap.png') center/cover no-repeat;
}

.slide-2 {
  background: linear-gradient(105deg, rgba(15, 17, 24, 0.95) 0%, rgba(28, 16, 34, 0.88) 45%, rgba(50, 18, 56, 0.45) 80%, rgba(15, 17, 24, 0.2) 100%), url('../assets/shop_charcoal.png') center/cover no-repeat;
}

.slide-3 {
  background: linear-gradient(105deg, rgba(42, 8, 30, 0.95) 0%, rgba(70, 14, 48, 0.86) 45%, rgba(95, 20, 68, 0.45) 80%, rgba(42, 8, 30, 0.2) 100%), url('../assets/shop_rose.png') center/cover no-repeat;
}

.slide-4 {
  background: linear-gradient(105deg, rgba(14, 32, 18, 0.95) 0%, rgba(24, 48, 28, 0.86) 45%, rgba(40, 70, 44, 0.45) 80%, rgba(14, 32, 18, 0.2) 100%), url('../assets/shop_neem.png') center/cover no-repeat;
}

.hero-banner-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .hero-banner-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    padding: 0 3rem;
  }
}

.hero-banner-content {
  color: #ffffff;
  z-index: 5;
}

.hero-pill-luxury {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fde047;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-brand-name {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-brand-name {
    font-size: 4.25rem;
  }
}

.hero-brand-name .highlight {
  color: #f3c2ef;
  font-style: italic;
  font-weight: 600;
}

.hero-banner-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #fde047;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .hero-banner-title {
    font-size: 2.1rem;
  }
}

.hero-banner-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e9d5eb;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-banner-desc {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 560px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-btns-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
  color: #3b0d3d;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 10px 20px -5px rgba(234, 179, 8, 0.5);
}

.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 25px -4px rgba(234, 179, 8, 0.6);
  background: #ffffff;
  color: #501353;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Featured Showcase Image Card */
.hero-banner-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-img-wrap {
  position: relative;
  border-radius: 2rem;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 45px -15px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease;
  max-width: 440px;
  width: 100%;
}

.showcase-img-wrap:hover {
  transform: translateY(-6px) scale(1.02);
}

.showcase-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1.5rem;
  display: block;
}

.showcase-badge-pill {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(80, 19, 83, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Slider Controls */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  z-index: 10;
  transition: all 0.25s ease;
}

.slider-nav-btn:hover {
  background: #ffffff;
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.slider-nav-btn.prev {
  left: 1.5rem;
}

.slider-nav-btn.next {
  right: 1.5rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 36px;
  background: #fde047;
  border-color: #fde047;
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.7);
}

/* ==========================================================================
   HOMEPAGE GAP FIXES & SPACING REFINEMENTS
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 50;
  border-bottom: 1px solid rgba(80, 19, 83, 0.08);
  box-shadow: 0 2px 10px rgba(80, 19, 83, 0.04);
  margin-bottom: 0;
}

.shop-section {
  padding: 3rem 0 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   SHOP SECTION
   ========================================================================== */
.shop-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #64748b;
}

.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .shop-layout {
    grid-template-columns: 260px 1fr;
  }
}

.categories-sidebar {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.category-filter-btn {
  text-align: left;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #482c50;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-filter-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.category-filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.shop-layout .products-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid var(--border-color);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #d8b4e2;
}

.card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background-color: #461249;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  z-index: 5;
}

.card-img-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 1rem;
  background-color: #f8f6f8;
  cursor: pointer;
}

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

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

.card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8b5cf6;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #321035;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.card-title:hover {
  color: var(--primary);
}

.card-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.original-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.discount-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
}

.add-cart-btn {
  width: 100%;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.add-cart-btn:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.product-detail-view {
  padding: 3rem 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.detail-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid var(--border-color);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .detail-card {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
  }
}

.gallery-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-preview-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.thumb-row {
  display: flex;
  gap: 0.75rem;
}

.thumb-item {
  width: 70px;
  height: 70px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumb-item.active {
  border-color: var(--primary);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: #321035;
  margin-bottom: 0.5rem;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #eab308;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: 0.75rem;
  width: fit-content;
  overflow: hidden;
}

.qty-btn {
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
}

.qty-val {
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==========================================================================
   ABOUT & REVIEWS & CONTACT
   ========================================================================== */
.about-section {
  padding: 4rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.reviews-section {
  padding: 4rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.review-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--primary-border);
}

.contact-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background-color: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background-color: #f1f5f9;
  color: #334155;
}

/* ==========================================================================
   ADMIN PORTAL
   ========================================================================== */
.admin-view {
  min-height: 100vh;
  background-color: var(--admin-bg);
  color: #e2e8f0;
  display: none;
  flex-direction: column;
}

.admin-view.active {
  display: flex;
}

.admin-header {
  background-color: var(--admin-card);
  border-bottom: 1px solid var(--admin-border);
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .admin-body {
    flex-direction: row;
  }
}

.admin-sidebar {
  width: 100%;
  background-color: var(--admin-card);
  border-right: 1px solid var(--admin-border);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  shrink: 0;
}

@media (min-width: 768px) {
  .admin-sidebar {
    width: 260px;
  }
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-nav-item {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.admin-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.admin-nav-item.active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(80, 19, 83, 0.4);
}

.admin-content {
  flex: 1;
  padding: 1.5rem;
  background-color: var(--admin-bg);
  overflow-y: auto;
}

.page-editor-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-editor-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-editor-nav-btn.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(80, 19, 83, 0.4);
}

.media-image-card {
  background: #ffffff;
  color: #1e293b;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #efe2f2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .admin-content {
    padding: 2.5rem;
  }
}

.admin-panel-tab {
  display: none;
}

.admin-panel-tab.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

.admin-card-light {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th {
  background-color: #f8fafc;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.admin-table tr:hover {
  background-color: #faf5fb;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #1e2238;
  color: #ffffff;
  border: 1px solid #501353;
  padding: 0.85rem 1.25rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 200;
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.toast-notice.show {
  display: flex;
  animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

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

/* --- FAQ ACCORDION STYLES --- */
.faq-accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.faq-accordion-item:hover {
  border-color: #d8b4e2;
  box-shadow: var(--shadow-md);
}
.faq-accordion-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(80, 19, 83, 0.08);
}
.faq-accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: background 0.2s ease;
}
.faq-accordion-header:hover {
  background: #faf5fc;
}
.faq-question-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  line-height: 1.4;
}
.faq-category-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: #f3e8f5;
  color: #501353;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f7eff9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.faq-accordion-item.open .faq-chevron {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 1.5rem;
  background: #ffffff;
}
.faq-accordion-item.open .faq-accordion-body {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}
.faq-answer-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
  border-top: 1px dashed #efe2f2;
  padding-top: 1rem;
}
.faq-filter-btn {
  transition: all 0.2s ease;
}
.faq-filter-btn:hover {
  border-color: #501353 !important;
  color: #501353 !important;
}
.faq-filter-btn.active {
  background: #501353 !important;
  color: #ffffff !important;
  border-color: #501353 !important;
}
