/* ============================
   BEONE — Luxury Fashion Brand
   Design System & Styles
   ============================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Prompt:wght@200;300;400;500;600;700&family=Kanit:wght@200;300;400;500;600;700&display=swap');

/* Prevent language flicker on load */
html.lang-loading [data-i18n] {
  visibility: hidden !important;
}
html.lang-loading [data-i18n-placeholder] {
  color: transparent !important;
}
html.lang-loading [data-i18n-placeholder]::placeholder {
  color: transparent !important;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
}

/* Hide floating contact widget when modal is active */
html.modal-open #b-float-widget,
body.modal-open #b-float-widget {
  display: none !important;
}

/* ── CSS Variables ── */
:root {
  /* Brand Colors */
  --maroon-deep: #3A0A0A;
  --maroon: #4A0E0E;
  --maroon-light: #6B1A1A;
  --maroon-soft: #8B2E2E;
  --cream: #F5F0E8;
  --cream-light: #FAF8F4;
  --cream-dark: #E8E0D0;
  --brown: #8B6914;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray: #6B6B6B;
  --gray-light: #A0A0A0;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Kanit', serif;
  --font-body: 'Kanit', sans-serif;
  --font-accent: 'Kanit', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1280px;
  --gap: 2rem;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.25s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.15);

  /* Theme-aware colors (light default) */
  --bg-primary: #FAF8F4;
  --bg-secondary: #F5F0E8;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAF8F4;
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-muted: #A0A0A0;
  --border-color: #E8E0D0;
  --nav-bg: rgba(58, 10, 10, 0.95);
  --input-bg: rgba(255,255,255,0.1);
  --overlay-bg: rgba(0,0,0,0.5);
}

/* ── Dark Theme ── */
[data-theme="dark"] {
  --bg-primary: #0d0d0d;
  --bg-secondary: #161616;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --text-primary: #e8e0d0;
  --text-secondary: #a0a0a0;
  --text-muted: #6b6b6b;
  --border-color: #2a2a2a;
  --nav-bg: rgba(10, 10, 10, 0.97);
  --cream: #161616;
  --cream-light: #0d0d0d;
  --cream-dark: #2a2a2a;
  --black: #e8e0d0;
  --white: #f0ece4;
  --gray: #a0a0a0;
  --gray-light: #6b6b6b;
  --input-bg: rgba(255,255,255,0.06);
  --overlay-bg: rgba(0,0,0,0.7);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.25);
}

/* ── Gold Dust Canvas (per-section) ── */
.gold-dust-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
  scrollbar-width: thin;
  overflow-y: auto;
}

/* Use overlay scrollbar on supported browsers so scrollbar doesn't steal width */
@supports (overflow-y: overlay) {
  body { overflow-y: overlay; }
}

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

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

ul {
  list-style: none;
}

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

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--cream-dark);
  color: var(--maroon-deep);
  text-align: center;
  padding: 8px 12px;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  width: 100%;
  z-index: 2000;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.announcement-text {
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 1;
  transform: translateY(0);
  display: inline-block;
}
.announcement-text.hide {
  opacity: 0;
  transform: translateY(-10px);
}
.announcement-text.prepare {
  opacity: 0;
  transform: translateY(10px);
  transition: none; 
}

.lang-currency-switch {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
}

.lang-currency-switch .lang-btn {
  cursor: pointer;
  transition: color 0.3s ease;
}

.lang-currency-switch .lang-btn:hover,
.lang-currency-switch .lang-btn.active {
  color: var(--gold);
}

@media (max-width: 768px) {
  .lang-currency-switch {
    display: none;
  }
}

/* ── Mobile Language Switcher ── */
.mobile-lang-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.mobile-lang-switch .lang-btn {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gray);
  cursor: pointer;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1.5px solid transparent;
  transition: all 0.3s ease;
}

.mobile-lang-switch .lang-btn:hover {
  color: var(--maroon);
}

.mobile-lang-switch .lang-btn.active {
  color: var(--maroon-deep);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  font-weight: 600;
}

.mobile-lang-divider {
  color: var(--cream-dark);
  font-size: 1.2rem;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

/* ── Container ── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--maroon);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.8;
}

/* ══════════════════════════
   NAVIGATION
   ══════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--maroon-deep);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1440px; /* expanded from var(--container-width) */
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 56px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active {
  color: var(--text-primary);
}

.nav-cart-btn.active {
  color: var(--gold);
  text-shadow: 0 0 15px rgba(201, 168, 76, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream-light);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--maroon);
  letter-spacing: 2px;
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-nav a svg {
  width: 32px !important;
  height: 32px !important;
  margin-bottom: 5px; /* Add slight spacing if they are stacked */
}

/* ══════════════════════════
   HERO SECTION
   ══════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--maroon-deep);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.55;
  animation: slowZoomHero 25s ease-in-out infinite alternate;
  transform-origin: center 25%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
}

@keyframes slowZoomHero {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

@keyframes gradientShiftHero {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #fff8e7;
  border: 1px solid rgba(201, 168, 76, 0.6);
  padding: 0.8rem 2.5rem;
  margin-bottom: 2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(74, 14, 14, 0.85), rgba(58, 10, 10, 0.9));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(201, 168, 76, 0.25), inset 0 1px 0 rgba(201, 168, 76, 0.3);
  text-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
  animation: badgeGlow 3s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
  animation: badgeShine 4s ease-in-out infinite;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 0 25px rgba(201, 168, 76, 0.25), inset 0 1px 0 rgba(201, 168, 76, 0.3); }
  100% { box-shadow: 0 0 35px rgba(201, 168, 76, 0.4), inset 0 1px 0 rgba(201, 168, 76, 0.5); }
}

@keyframes badgeShine {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-description {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
}

/* Minimalist Hero Additions */
.hero-minimal {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-minimal .hero-title {
  font-weight: 400;
  letter-spacing: 1px;
}
.hero-minimal .hero-description {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  letter-spacing: 0;
  max-width: 100%;
}

/* Hero cinematic reveal animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Gold accent divider */
.hero-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.25rem auto;
  animation: heroExpandLine 0.7s 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heroExpandLine {
  from { width: 0; opacity: 0; }
  to   { width: 160px; opacity: 1; }
}

/* Slogan soft gold shimmer */
.hero-slogan {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
}
@keyframes sloganShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--maroon-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--maroon-deep);
  border: none;
  text-transform: none;
  letter-spacing: 0.5px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-weight: 600;
  padding: 1rem 2.8rem;
  position: relative;
  overflow: hidden;
}

.btn-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
  /* removed hero shimmer */
}

@keyframes heroShimmer {
  0% { left: -100%; }
  40% { left: 150%; }
  100% { left: 150%; }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero-cta-float {
  animation: gentleFloat 3.5s ease-in-out infinite;
}

.hero-buttons .btn {
  padding: 0.95rem 1.5rem !important;
  font-size: 0.95rem !important;
  min-width: 170px !important;
  justify-content: center !important;
}

@media (max-width: 768px) {
  .hero-buttons .btn {
    padding: 0.85rem 1.2rem !important;
    font-size: 0.85rem !important;
    min-width: 140px !important;
  }
}

.btn-white:hover {
  background: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn-maroon {
  background: var(--maroon);
  color: var(--white);
}

.btn-maroon:hover {
  background: var(--maroon-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold-outline {
  background: rgba(201, 168, 76, 0.08);
  border: 1.5px solid rgba(201, 168, 76, 0.5);
  color: var(--gold);
  border-radius: 50px;
  padding: 1rem 2.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.08), inset 0 0 15px rgba(201, 168, 76, 0.04);
}

.btn-gold-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
  /* removed hero shimmer */
}

.btn-gold-outline::after {
  content: '✦';
  margin-left: 8px;
  font-size: 0.6rem;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.btn-gold-outline:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2), 0 0 40px rgba(201, 168, 76, 0.1), inset 0 0 20px rgba(201, 168, 76, 0.06);
}

.btn-gold-outline:hover::after {
  opacity: 1;
  text-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Hero scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,0.5);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════
   SECTIONS
   ══════════════════════════ */
section {
  padding: var(--section-padding);
}

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

/* ── Best Sellers Section ── */
.bestseller-section {
  background: var(--white);
  position: relative;
}

.bestseller-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.bestseller-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.bestseller-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(58, 10, 10, 0.12), 0 0 0 1px rgba(201, 168, 76, 0.15);
}

/* Rank Badge */
.bestseller-rank {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 40px;
  height: 40px;
  background: var(--maroon-deep);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(58, 10, 10, 0.3);
  border: 2px solid rgba(201, 168, 76, 0.4);
}

/* Image */
.bestseller-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream);
}

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

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

/* Badge on image */
.bestseller-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #fff3c4, #ffe88a, #ffd94f);
  color: #7a5300;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  z-index: 3;
  box-shadow: 0 3px 14px rgba(213, 140, 30, 0.5);
  animation: goldPulse 2.5s ease-in-out infinite;
}

/* Info */
.bestseller-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bestseller-category {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.bestseller-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--maroon-deep);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.bestseller-desc {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.bestseller-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.bestseller-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--maroon-deep);
  margin-top: auto;
}

.bestseller-sold {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray);
  background: rgba(201, 168, 76, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

@media (max-width: 768px) {
  .bestseller-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* ── Featured / Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 24px rgba(60, 10, 10, 0.07);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream);
}

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

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--maroon);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
}

.product-badge.limited {
  background: rgba(10, 10, 10, 0.95);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
  animation: goldAuraPulse 2.5s ease-in-out infinite;
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
}

@keyframes goldAuraPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(201, 168, 76, 0.2); transform: scale(1); }
  50% { box-shadow: 0 0 22px rgba(201, 168, 76, 0.6); transform: scale(1.03); }
}

.product-badge.bestseller {
  background: linear-gradient(135deg, #fff3c4, #ffe88a, #ffd94f);
  color: #7a5300;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  box-shadow: 0 3px 14px rgba(255, 220, 80, 0.45);
  animation: goldPulse 2.5s ease-in-out infinite;
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
}

.product-badge.hot {
  background: linear-gradient(135deg, #fff3c4, #ffe88a, #ffd94f);
  color: #7a5300;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  box-shadow: 0 3px 14px rgba(213, 140, 30, 0.5);
  animation: goldPulse 2.5s ease-in-out infinite;
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
}

@keyframes hotPulse {
  0%, 100% { box-shadow: 0 3px 12px rgba(229, 57, 53, 0.45); transform: scale(1); }
  50% { box-shadow: 0 5px 20px rgba(255, 112, 67, 0.65); transform: scale(1.05); }
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 3px 14px rgba(213, 140, 30, 0.5); transform: scale(1); }
  50% { box-shadow: 0 5px 22px rgba(245, 184, 0, 0.7); transform: scale(1.05); }
}

.product-badge.sale {
  background: linear-gradient(135deg, #ff1744, #d50000);
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.7rem;
  box-shadow: 0 3px 12px rgba(213, 0, 0, 0.4);
  animation: salePulse 2s ease-in-out infinite;
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
}

@keyframes salePulse {
  0%, 100% { box-shadow: 0 3px 12px rgba(213, 0, 0, 0.4); transform: scale(1); }
  50% { box-shadow: 0 4px 18px rgba(213, 0, 0, 0.6); transform: scale(1.05); }
}

.product-badge.coming-soon {
  background: var(--gold);
  color: var(--maroon-deep);
}

/* Stack multiple product badges gracefully without overlapping */
.product-card-image > .product-badge {
  left: 0.85rem !important;
}

/* If a product is sold out, show ONLY the SOLD OUT badge and hide all other badges */
.product-card-image:has(.soldout) > .product-badge:not(.soldout) {
  display: none !important;
}
.product-card-image > .product-badge:nth-of-type(1) {
  top: 0.85rem !important;
}
.product-card-image > .product-badge:nth-of-type(2) {
  top: calc(0.85rem + 30px) !important;
}
.product-card-image > .product-badge:nth-of-type(3) {
  top: calc(0.85rem + 60px) !important;
}

.product-card-info {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-category {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--maroon-deep);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.product-card-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--maroon-deep);
  margin-top: auto;
  padding-top: 0.5rem;
}

.price-original {
  text-decoration: line-through;
  color: #999;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-right: 0.5rem;
  font-weight: 700;
}

.price-discount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #d32f2f;
}

