/* =========================================================
   LUXURY ANNOUNCEMENT BAR (ROTATING CAROUSEL & CONTROLS)
   ========================================================= */
.announcement-bar {
  background-color: var(--cabernet-dark, #24050a);
  color: #FAF6F0;
  padding: 0.45rem 1rem;
  min-height: 38px;
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  position: relative;
  z-index: 490;
  overflow: hidden;
  width: 100%;
  user-select: none;
}

.announcement-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 960px;
  position: relative;
}

.announcement-nav-btn {
  background: transparent;
  border: none;
  color: #FAF6F0;
  padding: 0.35rem 0.65rem;
  min-width: 32px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
  z-index: 2;
  flex-shrink: 0;
  border-radius: 4px;
}

.announcement-nav-btn:hover {
  opacity: 1;
  color: #FFFFFF;
  transform: scale(1.1);
}

.announcement-nav-btn:focus-visible {
  outline: 1px solid rgba(250, 246, 240, 0.6);
  opacity: 1;
}

.announcement-carousel {
  flex: 1;
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  max-width: 780px;
}

.announcement-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  padding: 0 0.5rem;
}

.announcement-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.announcement-item.slide-out-left {
  opacity: 0;
  transform: translateX(-24px);
  pointer-events: none;
}

.announcement-item.slide-out-right {
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
}

.announcement-item span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.announcement-link {
  color: #FAF6F0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  margin-left: 4px;
  transition: color 0.2s ease, opacity 0.2s ease;
  display: inline-block;
}

.announcement-link:hover {
  color: #FFFFFF;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .announcement-bar {
    padding: 0.35rem 0.4rem;
    min-height: 34px;
  }

  .announcement-nav-btn {
    padding: 0.25rem 0.35rem;
    min-width: 28px;
    min-height: 28px;
  }

  .announcement-carousel {
    height: 20px;
  }

  .announcement-item {
    font-size: 0.65rem;
    letter-spacing: 0.6px;
  }
}
/* =========================================================
   NEW: SUPER PROFESSIONAL HORIZONTAL FILTER BAR
   ========================================================= */
.catalog-layout-pro {
  width: 100%;
  display: block; /* Removes sidebar grid */
}

.pro-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.pro-filters {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Sleek Dropdown Buttons */
.filter-dropdown {
  position: relative;
}

.filter-dropdown-btn {
  padding: 0.6rem 1.2rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.filter-dropdown-btn:hover,
.filter-dropdown.active .filter-dropdown-btn {
  border-color: var(--maroon-light);
  box-shadow: 0 4px 12px rgba(122, 23, 32, 0.08);
}

.filter-dropdown-btn .arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.filter-dropdown.active .arrow {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.filter-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.filter-dropdown.active .filter-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.filter-check span {
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* Force 4 columns on desktop since sidebar is gone */
@media (min-width: 1280px) {
  .catalog-layout-pro .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* =========================================================
   NEW CATALOG: VISUAL CIRCLES, SIDEBAR & GRID
   ========================================================= */

   .catalog-section {
  padding: 4rem 5%;
  max-width: 1600px;
  margin: 0 auto;
}

/* 1. Circular Visual Categories */
/* =========================================================
   1. Circular Visual Categories (Balanced Size)
   ========================================================= */
.visual-category-row {
  display: flex;
  flex-wrap: wrap; /* THIS FIXES THE CROPPING: Allows items to drop to a new line */
  justify-content: center; 
  gap: 2rem 3rem; /* row-gap column-gap */
  margin-bottom: 4rem;
  padding: 1rem 0; /* Hide scrollbar for a cleaner look */
}

.visual-category-row::-webkit-scrollbar { 
  display: none; 
}

.visual-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; /* Proportional gap for text */
  transition: var(--transition);
  flex-shrink: 0;
}

/* The Sweet Spot: 150px Size */
.visual-img-wrap {
  width: 130px;  
  height: 130px; 
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  padding: 6px; /* Delicate outer ring */
  background: #FFFFFF;
  transition: var(--transition);
}

.visual-img-wrap img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Perfectly scaled typography */
.visual-cat-btn span {
  font-size: 0.95rem; 
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.visual-cat-btn:hover .visual-img-wrap {
  border-color: var(--maroon-light);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(122, 23, 32, 0.12);
}
/* 2. Main E-Commerce Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

/* 3. Left Sidebar Filters */
.catalog-sidebar {
  position: sticky;
  top: 90px; /* Sticks beneath the header */
}

.sidebar-main-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--cabernet);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--maroon-light);
}

.filter-group {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.2rem 0;
}

.filter-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.filter-check {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-check input {
  margin-right: 10px;
  accent-color: var(--maroon-light);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.filter-check .count {
  margin-left: auto;
  font-size: 0.75rem;
  color: #999;
}

/* 4. Right Side Toolbar & Grid */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.category-heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--cabernet);
  line-height: 1;
  margin-bottom: 6px;
}

.product-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.toolbar-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-wrap-small {
  position: relative;
}

.search-wrap-small input {
  padding: 0.6rem 1rem 0.6rem 2.2rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.8rem;
  width: 200px;
}

.search-wrap-small svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.sort-select {
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-dark);
  background: transparent;
  cursor: pointer;
}

/* Update Product Grid to fit 3 columns now that sidebar exists */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 200px 1fr;
    gap: 2rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-brand-name {
    word-spacing: 10px;
  }
  .catalog-layout {
    grid-template-columns: 1fr; /* Stack sidebar on top for mobile */
  }
  .catalog-sidebar {
    position: relative;
    top: 0;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .toolbar-right {
    width: 100%;
    flex-wrap: wrap;
  }
  .search-wrap-small input, .sort-select {
    width: 100%;
  }
}

/* =========================================================
   1. DESIGN TOKENS & COLOR PALETTE
   ========================================================= */
:root {
  /* Exact Cabernet & Light Maroon Palette */
  --maroon-light: #7A1720;    /* Classic Light Maroon / Wine */
  --maroon-dark: #460B12;     /* Rich Cabernet Maroon Depth */
  --cabernet: #460B12;        /* Rich Cabernet Depth */
  --cabernet-dark: #2B050B;   /* Midnight Cabernet Border/Shadows */
  --maroon-wash: #FBF4F5;

  /* Foundation Cream & Cashmere Beige */
  --bg-cream: #FAF6F0;
  --bg-surface: #F3ECE1;
  --bg-surface-warm: #EAE0D1;
  --bg-card: #FFFFFF;

  /* Metallic Gold Foil System */
  --gold-primary: #D4AF37;
  --gold-light: #FFF0C2;
  --gold-dark: #9A771C;
  --gold-foil: linear-gradient(135deg, #FFF0C2 0%, #D4AF37 40%, #9C771B 75%, #F5E296 100%);
  --gold-glow: rgba(212, 175, 55, 0.45);

  /* Typography Colors */
  --text-dark: #2A1F1D;
  --text-muted: #6B5E59;
  --text-light: #FAF6F0;
  --border-subtle: rgba(122, 23, 32, 0.12);

  /* Fonts */
  /* Fonts */
  /*
  --font-logo: 'Bickham Script Pro', 'Bickham Script', cursive;
  --font-serif: 'Bickham Script Pro', 'Bickham Script', cursive;
  --font-sans: 'Bickham Script Pro', 'Bickham Script', cursive;
  */
  /* --font-logo: 'Pinyon Script', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif; */
  --font-logo: 'Monsieur La Doulaise', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  .fancy-header {
    font-family: 'Monsieur La Doulaise', cursive;
    font-size: 48px;
    color: #333;

    /* Adds a subtle outline to make the font look thicker and bolder */
    -webkit-text-stroke: 1px #333; 
}
  /* Shadows & Transitions */
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 12px rgba(42, 31, 29, 0.05);
  --shadow-md: 0 12px 28px rgba(70, 11, 18, 0.08);
  --shadow-lg: 0 20px 48px rgba(43, 5, 11, 0.18);
}

/* =========================================================
   2. RESET & BASE STYLES
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden !important;
  touch-action: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Global Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 2.4rem;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold-foil);
  color: var(--cabernet-dark);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 8px 20px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.55);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-3px);
}

.btn-outline.dark-outline {
  border-color: var(--maroon-light);
  color: var(--maroon-light);
  background: transparent;
}

.btn-outline.dark-outline:hover {
  background: var(--maroon-light);
  color: #FFFFFF;
}

.btn-block {
  width: 100%;
}

.badge-pill {
  font-size: 0.55rem;
  background: var(--maroon-light);
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  margin-left: 4px;
  vertical-align: 2px;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-pretitle {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--cabernet);
  font-weight: 400;
  line-height: 1.15;
}


/* =========================================================
   4. STICKY HEADER (LOGO LEFT, MENU CENTER, ACTIONS RIGHT)
   ========================================================= */
/* =========================================================
   4. DYNAMIC HIDE/SHOW ON SCROLL HEADER WRAPPER
   ========================================================= */
:root {
  --header-total-height: 102px;
}

.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  will-change: transform;
  background: var(--cream-soft, #FAF6F0);
}

.header-wrapper.header-hidden {
  transform: translateY(-100%);
  box-shadow: none;
}

.header-wrapper.header-visible {
  transform: translateY(0);
}

.header-wrapper.header-scrolled {
  box-shadow: 0 4px 20px rgba(43, 5, 11, 0.08);
}

.header-spacer {
  width: 100%;
  height: var(--header-total-height, 102px);
  pointer-events: none;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .header-spacer {
    height: var(--header-total-height, 94px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-wrapper {
    transition: none !important;
  }
}

.site-header {
  position: relative;
  z-index: 1;
  background: rgba(250, 246, 240, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  min-height: 70px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-left-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  min-width: 0;
}

.hamburger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(122, 23, 32, 0.12);
  color: var(--maroon-light);
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hamburger-btn:hover {
  background: rgba(122, 23, 32, 0.08);
  border-color: rgba(122, 23, 32, 0.2);
}

.hamburger-btn:active {
  transform: scale(0.92);
  background: rgba(122, 23, 32, 0.14);
}

.nav-brand {
  text-align: center;
  min-width: 0;
}

.nav-brand a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-width: 0;
}

.brand-title {
  font-family: 'Monsieur La Doulaise', cursive;
  font-size: 2.8rem; 
  color: var(--maroon-light);
  font-weight: 400;
  line-height: 1;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  -webkit-text-stroke: 0.4px var(--maroon-light);
}

.brand-tagline {
  font-size: 0.62rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  text-align: center;
  white-space: nowrap;
}

.nav-center {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--maroon-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.action-btn {
  position: relative;
  color: var(--maroon-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 8px;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.action-btn svg {
  display: block;
  flex-shrink: 0;
}

.action-btn:hover {
  transform: translateY(-2px);
  color: var(--gold-dark);
}

.action-btn:active {
  transform: scale(0.92);
}

.counter-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--maroon-light);
  color: #FFFFFF;
  font-size: 0.55rem;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1.5px solid #FAF6F0;
  box-shadow: 0 2px 5px rgba(43, 5, 11, 0.28);
  line-height: 1;
}

#accountHeaderBtn {
  position: relative;
}

#accountHeaderBtn::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 6px;
  height: 6px;
  background: var(--gold-dark, #C5A059);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(197, 160, 89, 0.5);
  pointer-events: none;
}

/* =========================================================
   5. MOBILE SLIDE-OUT NAVIGATION DRAWER
   ========================================================= */
body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 86%;
  max-width: 340px;
  height: 100%;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 2100;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-cream) 100%);
  flex-shrink: 0;
}

.mobile-drawer-header > div,
.mobile-drawer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mobile-brand-title {
  font-family: 'Monsieur La Doulaise', cursive;
  font-size: 2.3rem;
  color: var(--maroon-light);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 auto;
  text-align: center;
  display: block;
  -webkit-text-stroke: 0.35px var(--maroon-light);
}

.mobile-brand-sub {
  font-family: 'Jost', 'Montserrat', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin: 2px auto 0 auto;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.btn-close {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(122, 23, 32, 0.12);
  background: #FFFFFF;
  color: var(--maroon-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-close:active {
  transform: scale(0.9);
  background: rgba(122, 23, 32, 0.08);
}

.mobile-nav-list {
  list-style: none;
  padding: 0.75rem 0;
  flex-grow: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.4rem;
  font-size: 0.84rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(122, 23, 32, 0.05);
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:active,
.mobile-nav-link.active {
  background: var(--bg-surface);
  color: var(--maroon-light);
  font-weight: 600;
}

.link-arrow {
  color: var(--gold-dark);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.mobile-nav-link:active .link-arrow {
  transform: translateX(4px);
}

.mobile-drawer-footer {
  padding: 1.1rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-cream);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.mob-footer-tag {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.mob-whatsapp-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 0.65rem;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.mob-whatsapp-btn:active {
  transform: scale(0.98);
  opacity: 0.9;
}

.mob-footer-email {
  font-size: 0.75rem;
  color: var(--maroon-light);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  word-break: break-word;
  padding: 0.2rem 0;
}
/* =========================================================
   6. LUXURY WELCOME HERO (CABERNET & LIGHT MAROON WITH GOLDEN CANDLES)
   ========================================================= */
.welcome-hero {
  position: relative;
  background: radial-gradient(circle at 50% 45%, var(--maroon-light) 0%, var(--cabernet) 60%, var(--cabernet-dark) 100%);
  color: #FFFFFF;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 4%;
  box-shadow: inset 0 -35px 70px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

/* Ornate Border & Filigree Inset Corners */
.hero-ornate-frame {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  z-index: 2;
}

.inner-gold-hairline {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.12), inset 0 0 12px rgba(212, 175, 55, 0.1);
}

.inner-gold-hairline::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(212, 175, 55, 0.16);
}

.corner-filigree {
  position: absolute;
  width: 75px;
  height: 75px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.corner-filigree.top-left { top: 0; left: 0; }
.corner-filigree.top-right { top: 0; right: 0; }
.corner-filigree.bottom-left { bottom: 0; left: 0; }
.corner-filigree.bottom-right { bottom: 0; right: 0; }

/* Golden Candles (Left & Right) */
.ambient-candle-wrap {
  position: relative;
  z-index: 3;
  width: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.candle-left {
  animation: candleHover 6s ease-in-out infinite;
}

.candle-right {
  animation: candleHover 6s ease-in-out infinite 3s;
}

.candle-svg {
  width: 100%;
  height: auto;
  max-height: 380px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
}

/* Ambient Pulsating Glow surrounding candle flame */
.candle-ambient-glow {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.35) 0%, rgba(255, 145, 0, 0.15) 45%, rgba(122, 23, 32, 0) 75%);
  border-radius: 50%;
  pointer-events: none;
  animation: ambientLightPulse 2.8s ease-in-out infinite alternate;
}

/* Flame Animations & Sway */
.flame-animation-group {
  transform-origin: 60px 52px;
  animation: flameFlicker 1.8s ease-in-out infinite alternate;
}

.flame-animation-group.flame-delay {
  animation: flameFlicker 2.1s ease-in-out infinite alternate-reverse 0.4s;
}

.flame-outer {
  animation: flameGlowShift 1.4s ease-in-out infinite alternate;
}

@keyframes flameFlicker {
  0% { transform: scale(1) rotate(-1deg) skewX(-1deg); }
  25% { transform: scale(1.06, 0.96) rotate(1.5deg) skewX(1deg); }
  50% { transform: scale(0.97, 1.05) rotate(-2deg) skewX(-1.5deg); }
  75% { transform: scale(1.04, 0.98) rotate(1deg) skewX(0.5deg); }
  100% { transform: scale(1) rotate(0deg) skewX(0deg); }
}

@keyframes ambientLightPulse {
  0% { opacity: 0.5; transform: translateX(-50%) scale(0.92); }
  50% { opacity: 0.95; transform: translateX(-50%) scale(1.1); }
  100% { opacity: 0.65; transform: translateX(-50%) scale(1); }
}

@keyframes flameGlowShift {
  0% { filter: drop-shadow(0 0 4px #FFD54F); }
  50% { filter: drop-shadow(0 0 14px #FF8F00); }
  100% { filter: drop-shadow(0 0 7px #FFA000); }
}

@keyframes candleHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Center Hero Typography */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-pretitle {
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.2rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* .hero-brand-name {
  font-family: var(--font-logo);
  font-size: clamp(4.4rem, 9.5vw, 8.8rem);
  font-weight: 400;
  line-height: 0.92;
  background: var(--gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.75));
  margin-bottom: 1.2rem;
} */
 .hero-brand-name {
   word-spacing: 18px;
  font-family: var(--font-logo); /* Assuming you updated this variable to the new font */
  font-size: clamp(4.4rem, 9.5vw, 8.8rem);
  font-weight: 400;
  line-height: 1.3; 
  padding: 0.2em 0; 
  background: var(--gold-foil);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.75));
  margin-bottom: 0.5rem; 
}

.hero-divider-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 2.5rem;
}

.divider-line-gold {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.divider-leaf {
  color: var(--gold-primary);
  font-size: 1.1rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #FFF6EA;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   FIXED: PERFECTLY CENTERED SCROLL INDICATOR
   ========================================================= */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  margin-inline: auto;          /* Centers it horizontally on all screen sizes */
  width: fit-content;           /* Shrinks to fit text width */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.7);
  animation: floatDown 2s infinite ease-in-out;
  z-index: 10;
  text-decoration: none;
}

@keyframes floatDown {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}
/* =========================================================
   7. TRUST PILLARS STRIP
   ========================================================= */
.trust-strip {
  background-color: #FAF6F0;
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.4rem 5%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.trust-icon {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.trust-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--cabernet);
  font-weight: 600;
}

.trust-card p {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================================
   8. CATALOG CONTROLS (SEARCH & TABS)
   ========================================================= */
.catalog-section {
  padding: 5.5rem 5%;
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.search-wrap {
  width: 100%;
  max-width: 480px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-wrap input {
  width: 100%;
  padding: 0.85rem 1.2rem 0.85rem 3rem;
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  background: #FFFFFF;
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.search-wrap input:focus {
  border-color: var(--maroon-light);
  box-shadow: 0 6px 20px rgba(122, 23, 32, 0.08);
}

.category-tabs {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 20px;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--maroon-light);
  color: #FFFFFF;
  border-color: var(--maroon-light);
}

/* =========================================================
   9. 30-SKU PRODUCT GRID & CARDS
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-media {
  height: 290px;
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  cursor: pointer;
}

.card-media img {
  transition: transform 0.6s ease;
}

.product-card:hover .card-media img {
  transform: scale(1.07);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(70, 11, 18, 0.9);
  color: #FAF6F0;
  font-size: 0.62rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 600;
  z-index: 2;
}

.card-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--maroon-light);
  transition: var(--transition);
  z-index: 2;
}

.card-wishlist-btn.active svg {
  fill: var(--maroon-light);
}

.card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-scent-notes {
  font-size: 0.72rem;
  color: var(--gold-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
  cursor: pointer;
}

.card-specs {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-subtle);
}

.card-price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--maroon-light);
}

.card-price-orig {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

.btn-add-cart {
  border: 1px solid var(--maroon-light);
  color: var(--maroon-light);
  padding: 0.45rem 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--maroon-light);
  color: #FFFFFF;
}

/* =========================================================
   10. EDITORIAL BANNERS (DÉCOR & JOURNAL)
   ========================================================= */
.banner-section {
  padding: 2.5rem 5%;
}

.banner-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.banner-decor {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-warm) 100%);
}

.banner-journal {
  background: var(--bg-surface);
  grid-template-columns: 1fr 1.2fr;
}

.banner-content {
  padding: 4.5rem 4rem;
}

.banner-tag {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--maroon-light);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: block;
}

.banner-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--cabernet);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.banner-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.banner-image {
  height: 100%;
  min-height: 400px;
}

/* =========================================================
   11. BRAND STORY SECTION
   ========================================================= */
.story-section {
  padding: 5.5rem 5%;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.story-image-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 6px solid #FFFFFF;
  box-shadow: var(--shadow-md);
  height: 480px;
}

.story-text p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-top: 1.2rem;
  line-height: 1.8;
}

/* =========================================================
   12. FAQS ACCORDION
   ========================================================= */
.faq-section {
  padding: 5.5rem 5%;
  max-width: 880px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cabernet);
  text-align: left;
}

.faq-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: none;
  padding: 0 1.6rem 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* =========================================================
   13. DRAWERS & MODALS (CART, PDP, CHECKOUT, POLICY)
   ========================================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 5, 11, 0.65);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide-out Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #FFFFFF;
  z-index: 2100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--cabernet);
}

.btn-close, .modal-close-btn {
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition);
}

.btn-close:hover, .modal-close-btn:hover {
  color: var(--maroon-light);
}

.shipping-meter-wrap {
  background: var(--bg-surface);
  padding: 0.85rem 1.6rem;
  font-size: 0.75rem;
  color: var(--text-dark);
  text-align: center;
}

.meter-bar-track {
  height: 5px;
  background: #E5D5C5;
  border-radius: 3px;
  margin-top: 6px;
  overflow: hidden;
}

.meter-bar-fill {
  height: 100%;
  background: var(--maroon-light);
  width: 0%;
  transition: width 0.35s ease;
}

.cart-drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-row img {
  width: 70px;
  height: 70px;
  border-radius: 4px;
}

.cart-item-info h5 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
}

.cart-item-info p {
  font-size: 0.82rem;
  color: var(--maroon-light);
  font-weight: 600;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  margin-top: 6px;
}

.qty-controls button {
  padding: 2px 8px;
  font-size: 0.85rem;
}

.qty-controls span {
  font-size: 0.8rem;
  padding: 0 6px;
}

.cart-drawer-footer {
  padding: 1.5rem 1.6rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-cream);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cabernet);
  margin-bottom: 1rem;
}

