/* House Of Flames - Main Stylesheet (Vanilla CSS) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --bg-color: #FDFDF7; /* Ivory - Main Background */
  --card-bg: #F3EFE6; /* Beige - Alternate Background */
  --text-main: #4A3623; /* Dark Brown - Main Text */
  --text-muted: #8B7355; /* Muted Brown - Secondary Text */
  --accent-blue: #8B4513; /* Saddle Brown - Interactive elements */
  --accent-blue-light: #F3EFE6; /* Beige */
  --gold: #A0522D; /* Sienna Brown - Buttons & Badges */
  --gold-light: #F5DEB3; /* Wheat / Light Brown */
  --border-color: rgba(74, 54, 35, 0.15); /* Soft brown border */
  --success: #3E5A43;
  --error: #8B3A3A;
  
  /* Next-Level Luxury Shadows & Radii */
  --shadow-sm: 0 4px 14px rgba(28, 35, 33, 0.03), 0 1px 3px rgba(28, 35, 33, 0.02);
  --shadow-md: 0 10px 30px rgba(28, 35, 33, 0.04), 0 4px 10px rgba(28, 35, 33, 0.02);
  --shadow-lg: 0 20px 40px rgba(28, 35, 33, 0.06), 0 8px 20px rgba(28, 35, 33, 0.03);
  --shadow-gold: 0 8px 24px rgba(168, 140, 82, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Fonts */
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Smooth Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease-out);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.4s var(--ease-out);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s var(--ease-out);
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--bg-color);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--text-main);
}
.btn-secondary:hover {
  background-color: var(--text-main);
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--bg-color);
  box-shadow: 0 4px 12px rgba(160, 82, 45, 0.15);
}
.btn-gold:hover {
  background-color: #8A4626;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-danger {
  background-color: var(--error);
  color: var(--bg-color);
}
.btn-danger:hover {
  background-color: #7A3232;
}

.btn-text {
  background: none;
  color: var(--accent-blue);
  padding: 0;
  text-transform: none;
  font-size: 0.9rem;
  text-decoration: underline;
}
.btn-text:hover {
  color: var(--text-main);
}

/* --- FORM ELEMENTS --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  transition: border-color 0.3s ease;
  font-size: 0.9rem;
  color: var(--text-main);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

/* --- LAYOUTS --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- HEADER STOREFRONT --- */
header.storefront-header {
  position: relative;
  background-color: #1B2A20;
  border-bottom: 1px solid #2A4032;
  color: #E2E6E5;
  z-index: 100;
  transition: transform 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
  width: 100%;
}

/* Sticky Header Utilities (Desktop only via JS/CSS) */
header.storefront-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
}

header.storefront-header.is-hidden {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  gap: 1rem;
}

.logo {
  flex: 0 0 auto;
  text-align: center;
}

.logo a {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #FFFFFF;
}

nav.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.mobile-menu-close {
  display: none;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
}

nav.main-nav a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #E2E6E5;
  position: relative;
  white-space: nowrap;
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.3s var(--ease-out);
}
nav.main-nav a:hover::after, nav.main-nav a.active::after {
  width: 100%;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--gold);
}

.header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.header-icon {
  position: relative;
  font-size: 1.2rem;
  cursor: pointer;
  color: #E2E6E5;
}
.header-icon:hover {
  color: var(--gold);
}

/* --- SEARCH OVERLAY --- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27, 42, 32, 0.95);
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
}
.search-overlay-content {
  width: 90%;
  max-width: 600px;
  position: relative;
}
.search-overlay-form {
  display: flex;
  border-bottom: 2px solid var(--gold);
}
.search-overlay-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 1rem 0;
}
.search-overlay-form input:focus {
  outline: none;
}
.search-overlay-form input::placeholder {
  color: rgba(255,255,255,0.5);
}
.search-overlay-form button {
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 1rem;
}
.close-search-btn {
  position: absolute;
  top: -3rem;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--gold);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #E2E6E5;
}

/* --- FOOTER STOREFRONT --- */
footer.storefront-footer {
  background-color: #1B2A20;
  color: #E2E6E5;
  padding: 5rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand h2 {
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #A3AFAD;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #324A3B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.footer-socials a:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #FFFFFF;
}

.footer-col h3 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: #A3AFAD;
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: #FFFFFF;
}