.product-card-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray);
}

.product-colors {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.08);
  transition: var(--transition-fast);
}

.color-dot:hover {
  transform: scale(1.2);
  border-color: var(--gold);
}

/* ── Categories Section ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(58, 10, 10, 0.85) 0%,
    rgba(58, 10, 10, 0.2) 50%,
    transparent 100%
  );
  z-index: 1;
  transition: var(--transition);
}

.category-card:hover::before {
  background: linear-gradient(
    to top,
    rgba(58, 10, 10, 0.9) 0%,
    rgba(58, 10, 10, 0.35) 60%,
    rgba(58, 10, 10, 0.1) 100%
  );
}

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

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

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
  transform: translateY(10px);
  transition: var(--transition);
}

.category-card:hover .category-info {
  transform: translateY(0);
}

.category-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.category-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  font-weight: 300;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.category-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  transition: var(--transition-fast);
}

.category-card:hover .category-link svg {
  transform: translateX(4px);
}

/* ── New Brand Story Section ── */
.brand-story-new {
  background: var(--maroon-deep);
  padding: 6rem 0;
  position: relative;
  text-align: center;
}

.story-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.story-title {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.story-title span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.story-content-box {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  padding: 3.5rem 2.5rem;
  margin-bottom: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--white);
  border-style: solid;
}

.story-corner.top-left {
  top: -2px; left: -2px;
  border-width: 2px 0 0 2px;
}
.story-corner.top-right {
  top: -2px; right: -2px;
  border-width: 2px 2px 0 0;
}
.story-corner.bottom-left {
  bottom: -2px; left: -2px;
  border-width: 0 0 2px 2px;
}
.story-corner.bottom-right {
  bottom: -2px; right: -2px;
  border-width: 0 2px 2px 0;
}

.story-content-box p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  line-height: 1.9;
  margin-bottom: 1.8rem;
}
.story-content-box p:last-child {
  margin-bottom: 0;
}

.story-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  flex-wrap: wrap;
}
.story-logo-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  animation: logo-float 4s ease-in-out infinite;
}
.story-logo-item:nth-child(2) {
  animation-delay: 0.6s;
}
.story-logo-item:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.click-hint {
  position: absolute;
  top: -40px; 
  background: linear-gradient(135deg, #dfbc6e, #c9a84c); /* Bright gold to rich gold */
  color: var(--maroon-deep);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
  white-space: nowrap;
  animation: floatHint 2s infinite ease-in-out;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}
.click-hint::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #c9a84c transparent transparent transparent;
}
@keyframes floatHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.story-logo-item:hover .click-hint {
  opacity: 1;
}
.story-logos img {
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease, border-color 0.4s ease, filter 0.4s ease;
  cursor: pointer;
  animation: img-glow-pulse 3s ease-in-out infinite;
}

@keyframes img-glow-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 12px rgba(201, 168, 76, 0.08); }
  50% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 22px rgba(201, 168, 76, 0.25); }
}

.story-logo-item:hover img {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(201, 168, 76, 0.35);
  border-color: rgba(201, 168, 76, 0.5);
  filter: brightness(1.08);
}

.hover-spark {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 15;
  box-shadow: 0 0 8px 3px rgba(255, 200, 100, 0.8), 0 0 15px rgba(255, 150, 0, 0.6);
  animation: spark-fly ease-out forwards;
}

@keyframes spark-fly {
  0% { transform: translateY(0) scale(1); opacity: 1; filter: brightness(1.5); }
  100% { transform: translateY(-70px) scale(0.1); opacity: 0; filter: brightness(1); }
}


@media (max-width: 768px) {
  .story-logos {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .story-logo-item {
    flex: 0 0 30%;
    max-width: 30%;
    animation: mobile-float 3s ease-in-out infinite;
  }
  .story-logo-item:nth-child(2) {
    animation-delay: 0.4s;
  }
  .story-logo-item:nth-child(3) {
    animation-delay: 0.8s;
  }
  .story-logos img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(201, 168, 76, 0.12);
  }
  .click-hint {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    opacity: 0.8;
  }
}

@keyframes mobile-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ── Lifestyle Banner ── */
.lifestyle-banner {
  height: 80vh;
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  margin: 2rem 0 4rem;
  overflow: hidden;
}

.lifestyle-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.lifestyle-slide {
  position: absolute;
  top: -10px; left: -10px; right: -10px; bottom: -10px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
  transform: scale(1.05);
  filter: saturate(1.1);
}

.lifestyle-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Depth layers */
.lifestyle-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.lifestyle-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.gold-dust-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.lifestyle-banner-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.4));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.lifestyle-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-weight: 400;
  letter-spacing: 1px;
}

.gold-gradient {
  background: linear-gradient(
    90deg,
    #c9a84c 0%,
    #f5d680 20%,
    #c9a84c 40%,
    #fff8e0 50%,
    #c9a84c 60%,
    #f5d680 80%,
    #c9a84c 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-shimmer 3s ease-in-out infinite;
}

.gold-glow {
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.6)) drop-shadow(0 0 20px rgba(201, 168, 76, 0.3));
}

.gold-subtle {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  opacity: 0.85;
}

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

/* ── Sparkle ✨ ── */
.sparkle-wrap {
  position: relative;
  display: inline-block;
}

.sparkle {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0;
  animation: sparkle-blink 4s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
  content: '';
  position: absolute;
  background: linear-gradient(135deg, #fff8e0, #f5d680);
  border-radius: 1px;
}

.sparkle::before {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.sparkle::after {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.sparkle-1 {
  top: -8px;
  right: -14px;
  width: 14px;
  height: 14px;
  animation-delay: 0s;
}

.sparkle-2 {
  bottom: -4px;
  left: -10px;
  width: 10px;
  height: 10px;
  animation-delay: 1.2s;
}

.sparkle-3 {
  top: -6px;
  right: -12px;
  width: 12px;
  height: 12px;
  animation-delay: 0.6s;
}

.sparkle-4 {
  bottom: -2px;
  left: -8px;
  width: 8px;
  height: 8px;
  animation-delay: 1.8s;
}

@keyframes sparkle-blink {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  25% { opacity: 1; transform: scale(1) rotate(15deg); }
  50% { opacity: 0.6; transform: scale(0.8) rotate(-10deg); }
  75% { opacity: 1; transform: scale(1.1) rotate(20deg); }
  85% { opacity: 0.3; transform: scale(0.6) rotate(0deg); }
}

.lifestyle-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
}

.lifestyle-dots {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  z-index: 3;
}

.lifestyle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.lifestyle-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.lifestyle-dot.active {
  background: var(--gold);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.lifestyle-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  z-index: 3;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}

.lifestyle-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.lifestyle-prev { left: 2.5rem; }
.lifestyle-next { right: 2.5rem; }

.lifestyle-nav svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* ── Fortune Modal (Tarot) ── */
.fortune-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(8px);
}
.fortune-modal.active {
  opacity: 1;
  pointer-events: all;
}
.fortune-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.fortune-card-container {
  width: 320px;
  height: 480px;
  perspective: 1200px;
  z-index: 10;
}
.fortune-card {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 1.2s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}
.fortune-modal.show-reveal .fortune-card {
  transform: rotateY(180deg);
}
.fortune-card-inner {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.fortune-card-front, .fortune-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 20px rgba(201,168,76,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--maroon-deep);
  background-image: radial-gradient(circle at center, rgba(201,168,76,0.15) 0%, transparent 70%);
}
.fortune-card-front {
  padding: 0;
  overflow: hidden;
  position: absolute;
  top: 0; left: 0;
  background-image: 
    radial-gradient(circle at center, rgba(201,168,76,0.2) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(201,168,76,0.05) 0px, rgba(201,168,76,0.05) 2px, transparent 2px, transparent 8px);
  transform: rotateY(0deg);
}
.fortune-card-front img {
  max-width: 100%;
  opacity: 1;
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.6));
}
.fortune-card-back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0; left: 0;
}
.fortune-inner-border {
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  margin: 12px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  background: rgba(0, 0, 0, 0.15);
}
.fortune-back-logo {
  width: 40px;
  margin-bottom: 2rem;
  opacity: 0.85;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.5));
}
.fortune-close {
  position: absolute;
  top: 5px; right: 5px;
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
  padding: 5px;
  line-height: 1;
}
.fortune-close:hover { color: var(--gold); }
.fortune-label {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 1.5rem;
}
.fortune-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(201,168,76,0.6);
}
.fortune-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.fortune-footer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: auto;
}

/* ── Cardigan Origins ── */
.cardigan-origin {
  padding: 6rem 0;
  background: var(--cream);
  color: var(--text-primary);
  text-align: center;
}
.origin-header {
  margin-bottom: 4rem;
}
.origin-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--maroon);
  margin-bottom: 1rem;
  font-weight: 300 !important;
}
.origin-desc p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}
.origin-cards {
  display: grid;
  grid-template-columns: repeat(2, 450px);
  justify-content: center;
  gap: 3rem;
}
.origin-card {
  background: var(--white);
  border-radius: 28px;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  color: var(--maroon-deep);
  text-align: left;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  position: relative;
}
.origin-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}
.origin-card-subtitle {
  font-size: 1.1rem;
  color: var(--maroon);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.origin-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #fbfbfb; /* Light neutral to match user image */
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.origin-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.premium-limited {
  background: linear-gradient(180deg, #1f110c 0%, #0a0503 100%);
  color: #eed690;
  border: 1px solid #c9a84c;
  padding: 8px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), 
              0 0 20px rgba(223, 188, 110, 0.15), 
              inset 0 1px 1px rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  animation: premiumFloat 4s ease-in-out infinite; 
}

@keyframes premiumFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.6), 0 0 25px rgba(223, 188, 110, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1); }
}

.premium-limited::before,
.premium-limited::after {
  content: '★';
  color: #dfbc6e;
  font-size: 0.9rem;
  animation: starPulse 2s infinite alternate ease-in-out;
}

@keyframes starPulse {
  0% { opacity: 0.6; text-shadow: 0 0 2px rgba(223,188,110,0); transform: scale(0.9); }
  100% { opacity: 1; text-shadow: 0 0 8px rgba(223,188,110,0.8); transform: scale(1.1); }
}
.btn-soldout {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: default;
  font-family: var(--font-body);
}

/* ── Social Contact Cards ── */
.social-cards-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.social-contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 340px;
  text-align: left;
}
.social-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.social-contact-icon {
  width: 60px;
  height: 60px;
  background: var(--maroon-deep);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-contact-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--gold);
}
.social-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.social-contact-info h4 {
  font-size: 1.1rem;
  color: var(--maroon-deep);
  font-weight: 700;
  margin: 0;
}
.social-handle {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}
.social-desc {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

@media (max-width: 992px) {
  .origin-cards {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .origin-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .lifestyle-banner {
    height: 60vh;
    min-height: 400px;
  }
  .lifestyle-title {
    font-size: 2rem;
  }
  .lifestyle-subtitle {
    font-size: 0.85rem;
    letter-spacing: 4px;
  }
  .lifestyle-nav {
    width: 36px;
    height: 36px;
  }
  .lifestyle-prev { left: 1rem; }
  .lifestyle-next { right: 1rem; }
  .lifestyle-nav svg { width: 18px; height: 18px; }
}

/* ── Luxury Review Hero ── */
.review-hero {
  background-color: #1a0505;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,168,76,0.08) 0%, transparent 50%),
    linear-gradient(160deg, #1a0505 0%, #2d0b0b 40%, #3d1010 70%, #1a0505 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding: 160px 2rem 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.review-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(26,5,5,0.5) 0%, transparent 30%),
    linear-gradient(0deg, rgba(26,5,5,0.5) 0%, transparent 25%);
  pointer-events: none;
}

.review-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 3.5rem 3rem;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 4px;
}

/* Gold decorative corners */
.review-hero-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  border-style: solid;
}

.review-hero-corner--tl {
  top: -1px; left: -1px;
  border-width: 2px 0 0 2px;
}
.review-hero-corner--tr {
  top: -1px; right: -1px;
  border-width: 2px 2px 0 0;
}
.review-hero-corner--bl {
  bottom: -1px; left: -1px;
  border-width: 0 0 2px 2px;
}
.review-hero-corner--br {
  bottom: -1px; right: -1px;
  border-width: 0 2px 2px 0;
}

.review-hero-content {
  position: relative;
  z-index: 1;
}

.review-hero-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.review-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--cream-light);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.review-hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 1.5rem;
}