/* =========================================================
   WISHLIST DRAWER (SLIDE-OUT SANCTUARY)
   ========================================================= */
.wishlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  height: 100dvh;
  background: #FAF6F0;
  box-shadow: -4px 0 30px rgba(43, 5, 11, 0.15);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.wishlist-drawer.active {
  transform: translateX(0);
}

.wishlist-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(43, 5, 11, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FAF6F0;
}

.wishlist-drawer-header .drawer-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--maroon-dark);
  margin: 0;
  line-height: 1.2;
}

.wishlist-drawer-header .drawer-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  display: block;
  margin-top: 2px;
}

.wishlist-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.wishlist-item-row {
  display: grid;
  grid-template-columns: 75px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: box-shadow 0.2s ease;
}

.wishlist-item-row:hover {
  box-shadow: 0 4px 14px rgba(43, 5, 11, 0.06);
}

.wishlist-thumb {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cream-soft);
}

.wishlist-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.wishlist-item-cat {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.wishlist-item-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--maroon-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-item-notes {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.wishlist-item-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.wishlist-item-price {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--maroon-dark);
}

.wishlist-item-orig {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.wishlist-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.btn-wishlist-cart {
  background: var(--cabernet, #460B12);
  color: #FFFFFF;
  border: 1px solid var(--gold-primary, #D4AF37);
  border-radius: 6px;
  padding: 0.48rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(43, 5, 11, 0.18);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-wishlist-cart:hover,
.btn-wishlist-cart:focus-visible {
  background: var(--maroon-light, #7A1720);
  color: var(--gold-light, #FFF0C2);
  border-color: var(--gold-light, #FFF0C2);
  box-shadow: 0 4px 12px rgba(122, 23, 32, 0.28);
  transform: translateY(-1px);
}

.btn-wishlist-cart:active {
  transform: translateY(0);
}

/* Wishlist Quantity Counter Controls */
.wishlist-qty-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.wishlist-qty-controls {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--gold-primary, #D4AF37);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(43, 5, 11, 0.12);
}

.wishlist-qty-btn {
  background: var(--bg-surface, #F3ECE1);
  color: var(--cabernet-dark, #2B050B);
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.wishlist-qty-btn:hover,
.wishlist-qty-btn:focus-visible {
  background: var(--cabernet, #460B12);
  color: var(--gold-light, #FFF0C2);
}

.wishlist-qty-btn:active {
  background: var(--maroon-light, #7A1720);
  color: #FFFFFF;
}

.wishlist-qty-number {
  min-width: 26px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cabernet-dark, #2B050B);
  padding: 0 4px;
}

.wishlist-qty-badge {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--maroon-light, #7A1720);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.btn-wishlist-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.btn-wishlist-remove:hover {
  color: var(--maroon-dark);
}

.wishlist-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(43, 5, 11, 0.08);
  background: #FAF6F0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.wishlist-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.wishlist-empty-state svg {
  color: var(--maroon-light);
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.wishlist-empty-state h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--maroon-dark);
  margin: 0;
}

.wishlist-empty-state p {
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

.btn-clear-wishlist {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.3rem;
  text-align: center;
}

.btn-clear-wishlist:hover {
  color: var(--maroon-dark);
}

/* =========================================================
   HEADER SEARCH MODAL / OVERLAY
   ========================================================= */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(43, 5, 11, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: clamp(2rem, 10vh, 5rem);
  padding-inline: 1rem;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-inner {
  width: 100%;
  max-width: 680px;
  background: #FAF6F0;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  max-height: 85dvh;
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-overlay.active .search-modal-inner {
  transform: translateY(0);
}

.search-modal-header {
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(43, 5, 11, 0.08);
  background: #FFFFFF;
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.search-modal-icon {
  color: var(--maroon-light);
  flex-shrink: 0;
}

.header-search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--maroon-dark);
}

.header-search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.search-clear-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
}

.search-popular-tags {
  padding: 0.75rem 1.5rem;
  background: rgba(250, 246, 240, 0.75);
  border-bottom: 1px solid rgba(43, 5, 11, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tags-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  margin-right: 0.25rem;
}

.search-tag {
  background: #FFFFFF;
  border: 1px solid rgba(43, 5, 11, 0.1);
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  color: var(--maroon-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-tag:hover {
  background: var(--maroon-dark);
  color: #FAF6F0;
  border-color: var(--maroon-dark);
}

.search-results-container {
  padding: 1rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 55vh;
}

.search-result-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.search-result-row:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(43, 5, 11, 0.06);
  border-color: rgba(212, 175, 55, 0.5);
}

.search-result-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cream-soft);
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.search-result-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--maroon-dark);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-notes {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.search-result-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon-dark);
}

.search-result-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-empty-notice {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Generalized Modal Base */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(43, 5, 11, 0.28), 0 0 0 1px rgba(212, 175, 55, 0.22);
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2200;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  background: #FFFFFF;
  border: 1px solid rgba(122, 23, 32, 0.2);
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(43, 5, 11, 0.14);
  color: var(--cabernet-dark);
  cursor: pointer;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.22s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--maroon-light);
  transition: stroke 0.2s ease, transform 0.2s ease;
  display: block;
}

.modal-close-btn:hover {
  background: var(--maroon-light);
  border-color: var(--maroon-light);
  color: #FFFFFF;
  transform: scale(1.08) rotate(90deg);
  box-shadow: 0 6px 18px rgba(122, 23, 32, 0.28);
}

.modal-close-btn:hover svg {
  stroke: #FFFFFF;
}

.modal-close-btn:active {
  transform: scale(0.92);
}

/* =========================================================
   PRODUCT QUICK VIEW MODAL (PDP) — ULTRA RESPONSIVE
   Optimized for Desktops, Tablets, iPads & iPhones
   ========================================================= */
.pdp-modal {
  width: 92%;
  max-width: 1020px;
  max-height: 90vh;
  max-height: 90dvh;
  padding: 2.2rem 2.4rem;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 16px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  box-shadow: 0 28px 70px rgba(43, 5, 11, 0.3), 0 0 0 1px rgba(212, 175, 55, 0.24);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
  z-index: 2200;
}

.pdp-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.pdp-modal-grid {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
}

.pdp-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.pdp-main-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 440px;
  aspect-ratio: 1 / 1;
  min-height: 380px;
  max-height: 460px;
  border-radius: 14px;
  overflow: hidden;
  background: #FAF7F2;
  box-shadow: 0 6px 20px rgba(43, 5, 11, 0.09);
  border: 1px solid rgba(212, 175, 55, 0.25);
  touch-action: pan-y pinch-zoom;
  margin: 0 auto;
}

.pdp-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}

.pdp-slider-track::-webkit-scrollbar {
  display: none;
}

.pdp-slider-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FAF7F2;
}

.pdp-slider-slide img,
.pdp-slider-track img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 8px;
  box-sizing: border-box;
  transition: transform 0.35s ease;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
}

.pdp-main-slider-wrap:hover .pdp-slider-slide img {
  transform: scale(1.05);
}

.pdp-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #2B050B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: all 0.25s ease;
  opacity: 0.92;
  -webkit-tap-highlight-color: transparent;
}

.pdp-gallery-arrow:hover {
  opacity: 1;
  background: #2B050B;
  color: #D4AF37;
  border-color: #D4AF37;
  transform: translateY(-50%) scale(1.08);
}

.pdp-gallery-prev {
  left: 10px;
}

.pdp-gallery-next {
  right: 10px;
}

.pdp-thumbs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.pdp-thumb-item {
  aspect-ratio: 1 / 1;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #FAF7F2;
  cursor: pointer;
  padding: 3px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(43, 5, 11, 0.06);
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 2px;
  box-sizing: border-box;
}

.pdp-thumb-item:hover {
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

.pdp-thumb-item.active {
  border-color: #D4AF37;
  box-shadow: 0 0 0 2.5px rgba(212, 175, 55, 0.3);
  background: #FFFFFF;
}

.pdp-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pdp-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  padding-right: 2.5rem;
  flex-wrap: wrap;
}

.pdp-category-tag {
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-weight: 600;
}

.pdp-stock-status {
  font-size: 0.72rem;
  color: #2E7D32;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2E7D32;
  box-shadow: 0 0 0 rgba(46, 125, 50, 0.4);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(46, 125, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

.pdp-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  color: var(--cabernet);
  margin: 0.2rem 0 0.5rem;
  line-height: 1.2;
  font-weight: 600;
  word-break: break-word;
}

.pdp-pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.pdp-current-price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--maroon-light);
  font-family: var(--font-serif);
}

.pdp-orig-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pdp-tax-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  margin-left: auto;
}

.pdp-desc {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* Scent Pyramid Card */
.scent-pyramid-card {
  background: #FAF6F0;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 3.5px solid var(--gold-dark);
  padding: 1rem 1.15rem;
  border-radius: 6px;
  margin-bottom: 1.15rem;
}

.scent-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--maroon-light);
  margin-bottom: 0.65rem;
}

.scent-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.scent-item {
  display: flex;
  font-size: 0.82rem;
  line-height: 1.4;
  gap: 6px;
}

.scent-label {
  font-weight: 600;
  color: var(--cabernet);
  min-width: 90px;
  flex-shrink: 0;
}

.scent-val {
  color: var(--text-dark);
}

.scent-footer-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  border-top: 1px dashed rgba(212, 175, 55, 0.25);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.scent-footer-meta strong {
  color: var(--cabernet);
}

.dot-sep {
  color: var(--gold-dark);
}

/* Pincode Checker */
.pincode-widget {
  background: #FFFFFF;
  border: 1px solid rgba(122, 23, 32, 0.12);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.15rem;
}

.pincode-widget label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--cabernet-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.5rem;
}

.pincode-input-group {
  display: flex;
  gap: 6px;
}

.pincode-input-group input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.2s;
  background: #FAF6F0;
}

.pincode-input-group input:focus {
  border-color: var(--gold-dark);
  background: #FFFFFF;
}

.pincode-input-group button {
  background: var(--cabernet-dark);
  color: var(--gold-light);
  border: 1px solid var(--cabernet-dark);
  padding: 0.6rem 1.1rem;
  font-size: 0.74rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.pincode-input-group button:hover {
  background: var(--maroon-light);
  border-color: var(--maroon-light);
  color: #FFFFFF;
}

.pincode-message {
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 0.45rem;
  min-height: 1.1rem;
  line-height: 1.4;
}

/* PDP Add to bag button */
.pdp-add-bag-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  font-size: 0.84rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 8px;
  background: var(--cabernet-dark);
  color: var(--gold-light);
  border: 1px solid var(--cabernet-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(43, 5, 11, 0.2);
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.pdp-add-bag-btn:hover {
  background: var(--maroon-light);
  border-color: var(--maroon-light);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(122, 23, 32, 0.3);
}

.pdp-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.68rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.pdp-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.pdp-trust-row span svg {
  stroke: #2E7D32;
  flex-shrink: 0;
}

/* =========================================================
   TABLET & IPAD RESPONSIVE STYLES (≤ 1024px)
   ========================================================= */
@media (max-width: 1024px) {
  .pdp-modal {
    width: 94%;
    max-width: 860px;
    padding: 1.85rem 1.8rem;
    max-height: 88vh;
    max-height: 88dvh;
  }

  .pdp-modal-grid {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 1.8rem;
  }

  .pdp-media {
    max-width: 360px;
    gap: 0.75rem;
  }

  .pdp-main-slider-wrap {
    max-width: 360px;
    height: 360px;
    min-height: 320px;
    max-height: 360px;
    border-radius: 12px;
  }

  .pdp-thumbs-row {
    max-width: 360px;
    gap: 0.5rem;
  }

  .pdp-thumb-item {
    height: 64px;
    border-radius: 8px;
  }

  .pdp-title {
    font-size: 1.65rem;
  }
}

/* =========================================================
   MOBILE & IPHONE RESPONSIVE STYLES (≤ 768px)
   Features Luxury Bottom-Sheet Modal, Native Swipe & Safe Areas
   ========================================================= */
@media (max-width: 768px) {
  .pdp-modal {
    width: 100% !important;
    max-width: 100% !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(100%) !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 1.35rem 1.2rem calc(1.6rem + env(safe-area-inset-bottom, 16px)) !important;
    max-height: 90vh !important;
    max-height: 90dvh !important;
    max-height: 90svh !important;
    border: none !important;
    border-top: 1.5px solid rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
    z-index: 2200 !important;
  }

  .pdp-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Sticky Top Close Button for Mobile Accessibility */
  .pdp-modal .modal-close-btn {
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(122, 23, 32, 0.25);
    box-shadow: 0 4px 14px rgba(43, 5, 11, 0.16);
    z-index: 120;
    border-radius: 50%;
  }

  .pdp-modal-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }

  .pdp-media {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
  }

  .pdp-main-slider-wrap {
    position: relative !important;
    width: 100% !important;
    max-width: min(100%, 390px) !important;
    height: clamp(280px, 78vw, 360px) !important;
    min-height: 270px !important;
    max-height: 380px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    background: #FAF7F2 !important;
    box-shadow: 0 4px 16px rgba(43, 5, 11, 0.08) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
  }

  .pdp-slider-track {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .pdp-slider-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    scroll-snap-align: start !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FAF7F2 !important;
  }

  .pdp-slider-slide img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    image-rendering: -webkit-optimize-contrast;
  }

  .pdp-gallery-arrow {
    width: 36px !important;
    height: 36px !important;
    opacity: 0.94 !important;
  }

  .pdp-gallery-prev {
    left: 8px !important;
  }

  .pdp-gallery-next {
    right: 8px !important;
  }

  .pdp-thumbs-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: min(100%, 390px) !important;
    margin: 0 auto !important;
    height: auto !important;
  }

  .pdp-thumb-item {
    height: 62px !important;
    min-height: 54px !important;
    aspect-ratio: auto !important;
    border-radius: 8px !important;
    padding: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FAF7F2 !important;
  }

  .pdp-thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 2px !important;
    box-sizing: border-box !important;
  }

  .pdp-info {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    height: auto !important;
  }

  .pdp-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    padding-right: 2.5rem;
    flex-wrap: wrap;
  }

  .pdp-category-tag {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 700;
  }

  .pdp-stock-status {
    font-size: 0.72rem;
  }

  .pdp-title {
    font-size: clamp(1.35rem, 5vw, 1.7rem) !important;
    margin: 0.15rem 0 0.4rem !important;
    line-height: 1.25 !important;
  }

  .pdp-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
  }

  .pdp-current-price {
    font-size: 1.35rem;
  }

  .pdp-orig-price {
    font-size: 0.9rem;
  }

  .pdp-tax-note {
    width: 100%;
    margin-left: 0;
    margin-top: 2px;
  }

  .pdp-variant-block {
    margin: 0.5rem 0 0.85rem;
    padding: 0.75rem 0.85rem;
  }

  .pdp-variant-label-row {
    margin-bottom: 0.5rem;
  }

  .pdp-variant-type-title {
    font-size: 0.75rem;
  }

  .pdp-variant-current-val {
    font-size: 0.85rem;
  }

  .pdp-variant-selector-grid {
    gap: 0.45rem;
  }

  .pdp-swatch-btn {
    min-height: 36px;
    padding: 0.35rem 0.65rem 0.35rem 0.4rem;
    gap: 0.4rem;
  }

  .pdp-swatch-name {
    font-size: 0.76rem;
  }

  .pdp-size-pill {
    min-height: 38px;
    padding: 0.4rem 0.75rem;
    gap: 0.35rem;
  }

  .pdp-pill-title {
    font-size: 0.76rem;
  }

  .pdp-pill-price {
    font-size: 0.72rem;
  }

  .pdp-desc {
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }

  .scent-pyramid-card {
    padding: 0.85rem 0.95rem;
    margin-bottom: 0.85rem;
  }

  .scent-card-header {
    margin-bottom: 0.45rem;
  }

  .scent-grid {
    gap: 0.3rem;
    margin-bottom: 0.45rem;
  }

  .scent-item {
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 4px;
  }

  .scent-label {
    min-width: 85px;
    font-weight: 600;
  }

  .scent-footer-meta {
    font-size: 0.74rem;
    padding-top: 0.45rem;
    margin-top: 0.45rem;
  }

  .pincode-widget {
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.85rem;
  }

  .pdp-add-bag-btn {
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    font-size: 0.82rem;
    letter-spacing: 1px;
  }

  .pdp-trust-row {
    font-size: 0.65rem;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
  }
}

