/* ========================================================
   CENTIFY — Modern Indian Fragrance House (Design Tokens)
   ======================================================== */

:root {
  --color-ivory: #FAF8F5;
  --color-sand: #F3EFEA;
  --color-stone: #E8E2D9;
  --color-stone-dark: #D5CCC0;

  --color-oxblood: #581825;
  --color-oxblood-light: #722232;
  --color-oxblood-dark: #3D0F19;

  --color-plum: #3E1628;
  --color-forest: #1A2E26;
  --color-forest-dark: #101F19;
  --color-espresso: #211A17;

  --color-saffron: #D48B38;
  --color-saffron-gold: #DFBA73;
  --color-saffron-dark: #B06D24;

  --color-charcoal: #1D1B1A;
  --color-taupe: #544E48;
  --color-taupe-light: #5C554F;
  --color-amber-accessible: #854D0E;
  --color-border: #E5DFD7;

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Alex Brush', cursive, serif;

  --shadow-sm: 0 2px 8px rgba(29, 27, 26, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(29, 27, 26, 0.08), 0 0 1px 1px rgba(29, 27, 26, 0.04);
  --shadow-luxury: 0 20px 40px -15px rgba(33, 26, 23, 0.08), 0 0 1px 1px rgba(33, 26, 23, 0.05);
  --shadow-luxury-lg: 0 30px 60px -20px rgba(33, 26, 23, 0.12), 0 0 1px 1px rgba(33, 26, 23, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

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

body {
  background-color: var(--color-ivory);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* Typography Classes */
h1,
h2,
h3,
h4,
.font-serif {
  font-family: var(--font-serif);
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-oxblood);
  color: #FFFFFF;
  box-shadow: var(--shadow-luxury);
}

.btn-primary:hover {
  background: var(--color-oxblood-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-luxury-lg);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--color-charcoal);
  border: 1px solid var(--color-stone-dark);
}

.btn-secondary:hover {
  background: var(--color-sand);
  border-color: var(--color-oxblood);
  color: var(--color-oxblood);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 11px;
}

.btn-full {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge-oxblood {
  background: rgba(88, 24, 37, 0.1);
  color: var(--color-oxblood);
  border: 1px solid rgba(88, 24, 37, 0.15);
}

.badge-gold {
  background: rgba(212, 139, 56, 0.12);
  color: var(--color-saffron-dark);
}

.badge-forest {
  background: rgba(26, 46, 38, 0.1);
  color: var(--color-forest);
}

/* Layout Header */
.announcement-bar {
  background: var(--color-oxblood);
  color: var(--color-ivory);
  font-size: 12px;
  padding: 8px 16px;
  letter-spacing: 0.05em;
}

.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ====================================================
   TOP INFORMATION STRIP
   Social Icons | Ticker | Contact & Currency
   ==================================================== */
.top-info-strip {
  background: #170408;
  color: #FAF8F5;
  border-bottom: 1px solid rgba(223, 186, 115, 0.22);
  font-size: 11.5px;
  position: relative;
  z-index: 910;
  overflow: hidden;
}

.top-info-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Left: Social Media */
.top-strip-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.top-social-link {
  color: rgba(250, 248, 245, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.top-social-link:hover {
  color: var(--color-saffron-gold, #DFBA73);
  transform: translateY(-1px);
}

/* Center: Scrolling Content Ticker */
.top-strip-center {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.ticker-wrapper {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: ticker-slide 34s linear infinite;
}

.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  color: rgba(250, 248, 245, 0.88);
  font-size: 11.5px;
}

.ticker-item strong {
  color: var(--color-saffron-gold, #DFBA73);
  font-weight: 600;
}

.ticker-sep {
  color: rgba(223, 186, 115, 0.45);
  font-size: 10px;
}

/* Right: Contact & Currency */
.top-strip-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 11px;
}

.top-contact-link {
  color: rgba(250, 248, 245, 0.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.top-contact-link:hover {
  color: var(--color-saffron-gold, #DFBA73);
}

.top-strip-divider {
  color: rgba(255, 255, 255, 0.2);
}

.top-currency-toggle {
  color: var(--color-saffron-gold, #DFBA73);
  text-decoration: none;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(223, 186, 115, 0.12);
  border: 1px solid rgba(223, 186, 115, 0.25);
  transition: all 0.2s ease;
}

.top-currency-toggle:hover {
  background: var(--color-saffron-gold, #DFBA73);
  color: #170408;
}

@media (max-width: 900px) {

  .top-strip-left,
  .top-strip-right {
    display: none !important;
  }

  .top-info-container {
    height: 32px;
    padding: 0 14px;
  }
}

/* Header Consult Now CTA Button */
.btn-consult-nav {
  background: linear-gradient(135deg, var(--color-oxblood, #8B1A2A) 0%, #63121E 100%);
  color: #FAF8F5;
  border: 1px solid rgba(223, 186, 115, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-full, 9999px);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(139, 26, 42, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-consult-nav:hover {
  background: linear-gradient(135deg, #A02033 0%, var(--color-oxblood, #8B1A2A) 100%);
  border-color: var(--color-saffron-gold, #DFBA73);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(139, 26, 42, 0.35);
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  .btn-consult-nav {
    display: none !important;
  }
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(223, 186, 115, 0.22);
  transition: all 0.25s ease;
}

.site-header .container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 40px);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: clamp(10px, 1.2vw, 18px);
  position: relative;
}

/* Brand Logo (Left) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 3;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.95;
}

.brand-logo-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.brand-logo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-oxblood, #8B1A2A);
  text-transform: uppercase;
  line-height: 1;
}

.brand-logo-domain {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #551620;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: 1px;
}

.brand-logo-sub {
  font-size: 7.5px;
  letter-spacing: 0.26em;
  color: var(--color-saffron-gold, #C8962A);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
  line-height: 1;
}

/* Main Desktop Navigation - Centrally Aligned & Reduced Spacing */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 84px;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.nav-link-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #2D2825;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 18px;
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap !important;
}

.nav-link-item span {
  white-space: nowrap !important;
}

/* Hover state */
.nav-link-item:hover,
.nav-item:hover>.nav-link-item,
.nav-item:focus-within>.nav-link-item {
  color: var(--color-oxblood, #8B1A2A);
  background: rgba(139, 26, 42, 0.04);
  border-color: rgba(223, 186, 115, 0.25);
}

/* Active Highlight state when section or page is opened */
.nav-item.active>.nav-link-item,
.nav-link-item.active {
  color: var(--color-oxblood, #8B1A2A);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(139, 26, 42, 0.08) 0%, rgba(223, 186, 115, 0.16) 100%);
  border-color: rgba(223, 186, 115, 0.45);
  box-shadow: 0 2px 10px rgba(139, 26, 42, 0.06);
}

/* Luminous gold active accent bar under active item */
.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-saffron-gold, #DFBA73), var(--color-oxblood, #8B1A2A), transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.nav-item.active>.nav-link-item::after,
.nav-link-item.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-item:hover>.nav-link-item::after {
  transform: scaleX(0.75);
  opacity: 0.65;
}

/* Subtle active jewel dot for open active section */
.nav-item.active>.nav-link-item::before {
  content: '✦';
  font-size: 8px;
  color: var(--color-saffron-gold, #C8962A);
  margin-right: 2px;
  line-height: 1;
  animation: pulse-nav-dot 2.5s infinite ease-in-out;
}

@keyframes pulse-nav-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.35);
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(223, 186, 115, 0.8));
  }
}

/* Dropdown Chevron */
.dropdown-chevron {
  width: 8px;
  height: 5px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  opacity: 0.65;
}

.nav-item:hover .dropdown-chevron,
.nav-item:focus-within .dropdown-chevron,
.nav-item.active .dropdown-chevron {
  opacity: 1;
  color: var(--color-oxblood, #8B1A2A);
}

.nav-item:hover .dropdown-chevron,
.nav-item:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu Base with modern frosted glass */
.dropdown-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  background: rgba(255, 252, 248, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(223, 186, 115, 0.32);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(30, 15, 20, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  z-index: 150;
}

/* Invisible bridge so mouse hover doesn't break */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

/* Open on hover & focus-within */
.nav-item:hover>.dropdown-menu,
.nav-item:focus-within>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Mega Dropdown for Fragrances */
.mega-dropdown {
  left: -80px;
  width: 860px;
  max-width: calc(100vw - 60px);
  padding: 26px 30px;
}

.mega-dropdown-inner {
  display: grid;
  grid-template-columns: 1.15fr 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.dropdown-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-oxblood);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(88, 24, 37, 0.12);
  display: block;
}

.dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Individual Dropdown Item with luxury styling */
.dropdown-item {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: rgba(139, 26, 42, 0.04);
  border-left-color: var(--color-saffron-gold, #DFBA73);
  transform: translateX(4px);
}

.dropdown-item.active {
  background: linear-gradient(90deg, rgba(139, 26, 42, 0.08) 0%, rgba(223, 186, 115, 0.16) 100%);
  border-left-color: var(--color-oxblood, #8B1A2A);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(139, 26, 42, 0.06);
}

.dropdown-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dropdown-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-charcoal);
  transition: color 0.18s ease;
  line-height: 1.3;
}

.dropdown-item:hover .dropdown-item-title,
.dropdown-item.active .dropdown-item-title {
  color: var(--color-oxblood, #8B1A2A);
}

.dropdown-item.active .dropdown-item-title {
  font-weight: 700;
}

.dropdown-item-desc {
  font-size: 11px;
  color: var(--color-taupe);
  margin-top: 2px;
  line-height: 1.35;
  display: block;
}

.dropdown-item.active .dropdown-item-desc {
  color: #332B25;
}

/* Spotlight Card in Fragrances Dropdown */
.spotlight-card {
  background: linear-gradient(145deg, var(--color-sand) 0%, rgba(243, 239, 234, 0.5) 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spotlight-badge {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-saffron-dark);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.spotlight-img {
  width: 95px;
  height: 115px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.spotlight-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-charcoal);
}

.spotlight-card p {
  font-size: 11px;
  color: var(--color-taupe);
  margin-bottom: 10px;
  line-height: 1.35;
}

.spotlight-link {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-oxblood);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.spotlight-link:hover {
  opacity: 0.8;
}

/* Studio Dropdown */
.studio-dropdown {
  left: 0;
  width: 360px;
  padding: 16px 18px;
}

/* Concierge Dropdown */
.concierge-dropdown {
  right: 0;
  left: auto;
  width: 330px;
  padding: 16px 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 3;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-charcoal);
  border: 1px solid transparent;
  transition: all 0.22s ease;
  position: relative;
  text-decoration: none;
}

.icon-btn:hover {
  background: rgba(139, 26, 42, 0.05);
  border-color: rgba(223, 186, 115, 0.35);
  color: var(--color-oxblood);
  transform: translateY(-1px);
}

.cart-count-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--color-oxblood);
  color: #FFF;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Oxblood Luxury Hero Section & Carousel (matches announcement bar) */
.hero-section.hero-dark {
  position: relative;
  background-color: var(--color-oxblood);
  background-image: radial-gradient(circle at 75% 30%, #6E202F 0%, #581825 50%, #3D0F19 100%);
  color: #FAF8F5;
  padding: 80px 0 50px;
  overflow-x: hidden;
  overflow-y: visible;
  border-bottom: 1px solid rgba(223, 186, 115, 0.3);
}

@media (max-width: 768px) {
  .hero-section.hero-dark {
    padding: 40px 0 36px;
  }
}

@media (max-width: 480px) {
  .hero-section.hero-dark {
    padding: 28px 0 28px;
  }
}

.hero-section.hero-dark::before {
  content: '';
  position: absolute;
  top: -120px;
  right: 8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(223, 186, 115, 0.16) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.hero-slider-track {
  position: relative;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(25px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  pointer-events: none;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

/* Badge on Dark Hero */
.badge-hero {
  background: rgba(212, 139, 56, 0.15);
  color: #E6C280;
  border: 1px solid rgba(212, 139, 56, 0.35);
  padding: 5px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
}

.hero-dark .hero-content h1 {
  font-size: clamp(28px, 6vw, 58px);
  line-height: 1.15;
  font-weight: 600;
  margin: 12px 0 20px;
  color: #FAF8F5;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 768px) {
  .hero-dark .hero-content h1 {
    font-size: clamp(26px, 7vw, 40px);
    margin: 8px 0 16px;
  }
}

@media (max-width: 480px) {
  .hero-dark .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }
}

@media (max-width: 375px) {
  .hero-dark .hero-content h1 {
    font-size: 24px;
  }
}

.hero-dark .hero-content h1 span {
  font-style: italic;
  font-weight: 400;
  color: #E6C280;
  background: linear-gradient(135deg, #E6C280 0%, #D48B38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-dark .hero-content p {
  font-size: 17px;
  color: #C7C1B8;
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .hero-dark .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero-dark .hero-content p {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hero-dark .hero-content p {
    font-size: 14px;
  }
}

/* Hero CTA Group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-cta-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-secondary,
  .hero-cta-group .btn-hero-watch-film {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.btn-hero-primary {
  background: var(--color-saffron);
  color: #161314;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(212, 139, 56, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-hero-primary:hover {
  background: #E6C280;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 139, 56, 0.45);
  color: #161314;
}

.btn-hero-secondary {
  background: transparent;
  color: #FAF8F5;
  border: 1px solid rgba(250, 248, 245, 0.35);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-hero-secondary:hover {
  background: rgba(250, 248, 245, 0.1);
  border-color: #FAF8F5;
  color: #FAF8F5;
  transform: translateY(-2px);
}

/* Stats on Dark */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.hero-stats-grid .stat-number {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #E6C280;
  display: block;
}

.hero-stats-grid .stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9E968F;
  margin-top: 2px;
  display: block;
}

@media (max-width: 1024px) {
  .hero-stats-grid {
    justify-content: center;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .hero-stats-grid .stat-number {
    font-size: 18px;
  }

  .hero-stats-grid .stat-label {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 375px) {
  .hero-stats-grid {
    gap: 4px;
  }

  .hero-stats-grid .stat-number {
    font-size: 15px;
  }

  .hero-stats-grid .stat-label {
    font-size: 8px;
    letter-spacing: 0.05em;
  }
}

.hero-visual {
  position: relative;
}

/* Image Card on Oxblood */
.hero-dark .hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(35, 8, 14, 0.55), 0 0 0 1px rgba(223, 186, 115, 0.25);
  position: relative;
  background: var(--color-oxblood-dark);
}

.hero-dark .hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.hero-dark .hero-image-card:hover img {
  transform: scale(1.03);
}

/* Floating Pill on Oxblood */
.hero-dark .hero-floating-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(45, 10, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(223, 186, 115, 0.35);
  box-shadow: 0 12px 32px rgba(30, 6, 12, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pill-kicker {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #E6C280;
  font-weight: 700;
  display: block;
}

.pill-title {
  font-size: 15px;
  font-weight: 600;
  color: #FAF8F5;
  margin: 2px 0;
}

.pill-desc {
  font-size: 11px;
  color: #ABA49C;
  display: block;
}

/* Slider Navigation Bar (Bottom Controls) */
.hero-slider-nav {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-dot {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8C847C;
  padding: 6px 0;
  transition: all 0.25s ease;
}

.hero-dot:hover {
  color: #FAF8F5;
}

.hero-dot.active {
  color: #FAF8F5;
}

.dot-number {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dot-line {
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.hero-dot.active .dot-line {
  width: 50px;
  background: var(--color-saffron);
}

.dot-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* Arrow Buttons */
.hero-slider-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #FAF8F5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-arrow-btn:hover {
  background: var(--color-saffron);
  border-color: var(--color-saffron);
  color: #161314;
  transform: scale(1.05);
}

/* Category Grid */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-header .subline {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-oxblood);
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 12px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.category-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  background: linear-gradient(160deg, #4A1A26 0%, #5E2230 55%, #421620 100%) !important;
  border-color: #DFBA73 !important;
  box-shadow: 0 20px 48px rgba(74, 26, 38, 0.4), 0 0 0 1.5px rgba(223, 186, 115, 0.45) !important;
  transform: translateY(-6px) !important;
}

.category-card:hover .category-card-body h3 {
  color: #FFFFFF !important;
}

.category-card:hover .category-card-body p {
  color: #FAF6F0 !important;
}

.category-card:hover .category-card-body span {
  color: #DFBA73 !important;
}

.category-card:hover .category-card-body div:last-child {
  border-top-color: rgba(223, 186, 115, 0.25) !important;
  color: #DFBA73 !important;
}

.category-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--color-sand);
  background-image: linear-gradient(135deg, #F3EFEA 0%, #E9E3DC 100%);
  transition: background 0.35s ease;
}

.category-card:hover .category-card-img {
  background: radial-gradient(circle at center, #632836 0%, #3E151F 100%) !important;
}

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

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

.category-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.product-card:hover {
  background: linear-gradient(160deg, #4A1A26 0%, #5E2230 55%, #421620 100%) !important;
  border-color: #DFBA73 !important;
  box-shadow: 0 20px 48px rgba(74, 26, 38, 0.4), 0 0 0 1.5px rgba(223, 186, 115, 0.45) !important;
  transform: translateY(-6px) !important;
}

.product-card:hover .product-card-title,
.product-card:hover .product-card-title a {
  color: #FFFFFF !important;
}

.product-card:hover .product-card-title a:hover {
  color: #E6C280 !important;
}

.product-card:hover .product-card-hindi {
  color: #DFBA73 !important;
}

.product-card:hover .product-card-desc,
.product-card:hover .product-card-body p {
  color: #FAF6F0 !important;
}

.product-card:hover .product-card-body span[style*="color:var(--color-taupe)"] {
  color: #D8CCC0 !important;
}

.product-card:hover .product-card-body span[style*="color:var(--color-oxblood)"] {
  color: #DFBA73 !important;
}

.product-card:hover .product-card-footer {
  border-top-color: rgba(223, 186, 115, 0.25) !important;
}

.product-card:hover .product-card-price {
  color: #DFBA73 !important;
}

.product-card:hover .product-card-footer .btn-secondary {
  background: linear-gradient(135deg, #DFBA73 0%, #C49948 100%) !important;
  color: #1A070D !important;
  border-color: #DFBA73 !important;
}

.product-card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--color-sand);
  overflow: hidden;
  transition: background 0.35s ease;
}

.product-card:hover .product-card-img {
  background: radial-gradient(circle at center, #632836 0%, #3E151F 100%) !important;
}

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

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

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

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  margin: 6px 0 2px;
}

.product-card-price {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-charcoal);
}

/* Live Bottle Mockup CSS */
.flacon-container {
  position: relative;
  width: 220px;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.flacon-cap {
  width: 60px;
  height: 52px;
  background: linear-gradient(90deg, #9C6623 0%, #DFBA73 50%, #9C6623 100%);
  border-radius: 8px 8px 2px 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid #221A15;
  z-index: 10;
}

.flacon-neck {
  width: 44px;
  height: 12px;
  background: #C4BCB3;
  border-left: 1px solid #A89F95;
  border-right: 1px solid #A89F95;
}

.flacon-body {
  position: relative;
  width: 190px;
  height: 280px;
  border-radius: 20px;
  border: 2px solid rgba(213, 204, 192, 0.9);
  box-shadow: 0 25px 50px -12px rgba(88, 24, 37, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #F5EBE1;
  transition: background 0.4s;
}

.flacon-reflection {
  position: absolute;
  top: 0;
  left: 12px;
  width: 14px;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  filter: blur(1px);
  transform: skewX(-10deg);
  pointer-events: none;
}

.flacon-liquid {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  height: 200px;
  background: linear-gradient(to top, rgba(212, 139, 56, 0.3) 0%, rgba(212, 139, 56, 0.1) 60%, transparent 100%);
  border-radius: 0 0 14px 14px;
  pointer-events: none;
}

.flacon-label {
  position: relative;
  width: 154px;
  padding: 24px 10px;
  background: rgba(250, 248, 245, 0.96);
  border: 1px solid #D5CCC0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.flacon-label-brand {
  font-size: 7px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-taupe);
  font-weight: 600;
}

.flacon-label-product {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-charcoal);
  margin: 3px 0;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flacon-label-name-preview {
  margin: 8px 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.flacon-label-name {
  color: var(--color-oxblood);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1.1;
  transition: all 0.25s;
}

.flacon-label-name.classic-serif {
  font-family: var(--font-serif);
  letter-spacing: 0.22em;
}

.flacon-label-name.modern-monogram {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0.28em;
}

.flacon-label-name.editorial-script {
  font-family: var(--font-script);
  font-size: 22px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

/* Footer */
.site-footer {
  background: var(--color-charcoal);
  color: var(--color-stone);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 60px;
}

.pillar-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-saffron-gold);
  flex-shrink: 0;
}

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

.footer-col h4 {
  color: #FFF;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--color-taupe-light);
}

.footer-col ul li a:hover {
  color: #FFF;
}

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

/* Modals & Drawers */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 27, 26, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--color-ivory);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-luxury-lg);
  position: relative;
  padding: 36px;
}

/* Slideover Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 90vw;
  background: var(--color-ivory);
  border-left: 1px solid var(--color-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

/* Mobile Navigation Drawer */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.mobile-menu-btn:hover {
  background: var(--color-sand);
}

.mobile-backdrop-overlay {
  z-index: 1050 !important;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 340px;
  max-width: 88vw;
  background: var(--color-ivory) !important;
  z-index: 1100 !important;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

/* Modern Mobile Navigation Links & Active Highlighting */
.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--color-charcoal);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.mobile-nav-link:hover {
  background: rgba(139, 26, 42, 0.04);
  color: var(--color-oxblood);
}

.mobile-nav-link.active {
  background: linear-gradient(135deg, rgba(139, 26, 42, 0.08) 0%, rgba(223, 186, 115, 0.16) 100%);
  color: var(--color-oxblood);
  font-weight: 700;
  border-color: rgba(223, 186, 115, 0.45);
  box-shadow: 0 2px 8px rgba(139, 26, 42, 0.07);
}

.mobile-nav-link.active .active-dot {
  color: var(--color-saffron-gold, #C8962A);
  font-size: 13px;
  animation: pulse-nav-dot 2.5s infinite ease-in-out;
}

/* Responsive Header Scaling */
@media (max-width: 1240px) {
  .nav-links {
    gap: 3px;
  }

  .nav-link-item {
    font-size: 11px;
    padding: 5px 8px;
    letter-spacing: 0.08em;
  }

  .brand-logo-title {
    font-size: 18px;
  }

  .brand-logo-domain {
    font-size: 12px;
  }

  .nav-actions {
    gap: 4px;
  }

  .icon-btn {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   Page Hero System — Modern Luxury Oxblood & Gold
   ========================================================================== */
.page-hero {
  position: relative;
  background-color: var(--color-oxblood);
  background-image: radial-gradient(circle at 75% 25%, #6E202F 0%, #581825 55%, #380E17 100%);
  color: #FAF8F5;
  padding: 46px 0 38px;
  overflow: hidden;
  border-bottom: 1px solid rgba(223, 186, 115, 0.28);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(223, 186, 115, 0.14) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-breadcrumb {
  font-size: 12px;
  color: rgba(250, 248, 245, 0.65);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.page-hero-breadcrumb a {
  color: rgba(250, 248, 245, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.page-hero-breadcrumb a:hover {
  color: #DFBA73;
}

.page-hero-breadcrumb .current {
  color: #DFBA73;
  font-weight: 600;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(223, 186, 115, 0.15);
  border: 1px solid rgba(223, 186, 115, 0.35);
  color: #DFBA73;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 5px 14px;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.18;
  color: #FAF8F5;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.page-hero-title em,
.page-hero-title span.accent {
  font-style: italic;
  font-weight: 400;
  color: #DFBA73;
}

.page-hero-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(250, 248, 245, 0.82);
  max-width: 720px;
  margin: 0 0 20px;
}

.page-hero-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.page-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 11.5px;
  color: rgba(250, 248, 245, 0.92);
  font-weight: 500;
}

.page-hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DFBA73;
}

.page-hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.page-hero-cta .btn-gold {
  background: #DFBA73;
  color: #380E17;
  font-weight: 700;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.page-hero-cta .btn-gold:hover {
  background: #E8CA8C;
  transform: translateY(-1px);
}

.page-hero-cta .btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #FAF8F5;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.page-hero-cta .btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .page-hero {
    padding: 36px 0 28px;
  }

  .page-hero-title {
    font-size: 28px;
  }

  .page-hero-desc {
    font-size: 13.5px;
  }
}


/* ====================================================
   CENTIFY ANIMATION SYSTEM v2.0
   ==================================================== */

/* --- Reveal on Scroll --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Stagger Items --- */
.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Fade Left / Right Variants --- */
.animate-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-left.visible,
.animate-fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Scale Reveal --- */
.animate-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Header Scrolled State --- */
.site-header.scrolled,
header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12) !important;
  background: rgba(255, 252, 248, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --- Reduced Motion Overrides --- */
@media (prefers-reduced-motion: reduce) {

  .reveal-on-scroll,
  .stagger-item,
  .animate-fade-left,
  .animate-fade-right,
  .animate-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Stat / Counter Pill --- */
.stat-counter {
  font-variant-numeric: tabular-nums;
}

/* --- Card Hover Lift (reusable) --- */
.card-hover {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* --- Hero Slide Transition --- */
.hero-slide {
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Smooth Underline Link --- */
.link-underline {
  position: relative;
  text-decoration: none;
}

.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s ease;
}

.link-underline:hover::after {
  width: 100%;
}

/* --- Mobile Animation Reductions --- */
@media (max-width: 768px) {
  .reveal-on-scroll {
    transform: translateY(18px);
  }

  .stagger-item {
    transform: translateY(14px);
  }
}

/* ====================================================
   CENTIFY MOBILE-FIRST RESPONSIVE SYSTEM v2.0
   ==================================================== */

/* --- Tablet & Small Desktop (max 1024px) --- */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  /* Hero grids */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* 3-col to 2-col */
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Typography scale down */
  .page-hero-title {
    font-size: 26px !important;
  }

  .font-serif[style*="font-size:4"] {
    font-size: 28px !important;
  }

  .font-serif[style*="font-size:3"] {
    font-size: 24px !important;
  }

  /* All 2-col grids become 1-col */
  [style*="grid-template-columns:1.5fr 1fr"],
  [style*="grid-template-columns: 1.5fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Card grids become 1 column on small mobile */
  [style*="grid-template-columns:repeat(auto-fill, minmax(280px"],
  [style*="grid-template-columns: repeat(auto-fill, minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  /* 3-col to 1-col on mobile */
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero metrics wrap */
  .page-hero-metrics {
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-hero-pill {
    font-size: 11px;
  }

  /* Sections reduce padding */
  .section-padding {
    padding: 40px 0 !important;
  }

  [style*="padding:70px 0"] {
    padding: 40px 0 !important;
  }

  [style*="padding: 70px 0"] {
    padding: 40px 0 !important;
  }

  /* Form grids become 1-col */
  [style*="grid-template-columns:1fr 1fr"][class*="form"],
  form [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Buttons stack */
  [style*="display:flex;gap"] .btn,
  [style*="display: flex; gap"] .btn {
    width: 100%;
    text-align: center;
  }

  /* Cart/Checkout layout */
  [style*="grid-template-columns:1.5fr 1fr"]>*:last-child {
    order: -1;
    /* Order summary first on mobile */
  }

  /* Announcement bar */
  .announcement-bar>.container {
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
  }

  /* Hero section padding */
  .page-hero {
    padding: 28px 0 20px !important;
  }
}

/* --- Small Mobile (max 480px) --- */
@media (max-width: 480px) {
  .page-hero-title {
    font-size: 22px !important;
  }

  /* 2-col pill/icon grids */
  [style*="grid-template-columns:1fr 1fr"]:not(form [style]) {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Full-width buttons on tiny screens */
  .btn-full {
    display: block;
    text-align: center;
  }
}

/* --- Admin Responsive --- */
@media (max-width: 768px) {
  .admin-sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    height: 100%;
    z-index: 1000;
    transition: left 0.3s ease;
  }

  .admin-sidebar.open {
    left: 0;
  }

  .admin-content {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .admin-header {
    padding: 12px 16px;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    white-space: nowrap;
  }
}

/* ====================================================
   CENTIFY RESPONSIVE SYSTEM v3.0 — MD FILE COMPLIANCE
   Based on Master Responsive & Admin Mobile MD specs
   ==================================================== */

/* --- Global overflow prevention (clip preserves sticky positioning) --- */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* --- Fluid container --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
}

/* --- Responsive Typography (fluid) --- */
.page-hero-title {
  font-size: clamp(22px, 4vw, 48px);
}

.font-serif-hero {
  font-size: clamp(24px, 5vw, 56px);
}

/* --- Touch targets --- */
.btn,
button,
[role=button],
.nav-link-item,
.sidebar-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* --- Sticky mobile purchase bar (product detail) --- */
.mobile-buy-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFF;
  border-top: 1px solid var(--color-border);
  padding: 12px 16px;
  z-index: 500;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

/* ====================================================
   BREAKPOINT: TABLET (max 1024px)
   ==================================================== */
@media (max-width:1024px) {

  /* Sticky header on tablet/mobile */
  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
    background: rgba(250, 248, 245, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  }

  .nav-wrapper {
    height: 68px !important;
  }

  /* Nav hides, hamburger shows */
  .nav-links {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  /* Two-col grids become single */
  .grid-2-col {
    grid-template-columns: 1fr !important;
  }

  /* Product grid: 2 cols */
  .product-grid,
  [style*="grid-template-columns:repeat(auto-fill, minmax(280px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ====================================================
   BREAKPOINT: LARGE MOBILE (max 768px)
   ==================================================== */
@media (max-width:768px) {

  /* Sticky header compact height on Mobile */
  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 900 !important;
    background: rgba(250, 248, 245, 0.98) !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
  }

  .nav-wrapper {
    height: 60px !important;
  }

  .brand-logo-text {
    font-size: 22px !important;
  }

  .brand-logo-img {
    height: 36px !important;
    max-width: 140px !important;
  }

  /* Spacing reductions */
  .section-padding {
    padding: 40px 0 !important;
  }

  [style*="padding:80px 0"] {
    padding: 40px 0 !important;
  }

  [style*="padding:70px 0"] {
    padding: 40px 0 !important;
  }

  [style*="padding:60px 0"] {
    padding: 36px 0 !important;
  }

  /* All grids stack on mobile */
  .grid-2-col,
  .product-detail-primary-grid,
  .form-row-2col,
  .delivery-meta-grid,
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.5fr 1fr"],
  [style*="grid-template-columns: 1.5fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns:1.3fr 1fr"],
  [style*="grid-template-columns: 1.3fr 1fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns:1fr 1.15fr"],
  [style*="grid-template-columns: 1fr 1.15fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns:1fr 1.3fr"],
  [style*="grid-template-columns: 1fr 1.3fr"],
  [style*="grid-template-columns:2fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns:220px 1fr"],
  [style*="grid-template-columns: 220px 1fr"],
  [style*="grid-template-columns:auto 1fr"],
  [style*="grid-template-columns: 1fr auto"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  /* Gap reductions */
  [style*="gap:64px"] {
    gap: 24px !important;
  }

  [style*="gap:60px"] {
    gap: 24px !important;
  }

  [style*="gap:50px"] {
    gap: 20px !important;
  }

  [style*="gap:48px"] {
    gap: 20px !important;
  }

  [style*="gap:44px"] {
    gap: 18px !important;
  }

  [style*="gap:40px"] {
    gap: 16px !important;
  }

  [style*="gap:36px"] {
    gap: 16px !important;
  }

  [style*="gap:32px"] {
    gap: 16px !important;
  }

  /* Hero adjustments & Slider dots */
  .page-hero {
    padding: 28px 0 20px !important;
  }

  .page-hero-metrics {
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-hero-pill {
    font-size: 10px !important;
    padding: 5px 10px !important;
  }

  .page-hero-breadcrumb {
    display: none;
  }

  .hero-slider-dots {
    gap: 12px !important;
    justify-content: center;
  }

  .hero-slider-dots .dot-label {
    display: none !important;
  }

  .hero-slider-dots .hero-dot.active .dot-line {
    width: 36px !important;
  }

  /* Announcement bar */
  .announcement-bar .container {
    flex-direction: column !important;
    gap: 4px !important;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }

  .footer-pillars {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Corporate enquiry section */
  #corporate-enquiry .container>div {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Cart & checkout */
  .cart-item {
    flex-direction: column !important;
  }

  .journey-timeline-grid,
  [style*="grid-template-columns:1fr auto 1fr auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .timeline-connector,
  [style*="grid-template-columns:1fr auto 1fr auto 1fr"]>div:nth-child(2),
  [style*="grid-template-columns:1fr auto 1fr auto 1fr"]>div:nth-child(4) {
    display: none !important;
  }

  .order-header-divider {
    display: none !important;
  }

  /* Show mobile buy bar on product detail & coordinate with floating concierges */
  .mobile-buy-bar {
    display: flex !important;
  }

  .main-product-buy {
    padding-bottom: 84px;
  }

  body.has-buy-bar .floating-concierge,
  body:has(.mobile-buy-bar) .floating-concierge {
    bottom: 80px !important;
  }

  body.has-buy-bar #cfy-trigger,
  body:has(.mobile-buy-bar) #cfy-trigger {
    bottom: 80px !important;
  }

  /* Tables: horizontal scroll */
  .admin-table,
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    white-space: nowrap;
    font-size: 12px;
  }

  /* Full-width buttons */
  .btn-full-mobile {
    width: 100%;
    justify-content: center;
  }
}

/* ====================================================
   BREAKPOINT: STANDARD MOBILE (max 480px)
   ==================================================== */
@media (max-width:480px) {

  /* Header action icon sizing */
  .nav-actions {
    gap: 8px !important;
  }

  .icon-btn {
    width: 36px !important;
    height: 36px !important;
  }

  /* Footer single col */
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-pillars {
    grid-template-columns: 1fr !important;
  }

  /* Product & category grids: 1 col on mobile */
  .product-grid,
  .category-grid,
  [style*="grid-template-columns:repeat(auto-fill, minmax(280px"],
  [style*="grid-template-columns:repeat(auto-fit, minmax(320px"] {
    grid-template-columns: 1fr !important;
  }

  /* Hide decorative orbs on mobile */
  [style*="position:absolute"][style*="border-radius:50%"] {
    display: none !important;
  }

  /* Font size floor */
  body {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Page hero tighter */
  .page-hero-title {
    font-size: 22px !important;
  }

  /* Floating pill sizing in hero */
  .hero-dark .hero-floating-pill {
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    padding: 10px 14px !important;
  }

  .pill-kicker {
    font-size: 8px !important;
  }

  .pill-meta {
    font-size: 11px !important;
  }

  /* Auth & Quiz card padding normalization */
  [style*="padding:48px 44px"],
  [style*="padding: 48px 44px"],
  [style*="padding:48px 40px"],
  [style*="padding: 48px 40px"],
  [style*="padding:40px"] {
    padding: 24px 18px !important;
  }
}

/* ====================================================
   BREAKPOINT: SMALL MOBILE (max 375px)
   ==================================================== */
@media (max-width:375px) {
  .container {
    padding-inline: 12px;
  }

  .page-hero-title {
    font-size: 20px !important;
  }

  .btn {
    font-size: 12px;
    padding: 10px 14px !important;
  }

  .nav-actions {
    gap: 4px !important;
  }

  .icon-btn {
    width: 32px !important;
    height: 32px !important;
  }

  .nav-action-account {
    display: none !important;
  }
}

/* ====================================================
   ADMIN PANEL RESPONSIVE (max 900px)
   ==================================================== */
@media (max-width:900px) {

  /* Admin stat cards: 2 columns */
  .admin-content [style*="grid-template-columns:repeat(4"],
  .admin-content [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Admin card headers wrap */
  .card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Admin form grids stack */
  .admin-content form [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Overflow filter bars wrap */
  .card-header>div {
    flex-wrap: wrap !important;
  }
}

@media (max-width:480px) {

  /* Admin stat cards: 1 column */
  .admin-content [style*="grid-template-columns:repeat(4"],
  .admin-content [style*="grid-template-columns:repeat(5"],
  .admin-content [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* Admin table action buttons stack */
  td [style*="white-space:nowrap"] {
    white-space: normal !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  td .btn-sm {
    width: 100%;
    text-align: center;
  }

  /* Reduce admin padding */
  .admin-content {
    padding: 12px !important;
  }

  .card {
    border-radius: 8px !important;
  }

  .card-header {
    padding: 14px 16px !important;
  }
}

/* ====================================================
   COOKIE CONSENT BANNER
   ==================================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1D1B1A;
  color: #E8E2D9;
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--color-saffron-gold, #DFBA73);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#cookie-banner.visible {
  transform: translateY(0);
}

#cookie-banner p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

#cookie-banner a {
  color: var(--color-saffron-gold, #DFBA73);
}

.cookie-btn-accept {
  background: var(--color-saffron-gold, #DFBA73);
  color: #1D0A08;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn-decline {
  background: transparent;
  color: #8A7968;
  border: 1px solid #555;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width:480px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-btn-accept,
  .cookie-btn-decline {
    width: 100%;
    text-align: center;
  }
}

/* ====================================================
   SECTION ENTRANCE & SCROLL ANIMATION SUITE
   ==================================================== */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.reveal-fade-in.visible {
  opacity: 1;
}

.reveal-scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ====================================================
   DISTINCTIVE BOX HOVER SYSTEM — REQ 4
   Different box groups get different background colors,
   tints, glows, and elevation.
   ==================================================== */

/* 1. Product Cards — Oxblood Tint & Gold Glow */
.product-card,
[class*="product-card"],
.shop-product-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease !important;
}

.product-card:hover,
[class*="product-card"]:hover,
.shop-product-card:hover {
  background-color: rgba(139, 26, 42, 0.035) !important;
  border-color: rgba(223, 186, 115, 0.45) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(139, 26, 42, 0.12), 0 4px 12px rgba(223, 186, 115, 0.1) !important;
}

/* 2. Studio / Interactive Cards — Warm Saffron Gold Tint */
.studio-card,
.signature-card,
.atelier-card,
[data-box-group="studio"] {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease !important;
}

.studio-card:hover,
.signature-card:hover,
.atelier-card:hover,
[data-box-group="studio"]:hover {
  background-color: rgba(223, 186, 115, 0.08) !important;
  border-color: var(--color-saffron-gold, #DFBA73) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 32px rgba(212, 139, 56, 0.15) !important;
}

/* 3. Review / Testimonial Cards — Warm Linen / Ivory Silk Tint */
.review-card,
.testimonial-card,
[data-box-group="review"] {
  transition: transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease !important;
}

.review-card:hover,
.testimonial-card:hover,
[data-box-group="review"]:hover {
  background-color: #FAF4EB !important;
  border-color: rgba(223, 186, 115, 0.35) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(29, 27, 26, 0.08) !important;
}

/* 4. Brand Value Pillars & Feature Boxes — Botanical Forest Green Tint */
.pillar-item,
.feature-box,
.value-box,
[data-box-group="feature"] {
  transition: transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease !important;
}

.pillar-item:hover,
.feature-box:hover,
.value-box:hover,
[data-box-group="feature"]:hover {
  background-color: rgba(26, 46, 38, 0.06) !important;
  border-color: rgba(26, 46, 38, 0.25) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(26, 46, 38, 0.08) !important;
}

/* 5. FAQ Accordion Items — Soft Warm Amber Glow */
.faq-item {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.faq-item:hover,
.faq-item.open {
  background-color: rgba(223, 186, 115, 0.06) !important;
  border-color: rgba(223, 186, 115, 0.35) !important;
}

/* ====================================================
   CONSULTATION LEAD-FORM MODAL
   ==================================================== */
.consultation-modal-card {
  max-width: 580px;
  background: #FFFDF9;
  border: 1px solid rgba(223, 186, 115, 0.35);
  box-shadow: 0 20px 60px rgba(29, 27, 26, 0.3);
  padding: 36px 32px;
  border-radius: 16px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-taupe, #8A7968);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--color-oxblood, #8B1A2A);
  transform: scale(1.15);
}

@media (max-width: 480px) {
  .consultation-modal-card {
    padding: 24px 18px !important;
  }
}

/* ====================================================
   FLOATING CONTROLS: WhatsApp LEFT | Back-to-Top RIGHT
   ==================================================== */
.floating-whatsapp-left {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.floating-whatsapp-left:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
}

/* Adjust chatbot trigger if stacked above whatsapp */
#cfy-trigger {
  bottom: 86px !important;
  left: 24px !important;
}

#cfy-panel {
  bottom: 152px !important;
  left: 24px !important;
}

/* Back to Top Button on the RIGHT */
.floating-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1D1B1A;
  color: var(--color-saffron-gold, #DFBA73);
  border: 1px solid rgba(223, 186, 115, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.2s;
}

.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-back-to-top:hover {
  background: var(--color-oxblood, #8B1A2A);
  color: #FFFFFF;
  border-color: var(--color-oxblood, #8B1A2A);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(139, 26, 42, 0.4);
}

/* Sticky Mobile Buy Bar elevation */
body.has-buy-bar .floating-whatsapp-left,
body.has-buy-bar .floating-back-to-top {
  bottom: 84px !important;
}

body.has-buy-bar #cfy-trigger {
  bottom: 146px !important;
}

body.has-buy-bar #cfy-panel {
  bottom: 212px !important;
}

/* ==========================================================================
   HERO VIDEO SHOWCASE & CINEMA LIGHTBOX (herosecion.mp4)
   ========================================================================== */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ambient backlight glow */
.hero-video-glow {
  position: absolute;
  top: -12%;
  left: -12%;
  width: 124%;
  height: 124%;
  background: radial-gradient(ellipse at center, rgba(223, 186, 115, 0.28) 0%, rgba(139, 26, 42, 0.4) 42%, transparent 72%);
  filter: blur(48px);
  -webkit-filter: blur(48px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Dedicated video card */
.hero-media-card.hero-video-card {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 440px;
  border-radius: var(--radius-lg, 24px);
  overflow: hidden;
  background: var(--color-oxblood-dark, #23080E);
  box-shadow: 0 28px 70px rgba(25, 4, 9, 0.7), 0 0 0 1px rgba(223, 186, 115, 0.35);
  display: flex;
  flex-direction: column;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-video-card:hover .hero-video-element {
  transform: scale(1.03);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 27, 26, 0.38) 0%, rgba(29, 27, 26, 0.08) 45%, rgba(29, 27, 26, 0.65) 100%);
  pointer-events: none;
}

/* Live video badge */
.hero-video-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(29, 27, 26, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(223, 186, 115, 0.35);
  color: #DFBA73;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E6C280;
  box-shadow: 0 0 0 0 rgba(230, 194, 128, 0.7);
  animation: heroBadgePulse 2s infinite;
}

@keyframes heroBadgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 194, 128, 0.7);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(230, 194, 128, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(230, 194, 128, 0);
  }
}

/* Interactive video controls on card */
.hero-video-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-video-ctrl-btn {
  height: 36px;
  min-height: 36px;
  border-radius: 50px;
  background: rgba(29, 27, 26, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FAF8F5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0 12px;
  font-size: 12px;
  font-family: inherit;
}

.hero-video-ctrl-btn:hover {
  background: rgba(139, 26, 42, 0.92);
  border-color: #DFBA73;
  color: #DFBA73;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-ctrl-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Watch Film CTA Button in Hero Content */
.btn-hero-watch-film {
  background: rgba(250, 248, 245, 0.08);
  border: 1px solid rgba(223, 186, 115, 0.4);
  color: #DFBA73;
  padding: 13px 22px;
  border-radius: var(--radius-sm, 8px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-hero-watch-film:hover {
  background: rgba(223, 186, 115, 0.16);
  border-color: #DFBA73;
  color: #FAF8F5;
  transform: translateY(-2px);
}

.watch-icon-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DFBA73;
  color: #1D1B1A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn-hero-watch-film:hover .watch-icon-ring {
  transform: scale(1.1);
  background: #FAF8F5;
}

/* Cinema Lightbox Modal */
.hero-cinema-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hero-cinema-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 4, 6, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-cinema-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  background: #1C0408;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(223, 186, 115, 0.4);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
  animation: cinemaModalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cinemaModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-cinema-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #25060D;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-cinema-close {
  background: transparent;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #FAF8F5;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.hero-cinema-close:hover {
  color: #DFBA73;
  background: rgba(255, 255, 255, 0.06);
}

.hero-cinema-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
  max-height: 65vh;
}

.hero-cinema-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-cinema-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #180307;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-media-card.hero-video-card {
    min-height: 280px;
    margin-top: 24px;
  }

  .hero-video-badge {
    top: 12px;
    left: 12px;
    font-size: 10px;
    padding: 4px 10px;
  }

  .hero-video-controls {
    top: 12px;
    right: 12px;
    gap: 6px;
  }

  .hero-video-ctrl-btn {
    height: 32px;
    min-height: 32px;
    padding: 0 8px;
    font-size: 11px;
  }

  .hero-cinema-modal {
    padding: 12px;
  }

  .hero-cinema-header {
    padding: 12px 16px;
  }

  .hero-cinema-footer {
    padding: 12px 16px;
  }
}

/* ── Mobile Sticky Quick-Buy Bar ── */
@media (max-width:768px) {
  #mobile-quick-buy {
    display: none;
  }

  /* JS controls flex display */
}

/* ====================================================
   SYSTEMATIC MOBILE RESPONSIVENESS FIXES (MOB-001 - MOB-009)
   ==================================================== */

/* MOB-001: Sampler Flight Tray Responsive Stacking */
@media (max-width: 540px) {

  #tray-slots.sampler-tray-grid,
  .sampler-tray-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .tray-slot {
    flex-direction: row !important;
    min-height: auto !important;
    padding: 12px 16px !important;
    gap: 12px !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .tray-slot .slot-name {
    margin-top: 0 !important;
  }
}

/* MOB-002: Olfactory Radar Chart Center & Stack */
@media (max-width: 480px) {
  .olfactory-radar-grid {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  #olfactory-radar {
    margin: 0 auto;
    max-width: 150px;
    height: auto;
  }

  .olfactory-radar-grid>div:last-child {
    width: 100%;
    text-align: left;
  }
}

/* MOB-005: Custom Combo Studio & Step Progression Responsive Adaptations */
@media (max-width: 640px) {
  #bottle-count-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #coffret-slots-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  #size-selector-wrap {
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  .btn-size-opt {
    flex: 1 1 calc(50% - 10px) !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .btn-config-mode {
    padding: 8px 12px !important;
    font-size: 11px !important;
  }

  .step-header-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}

/* ====================================================
   MOB-006: LUXURY MOBILE BOTTOM NAVIGATION TAB BAR
   ==================================================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(253, 251, 247, 0.96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(223, 186, 115, 0.4);
    box-shadow: 0 -4px 24px rgba(29, 27, 26, 0.08);
    z-index: 450;
    align-items: center;
    justify-content: space-around;
  }

  .mobile-bottom-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    text-decoration: none;
    color: var(--color-taupe, #8A7F75);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-bottom-tab svg {
    transition: transform 0.2s ease, stroke 0.2s ease;
  }

  .mobile-bottom-tab:active svg {
    transform: scale(0.9);
  }

  .mobile-bottom-tab.active {
    color: var(--color-oxblood, #8B1A2A);
    font-weight: 700;
  }

  .mobile-bottom-tab.active svg {
    stroke: var(--color-oxblood, #8B1A2A);
  }

  .mobile-bottom-tab-badge {
    position: absolute;
    top: 6px;
    left: calc(50% + 4px);
    background: var(--color-oxblood, #8B1A2A);
    color: #FFF;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 1.5px solid #FFF;
  }

  /* Extra bottom padding for body so content is not obscured by bottom bar */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* MOB-003: Product Quick-Buy Floating Bar (Safe-Area & 2-Row Compact on Mobile) */
#mobile-quick-buy {
  padding-bottom: max(12px, calc(10px + env(safe-area-inset-bottom, 0px))) !important;
}

@media (max-width: 420px) {
  #mobile-quick-buy {
    flex-wrap: wrap !important;
    padding: 8px 12px !important;
    padding-bottom: max(14px, calc(10px + env(safe-area-inset-bottom, 0px))) !important;
    gap: 8px !important;
  }

  #mobile-quick-buy>div:first-child {
    flex: 1 1 100% !important;
    margin-bottom: 2px;
  }

  #mobile-quick-buy>div:nth-child(2) {
    flex: 1 !important;
    justify-content: flex-start !important;
  }

  #mobile-quick-buy form#mqb-form {
    flex: 1 !important;
  }

  #mobile-quick-buy form#mqb-form button {
    width: 100% !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
}

/* MOB-004: Frequently Bought Together Bundle Grid Stacking */
@media (max-width: 600px) {
  .bundle-cross-sell-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .bundle-cross-sell-grid>div:last-child {
    border-left: none !important;
    border-top: 1px solid var(--color-border);
    padding-left: 0 !important;
    padding-top: 20px !important;
  }
}

/* MOB-005: 3-Style Typography Buttons Stacking / Wrapping */
@media (max-width: 420px) {
  .typography-style-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

/* MOB-007: WCAG 2.1 Compliant 44x44px Touch Targets for Modal Close Buttons */
.modal-close-btn,
#mobile-nav-close,
#cart-close,
#search-close,
#consultation-modal-close {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* MOB-001: Top Announcement Ticker Strict Sizing & Masking */
.top-info-strip {
  max-width: 100vw;
  overflow: hidden;
}

@media (max-width: 480px) {
  .top-info-container {
    height: 32px;
    padding: 0 8px !important;
  }

  .top-strip-left,
  .top-strip-right {
    display: none !important;
  }

  .top-strip-center {
    width: 100% !important;
  }

  .ticker-item {
    font-size: 11px !important;
  }

  #offer-countdown-bar {
    padding: 6px 10px !important;
    gap: 8px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }
}

/* MOB-007: DPDP Consent Modal Strict Sizing */
#dpdp-consent-modal .modal-card {
  max-width: calc(100% - 24px) !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  word-break: break-word !important;
}

/* MOB-008: Keepsake Box Finish Selector 1-Column Stack */
@media (max-width: 440px) {
  .keepsake-finish-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* MOB-009: Cart Items Overflow Wrap & Fluid Layout */
.cart-item-desc {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* MOB-004: Cart Drawer Footer Safe-Area Inset for Bezel-less Screens */
.cart-drawer-footer {
  padding-bottom: max(24px, calc(18px + env(safe-area-inset-bottom, 0px))) !important;
}
@media (max-width: 480px) {
  .cart-drawer-footer {
    padding: 16px 16px max(20px, calc(16px + env(safe-area-inset-bottom, 0px))) !important;
  }
}

/* ====================================================
   ADDITIONAL MOBILE ENHANCEMENTS & SAFEGUARDS
   ==================================================== */

/* Universal Responsive Table Container */
.table-responsive,
.admin-table-container,
[style*="overflow-x:auto"] {
  -webkit-overflow-scrolling: touch !important;
  max-width: 100% !important;
}

/* Fluid Media & Video Wrappers */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

/* MOB-002: Form inputs touch targets and prevent iOS zoom (WebKit 16px minimum rule) */
@media (max-width: 768px) {

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}



/* ====================================================
   CENTIFY COMPREHENSIVE MOBILE RESPONSIVENESS v4.0
   Full-site audit: All routes, sections & components
   ==================================================== */

/* ── Global safe-area & overflow prevention ── */
html,
body {
  overflow-x: clip;
  max-width: 100%;
}

/* ── Prevent horizontal scroll from hero video glow ── */
.hero-section.hero-dark {
  overflow: hidden;
}

/* ── Hero h1 fluid size (large h1 at 58px needs scaling) ── */
.hero-dark .hero-content h1 {
  font-size: clamp(30px, 6vw, 58px);
}

/* ── Hero CTA group: wrap on all small screens ── */
.hero-cta-group {
  flex-wrap: wrap;
}

/* ── Section 6 personalizer inner card padding ── */
@media (max-width: 768px) {

  /* Personalizer section inner card */
  [style*="padding:50px"] {
    padding: 28px 20px !important;
  }

  [style*="padding: 50px"] {
    padding: 28px 20px !important;
  }

  [style*="padding:50px 40px"] {
    padding: 28px 20px !important;
  }

  [style*="padding: 50px 40px"] {
    padding: 28px 20px !important;
  }

  /* Hero dark grid (1.2fr 1fr) stack */
  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 32px;
  }

  .hero-dark .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-grid {
    gap: 10px;
  }

  /* Hero visual full-width */
  .hero-visual {
    width: 100%;
  }

  /* Hero floating pill position fix */
  .hero-dark .hero-floating-pill {
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }

  /* Slide nav dots hidden labels already handled; ensure row wraps */
  .hero-slider-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hero-slider-nav>div {
    justify-content: center;
  }

  /* Additional inline-style 2-col grid coverage */
  [style*="grid-template-columns:1.15fr 1.05fr"],
  [style*="grid-template-columns: 1.15fr 1.05fr"],
  [style*="grid-template-columns:1.3fr 1fr"],
  [style*="grid-template-columns: 1.3fr 1fr"],
  [style*="grid-template-columns:1.15fr 1.05fr 0.95fr"],
  [style*="grid-template-columns: 1.15fr 1.05fr 0.95fr"],
  [style*="grid-template-columns:2fr 1fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Section 11: seasonal harvest inner grid */
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1.2fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Corporate enquiry section: form 2-col rows stack */
  .form-row-2col,
  #corp-enquiry-form [style*="grid-template-columns:1fr 1fr"],
  #corp-enquiry-form [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Consultation modal form 2-col grids stack */
  #consultation-modal-form [style*="grid-template-columns:1fr 1fr"],
  #consultation-modal-form [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Checkout form contact info 2-col stack */
  [style*="grid-column: span 2"],
  [style*="grid-column:span 2"] {
    grid-column: span 1 !important;
  }

  /* Footer newsletter: email+button wrap */
  .footer-col form[action*="newsletter"] {
    flex-direction: column !important;
  }

  .footer-col form[action*="newsletter"] input[type="email"] {
    border-radius: 8px !important;
  }

  .footer-col form[action*="newsletter"] button {
    border-radius: 8px !important;
    width: 100%;
  }

  /* Shop: filter bar wraps cleanly */
  [style*="display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Seasonal harvest stat grid: 3-col stays but text smaller */
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Gift builder/layering page inner padding */
  [style*="padding:40px 48px"],
  [style*="padding: 40px 48px"],
  [style*="padding:44px 40px"],
  [style*="padding: 44px 40px"] {
    padding: 24px 16px !important;
  }

  /* Account dashboard grid */
  [style*="grid-template-columns:260px 1fr"],
  [style*="grid-template-columns: 260px 1fr"],
  [style*="grid-template-columns:280px 1fr"],
  [style*="grid-template-columns: 280px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Contact page 2-col layout */
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Scent finder quiz panel */
  [style*="grid-template-columns:3fr 2fr"],
  [style*="grid-template-columns: 3fr 2fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Image heights on mobile – prevent overflow */
  [style*="height:400px"],
  [style*="height: 400px"] {
    height: 240px !important;
  }

  [style*="height:440px"],
  [style*="height: 440px"] {
    height: 260px !important;
  }

  [style*="height:480px"],
  [style*="height: 480px"] {
    height: 280px !important;
  }

  [style*="height:320px"],
  [style*="height: 320px"] {
    height: 220px !important;
  }

  /* Long hero headings */
  [style*="font-size:42px"],
  [style*="font-size: 42px"],
  [style*="font-size:40px"],
  [style*="font-size: 40px"] {
    font-size: clamp(24px, 5vw, 36px) !important;
  }

  [style*="font-size:38px"],
  [style*="font-size: 38px"],
  [style*="font-size:36px"],
  [style*="font-size: 36px"] {
    font-size: clamp(22px, 4.5vw, 32px) !important;
  }

  [style*="font-size:34px"],
  [style*="font-size: 34px"] {
    font-size: clamp(22px, 4vw, 30px) !important;
  }

  [style*="font-size:30px"],
  [style*="font-size: 30px"] {
    font-size: clamp(20px, 3.5vw, 26px) !important;
  }

  /* Layering product image pair */
  [style*="width:100px"][style*="height:130px"] {
    width: 80px !important;
    height: 104px !important;
  }
}

/* ── Small Mobile (max 480px) ── */
@media (max-width: 480px) {

  /* Hero h1 */
  .hero-dark .hero-content h1 {
    font-size: 28px;
  }

  /* Hero CTA buttons full-width */
  .hero-cta-group .btn,
  .hero-cta-group a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Hero stats: 3 small columns (numbers are short) */
  .hero-stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px;
  }

  .hero-stats-grid .stat-number {
    font-size: 18px;
  }

  .hero-stats-grid .stat-label {
    font-size: 9px;
  }

  /* Section header h2 */
  .section-header h2 {
    font-size: 26px !important;
  }

  /* Category/product cards: ensure 1-col */
  .category-grid,
  .products-grid {
    grid-template-columns: 1fr !important;
  }

  /* Offer countdown bar wrap */
  #offer-countdown-bar {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center;
  }

  /* Product card footer (price + button) stack */
  .product-card-body>div:last-child {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  /* Cart drawer width */
  .cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Consultation form inline grids */
  [style*="display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px"] {
    grid-template-columns: 1fr !important;
  }

  /* Checkout email field span reset */
  [style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }

  /* Search modal sizing */
  #search-modal .modal-card {
    padding: 16px !important;
    margin: 10px;
  }

  /* VIP Guild invitation section padding */
  [style*="padding:70px 0"] {
    padding: 40px 0 !important;
  }

  /* Section 14: Concierge box padding */
  [style*="padding:48px 40px"] {
    padding: 24px 16px !important;
  }

  /* Blog post grid: 1-col */
  [style*="grid-template-columns:repeat(auto-fit, minmax(min(100%, 280px)"] {
    grid-template-columns: 1fr !important;
  }

  /* Studio / personalizer typography buttons */
  .typography-style-grid,
  [style*="grid-template-columns:repeat(3, 1fr)"][style*="gap:10px"] {
    grid-template-columns: 1fr !important;
  }

  /* Flacon preview: center on mobile */
  .flacon-container {
    width: 160px !important;
    height: 280px !important;
    margin: 0 auto;
  }

  .flacon-body {
    width: 140px !important;
    height: 208px !important;
  }

  .flacon-label {
    width: 114px !important;
  }

  /* Admin table: min font */
  table {
    font-size: 11px;
  }
}

/* ── Narrow Mobile (max 375px) ── */
@media (max-width: 375px) {

  /* Nav actions gap tighten — but keep wishlist + cart visible */
  .nav-actions {
    gap: 2px !important;
  }

  .icon-btn {
    width: 32px !important;
    height: 32px !important;
  }

  /* Hide account icon only at 375px (wishlist+cart kept) */
  .nav-action-account {
    display: none !important;
  }

  /* Hero h1 floor */
  .hero-dark .hero-content h1 {
    font-size: 24px;
  }

  /* Floating controls: avoid overlapping on very small screens */
  .floating-whatsapp-left {
    width: 44px !important;
    height: 44px !important;
    bottom: 16px !important;
    left: 12px !important;
  }

  .floating-back-to-top {
    width: 40px !important;
    height: 40px !important;
    bottom: 16px !important;
    right: 12px !important;
  }
}

/* ── Tablet (768px – 1024px) improvements ── */
@media (min-width: 769px) and (max-width: 1024px) {

  /* Product grid 2-col on tablet */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Hero grid: single column on tablet (between 768-1024) */
  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .hero-dark .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  /* Footer: 2-col on tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

  /* Corporate enquiry: single col on tablet */
  #corporate-enquiry .container>div {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Shop hero: single col on tablet */
  [style*="grid-template-columns: 1.4fr 1fr"][style*="gap:36px"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Section 5 scent finder quiz panel: stack on tablet */
  [style*="grid-template-columns:1.2fr 1fr"][style*="gap:40px"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* ── Shop filter bar: horizontal scroll with snap ── */
@media (max-width: 768px) {

  /* Category filter tab strip: scroll-snap */
  [style*="display:flex; gap:10px; overflow-x:auto"] {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px !important;
  }

  [style*="display:flex; gap:10px; overflow-x:auto"] .btn {
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  /* Sort/filter bar: column stack */
  [style*="display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; font-size:13px"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  [style*="display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; font-size:13px"] form {
    width: 100%;
  }

  [style*="display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; font-size:13px"] select {
    width: 100%;
  }
}

/* ── Ensure cart drawer full-screen on small mobile ── */
@media (max-width: 420px) {
  .cart-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
  }
}

/* ── Mobile nav drawer: ensure it never overflows on narrow screens ── */
@media (max-width: 340px) {
  .mobile-nav-drawer {
    max-width: 96vw !important;
  }
}

/* ── Checkout: span-2 fields must become full-width on mobile ── */
@media (max-width: 768px) {

  [style*="grid-column: span 2"],
  [style*="grid-column:span 2"] {
    grid-column: 1 / -1 !important;
  }
}

/* MOB-008: Checkout Form Fields, Address Trio & Payment Cards Stacking on Mobile */
@media (max-width: 480px) {
  .checkout-form-grid,
  .checkout-payment-grid,
  .checkout-address-trio {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  [style*="padding:32px; border-radius:var(--radius-lg)"],
  [style*="padding: 32px; border-radius: var(--radius-lg)"],
  [style*="padding:32px; border-radius: var(--radius-lg)"] {
    padding: 16px !important;
  }
}

/* ── Account dashboard sidebar on mobile ── */
@media (max-width: 768px) {

  /* Dashboard sidebar + content stack */
  [style*="grid-template-columns:260px 1fr"],
  [style*="grid-template-columns: 260px 1fr"],
  [style*="grid-template-columns:250px 1fr"],
  [style*="grid-template-columns: 250px 1fr"],
  [style*="grid-template-columns:240px 1fr"],
  [style*="grid-template-columns: 240px 1fr"],
  [style*="grid-template-columns:280px 1fr"],
  [style*="grid-template-columns: 280px 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── wishlist / account pages grid stacking ── */
@media (max-width: 768px) {

  [style*="grid-template-columns:repeat(auto-fill, minmax(260px"],
  [style*="grid-template-columns: repeat(auto-fill, minmax(260px"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 480px) {

  [style*="grid-template-columns:repeat(auto-fill, minmax(260px"],
  [style*="grid-template-columns: repeat(auto-fill, minmax(260px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Prevent very long words from overflowing containers ── */
.dropdown-item-title,
.dropdown-item-desc,
.product-card-title,
h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ── Touch-safe tap targets for mobile navigation icons ── */
@media (max-width: 768px) {
  .icon-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .nav-link-item {
    padding: 14px 4px;
  }

  /* Footer links: bigger touch area */
  .footer-col ul li a {
    display: inline-block;
    padding: 4px 0;
    min-height: 36px;
    line-height: 36px;
  }
}

/* ── Search modal: full-width on mobile ── */
@media (max-width: 600px) {
  #search-modal .modal-card {
    max-width: calc(100vw - 24px) !important;
    padding: 20px 16px !important;
  }

  #modal-search-input {
    font-size: 16px !important;
    /* prevents iOS zoom */
  }
}

/* ── DPDP modal: ensure it doesn't overflow on narrow screens ── */
@media (max-width: 375px) {
  #dpdp-consent-modal .modal-card {
    padding: 16px 12px !important;
  }

  #dpdp-consent-modal .modal-card label {
    gap: 8px !important;
  }
}

/* ── Blog index/detail grid stacking ── */
@media (max-width: 640px) {

  [style*="grid-template-columns:repeat(auto-fit, minmax(min(100%, 280px)"],
  [style*="grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── 404 page: center content on mobile ── */
@media (max-width: 600px) {

  .error-page-content,
  [class*="not-found"],
  [style*="text-align:center"][style*="padding:100px"] {
    padding: 40px 20px !important;
  }
}

/* ── Footer bottom: ensure no horizontal overflow ── */
@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .footer-bottom>div:last-child {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

/* ── Coutndown bar on mobile ── */
@media (max-width: 600px) {
  #offer-countdown-bar {
    gap: 6px !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
  }
}

/* ── Product detail page: main grid stacks on mobile ── */
@media (max-width: 768px) {

  /* Mobile buy bar: ensure it shows correctly */
  .mobile-buy-bar {
    display: flex !important;
    align-items: center;
  }

  /* Product title scaling */
  .product-detail-title,
  [style*="font-size:32px"],
  [style*="font-size: 32px"] {
    font-size: clamp(22px, 5vw, 28px) !important;
  }
}

/* ── Studios pages (scent finder, personalizer, gift builder) ── */
@media (max-width: 768px) {

  /* Scent finder quiz option grids */
  [style*="grid-template-columns:repeat(2, 1fr)"][style*="gap:12px"],
  [style*="grid-template-columns: repeat(2, 1fr)"][style*="gap:12px"] {
    grid-template-columns: 1fr 1fr !important;
    /* keep 2-col for option cards */
  }

  /* Sampler flight: single col already handled by MOB-001 */

  /* Gift builder keepsake finish: single col at 440px already via MOB-008 */
}

/* ====================================================
   MOB-012 - MOB-017: STUDIOS & CONTENT RESPONSIVENESS
   ==================================================== */

/* MOB-012: Personalization Studio Stacking & Fluid Sizing */
.personalize-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .personalize-studio-card {
    padding: clamp(16px, 4vw, 32px) !important;
  }
  .personalize-studio-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* MOB-013: Gift Builder Studio Stacking */
.gift-builder-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
.gift-narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .gift-builder-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .gift-narrative-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* MOB-014: Layering Studio Ritual Chemistry & Duo Stacking */
.layering-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: center;
}
.layering-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: center;
}
.layering-climate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .layering-hero-grid,
  .layering-pair-grid,
  .layering-climate-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* MOB-015: Contact Page Concierge Form & Details Stacking */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: flex-start;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .contact-main-grid,
  .contact-narrative-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}
@media (max-width: 540px) {
  .contact-form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* MOB-016: Story Page Heritage Stills Stacking */
.story-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .story-split-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}

/* MOB-017: Subscription Modal Address Trio Stacking */
.sub-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.sub-address-trio {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .sub-form-row,
  .sub-address-trio {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ── Back to top: don't overlap mobile buy bar ── */
@media (max-width: 768px) {
  body.has-buy-bar .floating-back-to-top {
    bottom: 84px !important;
  }

  body.has-buy-bar .floating-whatsapp-left {
    bottom: 84px !important;
  }

  body.has-buy-bar #cfy-trigger {
    bottom: 148px !important;
  }
}

/* ── Safe overflow prevention — targeted, not global ── */
/* Only constrain images that are NOT inside explicit height containers */
.container img:not([style*="height"]):not(.hero-video-element):not(.hero-image-card img):not(.spotlight-img):not(.flacon-body *) {
  max-width: 100%;
}

/* Fluid images in text content / blog / etc */
.blog-content img,
.page-content img,
article img {
  max-width: 100%;
  height: auto;
}

/* Preserve product card image height (prevents invisible products bug) */
.product-card-img,
.product-card-img a {
  display: block;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

@media (max-width: 480px) {
  .product-card-img img {
    height: 220px;
  }
}

/* Preserve category card image height */
.category-card-img,
.category-card-img img {
  display: block;
}

.category-card-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

@media (max-width: 480px) {
  .category-card-img img {
    height: 200px;
  }
}

/* Spotlight image: fixed dimensions */
.spotlight-img {
  width: 95px !important;
  height: 115px !important;
  max-width: none !important;
}

/* Hero video: always fill container */
.hero-video-element {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.hero-image-card img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

/* Flacon body: no max-width constraint */
.flacon-body {
  max-width: none !important;
}

/* Iframes and embeds: fluid only when responsive */
.video-embed-wrapper iframe,
.embed-container iframe {
  max-width: 100%;
}

/* ── Shop filter bar: proper responsive layout ── */
@media (max-width: 768px) {

  /* Category tab strip stays scrollable */
  .shop-filter-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }

  .shop-filter-tabs .btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  /* Sort/filter form: selects go full-width and stack */
  .shop-sort-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100%;
  }

  .shop-sort-form select {
    width: 100% !important;
    font-size: 14px !important;
    padding: 10px 12px !important;
  }

  /* The inline-style form in shop/index.php */
  form[method="GET"][action*="shop"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }

  form[method="GET"][action*="shop"] select {
    width: 100% !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }

  form[method="GET"][action*="shop"] input[type="hidden"] {
    display: none;
  }
}

/* ── Product grid: proper responsive columns ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ── Category grid: proper responsive columns ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Stagger items: ensure they become visible on mobile even without JS ── */
@media (max-width: 768px) {

  /* Fallback: if JS hasn't fired IntersectionObserver, show items after 0.5s */
  .stagger-item {
    animation: staggerFallback 0.01s 0.8s forwards;
  }

  @keyframes staggerFallback {
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* Items that JS marks as visible override the animation */
  .stagger-item.visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ── Reveal on scroll: fallback for mobile ── */
@media (max-width: 768px) {
  .reveal-on-scroll {
    animation: revealFallback 0.01s 0.3s forwards;
  }

  @keyframes revealFallback {
    to {
      opacity: 1;
      transform: none;
    }
  }

  .reveal-on-scroll.visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ====================================================
   COMPREHENSIVE MOBILE HERO & CATALOG OVERRIDES (v5.0)
   ==================================================== */

/* 1. Hero Showcase Mobile Perfection */
@media (max-width: 768px) {
  #hero-showcase.hero-section {
    padding: 32px 0 28px !important;
    overflow-x: hidden !important;
  }

  #hero-showcase .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #hero-showcase .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center !important;
    width: 100% !important;
    align-items: center !important;
  }

  #hero-showcase .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  #hero-showcase .badge-hero {
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
    padding: 5px 14px !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    max-width: 100% !important;
    margin: 0 auto 14px !important;
    display: inline-block !important;
  }

  #hero-showcase h1 {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.2 !important;
    margin: 6px auto 14px !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  #hero-showcase h1 span {
    display: inline-block !important;
    white-space: normal !important;
  }

  #hero-showcase p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #C7C1B8 !important;
    max-width: 100% !important;
    margin: 0 auto 20px !important;
    text-align: center !important;
  }

  #hero-showcase .hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }

  #hero-showcase .hero-cta-group .btn-hero-primary,
  #hero-showcase .hero-cta-group .btn-hero-secondary,
  #hero-showcase .hero-cta-group .btn-hero-watch-film {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 13px 20px !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  #hero-showcase .hero-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 20px auto 0 !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    text-align: center !important;
  }

  #hero-showcase .hero-stats-grid>div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  #hero-showcase .hero-stats-grid .stat-number {
    font-size: clamp(13px, 3.8vw, 17px) !important;
    font-weight: 700 !important;
    color: #E6C280 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    display: block !important;
  }

  #hero-showcase .hero-stats-grid .stat-label {
    font-size: 9px !important;
    letter-spacing: 0.05em !important;
    color: #9E968F !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
    display: block !important;
  }

  #hero-showcase .hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  #hero-showcase .hero-video-glow {
    display: none !important;
  }

  #hero-showcase .hero-media-card.hero-video-card {
    min-height: auto !important;
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
  }
}

/* 2. Shop Filter Bar & Stacking */
@media (max-width: 768px) {

  .shop-filter-tabs,
  [style*="display:flex; gap:10px; overflow-x:auto"] {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 6px !important;
    width: 100% !important;
  }

  .shop-filter-tabs::-webkit-scrollbar,
  [style*="display:flex; gap:10px; overflow-x:auto"]::-webkit-scrollbar {
    display: none !important;
  }

  .shop-filter-tabs .btn,
  [style*="display:flex; gap:10px; overflow-x:auto"] .btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 11.5px !important;
    padding: 8px 14px !important;
  }

  form[method="GET"][action*="shop"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  form[method="GET"][action*="shop"] select {
    width: 100% !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }
}

/* ====================================================
   MOBILE VISIBILITY & RESPONSIVE SUITE (v5.2)
   ==================================================== */

/* Unconditional visibility for product cards, images, and catalog sections */
section[aria-label*="Catalog"],
section[aria-label*="Catalog"].reveal-fade-up,
section[aria-label*="Catalog"].reveal-on-scroll,
.products-grid,
.products-grid .product-card,
.product-card,
.product-card-body,
.product-card-img,
.product-card-img img,
.stagger-item,
.reveal-on-scroll,
.reveal-fade-up,
.reveal-fade-in,
.reveal-scale-in {
  visibility: visible !important;
}

/* On mobile devices: Never hide page sections or products behind 0 opacity */
@media (max-width: 768px) {

  .reveal-fade-up,
  .reveal-on-scroll,
  .reveal-fade-in,
  .reveal-scale-in,
  .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

.product-card,
.products-grid .product-card {
  opacity: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Product image must ALWAYS fill its container 100% with no empty gaps */
.product-card-img {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  background: var(--color-sand) !important;
}

@media (min-width: 1025px) {
  .product-card-img {
    aspect-ratio: 4 / 5 !important;
  }
}

.product-card-img img {
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}

/* Mobile: Compact 2-column grid — Zero space wastage */
@media (max-width: 768px) {
  section[aria-label="Fragrances Catalog"] {
    padding: 18px 0 36px !important;
  }

  section[aria-label="Fragrances Catalog"] .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-card {
    border-radius: 10px !important;
    margin: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  }

  .product-card-img {
    aspect-ratio: 1 / 1 !important;
  }

  .product-card-badges {
    top: 6px !important;
    left: 6px !important;
    gap: 3px !important;
  }

  .product-card-badges .badge {
    font-size: 8px !important;
    padding: 2px 5px !important;
    border-radius: 3px !important;
    letter-spacing: 0.02em !important;
  }

  .product-card-body {
    padding: 10px 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
  }

  .product-card-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    margin: 3px 0 2px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 33px !important;
  }

  .product-card-notes {
    display: none !important;
  }

  .product-card-footer {
    margin-top: 8px !important;
    padding-top: 8px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .product-card-price {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    display: block !important;
  }

  .product-card-footer .btn,
  .product-card-footer button {
    width: 100% !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
    justify-content: center !important;
  }
}

/* Floating controls on small mobile screens */
@media (max-width: 480px) {
  .floating-whatsapp-left {
    width: 44px !important;
    height: 44px !important;
    bottom: 16px !important;
    left: 12px !important;
    z-index: 990 !important;
  }

  #cfy-trigger {
    width: 44px !important;
    height: 44px !important;
    bottom: 68px !important;
    left: 12px !important;
    z-index: 991 !important;
  }

  .floating-back-to-top {
    width: 40px !important;
    height: 40px !important;
    bottom: 16px !important;
    right: 12px !important;
    z-index: 990 !important;
  }
}

/* Comprehensive Mobile Responsiveness Hardening (320px–480px) */
@media (max-width: 480px) {

  /* Prevent any rogue horizontal container breakout */
  html,
  body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
  }

  /* Single-message Top Strip optimization */
  .top-strip {
    font-size: 11px !important;
  }

  .top-info-container {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Ensure flacon size pill selectors fit on 320px */
  .crown-attar-card .size-pill-btn,
  .masterpiece-card .size-pill-btn {
    padding: 6px 1px !important;
    font-size: 10.5px !important;
  }

  /* Full-width touch buttons for cart and checkout */
  .btn-full-mobile {
    width: 100% !important;
  }

  /* Modal touch padding */
  .modal-card {
    padding: 20px 16px !important;
    margin: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* ==========================================================================
   PREMIUM LUXURY SCROLL & INTERACTION SYSTEM (Master Specification)
   ========================================================================== */

/* 1. Staggered Hero Sequence Animations */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-dark .hero-badge,
.page-hero-badge {
  animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-dark .hero-content h1,
.page-hero-title {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero-dark .hero-content p,
.page-hero-desc {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.hero-dark .hero-actions,
.page-hero-metrics {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-visual-card,
.hero-media-wrapper {
  animation: heroScaleIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* 2. Micro-Interactions on Interactive Elements */
.product-card,
.crown-attar-card,
.masterpiece-card,
.category-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  will-change: transform, box-shadow;
}

.product-card:hover,
.crown-attar-card:hover,
.masterpiece-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(29, 27, 26, 0.09) !important;
}

/* Flacon Image Gentle Breathing Hover */
.product-card:hover .product-card-img img,
.crown-attar-card:hover .crown-flacon-img {
  transform: scale(1.05);
}

.product-card-img img,
.crown-flacon-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Smooth Tap Active State for Buttons */
.btn:active,
.btn-primary:active,
.btn-gold:active,
.btn-secondary:active {
  transform: scale(0.97) !important;
  transition: transform 0.1s ease !important;
}

/* 3. Accessibility: Respect prefers-reduced-motion unconditionally */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}