.review-hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

/* Score display */
.review-hero-score {
  margin-bottom: 2rem;
}

.review-hero-score-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 0.5rem;
}

.review-hero-big-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.review-hero-out-of {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.6);
}

.review-hero-score-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.review-hero-score-stars svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
  filter: drop-shadow(0 1px 2px rgba(201,168,76,0.3));
}

.review-hero-score-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.65);
  font-weight: 300;
}

.review-hero-score-text strong {
  font-weight: 700;
  color: var(--gold-light);
}

/* Verified badges */
.review-hero-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.review-hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.85);
  font-weight: 400;
  transition: var(--transition);
}

.review-hero-badge:hover {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.35);
}

.review-hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .review-hero {
    padding: 130px 1rem 50px;
  }
  .review-hero-inner {
    padding: 2rem 1.5rem;
  }
  .review-hero-big-num {
    font-size: 3rem;
  }
  .review-hero-badges {
    gap: 0.75rem;
  }
  .review-hero-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .review-hero-inner {
    padding: 1.5rem 1rem;
  }
  .review-hero-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Review Filters ── */
.review-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.5rem 0;
}

.review-filter {
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  border: 1px solid rgba(201,168,76,0.3);
  background: #FDFBF7;
  color: var(--maroon);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.review-filter:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--maroon);
}

.review-filter.active {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}

.review-card.filtered-out {
  display: none;
}

/* ── Reviews Section ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: #FDFBF7;
  padding: 2rem 2rem 1.75rem;
  border-radius: 20px;
  border: 1px solid rgba(201,168,76,0.18);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: var(--transition);
  position: relative;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border-color: rgba(201,168,76,0.35);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(201,168,76,0.12);
  line-height: 1;
}

/* Review tag */
.review-tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  background: rgba(201,168,76,0.1);
  color: #8B6914;
  border: 1px solid rgba(201,168,76,0.2);
}

.review-tag.tag-verified {
  background: rgba(74,14,14,0.06);
  color: var(--maroon-soft);
  border-color: rgba(74,14,14,0.15);
}

.review-tag.tag-repeat {
  background: rgba(201,168,76,0.12);
  color: #8B6914;
  border-color: rgba(201,168,76,0.25);
}

.review-tag.tag-new {
  background: rgba(74,14,14,0.04);
  color: var(--gray);
  border-color: rgba(0,0,0,0.08);
}

.review-tag.tag-bestseller {
  background: rgba(201,168,76,0.15);
  color: #6B5210;
  border-color: rgba(201,168,76,0.3);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0.85rem;
}

.review-stars svg {
  width: 15px;
  height: 15px;
  fill: #C4A24E;
}

.review-stars svg.star-empty {
  fill: var(--cream-dark);
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-weight: 300;
  font-style: normal;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201,168,76,0.1);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(201,168,76,0.3);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-info h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}

.review-author-info p {
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 300;
}

/* ── Stats Banner ── */
.stats-banner {
  background: var(--maroon);
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.stat-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
}

/* ══════════════════════════
   CUSTOMER GALLERY
   ══════════════════════════ */
.gallery-section {
  background: var(--maroon-deep);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.gallery-section .section-label {
  color: var(--gold);
}

.gallery-section .section-title {
  color: var(--white);
}

.gallery-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.customer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  background: var(--cream-dark);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 168, 76, 0.2);
  border-color: rgba(201, 168, 76, 0.4);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.65);
}

/* Badge */
.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--maroon);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 3;
  border: 1px solid rgba(201, 168, 76, 0.3);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.gallery-badge--new {
  background: rgba(201, 168, 76, 0.9);
  color: var(--maroon-deep);
  border-color: var(--gold);
}

.gallery-badge--set {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-soft));
  border-color: var(--gold);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(58, 10, 10, 0.95) 0%,
    rgba(58, 10, 10, 0.65) 45%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 1;
  transition: background 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  background: linear-gradient(
    to top,
    rgba(58, 10, 10, 0.98) 0%,
    rgba(58, 10, 10, 0.8) 50%,
    rgba(58, 10, 10, 0.2) 100%
  );
}

/* Stars */
.gallery-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.6rem;
}

.gallery-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

/* Product name */
.gallery-product {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

/* Quote */
.gallery-quote {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.6rem;
}

/* Author row */
.gallery-author-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.gallery-author {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

@media (max-width: 768px) {
  .customer-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 480px) {
  .customer-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item--lg {
    grid-row: span 1;
  }
}

/* ══════════════════════════
   FOOTER
   ══════════════════════════ */
.footer {
  background: var(--maroon-deep);
  padding: 5rem 0 0;
  color: var(--white);
}

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

.footer-brand .nav-logo {
  margin-bottom: 1.25rem;
}

.footer-brand .nav-logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  font-weight: 300;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
}

.footer-social a:hover svg {
  fill: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

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

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.55);
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* ══════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════ */
.page-hero {
  background-color: var(--maroon-deep) !important;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Premium IG-Reel Style Marquee Grid */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* Repeating SVG "BEONE" outline text */
  background-image: url("data:image/svg+xml,%3Csvg width='300' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='50%25' y='50%25' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='2' font-family='Arial, Helvetica, sans-serif' font-size='42' font-weight='900' text-anchor='middle' dominant-baseline='middle' letter-spacing='6'%3EBEONE%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  z-index: 1;
  pointer-events: none;
  /* Smooth diagonal drift */
  animation: heroPatternDiagonal 20s linear infinite;
  /* Fades the pattern smoothly into the dark maroon edges */
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 80%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 80%);
}

@keyframes heroPatternDiagonal {
  0% { background-position: 0 0; }
  100% { background-position: -300px 120px; } /* Matches SVG width/height for seamless infinite loop */
}


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

.page-hero .section-label {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: heroTextUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}

.page-hero .section-title {
  color: var(--white);
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: heroTextUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}

.page-hero .section-subtitle {
  color: rgba(255,255,255,0.65);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: heroTextUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

.page-hero .breadcrumb {
  position: relative;
  margin-top: 1.5rem;
  z-index: 2;
  opacity: 0;
  animation: heroTextUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s forwards;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.page-hero .breadcrumb a {
  color: var(--gold);
}

.page-hero .breadcrumb a:hover {
  color: var(--gold-light);
}

/* ══════════════════════════
   PRODUCTS PAGE
   ══════════════════════════ */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid var(--cream-dark);
  color: var(--gray);
  background: transparent;
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

/* ── Special Filter Tabs ── */
.filter-tab[data-filter="bestseller"] {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.15));
  border-color: var(--gold);
  color: var(--gold) !important;
  font-weight: 600 !important;
  position: relative;
  overflow: hidden;
}

.filter-tab[data-filter="bestseller"]::before {
  content: '✦';
  margin-right: 5px;
  font-size: 0.55rem;
}

.filter-tab[data-filter="bestseller"]:hover {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.25));
  border-color: var(--gold);
  color: var(--gold) !important;
  box-shadow: 0 3px 12px rgba(201, 168, 76, 0.25);
}

.filter-tab[data-filter="bestseller"].active {
  background: linear-gradient(135deg, var(--gold), #d4b96a);
  color: var(--maroon-deep) !important;
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}

.filter-tab[data-filter="sale"] {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.06), rgba(211, 47, 47, 0.12));
  border-color: rgba(211, 47, 47, 0.4);
  color: #d32f2f !important;
  font-weight: 600 !important;
  position: relative;
  overflow: hidden;
}

.filter-tab[data-filter="sale"]::before {
  content: '%';
  margin-right: 5px;
  font-size: 0.7rem;
  font-weight: 800;
}

.filter-tab[data-filter="sale"]:hover {
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.12), rgba(211, 47, 47, 0.2));
  border-color: #d32f2f;
  color: #d32f2f !important;
  box-shadow: 0 3px 12px rgba(211, 47, 47, 0.2);
}

.filter-tab[data-filter="sale"].active {
  background: linear-gradient(135deg, #ff1744, #d50000);
  color: #fff !important;
  border-color: #d32f2f;
  box-shadow: 0 4px 15px rgba(213, 0, 0, 0.35);
}

.filter-tab.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}

/* ══════════════════════════
   CONTACT PAGE
   ══════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--cream-light);
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--maroon);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
}

.contact-info-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--maroon);
  margin-bottom: 0.35rem;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 300;
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--maroon);
  font-weight: 500;
}

.contact-info-card a:hover {
  color: var(--gold);
}

/* ── Map placeholder ── */
.map-container {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.04);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══ CONTACT PAGE — NEW DESIGN ═══ */
.contact-new-section {
  background: var(--white);
  padding: 4rem 0 5rem;
}

.contact-new-header {
  text-align: center;
  margin-bottom: 4rem;
}
.contact-new-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.contact-new-grid {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.contact-brand-circle-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  background: #FAF8F4;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-brand-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--maroon);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(106, 27, 32, 0.15), 0 0 0 16px rgba(106, 27, 32, 0.06);
  animation: circleFloat 4s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
}

.contact-brand-circle:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 10px rgba(106, 27, 32, 0.25), 0 0 0 20px rgba(106, 27, 32, 0.1), 0 0 40px rgba(106, 27, 32, 0.15);
}

.contact-brand-circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-bottom-color: var(--gold);
  animation: circleRotate 6s linear infinite;
  opacity: 0.5;
}

@keyframes circleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes circleRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.contact-circle-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: brightness(0) invert(1);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

.contact-circle-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 12px rgba(255, 255, 255, 0.3); }
}

.contact-circle-text span {
  font-size: 0.65rem;
  letter-spacing: 4px;
  opacity: 0.7;
  font-weight: 400;
}

.contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-left: 1px solid rgba(0,0,0,0.08);
  padding-left: 3rem;
}

.contact-link-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--black);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.25s ease;
  padding: 0.5rem 0;
}
.contact-link-row svg {
  color: var(--maroon);
  flex-shrink: 0;
}
.contact-link-row:hover {
  color: var(--maroon);
  transform: translateX(4px);
}
.contact-link-row:hover svg {
  color: var(--gold);
}

/* Service Cards */
.contact-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #FAF8F4;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.contact-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.contact-service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-service-icon svg {
  stroke: var(--gold);
}

.contact-service-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}

.contact-service-card p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-brand-circle-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }
  .contact-social-links {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-left: 0;
    padding-top: 1.5rem;
    align-items: center;
  }
  .contact-service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-brand-circle {
    width: 160px;
    height: 160px;
  }
}

/* ══════════════════════════
   REVIEWS PAGE
   ══════════════════════════ */
.review-stats {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  margin-bottom: 3rem;
  border: 1px solid rgba(0,0,0,0.04);
}

.review-score {
  text-align: center;
}

.review-score-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--maroon);
  line-height: 1;
}

.review-score .review-stars {
  justify-content: center;
  margin: 0.5rem 0;
}

.review-score p {
  font-size: 0.85rem;
  color: var(--gray);
}