/* =========================================================
   COMPACT SCREENS & IPHONE SE / MINI (≤ 480px & ≤ 380px)
   ========================================================= */
@media (max-width: 480px) {
  .pdp-modal {
    padding: 1.1rem 0.9rem calc(1.25rem + env(safe-area-inset-bottom, 12px)) !important;
    max-height: 92vh !important;
    max-height: 92dvh !important;
    max-height: 92svh !important;
  }

  .pdp-main-slider-wrap {
    height: clamp(190px, 48vw, 240px) !important;
    min-height: 180px !important;
    max-height: 240px !important;
    border-radius: 10px !important;
  }

  .pdp-title {
    font-size: 1.28rem !important;
  }

  .pincode-input-group {
    flex-direction: row;
  }

  .pincode-input-group input {
    font-size: 0.8rem;
    padding: 0.55rem 0.75rem;
  }

  .pincode-input-group button {
    padding: 0.55rem 0.85rem;
    font-size: 0.7rem;
  }

  .pdp-swatch-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .pdp-size-pill {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .pdp-main-slider-wrap {
    height: 180px !important;
    min-height: 170px !important;
    max-height: 190px !important;
  }

  .pdp-title {
    font-size: 1.18rem !important;
  }

  .pincode-input-group {
    flex-direction: column;
  }

  .pincode-input-group button {
    width: 100%;
  }

  .scent-item {
    flex-direction: column;
    gap: 2px;
  }
}

.pdp-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pdp-trust-row span svg {
  stroke: #2E7D32;
}

/* Multi-Step Checkout Modal */
.checkout-modal {
  width: 90%;
  max-width: 580px;
  max-height: 90vh;
  padding: 2.5rem;
}

.checkout-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--cabernet);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  font-size: 0.85rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--maroon-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-fieldset {
  border: none;
  margin: 1.4rem 0;
}

.payment-fieldset legend {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.payment-card {
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  display: block;
  transition: var(--transition);
}

.payment-card input {
  display: none;
}

.payment-card.selected {
  border-color: var(--maroon-light);
  background: var(--maroon-wash);
}

.pay-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cabernet);
  margin-bottom: 3px;
}

.pay-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =========================================================
   CHECKOUT ORDER SUMMARY & DISCOUNT CODES
   ========================================================= */