.footer-col p {
  color: #A3AFAD;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid #2A4032;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: #7B8B88;
  text-align: center;
}

/* --- BANNER / HERO --- */
.hero-slider {
  position: relative;
  height: 650px;
  overflow: hidden;
  background-color: #DDE2E2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(28,35,33,0.6) 0%, rgba(28,35,33,0.2) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 550px;
  padding: 0 4rem;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.2rem;
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.1);
  animation: fadeInUp 1s var(--ease-out);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 300;
  color: #E2E6E5;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-content .btn {
  animation: fadeInUp 1s ease 0.4s both;
}

/* ═══════════════════════════════════════════ */
/* TEXT HERO — Celestial-inspired             */
/* ═══════════════════════════════════════════ */
.text-hero {
  background-color: var(--bg-color);
  padding: 8rem 0 6rem;
  text-align: left;
}
.text-hero-heading {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 2rem;
}
.text-hero-heading em {
  color: var(--gold);
  font-style: italic;
}
.text-hero-cta {
  display: flex;
  width: 100%;
  max-width: 360px;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.text-hero-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 1.5rem;
}
.text-hero-bulk {
  display: flex;
  width: 100%;
  max-width: 360px;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  justify-content: center;
}

/* ═══════════════════════════════════════════ */
/* HOMEPAGE SECTIONS — shared                 */
/* ═══════════════════════════════════════════ */
.homepage-section {
  padding: 4rem 0;
  text-align: center;
}
.section-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.section-heading {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.section-heading em {
  color: var(--gold);
  font-style: italic;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.tag-pill {
  display: inline-block;
  padding: 0.4rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
  background-color: transparent;
}

/* ═══════════════════════════════════════════ */
/* CATEGORY OVERLAY GRID                      */
/* ═══════════════════════════════════════════ */
.category-overlay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.category-overlay-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
  display: block;
}
.category-overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-overlay-card:hover img {
  transform: scale(1.08);
}
.category-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #FFFFFF;
  text-align: left;
}
.category-overlay-text h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.category-overlay-text span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ═══════════════════════════════════════════ */
/* PROMISES SECTION                           */
/* ═══════════════════════════════════════════ */
.promises-section {
  text-align: center;
  padding: 4rem 0;
}
.promises-list {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 2.2;
  max-width: 550px;
  margin: 2rem auto;
}
.promise-diamond {
  color: var(--gold);
  font-style: normal;
  margin: 0 0.3rem;
  font-size: 0.7rem;
}
.promises-cta {
  display: inline-flex;
  padding: 1rem 3rem;
  margin-top: 1rem;
}

/* --- GRID CARDS --- */
.section-title {
  text-align: center;
  margin: 5rem 0 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.4);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--gold);
  color: #FFFFFF;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  z-index: 10;
}

.product-card-image {
  aspect-ratio: 1 / 1;
  background-color: var(--accent-blue-light);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-info {
  padding: 1.25rem 0.5rem;
  text-align: center;
}

.product-card-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.product-card-price {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-main);
}

/* --- INSTAGRAM REELS / RITUAL --- */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.reel-card {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #000;
  position: relative;
  box-shadow: var(--shadow-md);
}

.reel-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- JOURNAL GRID --- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.journal-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s var(--ease-out);
  border: 1px solid rgba(255,255,255,0.4);
}
.journal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.journal-card-image {
  height: 220px;
  background-color: var(--accent-blue-light);
}
.journal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.journal-card:hover .journal-card-image img {
  transform: scale(1.05);
}

.journal-card-info {
  padding: 1.5rem;
}

.journal-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.journal-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.journal-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- ADMIN LAYOUT --- */
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Admin Sidebar */
.admin-sidebar {
  width: 260px;
  background-color: #1E2524;
  color: #DFE5E4;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.admin-logo {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  border-bottom: 1px solid #2B3332;
}

.admin-logo h2 {
  font-family: var(--font-title);
  color: #FFFFFF;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.admin-menu {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 0;
  list-style: none;
}

.admin-menu li {
  margin-bottom: 0.25rem;
}

.admin-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #A3AFAD;
}
.admin-menu a:hover, .admin-menu a.active {
  color: #FFFFFF;
  background-color: #262E2D;
}

.admin-logout {
  padding: 1.5rem;
  border-top: 1px solid #2B3332;
}