.review-bars {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.review-bar-row span:first-child {
  font-size: 0.8rem;
  color: var(--gray);
  min-width: 50px;
  text-align: right;
}

.review-bar {
  flex: 1;
  height: 8px;
  background: var(--cream);
  border-radius: 100px;
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 100px;
  transition: width 1s ease;
}

.review-bar-row span:last-child {
  font-size: 0.8rem;
  color: var(--gray);
  min-width: 30px;
}

/* ══════════════════════════
   SCROLL REVEAL
   ══════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

  .brand-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .review-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 24px 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-buttons {
    flex-direction: column;
  }

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

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

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

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

  .brand-values {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 120px 0 60px;
  }
}

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

  .nav-container {
    height: 65px;
  }

  .filter-tabs {
    gap: 0.5rem;
  }

  .filter-tab {
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
  }

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

/* ── Coming Soon Card ── */
.coming-soon-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
}

.coming-soon-card .product-card-image {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-icon {
  font-size: 3rem;
  opacity: 0.6;
}

/* ── Newsletter (footer) ── */
.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: 4px 0 0 4px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  border-radius: 0 4px 4px 0;
  color: var(--maroon-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--gold-light);
}

/* ── Line connector separator ── */
.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 300px;
  padding: 1rem 0;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.separator svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  opacity: 0.5;
}

/* ═══ AUTH PAGES (Login, Register, Forgot) ═══ */
.auth-page {
  background: url('../../images/hero-banner.png') center/cover no-repeat fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}
.auth-page::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 5, 3, 0.75); /* Dark cinematic overlay */
  backdrop-filter: blur(8px);
}
.auth-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
}
.auth-box {
  background: #fdfaf6; /* Soft warm white, matching reference */
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  text-align: center;
  color: #1a1a1a;
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.auth-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.auth-logo {
  max-width: 140px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}
.auth-box h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--maroon-deep);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.auth-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 2rem;
}
.auth-box form {
  text-align: left;
}
.input-group {
  margin-bottom: 1.25rem;
}
.input-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}
.input-group input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #e0d5c1;
  border-radius: 8px;
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #333;
  transition: all 0.3s;
}
.input-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.1);
}
.auth-forgot {
  text-align: right;
  margin-bottom: 1.5rem;
}
.auth-forgot a {
  font-size: 0.85rem;
  color: var(--maroon);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s;
}
.auth-forgot a:hover {
  color: var(--maroon-deep);
}
.btn-auth {
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 1.1rem;
  text-align: center;
  justify-content: center; /* Vital fix for inline-flex buttons to center text content horizontally */
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-bottom: 2rem;
}
.btn-auth:hover {
  background: var(--maroon-deep);
  transform: translateY(-2px);
}
.auth-footer {
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #e0d5c1;
  padding-top: 1.5rem;
}
.auth-footer p {
  margin-bottom: 0.5rem;
}
.auth-footer a {
  color: var(--maroon-deep);
  font-weight: 700;
  text-decoration: underline;
}
.auth-back {
  display: inline-block;
  color: #888 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.3s;
}
.auth-back:hover {
  color: #1a1a1a !important;
}

/* ═══ VIP PROFILE DASHBOARD (MATCHING THEME) ═══ */
.profile-page {
  background: var(--cream-light);
  color: var(--black);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.profile-bg-overlay {
  display: none;
}

.profile-section {
  padding-top: 140px;
  flex: 1;
}
.profile-section .section-label {
  color: var(--gold);
}
.profile-section .section-title {
  color: var(--maroon);
}

.profile-dashboard {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Premium Light Cards */
.profile-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.user-info-card {
  text-align: center;
  align-self: start;
}
.profile-avatar {
  font-family: var(--font-display);
  font-size: 3.5rem;
  background: var(--cream);
  color: var(--maroon-deep);
  width: 100px;
  height: 100px;
  line-height: 100px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}
.user-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--maroon);
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.user-info-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.address-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}
.address-desc {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Form Inputs */
.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0;
}
.form-row .input-group {
  flex: 1;
}
.form-row.two-cols > div {
  width: 50%;
}
.address-card .input-group label {
  color: var(--maroon);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.address-card .input-group input,
.address-card .input-group textarea {
  background: var(--cream-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--black);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  width: 100%;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}
.address-card .input-group input::placeholder,
.address-card .input-group textarea::placeholder {
  color: var(--gray-light);
}
.address-card .input-group input:focus,
.address-card .input-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.1);
  background: var(--white);
}

/* Premium Ticket Display */
.premium-ticket {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.premium-ticket::before {
  content: '';
  position: absolute;
  top: 0; left: 0; height: 100%; width: 4px;
  background: var(--gold);
}
.ticket-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.3);
  padding-bottom: 1rem;
}
.ticket-icon {
  color: var(--gold);
  font-size: 1.2rem;
  animation: starPulse 2s infinite ease-in-out;
}
.ticket-title {
  color: var(--maroon);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.ticket-body {
  color: var(--black);
  font-size: 0.95rem;
  line-height: 1.8;
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.ticket-row span {
  color: var(--gray);
}
.ticket-row strong {
  color: var(--maroon-deep);
  font-weight: 600;
}
.separator-row {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .profile-dashboard {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-row.two-cols > div {
    width: 100%;
  }
}

.btn-login-nav {
  display: inline-block;
  padding: 0.5rem 1.25rem !important;
  border: 1px solid var(--gold);
  border-radius: 50px;
  color: var(--gold) !important;
  font-weight: 600 !important;
  margin-left: 1rem;
  transition: all 0.3s ease;
}
.btn-login-nav:hover {
  background-color: var(--gold);
  color: var(--maroon-deep) !important;
}

@media (max-width: 768px) {    
  .btn-login-nav {
    margin-left: 0;
    margin-top: 1rem;
    width: fit-content;        
  }
}

/* ═══ LUXURY EFFECTS ═══ */
@keyframes floatWatermark {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.08; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.12; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.08; }
}

@keyframes goldShimmer {
  0% { transform: translateX(-150%) skewX(-45deg); }
  100% { transform: translateX(250%) skewX(-45deg); }
}

.luxury-quote-box {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
}

.luxury-quote-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(58, 10, 10, 0.1) !important;
}

.luxury-quote-box::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.08), transparent);
  transform: translateX(-150%) skewX(-45deg);
  animation: goldShimmer 7s infinite;
  pointer-events: none;
  z-index: 1;
}

.watermark-animated {
  animation: floatWatermark 8s ease-in-out infinite;
}

/* ═══ QUICK VIEW MODAL ═══ */
/* ═══ QUICKVIEW MODAL — PREMIUM REDESIGN ═══ */
@keyframes qv-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes qv-fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes qv-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}
@keyframes qv-borderGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.1), 0 25px 60px rgba(0,0,0,0.12); }
  50% { box-shadow: 0 0 30px rgba(201,168,76,0.15), 0 25px 60px rgba(0,0,0,0.15); }
}

.quickview-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(43, 8, 8, 0.45);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.quickview-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.quickview-modal {
  background: var(--white);
  width: 92%;
  max-width: 980px;
  max-height: 90vh;
  border-radius: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  transform: translateY(40px) scale(0.92);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(201, 168, 76, 0.15);
  animation: qv-borderGlow 3s ease-in-out infinite paused;
}
.quickview-overlay.active .quickview-modal {
  transform: translateY(0) scale(1);
  animation-play-state: running;
}
/* Gold accent line at top */
.quickview-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #C9A84C, transparent);
  border-radius: 0 0 3px 3px;
  z-index: 5;
}