/* Order Summary Box */
.checkout-order-summary {
  background: var(--cream-bg, #FAF6F0);
  border: 1px solid var(--border-subtle, #E6DDD4);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.4rem;
}

.checkout-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle, #E6DDD4);
}

.checkout-summary-title {
  font-family: var(--font-serif, "Playfair Display", serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cabernet, #2B050B);
}

.checkout-summary-count {
  font-size: 0.78rem;
  color: var(--text-muted, #766E65);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.checkout-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 140px;
  overflow-y: auto;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-summary-item img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-subtle, #E6DDD4);
  flex-shrink: 0;
}

.checkout-summary-item-info {
  flex: 1;
  min-width: 0;
}

.checkout-summary-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cabernet, #2B050B);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.checkout-summary-item-sub {
  font-size: 0.74rem;
  color: var(--text-muted, #766E65);
  margin: 1px 0 0;
}

.checkout-summary-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cabernet, #2B050B);
  flex-shrink: 0;
}

/* Discount Codes Section */
.checkout-discounts-section {
  margin: 1.4rem 0;
}

.checkout-discount-heading {
  font-family: var(--font-body, "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #111111;
  margin: 0 0 1rem 0;
  letter-spacing: -0.2px;
}

.discount-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 0.85rem;
}

.discount-offer-card {
  background: #FFFFFF;
  border: 1.5px solid #2B050B;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  min-height: 80px;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.discount-offer-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(43, 5, 11, 0.08);
}

.discount-offer-card:active {
  transform: translateY(0);
}

.discount-offer-card.active-applied {
  background: #FCF9F5;
  border-color: #2B050B;
  box-shadow: 0 2px 10px rgba(43, 5, 11, 0.07);
}

.discount-seal-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  flex-shrink: 0;
  margin-right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discount-seal-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.discount-offer-body {
  flex: 1;
  min-width: 0;
}

.discount-offer-text {
  font-family: var(--font-body, "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: #111111;
  line-height: 1.35;
  margin-bottom: 3px;
  word-break: break-word;
}

.discount-offer-sub {
  font-family: var(--font-body, "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.95rem;
  color: #111111;
  line-height: 1.35;
  word-break: break-word;
}

.discount-offer-sub strong {
  font-weight: 700;
  color: #111111;
}

.discount-card-action {
  flex-shrink: 0;
  margin-left: 12px;
}

.discount-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle, #E6DDD4);
  background: #FAF7F2;
  color: var(--cabernet, #2B050B);
  transition: all 0.2s ease;
}

.discount-offer-card:hover .discount-action-btn {
  border-color: #2B050B;
  background: #2B050B;
  color: #FFFFFF;
}

.discount-offer-card.active-applied .discount-action-btn {
  background: #2B050B;
  border-color: #2B050B;
  color: #FFFFFF;
}

.discount-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: #E8F5E9;
  color: #2E7D32;
  transition: all 0.2s ease;
}

.discount-status-badge.inactive {
  background: #F5F5F5;
  color: #888888;
}

/* Manual Promo Row */
.checkout-promo-row {
  margin-top: 0.85rem;
}

.checkout-promo-input-group {
  display: flex;
  gap: 8px;
}

.checkout-promo-input-group input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-subtle, #E6DDD4);
  border-radius: 4px;
  font-size: 0.84rem;
  outline: none;
  text-transform: uppercase;
  color: var(--cabernet, #2B050B);
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.checkout-promo-input-group input:focus {
  border-color: var(--cabernet, #2B050B);
}

.btn-checkout-promo-apply {
  padding: 0.65rem 1.1rem;
  background: var(--cabernet, #2B050B);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.btn-checkout-promo-apply:hover {
  background: var(--maroon-light, #5C1D24);
}

.checkout-promo-msg {
  font-size: 0.78rem;
  margin-top: 6px;
  padding: 4px 2px;
  font-weight: 500;
}

.checkout-promo-msg.success {
  color: #2E7D32;
}

.checkout-promo-msg.error {
  color: #C62828;
}

/* Checkout Breakdown (Subtotal, Discount, Shipping, Total) */
.checkout-breakdown {
  background: #FAF6F0;
  border: 1px solid var(--border-subtle, #E6DDD4);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.2rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted, #766E65);
}

.checkout-breakdown-row.discount-row {
  color: #2E7D32;
  font-weight: 600;
}

.checkout-breakdown-row.total-row {
  border-top: 1px solid var(--border-subtle, #E6DDD4);
  padding-top: 0.6rem;
  margin-top: 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cabernet, #2B050B);
}

.checkout-breakdown-row .free-shipping-text {
  color: #2E7D32;
  font-weight: 600;
}

/* Responsive adjustments for mobile */
@media (max-width: 480px) {
  .checkout-modal {
    width: 95%;
    padding: 1.5rem 1rem;
    max-height: 92vh;
  }

  .discount-offer-card {
    padding: 12px 14px;
    min-height: 68px;
    border-radius: 12px;
  }

  .discount-seal-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    margin-right: 12px;
  }

  .discount-offer-text {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .discount-offer-sub {
    font-size: 0.84rem;
    line-height: 1.3;
  }

  .discount-action-btn,
  .discount-status-badge {
    font-size: 0.68rem;
    padding: 3px 7px;
  }

  .checkout-discount-heading {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .discount-cards-stack {
    gap: 12px;
  }
}

/* Policy Modal */
.policy-modal {
  width: 90%;
  max-width: 680px;
  max-height: 80vh;
  padding: 2.5rem;
}

.policy-modal-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--cabernet);
  margin-bottom: 1.2rem;
}

.policy-modal-body {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* =========================================================
   14. FLOATING WHATSAPP & MOBILE APP BAR
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.mobile-nav-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  z-index: 1000;
  justify-content: space-around;
  padding: 0.6rem 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  gap: 3px;
}

.mobile-tab.active {
  color: var(--maroon-light);
  font-weight: 600;
}

.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  visibility: hidden;
  background: var(--maroon-light);
  color: #FFFFFF;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  z-index: 3000;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.toast-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* =========================================================
   15. FOOTER
   ========================================================= */
.site-footer {
  background: var(--cabernet-dark);
  color: rgba(250, 246, 240, 0.8);
  padding: 5rem 5% 3rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 3.5rem;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 3.6rem;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.footer-bio {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
}

.footer-heading {
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.link-btn {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover,
.link-btn:hover {
  color: var(--gold-primary);
}

.footer-timing {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-email {
  font-size: 0.85rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   16. RESPONSIVE BREAKPOINTS (TABLETS & MOBILE)
   ========================================================= */

/* -------------------------------------------
   TABLET SCREENS (1024px and below)
   ------------------------------------------- */
@media (max-width: 1024px) {
  /* Shrink Hero Elements */
  .hero-brand-name { font-size: clamp(3.5rem, 8vw, 6rem); }
  .ambient-candle-wrap { width: 90px; }
  
  /* Catalog Layout (Sidebar + 2 Column Grid) */
  .catalog-layout {
    grid-template-columns: 220px 1fr;
    gap: 2rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Banners, Story & Footer */
  .banner-card, .banner-journal, .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .banner-image { min-height: 350px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(3, 1fr); }
}


/* -------------------------------------------
   MOBILE SCREENS (768px and below)
   ------------------------------------------- */
@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for the bottom mobile app bar */
  }
  .hero-divider-group {
    gap: 8px; /* Tighter spacing between elements on mobile */
    max-width: 90%;
    margin-inline: auto;
  }

  .divider-line-gold {
    width: 25px !important; /* Shorter gold lines to fit mobile viewports */
  }

  .hero-tagline {
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    white-space: nowrap; /* Keeps the tagline text on a single line */
  }

  .divider-leaf {
    font-size: 0.9rem;
  }


  /* 1. Header & Navigation */
  .nav-center { display: none; } /* Hide desktop mega menu */
  .hamburger-btn { display: flex; } /* Show mobile hamburger */
  .announcement-left span:nth-child(2) { display: none; } /* Hide extra text to fit screen */
  .mobile-nav-bar { display: flex; }

  /* 2. Hero Section */
  .welcome-hero {
    flex-direction: column;
    padding: 3rem 1.2rem;
    min-height: 80vh;
    justify-content: center;
  }
  .ambient-candle-wrap { display: none; } /* Hide floating candles for cleaner text on mobile */
  .hero-tagline { font-size: 1rem; letter-spacing: 3px; }

  /* 3. Trust Strip */
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 5%;
  }
  .trust-card:last-child {
    grid-column: span 2; /* Center the 5th item */
  }

  /* 4. Visual Categories (Horizontal Scroll) */
  .visual-category-row {
    justify-content: flex-start; /* Keep left-aligned so users know they can swipe */
    gap: 1.2rem;
    padding: 0 1rem 1rem;
    margin-left: -5%; /* Break out of padding to touch edges of screen */
    margin-right: -5%;
    /* Enables smooth momentum scrolling on iOS */
    -webkit-overflow-scrolling: touch; 
  }
  
  /* Elegant mobile sizing */
  .visual-img-wrap { 
    width: 85px; 
    height: 85px; 
  }
  
  .visual-cat-btn span { 
    font-size: 0.75rem; 
  }

  /* 5. Catalog Layout (Sidebar stacks on top) */
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .catalog-sidebar {
    position: static; /* Remove sticky behavior */
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 1.2rem;
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
  }
  
  .sidebar-main-title {
    font-size: 1.1rem;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Toolbar (Search & Sort) */
  .catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .toolbar-right {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .search-wrap-small input, .sort-select {
    width: 100%; /* Full width on mobile */
  }

  /* 6. Product Grid (2 columns on mobile/tablets for luxury balance) */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0;
  }
  
  .product-card {
    min-width: 0;
  }

  .card-media {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 160px;
  }

  .card-body {
    padding: 0.75rem 0.5rem;
  }

  .card-title {
    font-size: 0.92rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }

  .card-specs,
  .card-scent-notes {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .card-price {
    font-size: 0.95rem;
  }

  .card-footer {
    gap: 0.4rem;
    flex-direction: column;
    align-items: stretch;
  }

  .btn-add-cart {
    width: 100%;
    padding: 0.45rem 0.6rem;
    font-size: 0.72rem;
    text-align: center;
  }

  /* 7. Banners & Modals */
  .banner-content {
    padding: 2.5rem 1.2rem;
    text-align: center;
  }
  .banner-title { font-size: 2rem; }
  
  .checkout-modal, .policy-modal {
    width: 95%;
    max-width: 500px;
    padding: 1.25rem;
  }
  .payment-methods-grid { grid-template-columns: 1fr; }

  /* 8. Footer overrides moved to unified luxury footer section */
  .footer-bottom {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
/* =========================================================
   Candlorre RESPONSIVE SYSTEM — FINAL OVERRIDES
   Designed for 320px phones → large desktop / 4K
   Keeps the existing visual design and only fixes sizing/layout.
   ========================================================= */

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

main,
section,
header,
footer,
article,
aside,
nav,
div {
  min-width: 0;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

button,
input,
textarea,
select {
  max-width: 100%;
}

/* A centered content width prevents giant empty layouts on 1440p/4K. */
.catalog-section,
.banner-section,
.story-section,
.site-footer {
  width: 100%;
  margin-inline: auto;
}

.catalog-section {
  max-width: 1680px;
  padding-inline: clamp(1rem, 4vw, 5%);
}

.banner-section,
.story-section,
.site-footer {
  padding-inline: clamp(1rem, 4vw, 5%);
}

/* Desktop: keep the catalog balanced instead of letting cards become huge. */
@media (min-width: 1280px) {
  .catalog-layout {
    grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .site-header {
    padding-inline: clamp(2rem, 5vw, 5%);
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 1.4vw, 2rem);
  }
}

/* Laptops / smaller desktops */
@media (max-width: 1180px) {
  .site-header {
    gap: 1rem;
    padding-inline: 3%;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .nav-actions {
    gap: 1rem;
  }

  .brand-title {
    font-size: clamp(2.1rem, 4vw, 2.8rem);
  }

  .welcome-hero {
    padding-inline: clamp(2rem, 5vw, 4rem);
  }

  .ambient-candle-wrap {
    width: clamp(85px, 11vw, 125px);
  }

  .hero-content {
    width: min(100%, 720px);
  }

  .hero-brand-name {
    font-size: clamp(4rem, 8.5vw, 7.5rem);
  }

  .catalog-layout {
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .card-media {
    height: clamp(250px, 28vw, 290px);
  }

  .banner-content {
    padding: clamp(2.5rem, 4vw, 4rem);
  }

  .story-grid {
    gap: clamp(2rem, 4vw, 4rem);
  }
}

/* Tablets and landscape phones */
@media (max-width: 900px) {
  .announcement-bar {
    padding: 0.35rem 0.5rem;
    min-height: 36px;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem clamp(0.5rem, 2vw, 1.25rem);
    min-height: 60px;
    gap: 0.35rem;
  }

  .nav-center {
    display: none;
  }

  .nav-left-group {
    display: contents;
  }

  .hamburger-btn {
    grid-column: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    background: #FFFFFF;
    border: 1px solid rgba(122, 23, 32, 0.18);
    border-radius: 10px;
    box-shadow: 0 1.5px 5px rgba(122, 23, 32, 0.06);
    color: var(--maroon-light);
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
  }

  .hamburger-btn:hover {
    background: rgba(122, 23, 32, 0.06);
    border-color: rgba(122, 23, 32, 0.28);
  }

  .hamburger-btn:active {
    transform: scale(0.94);
    background: rgba(122, 23, 32, 0.12);
  }

  .nav-brand {
    grid-column: 2;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
  }

  .nav-brand a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    text-decoration: none;
  }

  .brand-title {
    font-family: 'Monsieur La Doulaise', cursive;
    font-size: clamp(1.85rem, 5.8vw, 2.45rem);
    white-space: nowrap;
    line-height: 0.88;
    text-align: center;
    margin: 0 auto;
    color: var(--maroon-light);
    -webkit-text-stroke: 0.35px var(--maroon-light);
  }

  .brand-tagline {
    font-family: 'Jost', 'Montserrat', sans-serif;
    font-size: clamp(0.42rem, 1.25vw, 0.52rem);
    letter-spacing: clamp(1.6px, 0.45vw, 2.4px);
    white-space: nowrap;
    margin: 2px auto 0 auto;
    text-align: center;
    display: block;
    width: 100%;
    line-height: 1;
    color: var(--text-muted);
    font-weight: 500;
  }

  .nav-actions {
    grid-column: 3;
    margin-left: auto;
    gap: clamp(4px, 1.2vw, 8px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .nav-actions a[href="tracking.html"] {
    display: none !important;
  }

  .nav-actions .action-btn,
  .nav-actions #searchTrigger,
  .nav-actions #wishlistTrigger,
  .nav-actions #cartTrigger,
  .nav-actions #accountHeaderBtn {
    display: inline-flex !important;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: var(--maroon-light);
    position: relative;
    border-radius: 6px;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
  }

  .nav-actions .action-btn svg {
    width: 17px;
    height: 17px;
    min-width: 17px;
    min-height: 17px;
    stroke: var(--maroon-light);
    display: block;
  }

  .counter-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--maroon-light);
    color: #FFFFFF;
    font-size: 0.52rem;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(43, 5, 11, 0.35);
    border: 1.5px solid #FAF6F0;
  }

  .welcome-hero {
    min-height: max(620px, 88svh);
    padding: 5.5rem 1.5rem 5rem;
    justify-content: center;
  }

  .ambient-candle-wrap {
    display: none;
  }

  .hero-content {
    width: min(100%, 680px);
  }

  .hero-pretitle {
    font-size: clamp(0.62rem, 1.5vw, 0.78rem);
    letter-spacing: clamp(2px, 0.7vw, 4px);
  }

  .hero-brand-name {
    font-size: clamp(3.7rem, 11vw, 6.5rem);
    line-height: 1.12;
  }

  .hero-tagline {
    font-size: clamp(0.95rem, 2.5vw, 1.45rem);
    letter-spacing: clamp(2px, 0.9vw, 5px);
  }

  .hero-actions {
    gap: 0.8rem;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 1rem;
    gap: 1rem;
  }

  .catalog-section {
    padding-block: 4rem;
  }

  .visual-category-row {
    justify-content: flex-start;
    gap: clamp(1rem, 3vw, 2rem);
    margin-inline: 0;
    padding-inline: 0;
  }

  .visual-img-wrap {
    width: clamp(95px, 15vw, 125px);
    height: clamp(95px, 15vw, 125px);
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
    width: 100%;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .toolbar-right {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.45fr);
  }

  .search-wrap-small,
  .search-wrap-small input,
  .sort-select {
    width: 100%;
    min-width: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .banner-card,
  .banner-journal,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .banner-content {
    padding: 3rem clamp(1.5rem, 4vw, 3rem);
  }

  .banner-image {
    min-height: 320px;
    height: clamp(280px, 48vw, 420px);
  }

  .story-image-wrap {
    height: clamp(320px, 60vw, 460px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Main mobile layout */
@media (max-width: 767px) {
  :root {
    --mobile-gutter: 1rem;
  }

  body {
    padding-bottom: 58px;
  }

  .announcement-bar {
    min-height: 32px;
    padding-block: 0.4rem;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0.45rem var(--mobile-gutter);
    gap: 0.3rem;
  }

  .nav-left-group {
    display: contents;
  }

  .hamburger-btn {
    grid-column: 1;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    background: #FFFFFF;
    border: 1px solid rgba(122, 23, 32, 0.18);
    border-radius: 9px;
    box-shadow: 0 1.5px 5px rgba(122, 23, 32, 0.06);
    color: var(--maroon-light);
    flex-shrink: 0;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-brand {
    grid-column: 2;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
  }

  .nav-brand a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    text-decoration: none;
  }

  .brand-title {
    font-family: 'Monsieur La Doulaise', cursive;
    font-size: clamp(1.75rem, 5.5vw, 2.25rem);
    letter-spacing: 0;
    line-height: 0.88;
    text-align: center;
    margin: 0 auto;
    color: var(--maroon-light);
    -webkit-text-stroke: 0.35px var(--maroon-light);
  }

  .brand-tagline {
    font-family: 'Jost', 'Montserrat', sans-serif;
    font-size: clamp(0.38rem, 1.15vw, 0.46rem);
    letter-spacing: clamp(1.4px, 0.4vw, 2px);
    margin: 2px auto 0 auto;
    text-align: center;
    display: block;
    width: 100%;
    line-height: 1;
    color: var(--text-muted);
    font-weight: 500;
  }

  .nav-actions {
    grid-column: 3;
    gap: clamp(3px, 1.1vw, 7px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-left: auto;
  }

  .action-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--maroon-light);
    position: relative;
  }

  .action-btn svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    stroke: var(--maroon-light);
  }

  /* Compact phones: hide tracking link in top header to preserve breathing room (available in drawer & bottom bar) */
  .nav-actions a[href="tracking.html"] {
    display: none !important;
  }

  /* Explicitly show Account button in header across all mobile sizes */
  .nav-actions #accountHeaderBtn,
  .nav-actions a[href="login.html"],
  .nav-actions a[href="account.html"] {
    display: inline-flex !important;
  }

  .counter-badge {
    top: -3px;
    right: -3px;
    min-width: 15px;
    height: 15px;
    font-size: 0.52rem;
    padding: 0 3px;
    font-weight: 700;
    border-radius: 999px;
    background: var(--maroon-light);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(43, 5, 11, 0.35);
    border: 1.5px solid #FAF6F0;
  }

  .mobile-drawer {
    width: min(86vw, 340px);
    max-width: calc(100vw - 20px);
  }

  .welcome-hero {
    min-height: max(620px, 90svh);
    padding: 4.5rem var(--mobile-gutter) 5rem;
  }

  .hero-ornate-frame {
    inset: 10px;
  }

  .inner-gold-hairline {
    inset: 7px;
  }

  .corner-filigree {
    width: 58px;
    height: 58px;
  }

  .hero-pretitle {
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }

  .hero-brand-name {
    max-width: 100%;
    font-size: clamp(3.2rem, 15vw, 5.4rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .hero-divider-group {
    gap: 8px;
    margin-bottom: 1.6rem;
  }

  .divider-line-gold {
    width: clamp(28px, 10vw, 48px);
  }

  .hero-tagline {
    max-width: 26rem;
    margin-inline: auto;
    line-height: 1.4;
  }

  .hero-actions .btn {
    width: min(100%, 280px);
  }

  .scroll-cue {
    bottom: 18px;
    font-size: 0.58rem;
    letter-spacing: 2px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.6rem;
    padding: 1.6rem 0.8rem;
  }

  .trust-card {
    padding-inline: 0.35rem;
  }

  .trust-card h4 {
    font-size: 1rem;
  }

  .trust-card p {
    font-size: 0.62rem;
    letter-spacing: 0.6px;
  }

  .trust-card:last-child {
    grid-column: 1 / -1;
  }

  .catalog-section,
  .banner-section,
  .story-section,
  .faq-section {
    padding-inline: var(--mobile-gutter);
  }

  .catalog-section,
  .story-section,
  .faq-section {
    padding-block: 3.5rem;
  }

  .section-header {
    margin-bottom: 2.4rem;
  }

  .section-title {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .section-pretitle {
    font-size: 0.64rem;
    letter-spacing: 2px;
  }

  .visual-category-row {
    margin-inline: 0;
    gap: 1rem;
    padding-bottom: 0.75rem;
  }

  .visual-cat-btn {
    width: 88px;
    gap: 9px;
  }

  .visual-img-wrap {
    width: 78px;
    height: 78px;
    padding: 4px;
  }

  .visual-cat-btn span {
    font-size: 0.63rem;
    line-height: 1.25;
    letter-spacing: 0.8px;
    text-align: center;
  }

  .catalog-toolbar {
    margin-bottom: 1.3rem;
  }

  .category-heading {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .toolbar-right {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }

  .search-wrap-small,
  .search-wrap-small input,
  .sort-select {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    min-width: 0;
  }

  .card-media {
    height: clamp(260px, 82vw, 380px);
  }

  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-footer {
    gap: 0.75rem;
    align-items: flex-end;
  }

  .btn-add-cart {
    padding-inline: 0.8rem;
    white-space: nowrap;
  }

  .banner-section {
    padding-block: 1rem 2rem;
  }

  .banner-title {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .banner-text {
    font-size: 0.88rem;
  }

  .banner-image {
    min-height: 240px;
    height: 62vw;
    max-height: 360px;
  }

  .story-grid {
    gap: 2rem;
  }

  .story-image-wrap {
    height: min(92vw, 420px);
  }

  .story-text p {
    font-size: 0.9rem;
  }

  .faq-question {
    padding: 1rem 1.1rem;
    font-size: 1.08rem;
    gap: 1rem;
  }

  .faq-answer {
    padding-inline: 1.1rem;
    font-size: 0.84rem;
  }

  .checkout-modal,
  .policy-modal {
    width: min(calc(100vw - 20px), 520px);
    max-width: 520px;
    max-height: calc(100svh - 24px);
    padding: 1.15rem 1.15rem 1.4rem;
    border-radius: 12px;
    overflow-y: auto;
  }

  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    z-index: 100;
  }

  .pincode-input-group {
    flex-direction: column;
  }

  .pincode-input-group input,
  .pincode-input-group button {
    width: 100%;
  }

  .form-row,
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    width: min(100vw, 430px);
    max-width: 100%;
  }

  .cart-item-row {
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
  }

  .cart-item-row img {
    width: 58px;
    height: 58px;
  }

  .cart-item-row > :last-child {
    grid-column: 2;
  }

  .mobile-nav-bar {
    padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .toast-notice {
    width: min(calc(100vw - 28px), 420px);
    text-align: center;
    padding-inline: 1rem;
    bottom: calc(74px + env(safe-area-inset-bottom));
  }

  /* Footer styling maintained in dedicated luxury footer section */
}

/* Small phones: 320px–374px */
@media (max-width: 374px) {
  .site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: space-between;
    padding-inline: 0.35rem;
    gap: 0.2rem;
    min-height: 56px;
  }

  .nav-left-group {
    display: contents;
  }

  .hamburger-btn {
    grid-column: 1;
    width: 33px;
    height: 33px;
    min-width: 33px;
    min-height: 33px;
    border-radius: 8px;
  }

  .hamburger-btn svg {
    width: 16px;
    height: 16px;
  }

  .nav-brand {
    grid-column: 2;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
  }

  .brand-title {
    font-size: clamp(1.55rem, 5.8vw, 1.85rem);
    text-align: center;
    margin: 0 auto;
    line-height: 0.88;
  }

  .brand-tagline {
    display: block;
    font-size: 0.36rem;
    letter-spacing: 1.1px;
    text-align: center;
    margin: 1px auto 0 auto;
    width: 100%;
  }

  .nav-actions {
    grid-column: 3;
    gap: 2px;
  }

  .action-btn {
    width: 29px;
    height: 29px;
    min-width: 29px;
    min-height: 29px;
  }

  .action-btn svg {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
  }

  .counter-badge {
    min-width: 13px;
    height: 13px;
    font-size: 0.48rem;
    top: -2px;
    right: -2px;
    padding: 0 2px;
  }

  .welcome-hero {
    min-height: max(580px, 92svh);
    padding-inline: 0.75rem;
  }

  .hero-ornate-frame {
    inset: 7px;
  }

  .corner-filigree {
    width: 48px;
    height: 48px;
  }

  .hero-pretitle {
    font-size: 0.56rem;
    letter-spacing: 1.5px;
  }

  .hero-brand-name {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

  .hero-tagline {
    font-size: 0.82rem;
    letter-spacing: 1.8px;
  }

  .hero-actions .btn {
    width: 100%;
    padding-inline: 1rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-card:last-child {
    grid-column: auto;
  }

  .visual-cat-btn {
    width: 78px;
  }

  .visual-img-wrap {
    width: 68px;
    height: 68px;
  }

  .catalog-section,
  .banner-section,
  .story-section,
  .faq-section {
    padding-inline: 0.8rem;
  }

  .card-media {
    height: 300px;
  }

  .card-body {
    padding: 0.9rem;
  }

  .card-footer {
    flex-wrap: wrap;
  }

  .btn-add-cart {
    width: 100%;
  }

  .banner-content {
    padding-inline: 1rem;
  }

  .faq-question {
    font-size: 1rem;
  }
}

/* Ultra-small devices: protect 320px and prevent accidental overflow. */
@media (max-width: 330px) {
  .brand-title {
    font-size: 1.4rem;
    text-align: center;
  }

  .brand-tagline {
    font-size: 0.35rem;
    letter-spacing: 0.9px;
    text-align: center;
    margin: 1px auto 0 auto;
  }

  .nav-actions {
    gap: 0;
  }

  .action-btn {
    width: 27px;
    height: 27px;
    min-width: 27px;
    min-height: 27px;
  }

  .action-btn svg {
    width: 14px;
    height: 14px;
  }

  .hero-brand-name {
    font-size: 2.6rem;
  }

  .hero-pretitle {
    font-size: 0.52rem;
  }

  .hero-divider-group {
    margin-bottom: 1.2rem;
  }

  .section-title {
    font-size: 1.9rem;
  }
}

/* Respect devices that have a home-indicator / safe-area. */
@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  @media (max-width: 374px) {
    .site-header {
      padding-left: max(0.7rem, env(safe-area-inset-left));
      padding-right: max(0.7rem, env(safe-area-inset-right));
    }
  }
}

/* Avoid hover animations causing layout jumps on touch devices. */
@media (hover: none) {
  .product-card:hover,
  .btn-gold:hover,
  .btn-outline:hover,
  .visual-cat-btn:hover .visual-img-wrap,
  .whatsapp-float:hover {
    transform: none;
  }

  .product-card:hover .card-media img {
    transform: none;
  }
}

/* Reduced motion for accessibility and low-power devices. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* =========================================================
   HARMONIZED RESPONSIVE GRID & ALIGNMENT SYSTEM
   Precision-calibrated for all screens: 320px → 4K
   ========================================================= */

/* --- Universal Product Grid (Catalog, Category, All Products) --- */
.catalog-layout-pro .product-grid,
.catalog-layout .product-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.8rem);
  width: 100%;
}

@media (max-width: 1200px) {
  .catalog-layout-pro .product-grid,
  .catalog-layout .product-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 860px) {
  .catalog-layout-pro .product-grid,
  .catalog-layout .product-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .catalog-layout-pro .product-grid,
  .catalog-layout .product-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0;
  }

  .product-card {
    border-radius: 6px;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .product-card .card-media {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 140px;
    position: relative;
    overflow: hidden;
  }

  .product-card .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .product-card .card-badge {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
    padding: 3px 6px;
    top: 6px;
    left: 6px;
    border-radius: 3px;
  }

  .product-card .card-wishlist-btn {
    width: 28px;
    height: 28px;
    top: 6px;
    right: 6px;
    border-radius: 50%;
  }

  .product-card .card-wishlist-btn svg {
    width: 14px;
    height: 14px;
  }

  .product-card .card-body {
    padding: 0.65rem 0.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
  }

  .product-card .card-title {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
  }

  .product-card .card-scent-notes {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-card .card-specs {
    font-size: 0.64rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-card .card-footer {
    padding-top: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .product-card .card-price {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cabernet);
  }

  .product-card .card-price-orig {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 4px;
  }

  .product-card .btn-add-cart {
    width: 100%;
    padding: 0.45rem 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    text-align: center;
    border-radius: 4px;
    min-height: 34px;
  }
}

/* --- Pagination Controls --- */
#paginationContainer {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 1.5rem;
}

.catalog-pagination {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}

.pagination-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--maroon-light);
  color: var(--maroon-light);
  background: #FFFFFF;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.pagination-btn:hover:not([disabled]) {
  background: var(--maroon-light);
  color: #FFFFFF;
}

.pagination-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

@media (max-width: 640px) {
  #paginationContainer {
    margin: 1.5rem 0 1rem;
  }
  .pagination-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.68rem;
  }
  .pagination-info {
    font-size: 0.75rem;
  }
}

/* --- Visual Category Row (Touch-Scroll on Mobile) --- */
.visual-category-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  padding: 1rem 0 1.5rem;
  width: 100%;
}

@media (max-width: 860px) {
  .visual-category-row {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0.5rem 1rem 1.2rem;
    margin-inline: -1rem;
    gap: 1.2rem;
  }

  .visual-category-row::-webkit-scrollbar {
    display: none;
  }

  .visual-cat-btn {
    flex: 0 0 76px;
    width: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    scroll-snap-align: start;
    text-align: center;
  }

  .visual-img-wrap {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    border-radius: 50%;
    padding: 3px;
    background: #FFFFFF;
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  }

  .visual-img-wrap img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .visual-cat-btn span {
    font-size: 0.68rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* --- Toolbar & Filter Alignment --- */
@media (max-width: 768px) {
  .pro-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
  }

  .toolbar-left {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
  }

  .toolbar-left .category-heading {
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .toolbar-left .product-count {
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  .toolbar-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .search-wrap-small {
    width: 100%;
    position: relative;
  }

  .search-wrap-small input {
    width: 100%;
    height: 40px;
    padding: 0 1rem 0 2.4rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 0.82rem;
    background: #FFFFFF;
    outline: none;
  }

  .search-wrap-small svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .pro-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
  }

  .filter-dropdown {
    width: 100%;
    position: relative;
  }

  .filter-dropdown-btn {
    width: 100%;
    height: 38px;
    padding: 0 6px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    border-radius: 4px;
    text-transform: uppercase;
  }

  .filter-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    max-width: 280px;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .pro-filters .filter-dropdown:last-child .filter-menu {
    left: auto;
    right: 0;
  }

  .sort-wrap {
    width: 100%;
  }

  .sort-select {
    width: 100%;
    height: 38px;
    padding: 0 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-size: 0.8rem;
    background: #FFFFFF;
    color: var(--text-dark);
    cursor: pointer;
  }
}

/* --- Compact Button Sizing for Mobile & Small Screens --- */
@media (max-width: 768px) {
  .btn,
  .btn-gold,
  .btn-outline {
    padding: 0.65rem 1.3rem;
    font-size: 0.72rem;
    letter-spacing: 1px;
    gap: 6px;
    border-radius: 4px;
    touch-action: manipulation;
  }

  .hero-actions {
    gap: 0.75rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0.7rem 1.2rem;
    text-align: center;
  }

  .banner-content .btn {
    padding: 0.65rem 1.3rem;
    font-size: 0.72rem;
  }
}

/* --- Footer Logo Font Fix Across Devices --- */
.site-footer .footer-logo,
.footer-logo {
  font-family: "Monsieur La Doulaise", cursive;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: var(--gold-primary);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 3rem 1.2rem 1.5rem;
  }

  .site-footer .footer-logo,
  .footer-logo {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

/* --- Hero Divider Leaf & Tagline (Mobile & iPhone) --- */
.hero-divider-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-inline: auto;
  width: 100%;
}

.hero-divider-group .divider-line-gold {
  flex: 0 0 28px;
  width: 28px;
  height: 1px;
  flex-shrink: 0;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.hero-divider-group .divider-leaf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--gold-primary);
}

.hero-divider-group .divider-leaf.leaf-right,
.hero-divider-group .divider-leaf:last-of-type {
  transform: scaleX(-1);
}

.hero-divider-group .hero-tagline {
  flex-shrink: 0;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 480px) {
  .hero-divider-group {
    gap: 6px;
  }

  .hero-divider-group .divider-line-gold {
    flex: 0 0 20px;
    width: 20px;
  }

  .hero-divider-group .divider-leaf {
    font-size: 0.85rem;
  }

  .hero-divider-group .hero-tagline {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 360px) {
  .hero-divider-group .divider-line-gold {
    flex: 0 0 14px;
    width: 14px;
  }

  .hero-divider-group .divider-leaf {
    font-size: 0.75rem;
  }

  .hero-divider-group .hero-tagline {
    font-size: 0.72rem;
    letter-spacing: 1px;
  }
}

/* =========================================================
   .SHOP LUXURY REDESIGN: RITUALS & NEW ARRIVALS
   (Preserving all brand theme variables and typography)
   ========================================================= */

.km-rituals-section,
.km-arrivals-section {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding: 4.5rem clamp(1rem, 4vw, 5%);
  border-top: 1px solid var(--border-subtle);
  box-sizing: border-box;
}

.km-section-header {
  margin-bottom: 2.2rem;
}

.km-header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

/* Center alignment on desktop for New Arrivals & View All Catalog */
@media (min-width: 769px) {
  .km-arrivals-section .km-header-top-row,
  .km-arrivals-header-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .km-arrivals-section .km-arrivals-header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .km-arrivals-section .km-section-subtitle {
    text-align: center;
    margin-inline: auto;
  }

  .km-arrivals-section .km-view-all-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0.2rem;
  }

  .km-arrivals-section .km-filter-pills-bar {
    justify-content: center;
  }
}

.km-view-all-wrap {
  display: inline-flex;
  align-items: center;
}

.km-arrivals-bottom-action {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2.4rem;
  text-align: center;
}

.km-view-all-pill-main {
  padding: 0.75rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(43, 5, 11, 0.08);
}

.km-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--maroon-light);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.km-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.15;
  margin: 0.2rem 0 0.6rem;
}

.km-section-subtitle {
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.km-view-all-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.35rem;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cabernet-dark);
  text-decoration: none;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.km-view-all-pill:hover {
  background: var(--cabernet-dark);
  color: var(--gold-primary);
  border-color: var(--cabernet-dark);
  box-shadow: 0 4px 14px rgba(43, 5, 11, 0.15);
}

.km-view-all-pill .km-btn-arrow {
  transition: transform 0.3s ease;
}

.km-view-all-pill:hover .km-btn-arrow {
  transform: translateX(4px);
}

/* Category Filter Pills ( signature interaction) */
.km-filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.3rem 0.2rem 0.6rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.km-filter-pills-bar::-webkit-scrollbar {
  display: none;
}

.km-pill {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(43, 5, 11, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.km-pill:hover {
  border-color: var(--maroon-light);
  color: var(--maroon-light);
  background: #FFFFFF;
}

.km-pill.active {
  background: var(--cabernet-dark);
  color: var(--gold-primary);
  border-color: var(--cabernet-dark);
  box-shadow: 0 4px 12px rgba(43, 5, 11, 0.14);
}

/* Carousel Shell with Navigation Controls */
.km-carousel-shell {
  position: relative;
  width: 100%;
}

.km-nav-arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 18px rgba(43, 5, 11, 0.12);
  color: var(--cabernet-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.km-nav-prev {
  left: 8px;
}

.km-nav-next {
  right: 8px;
}

.km-nav-arrow:hover {
  background: var(--cabernet-dark);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(43, 5, 11, 0.2);
}

.km-nav-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* RITUALS TRACK & CARDS */
.km-rituals-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.2rem 1.2rem;
  scrollbar-width: none;
}

.km-rituals-track::-webkit-scrollbar {
  display: none;
}

.km-ritual-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 290px;
  max-width: 420px;
  height: 480px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid rgba(212, 175, 55, 0.22);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.km-ritual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(43, 5, 11, 0.18);
  border-color: rgba(212, 175, 55, 0.55);
}

.km-ritual-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.km-ritual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.km-ritual-card:hover .km-ritual-media img {
  transform: scale(1.08);
}

.km-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(43, 5, 11, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.km-ritual-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(43, 5, 11, 0.95) 0%, rgba(43, 5, 11, 0.6) 45%, rgba(43, 5, 11, 0.08) 80%, transparent 100%);
  transition: opacity 0.3s ease;
}

.km-ritual-info {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding: 2rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.km-ritual-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
}

.km-ritual-heading {
  font-family: var(--font-serif);
  font-size: 1.68rem;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0.15rem 0;
}

.km-ritual-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.km-discover-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--gold-primary);
  background: rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.74rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.km-ritual-card:hover .km-discover-btn {
  background: var(--gold-primary);
  color: var(--cabernet-dark);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.km-discover-btn .km-btn-arrow {
  transition: transform 0.3s ease;
}

.km-ritual-card:hover .km-discover-btn .km-btn-arrow {
  transform: translateX(4px);
}

/* NEW ARRIVALS TRACK & BOUTIQUE PRODUCT CARDS */
.km-arrivals-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.2rem 1.2rem;
  scrollbar-width: none;
}

.km-arrivals-track::-webkit-scrollbar {
  display: none;
}

.km-product-card {
  flex: 0 0 calc((100% - 4.5rem) / 4);
  min-width: 260px;
  max-width: 320px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 4px 16px rgba(43, 5, 11, 0.04);
}

.km-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(43, 5, 11, 0.1);
  border-color: rgba(212, 175, 55, 0.45);
}

.km-card-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FAF7F2;
  overflow: hidden;
  cursor: pointer;
}

.km-card-gallery-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.km-card-slider {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.km-card-slider::-webkit-scrollbar {
  display: none;
}

.km-card-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
}

.km-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.km-product-card:hover .km-product-img {
  transform: scale(1.04);
}

.km-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #2B050B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.km-product-card:hover .km-gallery-arrow {
  opacity: 0.95;
  pointer-events: auto;
}

.km-gallery-arrow:hover {
  opacity: 1;
  background: #2B050B;
  color: #D4AF37;
  border-color: #D4AF37;
  transform: translateY(-50%) scale(1.12);
}

.km-gallery-prev {
  left: 8px;
}

.km-gallery-next {
  right: 8px;
}

.km-gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
  pointer-events: auto;
  background: rgba(43, 5, 11, 0.35);
  backdrop-filter: blur(4px);
  padding: 3px 6px;
  border-radius: 10px;
}

.km-gallery-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-block;
}

.km-gallery-dot.active {
  width: 14px;
  border-radius: 3px;
  background: #D4AF37;
  box-shadow: 0 0 4px rgba(212, 175, 55, 0.6);
}

@media (hover: none) {
  .km-gallery-arrow {
    opacity: 0.85;
    pointer-events: auto;
  }
}

.km-figure-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.km-badge-new {
  background: var(--cabernet-dark);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.km-badge-discount {
  background: #2E7D32;
  color: #FFFFFF;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  width: fit-content;
}

.km-badge-bestseller {
  background: var(--maroon-light);
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.km-wishlist-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(43, 5, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.25s ease;
}

.km-wishlist-toggle:hover {
  background: #FFFFFF;
  color: var(--maroon-light);
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.km-wishlist-toggle.active {
  color: #E53935;
  background: #FFFFFF;
  border-color: #E53935;
}

.km-wishlist-toggle.active svg {
  fill: #E53935;
}

.km-quickview-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  z-index: 3;
  background: rgba(43, 5, 11, 0.92);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.km-product-card:hover .km-quickview-btn {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.km-card-details {
  padding: 1.25rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.km-collection-label {
  font-size: 0.64rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.km-card-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0 0 0.4rem;
  cursor: pointer;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.km-card-name:hover {
  color: var(--maroon-light);
}

.km-scent-notes {
  font-size: 0.76rem;
  color: var(--maroon-mid);
  font-style: italic;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.km-review-snippet {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.km-stars {
  color: #D4AF37;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.km-rating-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
}

.km-review-count {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.km-spec-row {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.km-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  margin-top: auto;
}

.km-price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-serif);
}

.km-price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.km-add-cart-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--cabernet-dark);
  background: var(--cabernet-dark);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.km-add-cart-btn:hover {
  background: var(--maroon-light);
  border-color: var(--maroon-light);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(122, 23, 32, 0.25);
}

.km-add-cart-btn.added {
  background: #2E7D32 !important;
  border-color: #2E7D32 !important;
  color: #FFFFFF !important;
}

/*  Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
  .km-rituals-section,
  .km-arrivals-section {
    padding: 3.5rem clamp(1rem, 3.5vw, 3rem);
  }
  .km-ritual-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    height: 440px;
  }
  .km-product-card {
    flex: 0 0 calc((100% - 3rem) / 3);
  }
  .km-nav-prev {
    left: 4px;
  }
  .km-nav-next {
    right: 4px;
  }
}

@media (max-width: 768px) {
  .km-rituals-section,
  .km-arrivals-section {
    padding: 2.8rem 1rem;
  }
  .km-section-header {
    text-align: left;
    margin-bottom: 1.5rem;
  }
  .km-header-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .km-view-all-pill {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
  }
  .km-ritual-card {
    flex: 0 0 82%;
    min-width: 250px;
    max-width: 320px;
    height: 380px;
    scroll-snap-align: start;
  }
  .km-product-card {
    flex: 0 0 76%;
    min-width: 220px;
    max-width: 280px;
    scroll-snap-align: start;
  }
  .km-nav-arrow {
    display: none;
  }
  .km-quickview-btn {
    display: none;
  }
  .km-card-details {
    padding: 0.9rem 0.8rem;
  }
  .km-card-name {
    font-size: 1.05rem;
  }
  .km-price-current {
    font-size: 1.05rem;
  }
  .km-add-cart-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.72rem;
  }
}

/* =========================================================
   STICKY HEADER SCROLLED STATE & SAFE AREA INSETS
   ========================================================= */
.site-header.is-scrolled {
  background: rgba(253, 250, 246, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(43, 5, 11, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

/* iPhone notch and home indicator safe area support */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  .site-header {
    padding-left: max(4%, env(safe-area-inset-left));
    padding-right: max(4%, env(safe-area-inset-right));
  }
  .mobile-nav-bar {
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
}

/* =========================================================
    FULL CATALOG & COLLECTION DESIGN SYSTEM
   ========================================================= */

/* 1. Grid Adaptation for km-product-card */
.product-grid .km-product-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: none;
  height: 100%;
  box-shadow: 0 4px 18px rgba(43, 5, 11, 0.05);
}

.product-grid.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

/* 2. Collection Hero Banner */
.km-collection-hero {
  background: linear-gradient(180deg, #FBF8F3 0%, #F5EDE3 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding: 3.5rem clamp(1rem, 4vw, 5%) 2.5rem;
  text-align: center;
  position: relative;
}

.km-collection-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.km-collection-breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.km-collection-breadcrumb a:hover {
  color: var(--maroon-light);
}

.km-collection-breadcrumb .sep {
  color: var(--gold-primary);
  font-size: 0.65rem;
}

.km-collection-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--cabernet-dark);
  line-height: 1.15;
  margin: 0 0 0.8rem;
  letter-spacing: -0.5px;
}

.km-collection-desc {
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: clamp(0.88rem, 1.3vw, 0.98rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* 3.  Category Quick Filter Pills Bar */
.km-filter-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.km-filter-pills-bar .km-pill {
  border: 1px solid rgba(43, 5, 11, 0.15);
  background: #FFFFFF;
  color: var(--text-dark);
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  filter: none !important;
}

.km-pill:focus,
.km-pill:active,
.km-filter-trigger-btn:focus,
.km-filter-trigger-btn:active {
  outline: none;
  filter: none !important;
}

.km-filter-pills-bar .km-pill:hover {
  border-color: var(--maroon-light);
  color: var(--maroon-light);
  transform: translateY(-1px);
}

.km-filter-pills-bar .km-pill.active {
  background: var(--cabernet-dark);
  color: var(--gold-light);
  border-color: var(--cabernet-dark);
  box-shadow: 0 4px 12px rgba(43, 5, 11, 0.2);
}

.km-filter-pills-bar .km-pill .pill-count {
  font-size: 0.68rem;
  opacity: 0.8;
}

/* 4.  Collection Sticky Toolbar */
.km-collection-toolbar {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: #FAF6F0;
  border-bottom: 1px solid rgba(43, 5, 11, 0.1);
  padding: 0.85rem clamp(1rem, 4vw, 5%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.km-toolbar-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.km-filter-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(43, 5, 11, 0.18);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cabernet-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.km-filter-trigger-btn:hover {
  background: var(--cabernet-dark);
  color: var(--gold-light);
  border-color: var(--cabernet-dark);
}

.km-filter-badge {
  background: var(--maroon-light);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.km-product-count-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.km-toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.km-search-box {
  position: relative;
  min-width: 220px;
}

.km-search-box input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(43, 5, 11, 0.18);
  border-radius: 8px;
  padding: 0.55rem 0.85rem 0.55rem 2.2rem;
  font-size: 0.8rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.km-search-box input:focus {
  border-color: var(--maroon-light);
  box-shadow: 0 0 0 3px rgba(122, 23, 32, 0.1);
}

.km-search-box svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.km-sort-wrapper {
  position: relative;
}

.km-sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232B050B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  border: 1px solid rgba(43, 5, 11, 0.18);
  border-radius: 8px;
  padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cabernet-dark);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.km-sort-select:focus {
  border-color: var(--maroon-light);
  box-shadow: 0 0 0 3px rgba(122, 23, 32, 0.1);
}

.km-view-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #FFFFFF;
  border: 1px solid rgba(43, 5, 11, 0.18);
  border-radius: 8px;
  padding: 3px;
}

.view-switch-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-switch-btn:hover {
  color: var(--cabernet-dark);
}

.view-switch-btn.active {
  background: var(--cabernet-dark);
  color: var(--gold-light);
}

/* 5. Active Filter Chips Row */
.km-active-chips-bar {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem clamp(1rem, 4vw, 5%);
  background: #F8F3EC;
  border-bottom: 1px solid rgba(43, 5, 11, 0.08);
}

.km-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(122, 23, 32, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cabernet-dark);
}

.km-active-chip button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
  padding: 0;
}

.km-active-chip button:hover {
  color: #E53935;
}

.km-clear-all-btn {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--maroon-light);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: 0.5rem;
}

/* 6.  Slide-Out Filter Drawer */
.km-filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background: #FFFFFF;
  z-index: 2150;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 28px rgba(43, 5, 11, 0.15);
}

.km-filter-drawer.active {
  transform: translateX(0);
}

.km-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(43, 5, 11, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF6F0;
}

.km-drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--cabernet-dark);
  margin: 0;
  font-weight: 600;
}

.km-drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 5, 11, 0.05);
  color: var(--text-dark);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.km-drawer-close-btn:hover {
  background: var(--cabernet-dark);
  color: var(--gold-light);
}

.km-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.km-filter-group {
  border-bottom: 1px solid rgba(43, 5, 11, 0.08);
  padding-bottom: 1.4rem;
}

.km-filter-group:last-child {
  border-bottom: none;
}

.km-filter-group-title {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cabernet-dark);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.km-filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.km-filter-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}

.km-filter-checkbox-label span.label-text {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.km-filter-checkbox-label input[type="checkbox"] {
  accent-color: var(--cabernet-dark);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.km-filter-count-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: #F3ECE1;
  padding: 2px 7px;
  border-radius: 999px;
}

.km-price-range-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.km-price-range-inputs input {
  flex: 1;
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  border: 1px solid rgba(43, 5, 11, 0.18);
  border-radius: 6px;
  outline: none;
}

.km-price-range-inputs input:focus {
  border-color: var(--maroon-light);
}

.km-price-go-btn {
  padding: 0.5rem 0.9rem;
  background: var(--cabernet-dark);
  color: var(--gold-light);
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.km-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(43, 5, 11, 0.1);
  background: #FAF6F0;
  display: flex;
  gap: 0.8rem;
}

.km-drawer-reset-btn {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid rgba(43, 5, 11, 0.2);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--cabernet-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.km-drawer-reset-btn:hover {
  background: #F5EDE3;
}

.km-drawer-apply-btn {
  flex: 2;
  padding: 0.8rem;
  border: 1px solid var(--cabernet-dark);
  border-radius: 8px;
  background: var(--cabernet-dark);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.km-drawer-apply-btn:hover {
  background: var(--maroon-light);
  border-color: var(--maroon-light);
  color: #FFFFFF;
}

/* 7. Mobile View Specifics for Catalog and Cards */
@media (max-width: 640px) {
  .km-collection-hero {
    padding: 2.2rem 1rem 1.8rem;
  }
  .km-filter-pills-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .km-filter-pills-bar::-webkit-scrollbar {
    display: none;
  }
  .km-collection-toolbar {
    top: 54px;
    padding: 0.65rem 0.8rem;
    gap: 0.6rem;
  }
  .km-search-box {
    width: 100%;
    order: 3;
  }
  .km-sort-select {
    font-size: 0.75rem;
    padding: 0.45rem 1.8rem 0.45rem 0.7rem;
  }
  .km-filter-trigger-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.75rem;
  }
  .km-view-switcher {
    display: none;
  }
  .product-grid .km-product-card {
    border-radius: 10px;
  }
  .product-grid .km-product-card .km-card-details {
    padding: 0.75rem 0.6rem;
  }
  .product-grid .km-product-card .km-collection-label {
    font-size: 0.56rem;
    margin-bottom: 0.2rem;
  }
  .product-grid .km-product-card .km-card-name {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-grid .km-product-card .km-scent-notes {
    font-size: 0.68rem;
    margin-bottom: 0.25rem;
  }
  .product-grid .km-product-card .km-review-snippet {
    margin-bottom: 0.35rem;
    gap: 0.3rem;
  }
  .product-grid .km-product-card .km-stars {
    font-size: 0.72rem;
  }
  .product-grid .km-product-card .km-rating-num {
    font-size: 0.68rem;
  }
  .product-grid .km-product-card .km-review-count {
    font-size: 0.65rem;
  }
  .product-grid .km-product-card .km-spec-row {
    font-size: 0.62rem;
    margin-bottom: 0.45rem;
  }
  .product-grid .km-product-card .km-price-block {
    margin-bottom: 0.55rem;
    gap: 0.35rem;
  }
  .product-grid .km-product-card .km-price-current {
    font-size: 0.95rem;
  }
  .product-grid .km-product-card .km-price-original {
    font-size: 0.75rem;
  }
  .product-grid .km-product-card .km-add-cart-btn {
    padding: 0.52rem 0.6rem;
    font-size: 0.72rem;
    border-radius: 6px;
    gap: 4px;
  }
  .product-grid .km-product-card .km-add-cart-btn svg {
    width: 13px;
    height: 13px;
  }
  .product-grid .km-product-card .km-figure-badges {
    top: 6px;
    left: 6px;
    gap: 3px;
  }
  .product-grid .km-product-card .km-badge-new,
  .product-grid .km-product-card .km-badge-discount {
    font-size: 0.52rem;
    padding: 2px 5px;
  }
  .product-grid .km-product-card .km-wishlist-toggle {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
  }
  .product-grid .km-product-card .km-wishlist-toggle svg {
    width: 14px;
    height: 14px;
  }
  .product-grid .km-product-card .km-quickview-btn {
    display: none;
  }
}

/* =========================================================
   17. -INSPIRED LUXURY FOOTER ENHANCEMENTS
   ========================================================= */
.site-footer {
  background: var(--cabernet-dark, #2B050B);
  color: rgba(250, 246, 240, 0.85);
  padding: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  position: relative;
  z-index: 10;
}

/* 1. Trust Pillars Strip - Desktop & Mobile Horizontal Flow */
.footer-trust-strip {
  background: rgba(43, 5, 11, 0.98);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding: 1.8rem clamp(1rem, 5vw, 6%);
  overflow: hidden;
}

.footer-trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.footer-trust-grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    overflow-x: visible;
  }
}

.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.footer-trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary, #D4AF37);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-trust-item:hover .footer-trust-icon {
  background: var(--gold-primary, #D4AF37);
  color: var(--cabernet-dark, #2B050B);
  transform: translateY(-2px);
}

.footer-trust-text h5 {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 2px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.footer-trust-text p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
}

/* 2. Newsletter Pre-Footer Strip */
.footer-newsletter-section {
  padding: 2.8rem clamp(1rem, 5vw, 6%);
  background: linear-gradient(180deg, rgba(70, 11, 18, 0.4) 0%, rgba(43, 5, 11, 0.85) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-newsletter-text {
  max-width: 520px;
  text-align: left;
}

.footer-newsletter-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary, #D4AF37);
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.footer-newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: #FFFFFF;
  font-weight: 500;
  margin: 0 0 0.4rem;
}

.footer-newsletter-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 480px;
  flex-direction: row;
}

.footer-newsletter-input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  padding: 0.75rem 1.1rem;
  color: #FFFFFF;
  font-size: 0.82rem;
  outline: none;
  transition: all 0.25s ease;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter-input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold-primary, #D4AF37);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.footer-newsletter-btn {
  background: var(--gold-primary, #D4AF37);
  color: var(--cabernet-dark, #2B050B);
  border: 1px solid var(--gold-primary, #D4AF37);
  border-radius: 6px;
  padding: 0.75rem 1.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.footer-newsletter-btn:hover {
  background: var(--gold-light, #FFF0C2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

/* 3. Main Footer Columns */
.footer-main-body {
  padding: 4.2rem clamp(1rem, 5vw, 6%) 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.15fr 1.25fr;
  gap: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 3.5rem;
  text-align: left;
}

.footer-col.brand-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.footer-brand-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1.2rem;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 3.8rem;
  color: var(--gold-primary, #D4AF37);
  line-height: 1;
  margin-bottom: 0.35rem;
  text-decoration: none;
  display: block;
  text-align: center;
  white-space: nowrap;
}

.footer-tagline {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-primary, #D4AF37);
  display: block;
  text-align: center;
  margin: 0;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 3px;
  white-space: nowrap;
  width: 100%;
}

.footer-bio {
  font-size: 0.84rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.6rem;
  max-width: 360px;
  text-align: left;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  text-align: left;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
  text-align: left;
}

.footer-contact-row:hover {
  color: var(--gold-primary, #D4AF37);
}

.footer-contact-row svg {
  color: var(--gold-primary, #D4AF37);
  flex-shrink: 0;
}

.footer-heading {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 0.45rem;
  text-align: left;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-primary, #D4AF37);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.footer-links a,
.footer-links button {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--gold-primary, #D4AF37);
  transform: translateX(3px);
}

.footer-badge-mini {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light, #FFF0C2);
  font-size: 0.62rem;
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Social icons */
.footer-social-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 0.5rem;
  justify-content: flex-start;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: var(--gold-primary, #D4AF37);
  border-color: var(--gold-primary, #D4AF37);
  color: var(--cabernet-dark, #2B050B);
  transform: translateY(-2px);
}

/* 4. Bottom Row & Payment Icons */
.footer-bottom-wrap {
  padding: 2rem clamp(1rem, 5vw, 6%) 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.footer-copyright {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.6;
  text-align: left;
}

.footer-legal-inline {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-legal-inline a {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-inline a:hover {
  color: var(--gold-primary, #D4AF37);
}

.footer-payment-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1.4rem;
  flex-wrap: wrap;
}

.footer-payment-note {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.footer-payment-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-badge-pill {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 3px 8px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  flex-shrink: 0;
}

.payment-badge-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.payment-logo-svg {
  display: block;
  flex-shrink: 0;
}

.payment-badge-text {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #2B050B;
  white-space: nowrap;
  line-height: 1;
}

.payment-pill-cod .payment-badge-text {
  color: #166534;
}

/* =========================================================
   18. DEDICATED POLICY & LEGAL PAGES STYLING
   ========================================================= */
.policy-page-wrapper {
  background: var(--bg-cream, #FAF6F0);
  min-height: 80vh;
  padding: 2.5rem clamp(1rem, 5vw, 6%) 5rem;
}

.policy-breadcrumb {
  max-width: 1200px;
  margin: 0 auto 1.8rem;
  font-size: 0.78rem;
  color: var(--text-muted, #766B65);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.policy-breadcrumb a {
  color: var(--cabernet, #460B12);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.policy-breadcrumb a:hover {
  color: var(--maroon-light, #7A1720);
}

.policy-breadcrumb span.sep {
  opacity: 0.4;
}

.policy-hero-card {
  max-width: 1200px;
  margin: 0 auto 2.8rem;
  background: #FFFFFF;
  border: 1px solid rgba(43, 5, 11, 0.1);
  border-radius: 12px;
  padding: 2.5rem clamp(1.2rem, 4vw, 3rem);
  box-shadow: 0 4px 20px rgba(43, 5, 11, 0.05);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.policy-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon-light) 0%, var(--gold-primary) 50%, var(--cabernet) 100%);
}

.policy-hero-info {
  flex: 1;
  min-width: 280px;
}

.policy-hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--maroon-light, #7A1720);
  background: #F8EDEB;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.policy-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  color: var(--cabernet-dark, #2B050B);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

.policy-hero-sub {
  font-size: 0.92rem;
  color: var(--text-dark, #2C2523);
  line-height: 1.65;
  margin: 0;
  max-width: 650px;
}

.policy-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #FAF6F0;
  border: 1px solid rgba(43, 5, 11, 0.08);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted, #766B65);
}

.policy-hero-meta strong {
  color: var(--cabernet-dark, #2B050B);
}

/* Policy 2-Column Body Layout */
.policy-content-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

.policy-toc-sidebar {
  position: sticky;
  top: 100px;
  background: #FFFFFF;
  border: 1px solid rgba(43, 5, 11, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(43, 5, 11, 0.04);
}

.policy-toc-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--cabernet-dark, #2B050B);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(43, 5, 11, 0.08);
}

.policy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.policy-toc-list a {
  font-size: 0.8rem;
  color: var(--text-dark, #2C2523);
  text-decoration: none;
  line-height: 1.4;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  display: block;
  transition: all 0.2s ease;
}

.policy-toc-list a:hover {
  background: #FAF6F0;
  color: var(--maroon-light, #7A1720);
  padding-left: 0.8rem;
}

.policy-main-content {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.policy-block {
  background: #FFFFFF;
  border: 1px solid rgba(43, 5, 11, 0.1);
  border-radius: 10px;
  padding: 2rem clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: 0 3px 12px rgba(43, 5, 11, 0.03);
}

.policy-block-heading {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--cabernet-dark, #2B050B);
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(43, 5, 11, 0.07);
  padding-bottom: 0.75rem;
}

.policy-block-heading span.num {
  font-size: 0.85rem;
  font-family: var(--font-sans);
  background: var(--cabernet-dark, #2B050B);
  color: var(--gold-light, #FFF0C2);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.policy-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-dark, #2C2523);
  margin-bottom: 1rem;
}

.policy-list {
  padding-left: 1.4rem;
  margin: 0.8rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.policy-list li {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-dark, #2C2523);
}

.policy-list li strong {
  color: var(--cabernet-dark, #2B050B);
}

.policy-highlight-card {
  background: #FAF6F0;
  border-left: 4px solid var(--maroon-light, #7A1720);
  border-radius: 0 8px 8px 0;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem 0;
}

.policy-highlight-card h6 {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--maroon-light, #7A1720);
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.policy-highlight-card p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dark, #2C2523);
  margin: 0;
}

.policy-contact-box {
  background: linear-gradient(135deg, var(--cabernet-dark, #2B050B) 0%, var(--cabernet, #460B12) 100%);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.policy-contact-box h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light, #FFF0C2);
  margin: 0 0 0.4rem;
}

.policy-contact-box p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.policy-contact-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.policy-contact-btn {
  background: var(--gold-primary, #D4AF37);
  color: var(--cabernet-dark, #2B050B);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.policy-contact-btn:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.policy-contact-btn.secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.policy-contact-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

/* Responsive adjustments for footer & policies */
@media (max-width: 1100px) {
  .policy-content-grid {
    grid-template-columns: 1fr;
  }
  .policy-toc-sidebar {
    display: none;
  }
}

/* Mobile & iPhone Footer Layout - Preserving Desktop Look & Feel */
@media (max-width: 991px) {
  .footer-main-body {
    padding: 3.2rem clamp(1rem, 4vw, 5%) 2.2rem;
  }
  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem 1.1rem !important;
    text-align: left !important;
    padding-bottom: 2.5rem;
  }
  .footer-col.brand-col {
    grid-column: 1 / -1 !important;
    margin-bottom: 0.5rem;
    text-align: left !important;
  }
  .footer-brand-wrap {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: fit-content !important;
    margin-bottom: 1rem !important;
  }
  .footer-logo {
    font-size: clamp(2.8rem, 8vw, 3.6rem);
    text-align: center !important;
    display: block !important;
  }
  .footer-tagline {
    text-align: center !important;
    width: 100% !important;
  }
  .footer-bio {
    max-width: 100%;
    text-align: left !important;
    margin-inline: 0 !important;
    font-size: 0.82rem;
    line-height: 1.7;
  }
  .footer-contact-details {
    text-align: left !important;
    align-items: flex-start !important;
  }
  .footer-contact-row {
    justify-content: flex-start !important;
    font-size: 0.8rem;
  }
  .footer-social-row {
    justify-content: flex-start !important;
  }
  .footer-col {
    text-align: left !important;
  }
  .footer-heading {
    font-size: 0.76rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.1rem;
    text-align: left !important;
  }
  .footer-heading::after {
    left: 0 !important;
  }
  .footer-links {
    align-items: flex-start !important;
    text-align: left !important;
    gap: 0.75rem;
  }
  .footer-links a,
  .footer-links button {
    font-size: clamp(0.72rem, 2.5vw, 0.82rem);
    line-height: 1.35;
    text-align: left !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 768px) {
  .footer-newsletter-wrap {
    gap: 1.4rem;
  }
  .footer-newsletter-form {
    flex-direction: row !important;
    max-width: 100%;
  }
  .footer-newsletter-btn {
    width: auto !important;
  }
  .footer-bottom-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left !important;
  }
  .footer-payment-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .policy-hero-card {
    padding: 1.5rem 1.2rem;
  }
  .policy-contact-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .policy-contact-actions {
    width: 100%;
  }
  .policy-contact-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-newsletter-form {
    flex-direction: column !important;
    align-items: stretch;
  }
  .footer-newsletter-btn {
    width: 100% !important;
  }
  .footer-grid {
    gap: 1.8rem 0.8rem !important;
  }
  .footer-heading {
    font-size: 0.72rem;
  }
  .footer-links a,
  .footer-links button {
    font-size: 0.72rem;
  }
}

/* =========================================================
   THE Candlorre — CUSTOMER ACCOUNT & ORDER MANAGEMENT SYSTEM
   ========================================================= */

/* Header Authentication & Dropdown */
.action-btn.authenticated {
  color: var(--gold-primary);
  position: relative;
}

.action-btn.authenticated::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold-glow);
}

.mob-account-group {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  list-style: none;
}

.mob-account-sublinks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0.5rem;
}

.mob-sub-link {
  font-size: 0.84rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mob-sub-link:hover,
.mob-sub-link:focus {
  color: var(--maroon-light);
  transform: translateX(4px);
}

.mob-logout-btn {
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 0;
  color: #B91C1C;
  font-family: inherit;
  font-weight: 600;
}

/* Luxury Auth Split Layout (Login & Signup) */
.auth-page-main {
  min-height: 82vh;
  padding: 4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #FFFDF9 0%, var(--bg-cream) 100%);
}

.auth-split-card {
  width: 100%;
  max-width: 960px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(43, 5, 11, 0.08);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  position: relative;
}

.auth-visual-panel {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 2.5rem;
  color: #FAF6F0;
  min-height: 480px;
}

.auth-visual-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(43, 5, 11, 0.88) 0%, rgba(70, 11, 18, 0.8) 50%, rgba(43, 5, 11, 0.92) 100%);
  z-index: 1;
}

.auth-visual-content {
  position: relative;
  z-index: 2;
}

.auth-visual-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 2px;
  margin: 0 0 0.4rem;
  color: #FFF0C2;
}

.auth-visual-tagline {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 240, 194, 0.8);
}

.auth-visual-quote {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.auth-visual-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #FAF6F0;
  margin-bottom: 0.75rem;
}

.auth-visual-quote span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 500;
}

.auth-form-panel {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

.auth-form-header {
  margin-bottom: 2rem;
}

.auth-form-header .section-pretitle {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.auth-form-header .auth-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--cabernet);
  margin: 0 0 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.auth-form-header .auth-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Password Toggle & Input Enhancements */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap input {
  padding-right: 3rem !important;
}

.password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  min-width: 44px;
  min-height: 44px;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus-visible {
  color: var(--maroon-light);
  outline: none;
}

.form-help-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.75rem 0 1.5rem;
  font-size: 0.82rem;
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-dark);
  user-select: none;
}

.remember-label input[type="checkbox"] {
  accent-color: var(--maroon-light);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.auth-link {
  color: var(--maroon-light);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.auth-link:hover {
  color: var(--cabernet-dark);
}

.auth-alert-banner {
  padding: 0.85rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.auth-alert-banner.alert-error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.auth-alert-banner.alert-success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

.auth-alert-banner.alert-info {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #92400E;
}

.input-error-msg {
  display: block;
  font-size: 0.74rem;
  color: #B91C1C;
  margin-top: 4px;
  font-weight: 500;
}

/* Button Loading State */
.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
  position: relative;
  cursor: wait;
}

.btn.is-loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: authSpin 0.75s linear infinite;
  display: inline-block;
  margin-left: 8px;
}

@keyframes authSpin {
  to { transform: rotate(360deg); }
}

/* Single-Column Centered Card (Forgot Password & Utility) */
.auth-single-card {
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(43, 5, 11, 0.06);
  padding: 3.2rem 2.5rem;
}

/* =========================================================
   ACCOUNT DASHBOARD & SECTIONS
   ========================================================= */
.account-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 5% 5rem;
  min-height: 75vh;
}

.account-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.account-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.account-breadcrumb a:hover {
  color: var(--maroon-light);
}

.account-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}

.account-header-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.account-avatar-monogram {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-foil);
  color: var(--cabernet-dark);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.account-header-info h1 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--cabernet);
  margin: 0 0 0.3rem;
  font-weight: 500;
  line-height: 1.2;
}

.account-header-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-gold {
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-weight: 600;
}

/* Dashboard Action Cards Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.dashboard-nav-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dashboard-nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-foil);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.dashboard-nav-card:hover {
  transform: translateY(-4px);
  border-color: var(--maroon-light);
  box-shadow: 0 12px 28px rgba(122, 23, 32, 0.09);
}

.dashboard-nav-card:hover::before {
  opacity: 1;
}

.card-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--maroon-wash);
  color: var(--maroon-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.dashboard-nav-card:hover .card-icon-wrap {
  background: var(--maroon-light);
  color: #FFFFFF;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--cabernet);
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.card-action-link {
  font-size: 0.74rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--maroon-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

/* Recent Order Preview Block */
.section-block {
  margin-bottom: 3.5rem;
}

.section-block-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.section-block-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--cabernet);
  margin: 0;
}

.recent-order-preview-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.75rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.recent-order-preview-card:hover {
  border-color: rgba(122, 23, 32, 0.3);
}

.order-thumb-wrap {
  width: 90px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #FAF6F0;
  flex-shrink: 0;
}

.order-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.order-preview-meta .order-num {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cabernet);
}

.order-preview-meta .order-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-preview-meta .order-items-summary {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
}

.order-preview-meta .order-total-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--maroon-light);
}

.order-preview-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 140px;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}

.status-pill.status-shipped,
.status-pill.status-out_for_delivery {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.status-pill.status-delivered {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.status-pill.status-paid {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.status-pill.status-processing,
.status-pill.status-confirmed {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

/* Empty State Container */
.account-empty-state {
  text-align: center;
  padding: 4.5rem 2rem;
  background: #FFFFFF;
  border: 1px dashed var(--border-subtle);
  border-radius: 6px;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--gold-dark);
  opacity: 0.8;
}

.empty-state-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--cabernet);
  margin: 0 0 0.5rem;
}

.empty-state-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
}

/* =========================================================
   ORDERS LIST PAGE & ORDER DETAILS
   ========================================================= */
.order-card-row {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.order-card-row:hover {
  border-color: rgba(122, 23, 32, 0.25);
  box-shadow: 0 8px 24px rgba(43, 5, 11, 0.06);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.order-items-table {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.order-item-line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.order-item-info {
  flex-grow: 1;
}

.order-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.25rem;
}

.order-item-variant {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.order-item-pricing {
  text-align: right;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cabernet);
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.order-card-footer .actions-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Order Details Grid */
.order-details-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}

.details-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
}

.details-panel-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--cabernet);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.price-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.price-summary-row.total-row {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cabernet);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.75rem;
}

/* =========================================================
   ORDER TRACKING TIMELINE
   ========================================================= */
.tracking-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 5% 5rem;
  min-height: 75vh;
}

.tracking-search-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.tracking-input-group {
  display: flex;
  gap: 10px;
  margin-top: 0.5rem;
}

.tracking-input-group input {
  flex-grow: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  font-size: 0.9rem;
  outline: none;
}

.tracking-input-group input:focus {
  border-color: var(--maroon-light);
}

.tracking-suggestions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.sample-chip {
  background: var(--maroon-wash);
  color: var(--maroon-light);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2px 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.sample-chip:hover {
  background: var(--maroon-light);
  color: #FFFFFF;
}

.tracking-result-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.shipment-overview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.shipment-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  background: var(--bg-cream);
  padding: 1.25rem;
  border-radius: 4px;
  margin-bottom: 2.5rem;
}

.meta-item label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.meta-item span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cabernet);
}

/* Timeline Vertical Steps */
.tracking-timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2.5rem;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 14px;
  width: 2px;
  background: #E5E7EB;
}

.timeline-step-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-step-item:last-child {
  margin-bottom: 0;
}

.timeline-node-icon {
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #D1D5DB;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 2;
  transition: all 0.25s ease;
}

.timeline-step-item.completed .timeline-node-icon {
  background: #166534;
  border-color: #166534;
  color: #FFFFFF;
}

.timeline-step-item.active .timeline-node-icon {
  background: var(--maroon-light);
  border-color: var(--maroon-light);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(122, 23, 32, 0.2);
  animation: pulseNode 2s infinite;
}

@keyframes pulseNode {
  0% { box-shadow: 0 0 0 0 rgba(122, 23, 32, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(122, 23, 32, 0); }
  100% { box-shadow: 0 0 0 0 rgba(122, 23, 32, 0); }
}

.timeline-step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.25rem;
}

.timeline-step-item.completed .timeline-step-title {
  color: #166534;
}

.timeline-step-item.active .timeline-step-title {
  color: var(--maroon-light);
}

.timeline-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}

.timeline-step-time {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================================================
   SAVED ADDRESSES CARDS & MODAL
   ========================================================= */
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.address-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 0.2s;
}

.address-card.is-default {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F4 100%);
}

.address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.address-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: var(--bg-cream);
  color: var(--text-dark);
}

.address-tag.tag-default {
  background: var(--gold-light);
  color: var(--gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.address-recipient {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--cabernet);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.address-lines {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.address-card-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.btn-link-action {
  background: none;
  border: none;
  color: var(--maroon-light);
  font-size: 0.76rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.btn-link-action:hover {
  color: var(--cabernet-dark);
  text-decoration: underline;
}

.btn-link-action.text-danger {
  color: #DC2626;
}

.btn-link-action.text-danger:hover {
  color: #991B1B;
}

/* Universal Custom Modal (Accessible) */
.Candlorre-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 5, 11, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 1.5rem;
}

.Candlorre-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.Candlorre-modal-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 25px 50px -12px rgba(43, 5, 11, 0.25);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.Candlorre-modal-overlay.active .Candlorre-modal-box {
  transform: translateY(0);
}

.modal-header-bar {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header-bar h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--cabernet);
  margin: 0;
}

.modal-body-scroll {
  padding: 2rem;
  overflow-y: auto;
}

/* =========================================================
   RESPONSIVE OPTIMIZATIONS ACROSS ALL SCREEN SIZES
   ========================================================= */
@media (max-width: 900px) {
  .auth-split-card {
    grid-template-columns: 1fr;
  }
  .auth-visual-panel {
    min-height: 220px;
    padding: 2.5rem 2rem;
  }
  .auth-visual-quote {
    display: none; /* Keep mobile login clean & fast */
  }
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .auth-form-panel {
    padding: 2.5rem 1.5rem;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .recent-order-preview-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .recent-order-preview-card .order-preview-actions {
    flex-direction: row;
    width: 100%;
  }
  .recent-order-preview-card .order-preview-actions .btn {
    flex: 1;
  }
  .account-header-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .tracking-input-group {
    flex-direction: column;
  }
  .tracking-input-group .btn {
    width: 100%;
  }
  .shipment-overview-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .account-container,
  .tracking-container {
    padding: 2rem 1rem 4rem;
  }
  .auth-page-main {
    padding: 2rem 1rem;
  }
  .auth-form-header .auth-title {
    font-size: 1.65rem;
  }
  .form-row {
    grid-template-columns: 1fr !important;
  }
  .order-card-header,
  .order-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .order-card-footer .actions-group {
    width: 100%;
  }
  .order-card-footer .actions-group .btn {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  .order-item-line {
    align-items: flex-start;
  }
}

@media (max-width: 360px) {
  .account-header-profile {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-avatar-monogram {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.74rem;
  }
}

/* =========================================================
   THE Candlorre — PREMIUM ADDRESS SYSTEM & MODAL ARCHITECTURE
   Luxury E-Commerce Addresses, Location Detection, & Validation
   ========================================================= */

/* Universal Modal Overlay Support */
.modal-overlay,
.Candlorre-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 5, 11, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active,
.Candlorre-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal Card / Dialog Box */
.modal-card,
.Candlorre-modal-box {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  width: 100%;
  max-width: 620px;
  max-height: min(90vh, 760px);
  box-shadow: 0 25px 60px -15px rgba(43, 5, 11, 0.4);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: auto;
}

.modal-overlay.active .modal-card,
.Candlorre-modal-overlay.active .Candlorre-modal-box {
  transform: translateY(0) scale(1);
}

.modal-card .modal-header,
.Candlorre-modal-box .modal-header-bar {
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: #FAF8F4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.modal-header .modal-title,
.modal-header-bar h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--cabernet);
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

.modal-header-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: var(--cabernet-dark);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 50%;
  line-height: 1;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.modal-close-btn:hover {
  background: rgba(43, 5, 11, 0.08);
  color: var(--cabernet);
}

/* Modal Form Container - Crucial for Scrollability */
.modal-card form,
.Candlorre-modal-box form,
#addressForm {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  margin: 0;
}

.modal-body,
.modal-body-scroll {
  padding: 1.5rem 1.75rem;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  touch-action: pan-y;
}

/* Visible refined scrollbar */
.modal-body::-webkit-scrollbar,
.modal-body-scroll::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-track,
.modal-body-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb,
.modal-body-scroll::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.5);
  border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb:hover,
.modal-body-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

.modal-footer {
  padding: 1.1rem 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background: #FAF8F4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

@media (max-height: 700px) {
  .modal-overlay,
  .Candlorre-modal-overlay {
    align-items: flex-start;
    padding: 0.75rem;
  }
  .modal-card {
    max-height: calc(100vh - 1.5rem);
  }
  .modal-card .modal-header {
    padding: 0.9rem 1.25rem;
  }
  .modal-body {
    padding: 1rem 1.25rem;
    gap: 0.9rem;
  }
  .modal-footer {
    padding: 0.85rem 1.25rem;
  }
}

/* Location Detection Bar */
.location-detection-strip {
  background: linear-gradient(135deg, #FAF8F4 0%, #F5EFE6 100%);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.location-strip-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.location-pin-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cabernet);
  flex-shrink: 0;
}

.location-strip-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cabernet);
  display: block;
}

.location-strip-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

.btn-use-location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFFFFF;
  border: 1px solid var(--cabernet);
  color: var(--cabernet);
  padding: 0.55rem 0.95rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-use-location:hover:not(:disabled) {
  background: var(--cabernet);
  color: #FFFFFF;
}

.btn-use-location:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.location-feedback-alert {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 0.35rem;
  display: none;
}

.location-feedback-alert.info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

.location-feedback-alert.success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.location-feedback-alert.warning {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}

.location-feedback-alert.error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* Form Layout & Fields */
.address-form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--cabernet);
  margin-bottom: 0.35rem;
}

.form-label .optional-text {
  font-weight: 400;
  text-transform: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0;
  margin-left: 4px;
}

.form-input,
.form-select {
  width: 100%;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23460B12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.form-input.is-invalid,
.form-select.is-invalid {
  border-color: #DC2626 !important;
  background-color: #FEF2F2 !important;
}

.field-error-msg {
  font-size: 0.72rem;
  color: #DC2626;
  margin-top: 0.28rem;
  display: none;
  line-height: 1.3;
}

.field-error-msg.visible {
  display: block;
}

/* Phone Input with +91 Prefix Addon */
.phone-prefix-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.phone-prefix-wrap:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}

.phone-prefix-wrap.is-invalid {
  border-color: #DC2626 !important;
  background: #FEF2F2 !important;
}

.phone-prefix-addon {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #FAF8F4;
  padding: 0 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cabernet);
  border-right: 1px solid var(--border-subtle);
  user-select: none;
}

.phone-prefix-wrap .form-input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: 42px;
  background: transparent !important;
}

/* PIN Code with Availability Checker */
.pincode-input-wrap {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.pincode-input-wrap .form-input {
  flex: 1;
}

.btn-check-pincode {
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
  color: var(--cabernet);
  padding: 0 0.95rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-check-pincode:hover {
  background: var(--cabernet);
  color: #FFFFFF;
  border-color: var(--cabernet);
}

.pincode-service-badge {
  margin-top: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  font-size: 0.74rem;
  display: none;
  line-height: 1.35;
}

.pincode-service-badge.success {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.pincode-service-badge.error {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* Address Type Chips (Home / Work / Other) */
.address-type-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.type-chip-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.type-chip-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.type-chip-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.type-chip-card svg {
  color: var(--text-muted);
  transition: color 0.2s;
  flex-shrink: 0;
}

.type-chip-card:hover {
  border-color: var(--cabernet);
  background: #FAF8F4;
}

.type-chip-card.selected {
  border-color: var(--cabernet);
  background: #FAF8F4;
  box-shadow: 0 0 0 1px var(--cabernet);
}

.type-chip-card.selected svg {
  color: var(--cabernet);
}

.type-chip-card.selected span {
  color: var(--cabernet);
}

/* Default Address Toggle */
.default-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  user-select: none;
}

.default-toggle-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cabernet);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.default-toggle-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cabernet);
  display: block;
}

.default-toggle-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

/* Saved Address Cards Grid */
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.address-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s ease;
}

.address-card:hover {
  border-color: rgba(197, 160, 89, 0.7);
  box-shadow: 0 8px 24px rgba(43, 5, 11, 0.08);
}

.address-card.is-default {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F4 100%);
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.18);
}

.address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.address-badges-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.address-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
}

.address-tag.tag-default {
  background: #FDF7EC;
  color: #8A641B;
  border-color: rgba(197, 160, 89, 0.5);
}

.address-recipient {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--cabernet);
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.address-phone-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.address-phone-row svg {
  color: var(--cabernet);
  flex-shrink: 0;
}

.address-lines {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.address-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card-action-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-card-action {
  background: none;
  border: none;
  color: var(--cabernet);
  font-size: 0.76rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-card-action:hover {
  color: var(--gold-dark, #8A641B);
  text-decoration: underline;
}

.btn-card-action.text-danger {
  color: #DC2626;
}

.btn-card-action.text-danger:hover {
  color: #991B1B;
}

.btn-card-action.btn-set-default {
  color: var(--maroon-light);
}

/* Delete Confirmation Modal */
.confirm-dialog-box {
  max-width: 480px;
}

.delete-preview-box {
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.95rem 1.1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.btn-danger-action {
  background: #DC2626;
  color: #FFFFFF;
  border: 1px solid #DC2626;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger-action:hover {
  background: #B91C1C;
  border-color: #B91C1C;
}

/* Checkout Saved Address Selector */
.checkout-saved-address-section {
  margin-bottom: 1.25rem;
  background: #FAF8F4;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1rem 1.2rem;
}

.checkout-saved-address-section .section-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--cabernet);
  margin-bottom: 0.5rem;
  display: block;
}

.saved-address-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-address-pill {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s;
}

.checkout-address-pill:hover {
  border-color: var(--cabernet);
}

.checkout-address-pill.selected {
  border-color: var(--cabernet);
  box-shadow: 0 0 0 1px var(--cabernet);
  background: #FAF8F4;
}

.checkout-address-pill input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--cabernet);
}

.checkout-address-pill-content {
  font-size: 0.82rem;
  color: var(--text-dark);
  line-height: 1.35;
}

.checkout-address-pill-content strong {
  color: var(--cabernet);
}

/* Loading Spinners & Indicators */
@keyframes CandlorreSpin {
  to { transform: rotate(360deg); }
}

.spin-icon {
  animation: CandlorreSpin 1s linear infinite;
  display: inline-block;
}

/* Mobile Responsive Optimizations for Addresses */
@media (max-width: 680px) {
  .modal-overlay,
  .Candlorre-modal-overlay {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .modal-card,
  .Candlorre-modal-box {
    max-height: 94vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .modal-card .modal-header,
  .Candlorre-modal-box .modal-header-bar {
    padding: 1.1rem 1.25rem;
  }

  .modal-body,
  .modal-body-scroll {
    padding: 1.25rem;
    gap: 1rem;
  }

  .modal-footer {
    padding: 1rem 1.25rem;
    flex-direction: column-reverse;
    gap: 0.65rem;
  }

  .modal-footer .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .location-detection-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-use-location {
    width: 100%;
    justify-content: center;
  }

  .address-form-grid .form-row {
    grid-template-columns: 1fr !important;
  }

  .address-type-selector {
    grid-template-columns: 1fr;
  }

  .addresses-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   BAOBAB COLLECTION-INSPIRED LUXURY PDP VARIANT SYSTEM
   ========================================================= */

.pdp-variant-block {
  margin: 0.65rem 0 1.15rem;
  padding: 0.85rem 1rem;
  background: #FAF6F0;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.pdp-variant-label-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.pdp-variant-type-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cabernet);
}

.pdp-variant-current-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--maroon-light);
  font-family: var(--font-serif);
}

.pdp-variant-selector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

/* Color Swatches (Circular Luxury Baobab Swatches) */
.pdp-swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.45rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(70, 11, 18, 0.15);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 6px rgba(43, 5, 11, 0.04);
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.pdp-swatch-btn:hover {
  border-color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.pdp-swatch-btn.active {
  background: #2B050B;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35), 0 4px 12px rgba(43, 5, 11, 0.2);
}

.pdp-swatch-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  display: inline-block;
  flex-shrink: 0;
}

.pdp-swatch-btn.active .pdp-swatch-circle {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 1px var(--gold-primary);
}

.pdp-swatch-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.3px;
}

.pdp-swatch-btn.active .pdp-swatch-name {
  color: var(--gold-light);
}

/* Size / Format Architectural Pills */
.pdp-size-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(70, 11, 18, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(43, 5, 11, 0.04);
}

.pdp-size-pill:hover {
  border-color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.18);
}

.pdp-size-pill.active {
  background: #2B050B;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3), 0 4px 12px rgba(43, 5, 11, 0.18);
}

.pdp-pill-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.pdp-size-pill.active .pdp-pill-title {
  color: var(--gold-light);
}

.pdp-pill-price {
  font-size: 0.74rem;
  color: var(--maroon-light);
  font-weight: 700;
}

.pdp-size-pill.active .pdp-pill-price {
  color: #F5E296;
}

/* Coming Soon Badges & Buttons */
.pdp-stock-status.coming-soon {
  color: #B45309;
  background: rgba(245, 158, 11, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 700;
}

.status-pulse-dot.gold {
  background: #D97706;
  box-shadow: 0 0 0 rgba(217, 119, 6, 0.4);
}

.btn-gold.pdp-add-bag-btn.coming-soon-btn {
  background: #6B7280;
  border-color: #6B7280;
  cursor: not-allowed;
  opacity: 0.85;
  color: #FFFFFF;
}

.cart-variant-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(212, 175, 55, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.swatch-soon-tag,
.pill-soon-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(217, 119, 6, 0.18);
  color: #B45309;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
}

/* Out of Stock Badges & Buttons */
.pdp-stock-status.out-of-stock {
  color: #991B1B;
  background: rgba(239, 68, 68, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-weight: 700;
}

.status-pulse-dot.red {
  background: #DC2626;
  box-shadow: 0 0 0 rgba(220, 38, 38, 0.4);
}

.swatch-oos-tag,
.pill-oos-tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(220, 38, 38, 0.12);
  color: #991B1B;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
}

.pdp-swatch-btn.out-of-stock,
.pdp-size-pill.out-of-stock {
  opacity: 0.8;
  border-style: dashed;
}

.btn-secondary.pdp-add-bag-btn.out-of-stock-btn,
.btn-gold.pdp-add-bag-btn.out-of-stock-btn {
  background: #4B5563;
  border-color: #4B5563;
  cursor: not-allowed;
  opacity: 0.8;
  color: #FFFFFF;
}