/* Admin Main Content */
.admin-content {
  flex: 1;
  margin-left: 260px;
  background-color: #F4F6F6;
  min-height: 100vh;
  transition: all 0.3s ease;
}

.admin-topbar {
  height: 80px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2.5rem;
}

.admin-title h1 {
  font-size: 1.8rem;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-body {
  padding: 2.5rem;
}

/* Admin Hamburger & Mobile drawer */
.admin-hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- DASHBOARD STATISTICS CARDS --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.stats-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.stats-card-val {
  font-size: 1.8rem;
  font-family: var(--font-title);
  font-weight: 600;
}

/* --- DASHBOARD GRID --- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.dashboard-card-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- DATA TABLES --- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.data-table th {
  background-color: var(--bg-color);
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.data-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.data-table tr:hover {
  background-color: var(--accent-blue-light);
}

/* Badges */
.badge {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-success { background-color: #D4EDDA; color: #155724; }
.badge-warning { background-color: #FFF3CD; color: #856404; }
.badge-danger { background-color: #F8D7DA; color: #721C24; }
.badge-info { background-color: #D1ECF1; color: #0C5460; }
.badge-secondary { background-color: #E9ECEF; color: #495057; }

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(28, 35, 33, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  width: 90%;
  max-width: 550px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: zoomIn 0.3s ease;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-color);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Add drag & drop styles */
.dropzone {
  border: 2px dashed var(--accent-blue);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  background-color: var(--accent-blue-light);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dropzone:hover {
  background-color: #E6ECED;
}
.image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.preview-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-card .delete-preview {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: rgba(28, 35, 33, 0.8);
  color: #FFF;
  border: none;
  width: 20px;
  height: 20px;
  font-size: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cart dropdown/drawer and lists */
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.cart-item {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}
.cart-item-img {
  width: 90px;
  height: 110px;
  background-color: var(--accent-blue-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-item-qty input {
  width: 50px;
  text-align: center;
  padding: 0.2rem;
  border: 1px solid var(--border-color);
}

/* Banners grid dashboard */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.banner-card {
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.banner-card.active-banner {
  border-color: var(--gold);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* Storefront Header */
  .main-nav {
    display: none; /* Hide main nav desktop */
  }
  .hamburger-btn {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Admin Layout */
  html, body, .admin-wrapper, .admin-content {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-content {
    margin-left: 0;
    max-width: 100%;
  }
  .admin-hamburger {
    display: block;
  }
  .admin-topbar {
    padding: 0 1rem !important;
    height: 70px !important;
  }
  .admin-title h1 {
    font-size: 1.3rem !important;
  }
  .admin-body {
    padding: 1.25rem 1rem !important;
  }
  
  /* Form/Filter alignment stacking for admin dashboard/pages */
  .admin-body > div[style*="display: flex"],
  .admin-body > form[style*="display: flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .admin-body > div[style*="display: flex"] > div,
  .admin-body > div[style*="display: flex"] > form,
  .admin-body > div[style*="display: flex"] > button {
    width: 100% !important;
  }
  .admin-body form[style*="display: flex"] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .admin-body form[style*="display: flex"] > * {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .form-row, .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .reels-grid, .journal-grid {
    grid-template-columns: 1fr;
  }
  
  /* Tables to Cards for mobile */
  .mobile-cards tr {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    background-color: #FFFFFF;
    padding: 1rem;
  }
  .mobile-cards th {
    display: none;
  }
  .mobile-cards td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #F0F2F2;
    padding: 0.5rem 0;
    text-align: right;
  }
  .mobile-cards td:last-child {
    border-bottom: none;
  }
  .mobile-cards td::before {
    content: attr(data-label);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-muted);
    float: left;
    margin-right: 1rem;
  }
  .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .admin-title h1 {
    font-size: 1.15rem !important;
  }
}

/* --- PREMIUM HOMEPAGE SECTIONS (HOUSE OF FLAMES DESIGN SYSTEM) --- */
:root {
  --plum: #1C2321; /* Charcoal Black */
  --plum-dark: #0F1312;
  --blush: #FAF9F6; /* Luxury Warm Cream */
  --blush-dark: #EFEBE4; /* Sand */
}

/* Common Text Styling */
.tag-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tag-label-border {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  border: 1px solid var(--gold);
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}

.tag-label-boxed {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--plum);
  background-color: var(--blush-dark);
  padding: 0.4rem 1.2rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tag-label-boxed.dark-bg {
  background-color: var(--plum);
  color: #FFFFFF;
}

.title-serif {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--plum);
  margin-bottom: 1rem;
}

.title-serif em {
  font-style: italic;
  font-family: var(--font-title);
}

.title-serif span {
  font-style: italic;
  color: var(--gold);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

/* --- 8. Bulk Orders Section --- */
.bulk-orders-section {
  position: relative;
  background: var(--blush);
  padding: 6rem 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 5rem 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.bulk-orders-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.bulk-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.bulk-specs .bullet {
  color: var(--text-muted);
}

.btn-plum {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--plum);
  color: #FFFFFF;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-plum:hover {
  background-color: var(--plum-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- 9. Our Community Section --- */
.community-section {
  padding: 6rem 2rem;
  text-align: center;
  background-color: var(--blush);
  border-radius: var(--radius-lg);
  margin: 5rem 0;
  border: 1px solid var(--border-color);
}

/* Stats Cards Grid */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: 1100px;
}

.stats-card-box {
  background: #FFFFFF;
  padding: 2rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1 / 1;
  height: 100%;
}

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

.stats-card-box .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.stats-card-box h3 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--plum);
  margin-bottom: 0.5rem;
}

.stats-card-box .stats-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.stats-card-box .stats-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Features list row below stats */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 4rem auto 0;
  max-width: 1100px;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  text-align: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-item .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--plum);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.feature-item h4 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--plum);
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.5;
}

/* --- 10. Testimonials Section --- */
.testimonials-section {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(to bottom, #FFFFFF 0%, var(--blush) 100%);
  border-radius: var(--radius-lg);
  margin: 5rem 0;
  position: relative;
  border: 1px solid var(--border-color);
}

.testimonials-carousel {
  margin-top: 3rem;
  position: relative;
  padding: 0 1rem;
  overflow: hidden;
}

.testimonials-carousel .carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  padding: 1.5rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.testimonials-carousel .carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.testimonial-card {
  flex: 0 0 350px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: left;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.rating-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-family: var(--font-title);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--blush-dark);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.author-details h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--plum);
}

.author-details p {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.carousel-nav {
  display: none !important;
}

.carousel-prev, .carousel-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  color: var(--plum);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-prev:hover, .carousel-next:hover {
  background-color: var(--plum);
  color: #FFFFFF;
  border-color: var(--plum);
}

/* --- 11. Partners Section --- */
.partners-section {
  padding: 5rem 2rem;
  text-align: center;
  margin: 5rem 0;
}

.partners-carousel {
  margin-top: 3rem;
  overflow: hidden;
  position: relative;
}

.partners-carousel .carousel-track {
  display: flex;
  gap: 3.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;
  padding: 1.5rem 0;
  scroll-behavior: auto;
}

.partners-carousel .carousel-track::-webkit-scrollbar {
  display: none;
}

.partner-logo-card {
  flex: 0 0 160px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 230, 229, 0.5);
  transition: all 0.3s ease;
}

.partner-logo-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Text Logo Styles */
.partner-logo-text {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
}

.partner-logo-text.core-sync {
  font-family: 'Montserrat', sans-serif;
  color: #007ACC;
  letter-spacing: 0.1em;
  font-size: 1rem;
}

.partner-logo-text.venus-sweets {
  font-family: 'Cormorant Garamond', serif;
  color: #8D5E3A;
  font-style: italic;
  font-size: 1.3rem;
}

.partner-logo-text.adi {
  font-family: 'Montserrat', sans-serif;
  color: #333333;
  border-bottom: 2px solid var(--gold);
}

.partner-logo-text.kajal {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
}

.partner-logo-text.nurture-nest {
  font-family: 'Montserrat', sans-serif;
  color: #4D6B5E;
  font-size: 0.9rem;
}

.partner-logo-text.shashi {
  font-family: 'Montserrat', sans-serif;
  color: #DE6B48;
  letter-spacing: 0.15em;
}

/* Media Queries for New Sections */
@media (max-width: 992px) {
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-cards-grid {
    grid-template-columns: 1fr;
  }
  .features-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .title-serif {
    font-size: 2.1rem;
  }
  .testimonial-card {
    flex: 0 0 290px;
    padding: 1.5rem;
  }
  .bulk-specs {
    gap: 0.8rem;
  }
}

/* --- FILTER SIDEBAR STYLES --- */
.filter-grid {
  display: block; /* vertical on desktop */
}
.filter-item {
  margin-bottom: 1.25rem;
}
.filter-select {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
}

/* --- STOREFRONT MOBILE RESPONSIVENESS --- */
@media (max-width: 1024px) {
  /* Header: hamburger left, logo center, icons right */
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 1rem;
  }
  .hamburger-btn {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    cursor: pointer;
    color: #FFFFFF;
    order: 1;
  }
  .logo {
    order: 2;
    flex: 1;
    text-align: center;
  }
  .logo a {
    font-size: 1.3rem !important;
    white-space: nowrap;
  }
  .header-actions {
    order: 3;
    gap: 0.75rem !important;
  }
  /* Hide search bar on mobile — users can search via the filter sidebar */
  .header-search-form {
    display: none !important;
  }
  /* Hide logout icon on mobile to save space */
  .header-logout-btn {
    display: none !important;
  }
  .header-icon {
    font-size: 1.1rem !important;
  }

  /* Mobile Nav Drawer */
  nav.main-nav {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    width: 260px;
    height: 100vh;
    background-color: #1B2A20;
    border-bottom: none;
    border-right: 1px solid #2A4032;
    padding: 4rem 2rem 2rem;
    z-index: 10000;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  nav.main-nav.mobile-active {
    left: 0;
  }
  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  nav.main-nav a {
    font-size: 1.1rem;
    color: #E2E6E5;
  }
  
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #E2E6E5;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* Layout Stacking */
  .container > div[style*="display: flex"],
  form[style*="display: flex"],
  .checkout-container,
  .cart-container {
    flex-direction: column !important;
  }
  
  /* Filter sidebar: show toggle btn, hide body by default, compact when open */
  aside[style*="flex"],
  .filter-aside {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    flex: 0 0 auto !important;   /* prevent 250px minimum height on mobile */
    margin-bottom: 0.5rem;
  }
  .filter-toggle-btn {
    display: block !important;
  }
  #filter-body {
    display: none;
    padding: 1rem !important;
  }
  #filter-body.filter-open {
    display: block;
  }
  /* 2-column grid for filter dropdowns on mobile */
  .filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .filter-item {
    margin-bottom: 0.5rem;
  }
  .filter-select,
  .filter-aside .form-control {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }

  /* 2-Column Product Grid (Meesho Style) */
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  
  /* Homepage product grids: 2-col on mobile, 3-col on larger screens */
  .homepage-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  /* Container padding tighter on mobile */
  .container {
    padding: 0 1rem;
  }

  /* Footer responsive */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Text Hero mobile */
  .text-hero {
    padding: 3rem 0 2.5rem;
  }
  .text-hero-heading {
    font-size: 2.8rem;
  }
  .text-hero-cta,
  .text-hero-bulk {
    max-width: 100%;
  }

  /* Homepage sections mobile */
  .homepage-section {
    padding: 2.5rem 0;
  }
  .section-heading {
    font-size: 1.8rem;
  }

  /* Category overlay keeps 2-col on mobile */
  .category-overlay-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  /* Promises section */
  .promises-list {
    font-size: 0.9rem;
  }

  /* Section container mobile padding & margin updates to prevent horizontal overflow */
  .community-section,
  .testimonials-section,
  .bulk-orders-section {
    padding: 3rem 1rem !important;
    margin: 3rem 0 !important;
  }

  /* Stats cards responsive grid & square box styles */
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin: 2rem auto 1rem !important;
  }
  .stats-card-box {
    padding: 0.75rem 0.5rem !important;
    border-radius: 12px !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  .stats-card-box .card-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.4rem !important;
  }
  .stats-card-box h3 {
    font-size: 1.35rem !important;
    margin-bottom: 0.2rem !important;
  }
  .stats-card-box .stats-label {
    font-size: 0.65rem !important;
    margin-bottom: 0.15rem !important;
    line-height: 1.1 !important;
    max-width: 100% !important;
  }
  .stats-card-box .stats-subtext {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
    max-width: 100% !important;
  }

  /* Features row layout and constraints on mobile */
  .features-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem 0.75rem !important;
    margin-top: 2.5rem !important;
    padding-top: 2.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .feature-item {
    width: 100% !important;
    max-width: 100% !important;
  }
  .feature-item .feature-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
  }
  .feature-item h4 {
    font-size: 1.05rem !important;
    margin-bottom: 0.3rem !important;
  }
  .feature-item p {
    font-size: 0.75rem !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
  }

  /* Testimonials responsive running overrides */
  .testimonial-card {
    flex: 0 0 280px !important;
    padding: 1.5rem !important;
  }
  .testimonial-text {
    font-size: 0.85rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.6 !important;
  }
  .rating-stars {
    margin-bottom: 1rem !important;
  }
}

/* ==========================================================================
   TURBO SKELETON LOADER
   ========================================================================== */
.turbo-skeleton-overlay {
  position: fixed;
  top: 80px; /* Below header */
  left: 0;
  width: 100vw;
  height: calc(100vh - 80px);
  background-color: var(--bg-color);
  z-index: 9999;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
  overflow: hidden;
}

.turbo-skeleton-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Base Skeleton Animation */
.skeleton-box {
  background: #f6f3eb; /* Gold light */
  background: linear-gradient(90deg, #f6f3eb 8%, #ffffff 18%, #f6f3eb 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Skeleton Layout Blocks */
.skeleton-title {
  width: 40%;
  height: 40px;
  margin: 0 auto;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
}

.skeleton-text-short {
  width: 60%;
  height: 20px;
  margin: 0 auto;
}

.skeleton-text-medium {
  width: 80%;
  height: 20px;
  margin: 0 auto;
}/* ==========================================================================
   LUXURY HOMEPAGE UPGRADE - NEW SECTIONS
   ========================================================================== */

/* 1. LUXURY HERO */
.luxury-hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.luxury-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: 1;
}
.luxury-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
}
.luxury-hero-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}
.luxury-hero-heading em {
  font-style: italic;
  color: var(--gold);
}
.luxury-hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}
.luxury-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 2. ART OF POURING */
.art-of-pouring-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.art-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.art-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(168, 140, 82, 0.1); /* Subtle gold tint */
  z-index: 1;
  pointer-events: none;
}
.art-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.art-image-wrapper:hover .art-image {
  transform: scale(1.03);
}
.art-signatures {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}
.art-signature-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 3. THE OLFACTORY EXPERIENCE */
.olfactory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.olfactory-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  height: 100%;
  min-height: 500px;
}
.olfactory-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.scent-pyramid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.scent-note {
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  transition: all 0.3s ease;
}
.scent-note:hover {
  transform: translateX(10px);
  border-left-color: var(--plum);
}
.note-level {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.note-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* 4. PARALLAX QUOTE */
.parallax-quote {
  position: relative;
  padding: 8rem 2rem;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
  margin: 4rem 0;
}
.parallax-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28, 35, 33, 0.8);
  z-index: 1;
}
.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.parallax-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--gold);
}
.parallax-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* 5. THE INNER CIRCLE */
.inner-circle-box {
  background: #FAF9F6;
  border: 1px solid var(--border-color);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}
.inner-circle-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  justify-content: center;
}
.inner-circle-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-color);
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  border-radius: 4px;
  outline: none;
}
.inner-circle-form input:focus {
  border-color: var(--gold);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  padding: 0.8rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background: #1C2321;
  border-color: #1C2321;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .art-of-pouring-grid,
  .olfactory-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .olfactory-image-wrapper {
    min-height: 300px;
  }
  .inner-circle-form {
    flex-direction: column;
  }
}

/* --- Homepage Specific Layouts --- */
.premium-layout,
.signature-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
.premium-layout .banner-box,
.signature-layout .banner-box {
  min-height: 200px !important;
  height: auto !important;
  padding: 2rem 1.5rem !important;
  margin-bottom: 0 !important;
}
@media (min-width: 992px) {
  .premium-layout {
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
  }
  .signature-layout {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
  .premium-layout .banner-box,
  .signature-layout .banner-box {
    min-height: 100% !important;
    height: 100% !important;
    padding: 3rem !important;
  }
}

/* Homepage product grid: scale up on desktop */
@media (min-width: 768px) {
  .homepage-product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
  }
}