.quickview-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 20px;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #333;
}
.quickview-close:hover {
  background: #fff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.quickview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

/* Image Column — Premium shimmer bg */
.quickview-image-col {
  background: linear-gradient(135deg, #f8f6f3 0%, #EEF0F2 50%, #f5f0ec 100%);
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
/* Subtle shimmer sweep on image area */
.quickview-image-col::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: qv-shimmer 3s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.5;
}

.qv-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
.qv-thumbnail-btn {
  width: 62px; height: 62px;
  border: 2px solid rgba(0,0,0,0.08);
  background: var(--white);
  border-radius: 10px;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.qv-thumbnail-btn img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.qv-thumbnail-btn.active, .qv-thumbnail-btn:hover {
  border-color: var(--maroon);
  box-shadow: 0 4px 12px rgba(43,8,8,0.15);
  transform: scale(1.08);
}
.qv-main-image-container {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.qv-main-image-container img {
  max-width: 100%; max-height: 450px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.qv-main-image-container img:hover {
  transform: scale(1.05);
}

/* Info Column — Staggered entrance */
.quickview-info-col {
  padding: 2.5rem 2.5rem 2rem;
  text-align: left;
  position: relative;
}
.quickview-overlay.active .quickview-info-col > * {
  animation: qv-fadeInUp 0.5s ease forwards;
  opacity: 0;
}
.quickview-overlay.active .quickview-info-col > *:nth-child(1) { animation-delay: 0.1s; }
.quickview-overlay.active .quickview-info-col > *:nth-child(2) { animation-delay: 0.15s; }
.quickview-overlay.active .quickview-info-col > *:nth-child(3) { animation-delay: 0.2s; }
.quickview-overlay.active .quickview-info-col > *:nth-child(4) { animation-delay: 0.25s; }
.quickview-overlay.active .quickview-info-col > *:nth-child(5) { animation-delay: 0.3s; }
.quickview-overlay.active .quickview-info-col > *:nth-child(6) { animation-delay: 0.35s; }
.quickview-overlay.active .quickview-info-col > *:nth-child(7) { animation-delay: 0.4s; }
.quickview-overlay.active .quickview-info-col > *:nth-child(8) { animation-delay: 0.45s; }
.quickview-overlay.active .quickview-info-col > *:nth-child(9) { animation-delay: 0.5s; }
.quickview-overlay.active .quickview-info-col > *:nth-child(n+10) { animation-delay: 0.55s; }

.quickview-info-col h2 {
  font-family: var(--font-display);
  font-size: 1.7rem; color: var(--maroon);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.qv-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.qv-price::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, #C9A84C, transparent);
}

.qv-variant-group { margin-bottom: 1.2rem; }
.qv-variant-label {
  font-size: 0.85rem; color: #777;
  margin-bottom: 0.6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.qv-options {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.qv-option-btn {
  padding: 0.5rem 1.1rem;
  border: 1.5px solid #e0e0e0;
  background: var(--white);
  border-radius: 8px;
  cursor: pointer; font-size: 0.85rem;
  color: #444; /* Fix for iOS Safari blue text */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.qv-option-btn:hover {
  border-color: #C9A84C;
  background: rgba(201,168,76,0.04);
  transform: translateY(-1px);
}
.qv-option-btn.active {
  border-color: var(--maroon);
  background: rgba(43,8,8,0.03);
  box-shadow: 0 0 0 1px var(--maroon);
  color: var(--maroon); /* Fix for iOS Safari blue text */
  font-weight: 600;
}

.qv-quantity-row {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.qv-quantity-selector {
  display: flex; align-items: center;
  border: 1.5px solid #e0e0e0; border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
  flex-shrink: 0;
}
.qv-quantity-selector:hover { border-color: #C9A84C; }
.qv-quantity-selector button {
  background: #faf8f5; border: none; padding: 0.55rem 1.1rem; cursor: pointer;
  font-size: 1rem; color: var(--maroon); font-weight: 600; transition: all 0.2s;
}
.qv-quantity-selector button:hover { background: rgba(201,168,76,0.1); }
.qv-quantity-selector input {
  width: 42px; border: none; text-align: center;
  font-size: 0.95rem; font-family: inherit; pointer-events: none; background: #fff;
}
.qv-availability { font-size: 0.82rem; color: #888; letter-spacing: 0.3px; }

/* Premium Add-to-Cart Button */
.qv-add-btn {
  width: 100%; padding: 1rem;
  background: linear-gradient(135deg, var(--maroon) 0%, #3a0a0a 50%, var(--maroon) 100%);
  background-size: 200% 200%;
  color: var(--white);
  border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.qv-add-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
  transition: left 0.6s;
}
.qv-add-btn:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43,8,8,0.3);
}
.qv-add-btn:hover::after {
  left: 100%;
}
.qv-add-btn:active {
  transform: translateY(0) scale(0.98);
}

.qv-divider {
  border: 0; margin: 1.5rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}
.qv-accordion-item { margin-bottom: 0.8rem; }
.qv-accordion-header {
  font-size: 0.85rem; color: #777; font-weight: 600;
  margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.qv-accordion-body { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }
.qv-icon-text { display: flex; align-items: flex-start; gap: 0.8rem; }
.qv-icon-text svg { flex-shrink: 0; color: #C9A84C; margin-top: 2px; }
.qv-icon-text strong { display: block; color: var(--black); font-size: 0.85rem; }
.qv-icon-text span { font-size: 0.8rem; color: #777; }

/* Scrollbar styling for modal */
.quickview-modal::-webkit-scrollbar { width: 5px; }
.quickview-modal::-webkit-scrollbar-track { background: transparent; }
.quickview-modal::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.3); border-radius: 10px;
}
.quickview-modal::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.5); }

/* ═══ CART TOAST ═══ */
.cart-toast {
  position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--maroon), #3a0a0a);
  color: white;
  padding: 1rem 2rem; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(58,10,10,0.35);
  font-weight: 600; z-index: 10000; letter-spacing: 0.3px;
  transition: bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(201,168,76,0.2);
  white-space: nowrap;
  text-align: center;
}
.cart-toast.show { bottom: 30px; }

@media (max-width: 768px) {
  .quickview-grid { grid-template-columns: 1fr; }
  .quickview-image-col { padding: 1.5rem; min-height: 280px; }
  .quickview-info-col { padding: 1.5rem; }
  .quickview-modal { width: 95%; border-radius: 16px; }
}

/* ═══ CART PAGE ═══ */
.cart-items-container {
  display: flex; flex-direction: column; gap: 1.5rem;
  margin-bottom: 3rem;
}
.cart-item {
  display: flex; align-items: center; gap: 2rem;
  padding: 1.5rem; background: var(--white);
  border-radius: 12px; box-shadow: var(--shadow-sm);
  position: relative;
}
.cart-item-img {
  width: 100px; height: 100px; object-fit: contain;
  background: #f9f9f9; border-radius: 8px;
}
.cart-item-details { flex: 1; }
.cart-item-title { font-size: 1.1rem; color: var(--black); margin-bottom: 0.5rem; }
.cart-item-variant { font-size: 0.85rem; color: #777; margin-bottom: 0.5rem; }
.cart-item-price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--maroon); }
.cart-item-actions {
  display: flex; align-items: center; gap: 2rem;
}
.cart-item-subtotal { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--gold); min-width: 80px; text-align: right; }
.cart-item-remove {
  background: none; border: none; font-size: 1.5rem; color: #aaa;
  cursor: pointer; transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--maroon); }

.cart-summary {
  background: var(--white); padding: 2rem;
  border-radius: 12px; box-shadow: var(--shadow-sm);
  max-width: 500px; margin: 0 0 0 auto;
}
.cart-summary-row {
  display: flex; justify-content: space-between;
  margin-bottom: 1rem; font-size: 1rem; color: #555;
}
.cart-summary-row.total {
  font-size: 1.3rem; font-weight: 600; color: var(--black); margin-bottom: 0;
}

@media (max-width: 768px) {
  .cart-item { 
    flex-direction: row !important; 
    align-items: center !important; 
    padding: 1rem !important; 
    border-radius: 16px !important;
    gap: 1rem !important;
  }
  .cart-item-img {
    width: 85px !important;
    height: 85px !important;
    border-radius: 12px !important;
  }
  .cart-item-details { display: flex; flex-direction: column; width: 100%; }
  .cart-item-title { font-size: 0.95rem !important; margin-bottom: 2px !important; line-height: 1.3 !important; }
  .cart-item-variant { font-size: 0.75rem !important; margin-bottom: 6px !important; }
  .cart-item-price { font-size: 1.1rem !important; font-weight: 700 !important; }
  
  .cart-item-actions { 
    width: 100% !important; 
    justify-content: space-between !important; 
    margin-top: 8px !important;
    gap: 0 !important;
  }
  .cart-item-subtotal { display: none !important; } /* Hide subtotal to save space */
  .cart-item-remove {
    background: #FF4D4D !important;
    color: white !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.3) !important;
  }
  [data-theme="dark"] .cart-item-remove { background: #b71c1c !important; }
  .cart-summary { margin: 0 auto; max-width: 100%; border-radius: 16px !important; }
}

/* ═══ SEARCH OVERLAY ═══ */
.search-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-container {
  width: 90%; max-width: 800px; position: relative;
  transform: translateY(-20px); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.search-overlay.active .search-container { transform: translateY(0); }
.search-close-btn {
  position: absolute; top: -40px; right: 0; background: none; border: none;
  color: var(--white); font-size: 2.5rem; cursor: pointer; transition: color 0.2s;
}
.search-close-btn:hover { color: var(--gold); }
.search-input-group {
  display: flex; align-items: center; background: transparent;
  border-bottom: 2px solid var(--white); padding-bottom: 10px;
}
.search-input {
  flex-grow: 1; background: transparent; border: none; color: var(--white);
  font-size: 2rem; font-family: var(--font-display); padding: 10px 0;
}
.search-input::placeholder { color: rgba(255, 255, 255, 0.5); }
.search-input:focus { outline: none; border-color: var(--gold); }
.search-submit-btn {
  background: none; border: none; color: var(--white); cursor: pointer;
  padding: 10px; transition: color 0.2s;
}
.search-submit-btn:hover { color: var(--gold); }
.nav-search-btn {
  background: none; border: none; color: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; margin-right: 15px; transition: color 0.2s;
}
.nav-search-btn:hover { color: var(--gold); }
@media (max-width: 768px) {
  .search-input { font-size: 1.5rem; }
}

/* ═══ INLINE SEARCH BAR ═══ */
.nav-search-input {
  width: 240px;
  padding: 10px 16px 10px 42px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.nav-search-input:focus {
  width: 320px;
  outline: none;
  background: rgba(255,255,255,0.15);
  border-color: var(--gold);
}
.nav-search-input::placeholder {
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .nav-search-container,
  .nav-actions-container {
    display: none !important;
  }
}
.search-dropdown {
  position: absolute;
  top: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 100%;
  min-width: 250px;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 9990;
  color: var(--white);
  border: 1px solid #333;
}
.search-dropdown.active {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.search-dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px;
  background: #1a1a1a; border-left: 1px solid #333; border-top: 1px solid #333;
}
.search-dropdown-list { max-height: 300px; overflow-y: auto; margin-top: 5px; }
.search-dropdown-list::-webkit-scrollbar { width: 4px; }
.search-dropdown-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }
.search-result-item:hover { background: rgba(255,255,255,0.1) !important; }

/* ═══ NAV ACTIONS CONTAINER (Icons & Cart) ═══ */
.nav-actions-container a, 
.nav-actions-container button {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  transition: color 0.3s ease;
}
.nav-actions-container a:hover, 
.nav-actions-container button:hover {
  color: var(--gold);
}

/* ═══ TOAST NOTIFICATION ═══ */
.global-toast {
  visibility: hidden; min-width: 250px; margin-left: -125px;
  background-color: var(--maroon); color: #fff; text-align: center;
  border-radius: 8px; padding: 16px; position: fixed; z-index: 99999;
  left: 50%; bottom: 30px; font-family: var(--font-body);
  box-shadow: var(--shadow-md); opacity: 0; transition: opacity 0.5s, bottom 0.5s;
}
.global-toast.show {
  visibility: visible; opacity: 1; bottom: 50px;
}
@keyframes warningShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
.warning-shake {
  animation: warningShake 0.3s ease-in-out !important;
}

/* ═══ WISHLIST UI ═══ */
.wishlist-btn {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.95);
  -webkit-appearance: none; appearance: none; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--black); cursor: pointer; transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.quick-cart-btn {
  position: absolute; top: auto; bottom: 18px; right: 18px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e0e0e0;
  background: rgba(255,255,255,0.98);
  -webkit-appearance: none; appearance: none; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--black); cursor: pointer; transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.wishlist-btn:hover { transform: scale(1.1); color: var(--maroon); }
.quick-cart-btn:hover { transform: scale(1.1); color: var(--gold); }
.wishlist-btn.active { color: var(--maroon); }
.wishlist-btn.active svg { fill: var(--maroon); stroke: var(--maroon); }

@media (max-width: 768px) {
  .wishlist-btn { width: 30px; height: 30px; top: 8px; right: 8px; }
  .quick-cart-btn { width: 30px; height: 30px; top: auto; bottom: 16px; right: 16px; }
  .wishlist-btn svg, .quick-cart-btn svg { width: 14px; height: 14px; }
}

.nav-wishlist-btn {
  background: none; border: none; color: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; margin-right: 15px; transition: color 0.2s; position: relative; text-decoration: none;
}
.nav-wishlist-btn:hover { color: var(--gold); }

/* ═══ WISHLIST PAGE GRID ═══ */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.wishlist-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.wishlist-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.wishlist-item .wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
}

.wishlist-item-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.wishlist-item-info {
  padding: 1.2rem 1.5rem 1.5rem;
}

.wishlist-item-info p:first-child {
  margin-bottom: 0.3rem;
}

.wishlist-item-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--black);
  margin: 0.3rem 0 0.5rem;
}

.wishlist-item-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 1rem;
}

.wishlist-actions {
  display: flex;
  gap: 0.5rem;
}

.wishlist-actions .btn-view-product {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
  text-align: center;
  transition: all 0.3s ease;
}
.wishlist-actions .btn-view-product:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

@media (max-width: 600px) {
  .wishlist-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 3%;
  }
  .wishlist-item-img {
    height: 200px;
  }
  .wishlist-item-info {
    padding: 0.8rem 1rem 1rem;
  }
  .wishlist-item-title {
    font-size: 0.95rem;
  }
}

/* Breadcrumb inside review-hero (dark background) */
.review-hero .breadcrumb {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.6);
}
.review-hero .breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.review-hero .breadcrumb a:hover {
  color: var(--gold-light);
}



/* ═══════════════════════════════════════
   DARK THEME OVERRIDES
   ═══════════════════════════════════════ */

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.3);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ── Cards & Containers ── */
[data-theme="dark"] .product-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .product-card:hover {
  background: var(--bg-card-hover);
}

[data-theme="dark"] .bestseller-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .review-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .cart-item {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .cart-summary {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .wishlist-item {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .profile-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .profile-page {
  background: var(--bg-primary);
}

/* ── Sections ── */
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .section-title {
  color: var(--text-primary);
}

[data-theme="dark"] .section-header p {
  color: var(--text-secondary);
}

[data-theme="dark"] .product-card-image,
[data-theme="dark"] .bestseller-img {
  background: var(--bg-secondary);
}

[data-theme="dark"] .category-section {
  background: var(--bg-secondary);
}

/* ── Quick View Modal ── */
[data-theme="dark"] .qv-content {
  background: var(--bg-card);
  color: var(--text-primary);
}

[data-theme="dark"] .qv-price {
  color: var(--gold) !important;
}

[data-theme="dark"] .qv-thumbnail-btn {
  border-color: var(--border-color);
}

[data-theme="dark"] .qv-option-btn {
  border-color: var(--border-color);
  color: var(--text-primary);
  background: var(--bg-secondary);
}

[data-theme="dark"] .qv-option-btn.active {
  border-color: var(--gold);
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

[data-theme="dark"] .qv-quantity-selector input {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-color);
}

[data-theme="dark"] .qv-quantity-selector button {
  color: var(--gold);
}

/* ── Forms & Inputs ── */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: var(--text-muted) !important;
}

/* ── Navbar (scrolled state) ── */
[data-theme="dark"] .navbar.scrolled {
  background: var(--nav-bg);
}

[data-theme="dark"] .announcement-bar {
  background: rgba(10, 10, 10, 0.6);
}

/* ── Search dropdown ── */
[data-theme="dark"] .search-dropdown {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="dark"] .search-dropdown-item {
  color: var(--text-primary);
}

[data-theme="dark"] .search-dropdown-item:hover {
  background: var(--bg-card-hover);
}

/* ── Product text ── */
[data-theme="dark"] .product-card-title,
[data-theme="dark"] .bestseller-title {
  color: var(--text-primary);
}

[data-theme="dark"] .product-card-desc,
[data-theme="dark"] .bestseller-desc {
  color: var(--text-secondary);
}

[data-theme="dark"] .product-card-price,
[data-theme="dark"] .bestseller-price {
  color: var(--gold) !important;
}

/* ── Cart page ── */
[data-theme="dark"] .cart-item-title {
  color: var(--text-primary);
}

[data-theme="dark"] .cart-item-variant {
  color: var(--text-secondary);
}

[data-theme="dark"] .cart-item-price {
  color: var(--gold) !important;
}

[data-theme="dark"] .cart-item-remove {
  color: var(--text-muted);
}

/* ── Wishlist page ── */
[data-theme="dark"] .wishlist-item-title {
  color: var(--text-primary);
}

[data-theme="dark"] .wishlist-item-price {
  color: var(--gold) !important;
}

/* ── Review section ── */
[data-theme="dark"] .review-card-text {
  color: var(--text-secondary);
}

[data-theme="dark"] .review-card-name {
  color: var(--text-primary);
}

/* ── Contact page ── */
[data-theme="dark"] .contact-form {
  background: var(--bg-card);
  border-color: var(--border-color);
}

/* ── Checkout page ── */
[data-theme="dark"] .checkout-section {
  background: var(--bg-card);
  border-color: var(--border-color);
}

/* ── Buttons ── */
[data-theme="dark"] .btn-white {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}

[data-theme="dark"] .btn-white:hover {
  background: var(--bg-card-hover);
}

[data-theme="dark"] .filter-tab {
  color: var(--text-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .filter-tab.active,
[data-theme="dark"] .filter-tab:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Orders page ── */
[data-theme="dark"] .order-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

/* ── Success / Review modal ── */
[data-theme="dark"] .success-modal-content,
[data-theme="dark"] .review-modal-content {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* ── Login page ── */
[data-theme="dark"] .auth-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

/* ── Scrollbar ── */
[data-theme="dark"] ::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

/* ── Mobile nav ── */
[data-theme="dark"] .mobile-nav {
  background: var(--nav-bg);
}

/* ── Page headings & misc ── */
[data-theme="dark"] .page-title,
[data-theme="dark"] .cart-title,
[data-theme="dark"] .wishlist-title {
  color: var(--text-primary);
}

[data-theme="dark"] .empty-cart-text,
[data-theme="dark"] .empty-wishlist-text {
  color: var(--text-secondary);
}

/* ── Accordion ── */
[data-theme="dark"] .qv-accordion-header {
  color: var(--text-primary);
  border-color: var(--border-color);
}

[data-theme="dark"] .qv-accordion-body {
  color: var(--text-secondary);
}

/* Hide mobile specific dynamic bottom tabs on Desktop globally */
.mobile-bottom-tabs { display: none !important; }

/* =========================================================
   MOBILE APP EXPERIENCE OVERRIDES
   ========================================================= */
@media (max-width: 768px) {
  /* Hide scrollbar so it doesn't steal layout width on mobile */
  html, body { scrollbar-width: none !important; -ms-overflow-style: none !important; }
  html::-webkit-scrollbar, body::-webkit-scrollbar { display: none !important; width: 0 !important; }
  /* Hide desktop header details, center brand logo */
  .navbar .nav-links, .navbar .hamburger, .mobile-nav { display: none !important; }
  .navbar { padding: 8px 1rem !important; justify-content: center !important; height: auto !important; }
  .nav-logo { margin: 0 auto; display: flex !important; align-items: center; justify-content: center; gap: 8px; }
  .nav-logo-text { font-size: 1.3rem !important; }
  .nav-logo img { height: 38px !important; }
  
  /* Retain lang switcher but shrink/reposition it for mobile */
  .lang-currency-switch { top: 12px !important; right: 1rem !important; font-size: 0.7rem !important; padding: 4px; background: rgba(0,0,0,0.4); border-radius: 4px; }
  .announcement-bar { display: none !important; }

  /* Pad bottom body to prevent tab overlap */
  body { padding-bottom: 75px !important; }
  
  /* Native Mobile Bottom Tab Bar */
  .mobile-bottom-tabs {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(201,168,76,0.3);
    z-index: 9000;
    justify-content: space-around;
    padding: 10px 0 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  }
  
  [data-theme="dark"] .mobile-bottom-tabs {
    background: rgba(18, 18, 18, 0.95);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.6);
  }

  .mobile-bottom-tabs .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #A0A0A0;
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 500;
    gap: 4px;
    letter-spacing: 0.3px;
    transition: color 0.2s;
  }

  .mobile-bottom-tabs .tab-item svg {
    width: 22px;
    height: 22px;
    transition: transform 0.2s;
  }

  /* Active Colors aligned to Sai Mu luxury theme */
  .mobile-bottom-tabs .tab-item.active { color: #4A0E0E; }
  .mobile-bottom-tabs .tab-item.active svg { transform: translateY(-2px); stroke-width: 2.2 !important; }
  [data-theme="dark"] .mobile-bottom-tabs .tab-item.active { color: #C9A84C; }

  /* Red Cart Notification Badge */
  .cart-icon-wrapper { position: relative; }
  .cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #C0392B;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
    font-family: var(--font-body);
  }
  [data-theme="dark"] .cart-badge { border-color: #121212; }

  /* 2-Column Mobile Product Grid (Default for Shop Pages) */
  .products-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 0 4px !important;
  }
  .bestseller-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 0 4px !important;
  }
  
  /* Horizontal Swipe Carousel for Homepage Sections */
  #featuredGrid, #bestsellerGrid, #saleProductsGrid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    
    /* Pull out of container to bleed to screen edges */
    margin: 0 -1rem !important;
    padding: 0 1rem 1.5rem 1rem !important;
    scroll-padding-left: 1rem !important;
    
    gap: 12px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  #featuredGrid::-webkit-scrollbar, 
  #bestsellerGrid::-webkit-scrollbar, 
  #saleProductsGrid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  #featuredGrid .product-card,
  #bestsellerGrid .product-card,
  #saleProductsGrid .product-card {
    flex: 0 0 60vw !important; /* Cards take 60% of width so next one peeks elegantly */
    max-width: 240px !important;
    scroll-snap-align: start !important;
  }

  .product-card, .bestseller-card {
    border-radius: 12px !important;
  }
  .product-card-image, .bestseller-image {
    border-radius: 12px 12px 0 0 !important;
    position: relative;
    height: 180px !important; /* Lock height for consistency on 2-col */
  }
  .product-card-info, .bestseller-info {
    padding: 10px !important;
  }
  .product-card-name, .bestseller-name {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }
  .product-card-price, .bestseller-price {
    font-size: 0.95rem !important;
  }
  .price-original { font-size: 0.75rem !important; }
  .price-discount { font-size: 0.95rem !important; }
  
  /* Hide descriptions to keep UI snappy */
  .product-card-desc, .bestseller-desc {
    display: none !important;
  }
  .product-badge {
    font-size: 0.55rem !important;
    padding: 3px 6px !important;
  }
  .product-card-image > .product-badge {
    left: 8px !important;
  }
  .product-card-image > .product-badge:nth-of-type(1) {
    top: 8px !important;
  }
  .product-card-image > .product-badge:nth-of-type(2) {
    top: calc(8px + 22px) !important;
  }
  .product-card-image > .product-badge:nth-of-type(3) {
    top: calc(8px + 44px) !important;
  }
  
  /* Floating Wishlist Heart */
  .mobile-wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #A0A0A0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    border: none;
  }
  [data-theme="dark"] .mobile-wishlist-btn {
    background: rgba(26,26,26,0.8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  }
  .mobile-wishlist-btn svg { width: 14px; height: 14px; transition: 0.2s; }
  .mobile-wishlist-btn.active { color: #C0392B; }
  .mobile-wishlist-btn.active svg { fill: #C0392B; }

  /* Native Mobile Bottom Sheet (Quick View Modal) */
  .quickview-overlay { align-items: flex-end !important; }
  .quickview-overlay.active .quickview-modal { transform: none !important; } /* Kill desktop transform stack! */
  
  .quickview-modal {
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important; /* Stop Safari containing block clip leak */
    padding: 0 !important; /* Remove huge bottom pad, managed by flex now */
    transform: none !important;
    animation: slideUpBs 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
  }
  .quickview-close { top: 12px !important; right: 12px !important; z-index: 100 !important; }
  
  @keyframes slideUpBs { 
    from { margin-bottom: -100vh; } 
    to { margin-bottom: 0; } 
  }
  
  /* Make the inner grid handle ALL the nested scrolling */
  .quickview-grid { 
    grid-template-columns: 1fr !important;
    gap: 0 !important; 
    flex: 1 !important;
    overflow-y: auto !important; 
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    min-height: 0 !important; /* Firefox flex fix */
  }
  
  .quickview-image-col { 
    border-radius: 0 !important; 
    overflow: hidden; 
    height: auto !important; 
    min-height: 50vh;
  }
  .quickview-info-col {
    padding: 1.5rem 1.5rem 6rem !important; /* Pad info area bottom so buttons don't overlap text */
    display: flex !important;
    flex-direction: column !important;
  }
  
  /* Restore Desktop-style Vertical Thumbnails on Mobile */
  .quickview-image-col {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .qv-thumbnails { 
    display: flex !important; 
    flex-direction: column !important;
    gap: 8px !important;
    max-height: 300px;
    overflow-y: auto;
  }
  .qv-thumbnails::-webkit-scrollbar { width: 0px; }
  .qv-thumbnail-btn {
    width: 48px !important;
    height: 48px !important;
    padding: 3px !important;
    border-radius: 6px !important;
    flex-shrink: 0;
  }
  .qv-main-image-container {
    flex: 1 !important;
    width: calc(100% - 60px) !important;
  }
  
  /* True Flex Sticky Add to Cart Footer (Relocated via JS) */
  .quickview-overlay .qv-add-btn {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    padding: 18px 1.5rem !important;
    border-radius: 0 !important;
    margin: 0 !important;
    margin-top: auto !important; /* Forces it to the absolute bottom of the flex modal */
    font-size: 1.1rem !important;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1) !important;
    z-index: 9999 !important; /* Pierce through all modal layers */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Cart Page Sticky Checkout (Reverted to sequential flow) */
  .bag-summary {
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    border-radius: 24px !important;
    margin: 0 !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08) !important;
    background: #fff !important;
    border: none !important;
  }
  .bag-summary-title { display: none !important; }
  .bag-checkout-btn, .chk-submit-btn { padding: 14px !important; font-size: 1.1rem !important; border-radius: 12px !important; margin-top: 0.5rem !important; box-shadow: 0 4px 15px rgba(58,10,10,0.2) !important; }
  [data-theme="dark"] .bag-summary { background: #1a1a1a !important; box-shadow: 0 5px 25px rgba(0,0,0,0.6) !important; }
  
  /* Kill the legacy website footer globally on mobile to embrace the App Tab Bar UX */
  .footer { display: none !important; }
  
  /* Unstick Checkout Page Summaries so they flow naturally */
  .chk-summary {
    width: 100% !important;
    padding: 1.5rem !important;
    border-radius: 16px !important;
    margin: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    background: #fff !important;
    border: none !important;
  }
  .chk-summary::before { display: none !important; }
  .chk-summary-title { display: none !important; }
  [data-theme="dark"] .chk-summary { background: #1a1a1a !important; box-shadow: 0 4px 20px rgba(0,0,0,0.6) !important; }
  /* =========================================
     NATIVE MOBILE APP HEADER (HOMEPAGE)
     ========================================= */
  body.home-page { padding-top: 0 !important; } /* Eliminate Fixed Navbar Spacer */
  body.home-page .navbar, body.home-page .mobile-nav { display: none !important; }
  body.home-page .categories.container { display: none !important; }

  /* Elevate children above the shine overlay */
  .mah-topbar, .mah-title, .mah-categories {
    position: relative;
    z-index: 2;
  }
  .mah-search-container {
    position: relative;
    z-index: 10;
  }
  
  /* Mobile Realtime Autocomplete Theme */
  #mobile-search-dropdown {
    background: #1e1e1e !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    padding: 12px;
  }
  #mobile-search-dropdown-header { color: #dfbc6e !important; }
  .search-dropdown-list { 
    max-height: 40vh !important; 
    overflow-y: auto !important; 
    -webkit-overflow-scrolling: touch; 
  }
  .search-dropdown-list .search-result-item { color: #fff !important; }
  .search-dropdown-list .search-result-item:hover { background: rgba(255,255,255,0.05) !important; }
  
  .mah-contact {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    z-index: 2;
    transition: color 0.3s;
  }
  .mah-contact:active { color: #fff; }
  

  
  .mah-shine-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 0 0 32px 32px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
  }
  
  .mah-shine-layer::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 60%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-25deg);
    animation: premiumHeaderShine 5s infinite;
  }
  @keyframes premiumHeaderShine {
    0% { left: -150%; opacity: 0; }
    10% { opacity: 1; }
    20% { left: 200%; opacity: 1; }
    25% { opacity: 0; }
    100% { left: 200%; opacity: 0; }
  }
  .mah-topbar {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
  }
  .mah-logo { display: flex; align-items: center; gap: 10px; }
  .mah-logo img { height: 42px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
  .mah-logo span {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: 1px; color: var(--gold);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  .mah-actions svg { color: #fff; }
  
  .mah-greeting { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .mah-avatar {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: var(--gold); border: 1px solid rgba(201,168,76,0.3);
  }
  .mah-greeting span { font-size: 0.95rem; color: rgba(255,255,255,0.8); }
  
  .mah-title {
    font-size: 1.7rem; line-height: 1.25; font-family: var(--font-display); font-weight: 700; margin-bottom: 24px; width: 95%; text-align: left;
  }
  
  .mah-search-container {
    margin-bottom: 24px; background: #fff; border-radius: 30px; padding: 12px 20px;
    display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  .mah-search-container input {
    border: none; background: transparent; width: 100%; font-size: 1rem; color: #333; outline: none;
  }
  
  .mah-categories {
    display: flex; justify-content: center; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px;
    margin: 0 -20px; padding-left: 20px; padding-right: 20px; /* Bleed scrolling */
  }
  .mah-categories::-webkit-scrollbar { display: none; }
  .mah-cat-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px; scroll-snap-align: start; min-width: 65px; text-decoration: none; color: inherit;
  }
  .mah-cat-icon {
    width: 56px; height: 56px; border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: #4A0E0E; /* Maroon Icon inside bubble */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: 0.2s ease;
  }
  .mah-cat-item span { font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.9); white-space: nowrap; }
  
  /* Completely hide legacy Desktop Hero on Mobile */
  body.home-page .hero { display: none !important; }
  
  /* Hide redundant legacy Desktop Categories section on Mobile */
  #legacy-categories-section { display: none !important; }
  
  /* Hide Announcement bar on Mobile Homepage since App Header replaces it */

  
  /* Brand Story Mobile - Compact Vertical Layout */
  .story-content-box {
    padding: 2rem 1rem !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .story-corner { 
    display: block !important; 
    width: 16px !important; 
    height: 16px !important; 
  }
  
  .story-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
  }
  .story-slider > p {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    box-shadow: none;
    text-align: center;
    color: rgba(255,255,255,0.85);
  }
  
  /* Origin Cards Mobile - Swipeable Peeking Cards */
  .origin-cards {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-left: 1.5rem !important;
    scrollbar-width: none !important;
    margin: 0 -1.5rem !important;
    padding: 24px 1.5rem 20px 1.5rem !important; /* Top padding expanded to prevent clipping the -15px absolute badge */
  }
  .origin-cards::-webkit-scrollbar { display: none !important; }
  .origin-card {
    flex: 0 0 85% !important;
    scroll-snap-align: start !important;
    max-width: none !important;
  }
}

/* DESKTOP EXCLUSION FOR APP HEADER */
.mobile-app-header { display: none; }



/* GLOBAL LANGUAGE SWITCHERS */
.lang-btn { cursor:pointer; opacity: 0.4; transition: 0.3s ease; }
.lang-btn:hover { opacity: 0.8; }
.lang-btn.active { opacity: 1 !important; color: var(--gold) !important; font-weight: 600; }
.mobile-lang-switcher .lang-btn.active { background: rgba(212,175,55,0.2) !important; }
@media (min-width: 769px) { .desktop-lang-switcher { display: flex !important; } }


/* =========================================
   MINIMALIST LUXURY OVERRIDES (FIXED)
   ========================================= */

:root {
  --maroon-deep: #4A0E17; /* Elegant dark blood-red/maroon */
  --maroon: #6B1A24; /* Rich crimson maroon */
  --gold: #D8BD8A; 
  --gold-light: #E8D5A5;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE1;
  --bg-primary: #FAF7F2;
  --text-primary: #1A1514;
  --text-secondary: #555555;
  --border-color: rgba(0,0,0,0.06);
}

/* Base Adjustments */
body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ================== NAVIGATION (MAROON THEME) ================== */
.navbar, .navbar.scrolled {
  background: var(--maroon-deep) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.nav-logo-text, .nav-links a, .nav-action-btn, .mobile-nav a, .nav-cart-btn, .nav-wishlist-btn, .lang-btn {
  color: var(--white) !important;
  text-shadow: none !important;
}
.nav-links a {
  font-weight: 400 !important;
}
.nav-links a::after {
  background: var(--gold) !important;
}
.nav-links a.active, .lang-btn.active {
  color: var(--gold) !important;
  font-weight: 600 !important;
}
.nav-links a:hover, .lang-btn:hover {
  color: var(--gold) !important;
}
.nav-action-btn svg, .mah-search-container svg, .nav-cart-btn svg, .nav-wishlist-btn svg, .nav-search-icon {
  stroke: var(--white) !important;
}
.hamburger span {
  background-color: var(--white) !important;
}


/* Mobile App Header Fixes — DISABLED: maroon theme patch below handles these */
/* .mah-title, .mah-logo span, .mah-contact — now handled by maroon theme */
/* .mah-cat-icon, .mah-cat-item — now handled by maroon theme */
.mah-topbar { border-bottom: none !important; padding: 0 20px !important; }
.mah-shine-layer { display: none !important; }


/* ================== DARK BACKGROUND SECTIONS ================== */
/* Hero Section (Contains Dark Image) */
.hero-title, .hero-description, .hero-slogan, .scroll-indicator {
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important; /* Soft shadow for legibility */
}
.hero-slogan { opacity: 0.8 !important; }
.hero .btn-gold-outline {
  border-color: rgba(255,255,255,0.7) !important;
  color: #FFFFFF !important;
  background: transparent !important;
}
.hero .btn-gold-outline:hover {
  background: #FFFFFF !important;
  color: var(--text-primary) !important;
}

/* Page Headers (Products, Contact, etc - Dark Maroon BG) */
.page-header-title, .page-header-desc, .page-header p, .breadcrumb, .breadcrumb a, .page-header h1 {
  color: #FFFFFF !important;
  text-shadow: none !important;
}
.page-header-desc, .page-header p {
  opacity: 0.85 !important; /* Fix faint grey text */
}

/* Origins Section (Cream Background) */
.origin-header h2, .origin-title {
  color: var(--maroon) !important;
}
.origin-desc p {
  color: var(--text-secondary) !important;
  opacity: 1 !important;
}


/* ================== LIGHT BACKGROUND SECTIONS ================== */
.section-title {
  color: var(--text-primary) !important;
  font-weight: 300 !important;
}
.section-subtitle {
  color: var(--text-secondary) !important;
}
.section-label {
  color: var(--gold) !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
}

/* Brand Story */
.brand-story-new, .story-wrapper {
  background: var(--cream) !important;
}
.story-title, .story-title span { color: var(--text-primary) !important; }
.story-slider p, .story-content-box p { color: var(--text-primary) !important; }
.story-content-box { background: transparent !important; border: 1px solid rgba(0,0,0,0.05) !important; box-shadow: none !important; }
.story-corner { border-color: rgba(0,0,0,0.1) !important; }

/* Product Cards */
.product-card, .bestseller-card, .category-card {
  background: #FFF !important;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
}
.product-card:hover, .bestseller-card:hover, .category-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
}
.product-card-category, .bestseller-category { color: var(--gold) !important; }
.product-card-name, .bestseller-name { color: var(--text-primary) !important; }
.product-card-desc, .bestseller-desc { color: var(--text-secondary) !important; }
.product-card-price, .bestseller-price { color: var(--maroon) !important; }

/* Origin Cards */
.origin-card { background: #fff !important; border: 1px solid var(--border-color); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.premium-limited { background: #F5F5F5 !important; color: var(--text-primary) !important; border: 1px solid rgba(0,0,0,0.05) !important; text-shadow: none !important; }
.origin-card-title { color: var(--text-primary) !important; }
.btn-soldout { background: #F5F5F5 !important; color: #888 !important; border: 1px solid #DDD !important; }

/* Footer restored to Maroon Theme */
.footer .nav-logo-text { color: var(--white) !important; }


/* ================== GLOBAL BUTTONS ================== */
.btn-primary { background: var(--maroon) !important; color: #FFF !important; box-shadow: none !important; }
.btn-primary:hover { background: #3a0a0a !important; }
.btn-maroon { background: var(--maroon) !important; color: #FFF !important; }
.btn-maroon:hover { background: #3a0a0a !important; }

/* Remove excessive Glow and Shadows */
.gold-glow, .sparkle, .sparkle-wrap { animation: none !important; opacity: 1 !important; text-shadow: none !important; }
.sparkle { display: none !important; }
.gold-dust-canvas { display: none !important; }


/* =========================================
   FINAL VISIBILITY PATCHES 
   ========================================= */

/* Fix Page Hero (Dark Maroon BG on Subpages) */
.page-hero .section-title, 
.page-hero .section-subtitle, 
.page-hero .breadcrumb, 
.page-hero .breadcrumb a, 
.page-hero .section-label,
.page-hero span {
  color: #FFFFFF !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

/* Fix Navbar Right Side (Icons, Search, Lang) */
.mah-search-container svg,
.mah-topbar svg,
.nav-action-btn svg,
svg.feather-heart,
svg.feather-shopping-bag,
.header-icon-container svg {
  color: var(--text-primary) !important;
  stroke: var(--text-primary) !important;
}

/* Ensure any dynamically injected header text is dark */
.nav-actions span, 
.header-icon-container span,
.mah-topbar span {
  color: var(--text-primary) !important;
}

/* Ensure mobile header language buttons are dark */
.mobile-lang-switcher .lang-btn {
  color: #888 !important;
}
.mobile-lang-switcher .lang-btn.active {
  color: #FFF !important;
}

/* Fix floating labels "ตะกร้า" etc — exclude count badges */
.nav-cart-btn span:not(#nav-cart-count), .nav-wishlist-btn span:not(#nav-wishlist-count) {
  color: var(--white) !important;
}

/* =========================================
   FINAL DESKTOP NAVBAR FIXES (INJECTED ELEMENTS)
   ========================================= */
.nav-actions-container .nav-search-input,
.nav-actions-container a,
.nav-actions-container span,
.nav-actions-container svg {
  color: var(--white) !important;
  stroke: var(--white) !important;
}

/* Specifically for the search icon and placeholder to be soft white */
.nav-actions-container .nav-search-icon {
  color: rgba(255,255,255,0.7) !important;
  stroke: rgba(255,255,255,0.7) !important;
}
.nav-actions-container .nav-search-input::placeholder {
  color: rgba(255,255,255,0.7) !important;
}
.nav-actions-container .nav-search-input {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  color: var(--white) !important;
}

/* Ensure desktop language switch is visible */
.lang-currency-switch span.lang-btn {
  color: rgba(255,255,255,0.6) !important;
}
.lang-currency-switch span.lang-btn.active {
  color: var(--gold) !important;
}

/* =========================================
   FINAL PRICE FONT FIX: PROMPT (CLEAN SANS) 
   ========================================= */

.qv-price,
.product-card-price,
.cart-item-price,
.cart-item-price-current,
.summary-amount,
.summary-total .summary-amount,
.bestseller-price,
.price,
.price-display {
  font-family: 'Kanit', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  color: var(--maroon) !important;
}

/* Checkout Price Summary Font Standardization */
.summary-item-price,
.bag-line-total .val,
#chk-subtotal,
#chk-shipping,
#chk-total,
.fee-value,
#qr-modal-amount,
.addon-price {
  font-family: 'Kanit', sans-serif !important;
}

/* =========================================
   MOBILE SEARCH INPUT BACKGROUND FIX
   ========================================= */
#mobile-search-input,
.mah-search-container input {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
}

.nav-actions-container .nav-search-input {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* =========================================
   MOBILE HEADER MAROON THEME PATCH
   ========================================= */
.mobile-app-header {
  display: flex !important;
  flex-direction: column !important;
  background: linear-gradient(rgba(74, 14, 23, 0.55), rgba(74, 14, 23, 0.55)), url('../../images/BEONE HERO.png') no-repeat center top var(--maroon-deep) !important;
  background-size: cover !important;
  border-bottom: none !important;
  border-radius: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  min-height: auto !important;
  width: 100vw !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Brand Story Block (Zoomed-in) */
.mah-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 0 0px;
  text-align: center;
  position: relative;
  z-index: 5;
}

/* Radial golden glow behind logo */
.mah-brand-block::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.18) 0%, transparent 70%);
  pointer-events: none;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0%   { opacity: 0.5; transform: translateX(-50%) scale(0.95); }
  100% { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

.mah-brand-logo {
  width: 180px !important;
  height: auto !important;
  filter: drop-shadow(0 0 18px rgba(201,168,76,0.35)) drop-shadow(0 8px 24px rgba(0,0,0,0.55));
  margin-top: -5px !important;
  margin-bottom: -10px !important;
  margin-left: -16px !important; /* Optical centering adjustment */
  animation: logoPulse 4s ease-in-out infinite;
  transition: transform 0.5s ease;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(201,168,76,0.25)) drop-shadow(0 8px 24px rgba(0,0,0,0.5)); }
  50%       { filter: drop-shadow(0 0 28px rgba(201,168,76,0.5))  drop-shadow(0 8px 24px rgba(0,0,0,0.6)); }
}

.mah-brand-name {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 2.5rem !important; /* Scaled down from 2.8rem */
  font-weight: 500 !important;
  color: var(--gold) !important;
  letter-spacing: 5px !important; /* Reduced from 6px */
  margin: -25px 0 0 !important; /* Moved down slightly from -40px */
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.mah-brand-slogan {
  font-size: 1.4rem !important;
  color: rgba(255,255,255,0.95) !important;
  letter-spacing: 0.5px !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  font-style: italic;
  font-weight: 300;
  font-family: 'Cormorant Garamond', serif !important;
}

.mah-brand-tagline {
  font-size: 0.6rem !important;
  color: var(--gold) !important;
  letter-spacing: 4px !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  font-weight: 400;
  text-transform: uppercase;
  font-family: 'Kanit', sans-serif !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(201,168,76,0.6) !important;
  width: 55%;
  opacity: 0.85;
}

.mah-title {
  color: #FFFFFF !important;
  margin-top: 58px !important;
  margin-bottom: 8px !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  font-family: var(--font-display, 'Cormorant Garamond'), 'Kanit', sans-serif !important;
  letter-spacing: 0.3px !important;
  text-align: left !important;
  line-height: 1.35 !important;
  padding: 0 20px 0 32px !important;
  position: relative;
  z-index: 2;
}

/* ── Mobile Search Bar ── */
.mah-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 20px 10px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  position: relative;
  z-index: 2;
  transition: border-color 0.3s;
}
.mah-search-bar:focus-within {
  border-bottom-color: var(--gold);
}
.mah-search-bar svg {
  stroke: rgba(255,255,255,0.5) !important;
  flex-shrink: 0;
}
.mah-search-bar input {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Kanit', sans-serif;
  font-weight: 300;
  outline: none;
  width: 100%;
  letter-spacing: 0.3px;
}
.mah-search-bar input::placeholder {
  color: rgba(255,255,255,0.4);
}
@media (min-width: 992px) {
  .mah-search-bar {
    display: none !important;
  }
}
.mah-categories {
  background: var(--maroon-deep) !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  border-radius: 0 !important;
  border: none !important;
  border-top: 1px solid rgba(201,168,76,0.15) !important;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.3) !important;
  position: relative;
  z-index: 10;
  gap: 12px !important;
}
@media (min-width: 992px) {
  .mobile-app-header, 
  .mah-categories {
    display: none !important;
  }
}
.mah-logo span, .mah-contact {
  color: var(--gold) !important;
}

.mah-search-container {
  width: auto !important; /* Changed from 100% for topbar integration */
  max-width: 140px !important; /* Much smaller for topbar */
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  z-index: 100 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.mah-search-container:focus-within {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
.mah-search-container svg {
  stroke: var(--gold) !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 12px !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
#mobile-search-input, .mah-search-container input {
  color: #FFFFFF !important;
  background-color: transparent !important;
  border: none !important;
  width: 110px !important; /* Fixed width for topbar */
  font-family: 'Kanit', sans-serif !important;
  font-size: 0.85rem !important; /* Smaller for topbar */
  font-weight: 300 !important;
  letter-spacing: 0.5px !important;
  outline: none !important;
  padding: 0 0 0 8px !important;
}
#mobile-search-input::placeholder {
  color: rgba(255,255,255,0.45) !important;
}

/* Categories */
.mah-cat-item {
  gap: 2px !important;
}
.mah-cat-item span {
  color: var(--gold) !important;
  font-weight: 500 !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.3px !important;
}
.mah-cat-icon {
  background: transparent !important;
  border: 1.5px solid var(--gold) !important;
  color: var(--gold) !important;
  box-shadow: none !important;
  width: 40px !important;
  height: 40px !important;
  transition: all 0.2s ease;
}
.mah-cat-item:active .mah-cat-icon {
  transform: scale(0.92);
  border-color: var(--gold) !important;
}
.mah-cat-icon svg {
  stroke: var(--gold) !important;
  width: 18px !important;
  height: 18px !important;
}

/* Language Switcher */
.mobile-lang-switcher { 
  border: 1px solid rgba(201,168,76,0.3) !important; 
  background: rgba(0,0,0,0.2) !important; 
}
.mobile-lang-switcher .lang-btn { 
  color: rgba(255,255,255,0.6) !important; 
}
.mobile-lang-switcher .lang-btn.active { 
  background: var(--gold) !important; 
  color: #1A0505 !important; 
}

/* =========================================
   MOBILE NAVBAR SIZE REDUCTION
   ========================================= */
@media (max-width: 768px) {
  .navbar, .navbar.scrolled {
    padding: 8px 12px !important;
    background: var(--maroon-deep) !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2) !important;
  }
  .navbar .nav-logo-text, .navbar.scrolled .nav-logo-text {
    color: var(--gold) !important;
  }
  .navbar .logo-image.light-mode-logo {
    display: none !important;
  }
  .navbar .logo-image.dark-mode-logo {
    display: block !important;
  }
  .navbar .hamburger span {
    background-color: var(--gold) !important;
  }
  .navbar .nav-action-btn, .navbar .nav-login-btn {
    color: var(--gold) !important;
  }
  .nav-logo img {
    height: 35px !important; 
  }
  .nav-logo-text {
    font-size: 1.25rem !important;
  }
  body {
    padding-top: 65px !important; /* Ensure content clears the fixed navbar */
  }
}

/* =========================================
   THAI TYPOGRAPHY FALLBACK FIX
   ========================================= */
.bag-title, 
.bag-summary-title, 
.bag-empty h2,
.section-title,
.page-header h1,
.hero-title,
.mah-title {
  font-family: var(--font-display, 'Cormorant Garamond'), 'Kanit', sans-serif !important;
}

/* ========================================================================= */
/* OMISE CUSTOM PAYMENT UI */
/* ========================================================================= */
.payment-methods { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; margin-bottom: 2.5rem; }
.payment-option { cursor: pointer; display: block; position: relative; margin:0; }
.payment-option input[type="radio"] { position: absolute; opacity: 0; }
.payment-box { border: 1.5px solid rgba(200, 185, 174, 0.4); border-radius: 12px; padding: 1.25rem; transition: all 0.3s ease; background: var(--white); }
.payment-option input[type="radio"]:checked + .payment-box { border-color: var(--maroon); background: #fcfafa; box-shadow: 0 4px 15px rgba(26, 5, 5, 0.05); }
.payment-header { display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: 1.05rem; color: var(--text-color); transition: 0.3s; }
.payment-option input[type="radio"]:checked + .payment-box .payment-header { color: var(--maroon); }
.payment-icons { display: flex; gap: 0.8rem; align-items: center; justify-content: flex-end; }
.payment-icons img { height: 20px !important; width: auto !important; max-width: 60px !important; object-fit: contain; margin: 0; }
.payment-body { margin-top: 1.5rem; border-top: 1px dashed rgba(200, 185, 174, 0.6); padding-top: 1.5rem; }
.radio-circle { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(200, 185, 174, 0.8); display: flex; align-items: center; justify-content: center; transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); flex-shrink: 0; }
.radio-circle::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--maroon); transform: scale(0); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.payment-option input[type="radio"]:checked + .payment-box .radio-circle { border-color: var(--maroon); }
.payment-option input[type="radio"]:checked + .payment-box .radio-circle::after { transform: scale(1); }

@media(max-width: 600px) {
  .payment-header { font-size: 0.95rem; }
  .payment-icons img { height: 12px; }
  .radio-circle { width: 18px; height: 18px; }
  .radio-circle::after { width: 9px; height: 9px; }
}

/* ========================================================================= */
/* PREORDER CUSTOM MODAL UI */
/* ========================================================================= */
.preorder-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(58, 10, 10, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.preorder-modal-card {
  background: var(--bg-card, #FFFFFF);
  border: 2.5px solid var(--gold);
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5), 0 0 30px rgba(201,168,76,0.2);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  overflow: hidden;
}

.preorder-overlay.active .preorder-modal-card {
  transform: scale(1);
}

.preorder-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
}

.preorder-close:hover {
  color: var(--maroon);
  transform: scale(1.1);
}

.preorder-logo-container {
  margin-bottom: 1rem;
}

.preorder-logo-img {
  height: 48px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.25));
}

.preorder-badge-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #C9A84C;
  border: 1px solid rgba(201, 168, 76, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
  background: rgba(201, 168, 76, 0.05);
}

.preorder-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.preorder-desc {
  font-size: 0.9rem;
  color: var(--text-secondary, #6B6B6B);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.preorder-image-preview {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #FFF;
}

.preorder-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preorder-line-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #06C755, #05B34C);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  width: 100%;
  padding: 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  border: none;
}

.preorder-line-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4), 0 0 12px rgba(201, 168, 76, 0.2);
  filter: brightness(1.05);
}

.preorder-line-btn svg {
  flex-shrink: 0;
}

/* ═══ GLOBAL PERSISTENT LANGUAGE SWITCHER OVERRIDES ═══ */
.nav-container {
  position: relative !important;
}

@media (max-width: 768px) {
  .lang-currency-switch {
    display: flex !important;
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.75rem !important;
    padding: 2px 4px !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(212,175,55,0.2) !important;
    border-radius: 50px !important;
    z-index: 10001 !important;
  }
  .lang-currency-switch span.lang-btn {
    padding: 3px 6px !important;
    border-radius: 50px !important;
    color: rgba(255,255,255,0.6) !important;
  }
  .lang-currency-switch span.lang-btn.active {
    background: var(--gold) !important;
    color: #1A0505 !important;
  }
  .home-page .lang-currency-switch {
    display: none !important;
  }
}