/* ==========================================================================
   MARSO — Haute Parfumerie & Editorial Luxury Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts: Cormorant Garamond (Editorial Serif) + Inter (Clean Sans)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&display=swap');

/* --------------------------------------------------------------------------
   Design System: Warm Obsidian, Aged Gold, Champagne & Ambient Amber
   -------------------------------------------------------------------------- */
:root {
  /* Warm luxury dark palette */
  --bg-darkest: #070605;
  --bg-body: #0A0908;
  --bg-surface: #12100E;
  --bg-surface-elevated: #1A1714;
  --bg-card: rgba(22, 19, 16, 0.65);
  --bg-card-hover: rgba(32, 27, 22, 0.85);

  /* Gold & Amber Palette */
  --gold-primary: #D4AF37;
  --gold-champagne: #F3E5AB;
  --gold-light: #E8C86E;
  --gold-amber: #C59B4B;
  --gold-dark: #8C6D2D;
  --gold-glow: rgba(212, 175, 55, 0.18);
  --amber-glow: rgba(229, 148, 56, 0.12);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(212, 175, 55, 0.22);
  --border-gold-hover: rgba(212, 175, 55, 0.55);

  /* Text colors */
  --text-primary: #F7F5F0;
  --text-secondary: #D1CCC4;
  --text-muted: #968F85;
  --text-dim: #6B655C;

  /* WhatsApp Accent */
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #20BD5A;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max-width: 1360px;
  --container-padding: 28px;
}

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

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

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Film Grain Noise Texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

::selection {
  background-color: var(--gold-primary);
  color: #000;
}

:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

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

button {
  font-family: inherit;
}

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

/* --------------------------------------------------------------------------
   Layout & Common Styles
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.gold-text {
  color: var(--gold-primary);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-champagne);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(22, 19, 16, 0.4) 100%);
  padding: 7px 22px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   Luxury Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
  background: linear-gradient(135deg, #E5C365 0%, #C59B4B 50%, #A67C2E 100%);
  color: #080706;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(197, 155, 75, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.75s ease;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(212, 175, 55, 0.45);
  filter: brightness(1.06);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--text-primary);
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   1. Luxury Floating Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 7, 6, 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  height: 80px;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(8, 7, 6, 0.94);
  border-bottom-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  height: 72px;
}

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

.logo-wrapper {
  display: flex;
  flex-direction: column;
}

.logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 5px;
  text-transform: uppercase;
  line-height: 1;
}

.logo-tagline {
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-top: 3px;
  opacity: 0.85;
}

.logo-accent {
  color: var(--gold-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #B0AAA0;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

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

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

.header-cta {
  padding: 10px 22px;
  font-size: 0.82rem;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--whatsapp-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--whatsapp-green);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gold-primary);
  cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.98);
  backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-menu-link {
  font-size: 1.5rem;
  color: #CCCCCC;
  font-family: var(--font-serif);
  letter-spacing: 1px;
  transition: color 0.3s;
}

.mobile-menu-link:hover {
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   2. Hero Section (Haute Couture)
   -------------------------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 36px;
  background: 
    radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(197, 155, 75, 0.06) 0%, transparent 50%),
    var(--bg-body);
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(15, 13, 10, 0.7) 100%);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-champagne);
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.hero-subtitle {
  color: #C0B9AD;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 30px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 19, 16, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: #D1CCC4;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.metric-pill:hover {
  border-color: var(--gold-primary);
  background: rgba(30, 25, 20, 0.8);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold-primary);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.4s ease;
  animation: bounce 2.4s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-7px); }
  60% { transform: translateY(-3px); }
}

/* --------------------------------------------------------------------------
   Luxury Marquee (Ticker Bar)
   -------------------------------------------------------------------------- */
.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #070605, #14110C 50%, #070605);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding: 16px 0;
  position: relative;
  z-index: 10;
}

.marquee-content {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-champagne);
  opacity: 0.9;
}

.marquee-separator {
  color: var(--gold-primary);
  opacity: 0.5;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   3. Atmospheric Mood Selector ("Выбор по атмосфере")
   -------------------------------------------------------------------------- */
.mood-selector-section {
  padding: 80px 0 40px;
  background: var(--bg-body);
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mood-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mood-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--gold-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mood-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.mood-card:hover::before,
.mood-card.active::before {
  opacity: 1;
}

.mood-card.active {
  border-color: var(--gold-primary);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.15) 0%, rgba(26, 23, 20, 0.9) 100%);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
}

.mood-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.mood-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.mood-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   4. Philosophy & Benefits (Museum Pillars)
   -------------------------------------------------------------------------- */
.benefits-section {
  background: linear-gradient(180deg, #070605 0%, #100E0C 50%, #070605 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px 30px;
  transition: all 0.4s ease;
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.benefit-roman {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--gold-primary);
  opacity: 0.7;
  margin-bottom: 20px;
  display: block;
}

.benefit-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.benefit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   4b. Partnership & Business Opportunity Section
   -------------------------------------------------------------------------- */
.partnership-section {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 70%), var(--bg-body);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 90px 0;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.partnership-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  padding: 34px 24px;
  transition: all 0.35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.partnership-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.partnership-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(22, 19, 16, 0.6) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.partnership-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.partnership-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Partnership CTA Box */
.partnership-cta-box {
  background: linear-gradient(135deg, rgba(28, 24, 19, 0.95) 0%, rgba(14, 12, 10, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(212, 175, 55, 0.3);
}

.partnership-cta-text h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.partnership-cta-text p {
  color: #D1CCC4;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 650px;
}

.partnership-wa-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 16px 36px;
}

@media (max-width: 992px) {
  .partnership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partnership-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .partnership-wa-btn {
    width: 100%;
  }
}

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

/* --------------------------------------------------------------------------
   5. Bestseller Spotlight Banner
   -------------------------------------------------------------------------- */
.bestseller-banner {
  background: radial-gradient(circle at 75% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%), linear-gradient(135deg, #181512 0%, #0E0C0A 100%);
  border: 1px solid var(--border-gold);
  border-radius: 28px;
  padding: 56px;
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.bestseller-content h3 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.bestseller-content p {
  color: #C0B9AD;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.bestseller-items-preview {
  display: flex;
  gap: 16px;
}

.bestseller-pill {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 0.85rem;
  color: var(--gold-champagne);
}

/* --------------------------------------------------------------------------
   6. Catalog Section & Museum Placard Cards
   -------------------------------------------------------------------------- */
.catalog-section {
  background: var(--bg-body);
  padding: 50px 0 90px;
}

.catalog-header {
  margin-bottom: 24px;
}

.catalog-header .section-title {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.catalog-header .section-subtitle {
  color: #D6D0C2;
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.catalog-controls {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Live Search Bar */
.search-bar-wrapper {
  width: 100%;
  max-width: 640px;
  margin-bottom: 16px;
  padding: 0 8px;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(20, 17, 14, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50px;
  padding: 6px 18px;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.search-bar:focus-within {
  border-color: var(--gold-primary);
  background: rgba(26, 22, 18, 0.95);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 8px 25px rgba(0, 0, 0, 0.6);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  opacity: 0.85;
  margin-right: 12px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #F5F5F5;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 8px 0;
}

.search-input::placeholder {
  color: #78716C;
  font-size: 0.88rem;
}

.search-clear-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CCCCCC;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 8px;
  flex-shrink: 0;
}

.search-clear-btn:hover {
  background: rgba(212, 175, 55, 0.3);
  color: #FFFFFF;
}

/* Tier 1: Main Type Switcher (All / Perfumes / Diffusers / Auto / Care) */
.type-switcher {
  display: flex;
  width: 100%;
  max-width: 680px;
  background: rgba(24, 20, 16, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  overflow-x: auto;
  scrollbar-width: none;
}

.type-switcher::-webkit-scrollbar {
  display: none;
}

.type-tab {
  flex: 1;
  padding: 10px 14px;
  border-radius: 40px;
  border: 1px solid transparent;
  background: transparent;
  color: #A8A296;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  gap: 6px;
}

.tab-badge-soon {
  background: rgba(212, 175, 55, 0.2);
  color: #D4AF37;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.type-tab:hover {
  color: #FFFFFF;
  background: rgba(212, 175, 55, 0.08);
}

.type-tab.active {
  background: linear-gradient(135deg, #D4AF37 0%, #AA8022 100%);
  color: #070605;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
  border-color: rgba(255, 255, 255, 0.25);
}

.tab-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.type-tab.active .tab-icon-svg {
  color: #070605;
}

/* Tier 2: Fragrance Family Chips */
.family-chips-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 16px;
}

.family-chips-wrapper::-webkit-scrollbar {
  display: none;
}

.family-chips {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.family-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #B5AFA2;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip-icon-svg {
  display: inline-block;
  color: var(--gold-primary);
  vertical-align: middle;
  transition: color 0.25s ease, transform 0.25s ease;
}

.family-chip:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
  background: rgba(212, 175, 55, 0.08);
}

.family-chip.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-champagne);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.family-chip.active .chip-icon-svg {
  color: var(--gold-champagne);
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
}

@media (max-width: 768px) {
  .catalog-section {
    padding: 30px 0 60px;
  }

  .catalog-header .section-title {
    font-size: 2.1rem;
  }

  .catalog-header .section-subtitle {
    font-size: 0.92rem;
  }

  .type-switcher {
    max-width: 100%;
  }

  .type-tab {
    padding: 9px 4px;
    font-size: 0.8rem;
  }

  .family-chips-wrapper {
    justify-content: flex-start;
    padding: 4px 8px;
  }

  .family-chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .family-chip {
    padding: 6px 12px;
    font-size: 0.76rem;
    flex-shrink: 0;
  }
}

/* Museum Placard Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 320px 520px;
  transform: translateZ(0);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.12);
}

.card-image-container {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: #080706;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.card-badges-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  gap: 8px;
}

.card-badge {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: white;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.card-tags-group {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.card-tag {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.card-tag-auto {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header-info {
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.card-subtitle {
  color: var(--gold-primary);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.86rem;
  color: #A39D94;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Scent pyramid preview badge */
.card-notes-preview {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: #D1CCC4;
  margin-bottom: 12px;
  line-height: 1.5;
}

.note-label {
  color: var(--gold-champagne);
  font-weight: 600;
  margin-right: 4px;
}

.card-format-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.08);
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 18px;
  width: fit-content;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.card-status-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-price {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.25);
}

.card-stock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #10B981;
}

.stock-dot {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.card-volume-hint {
  font-size: 0.74rem;
  color: var(--text-dim);
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-details {
  padding: 9px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #D1CCC4;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-details:hover {
  border-color: var(--gold-primary);
  color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.08);
}

.btn-order {
  padding: 9px 20px;
  border-radius: 50px;
  background: var(--whatsapp-green);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px var(--whatsapp-glow);
}

.btn-order:hover {
  background: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--whatsapp-glow);
}

/* --------------------------------------------------------------------------
   7. Consultation Banner
   -------------------------------------------------------------------------- */
.consultation-section {
  padding: 60px 0;
}

.consultation-card {
  background: radial-gradient(circle at 100% 50%, rgba(212, 175, 55, 0.18) 0%, transparent 70%), linear-gradient(135deg, #1C1814 0%, #0E0C0A 100%);
  border: 1px solid var(--border-gold);
  border-radius: 28px;
  padding: 56px 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.consultation-content {
  max-width: 720px;
}

.card-pill {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.consultation-card h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 14px;
  color: #FFFFFF;
  line-height: 1.2;
}

.consultation-card p {
  color: #C0B9AD;
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.consultation-btn {
  background: var(--whatsapp-green);
  color: white;
}

.consultation-btn:hover {
  background: var(--whatsapp-green-hover);
  box-shadow: 0 10px 30px var(--whatsapp-glow);
}

.consultation-decor {
  opacity: 0.12;
  color: var(--gold-primary);
}

.consultation-decor .decor-icon {
  width: 160px;
  height: 160px;
}

/* --------------------------------------------------------------------------
   8. Bundles & Gift Hampers Section
   -------------------------------------------------------------------------- */
.bundles-section {
  background: linear-gradient(180deg, #070605 0%, #100E0C 50%, #070605 100%);
  border-top: 1px solid var(--border-subtle);
}

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 28px;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s ease;
}

.bundle-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-hover);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.bundle-card.featured {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(26, 22, 18, 0.95) 100%);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.bundle-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.bundle-badge.gold {
  background: var(--gold-primary);
  color: #080706;
}

.bundle-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.bundle-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

.bundle-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.bundle-features li {
  font-size: 0.92rem;
  color: #D1CCC4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bundle-btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   9. Steps / How It Works
   -------------------------------------------------------------------------- */
.delivery-section {
  background: var(--bg-body);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 36px 26px;
  position: relative;
  transition: all 0.35s ease;
}

.step-card:hover {
  border-color: var(--border-gold-hover);
  background: var(--bg-card-hover);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-primary);
  opacity: 0.8;
  margin-bottom: 14px;
  line-height: 1;
}

.step-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Testimonials / Editorial Quotes
   -------------------------------------------------------------------------- */
.reviews-section {
  background: linear-gradient(180deg, #070605 0%, #100E0C 100%);
  border-top: 1px solid var(--border-subtle);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
}

.review-card:hover {
  border-color: var(--border-gold-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #080706;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-family: var(--font-serif);
}

.review-author-info {
  flex-grow: 1;
}

.review-name {
  font-weight: 600;
  color: #FFFFFF;
  font-size: 1rem;
}

.review-city {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.review-stars {
  color: var(--gold-primary);
  font-size: 0.95rem;
  letter-spacing: 3px;
}

.review-verified {
  font-size: 0.75rem;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
}

.review-text {
  color: #D1CCC4;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
  font-family: var(--font-serif);
}

.review-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gold-champagne);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 7px 14px;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   11. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-section {
  background: var(--bg-body);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.faq-item.active {
  border-color: var(--border-gold-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.faq-question {
  width: 100%;
  padding: 24px 32px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-icon {
  color: var(--gold-primary);
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 32px;
  color: #A39D94;
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 32px 28px;
}

/* --------------------------------------------------------------------------
   12. Final CTA Boutique Card
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: 80px 0 120px;
}

.final-cta-card {
  background: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.22) 0%, transparent 70%),
    linear-gradient(135deg, #1C1814 0%, #0E0C0A 100%);
  border: 1px solid var(--border-gold);
  border-radius: 32px;
  padding: 72px 48px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.15);
}

.final-cta-card h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 18px;
  line-height: 1.2;
}

.final-cta-card p {
  color: #C0B9AD;
  font-size: 1.15rem;
  max-width: 660px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.final-wa-btn {
  background: var(--whatsapp-green);
  color: white;
  font-size: 1.05rem;
  padding: 18px 42px;
  box-shadow: 0 8px 30px var(--whatsapp-glow);
}

.final-wa-btn:hover {
  background: var(--whatsapp-green-hover);
  box-shadow: 0 12px 40px var(--whatsapp-glow);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #050404;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  padding: 56px 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 5px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.footer-partner {
  color: var(--gold-champagne);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.footer-desc {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.footer-copyright {
  color: #4A453E;
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   14. Product Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 3, 0.9);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #14110E;
  border-radius: 28px;
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border-gold-hover);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
}

.modal-overlay.active .modal {
  animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--gold-primary);
  color: #080706;
}

.modal-image-container {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  padding: 40px;
}

.modal-header-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.modal-badge-custom, .modal-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  padding: 5px 14px;
  border-radius: 50px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.modal-subtitle-text {
  color: var(--gold-primary);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.modal-desc {
  color: #B5AFA5;
  line-height: 1.8;
  font-size: 0.98rem;
  margin-bottom: 30px;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 14px;
  padding: 16px 18px;
}

.spec-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-champagne);
  margin-bottom: 4px;
}

.spec-value {
  font-size: 0.92rem;
  color: #F7F5F0;
  font-weight: 500;
}

.modal-order-btn {
  width: 100%;
  padding: 18px;
  border-radius: 50px;
  background: var(--whatsapp-green);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px var(--whatsapp-glow);
}

.modal-order-btn:hover {
  background: var(--whatsapp-green-hover);
  box-shadow: 0 12px 35px var(--whatsapp-glow);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px var(--whatsapp-glow);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px var(--whatsapp-glow);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.45); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 78px;
  background: rgba(14, 12, 10, 0.94);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  white-space: nowrap;
  border: 1px solid rgba(212, 175, 55, 0.3);
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   16. Fade-in Animations
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* --------------------------------------------------------------------------
   17. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .benefits-grid, .mood-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bundles-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .bestseller-banner {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2.3rem;
  }
  .nav-links, .header-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .consultation-card {
    padding: 36px 24px;
    flex-direction: column;
    text-align: center;
  }
  .consultation-decor {
    display: none;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
  }
  .steps-grid, .benefits-grid, .mood-grid {
    grid-template-columns: 1fr;
  }
  .modal-content {
    padding: 24px;
  }
  .modal-title {
    font-size: 1.6rem;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .card-actions {
    width: 100%;
  }
  .btn-details, .btn-order {
    flex: 1;
    justify-content: center;
  }
}

/* --- Luxury Design Skills & Polish Extensions --- */

/* Hero Category Cards */
.hero-category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: 960px;
  width: 100%;
  margin: 36px auto 0;
}

.hero-cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(22, 18, 14, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 18px;
  padding: 16px 20px;
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.hero-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  background: rgba(32, 26, 20, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
}

.hero-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-cat-card:hover .hero-cat-icon {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-champagne);
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.hero-cat-info h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.hero-cat-info p {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.hero-cat-arrow {
  margin-left: auto;
  color: var(--gold-primary);
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-cat-card:hover .hero-cat-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.pyramid-glyph {
  display: inline-block;
  color: var(--gold-primary);
  font-size: 0.68rem;
  margin-right: 4px;
  vertical-align: middle;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

@media (max-width: 768px) {
  .hero-category-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
}

/* Quick Search Tags */
.search-quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  padding: 0 4px;
}

.quick-tags-label {
  font-size: 0.76rem;
  color: #8C827A;
  font-weight: 500;
}

.quick-tag-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 4px 11px;
  font-size: 0.76rem;
  color: #D1CCC4;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-tag-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Quality Comparison Matrix */
.quality-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.matrix-card {
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.matrix-card.highlight {
  background: linear-gradient(135deg, rgba(30, 24, 18, 0.95), rgba(18, 14, 10, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.1);
}

.matrix-card.faded {
  background: rgba(18, 16, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.8;
}

.matrix-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-champagne);
  border: 1px solid rgba(212, 175, 55, 0.35);
  margin-bottom: 14px;
  width: fit-content;
}

.matrix-badge.muted {
  background: rgba(255, 255, 255, 0.06);
  color: #8C827A;
  border-color: rgba(255, 255, 255, 0.1);
}

.matrix-card h4 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.matrix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.matrix-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #D1CCC4;
  line-height: 1.5;
}

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

/* Partnership Profit Calculator */
.partnership-calc-card {
  background: linear-gradient(135deg, rgba(28, 22, 16, 0.95), rgba(16, 13, 10, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  padding: 40px 36px;
  margin-bottom: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(212, 175, 55, 0.1);
}

.calc-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}

.calc-header h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin: 10px 0 8px;
}

.calc-header p {
  font-size: 0.9rem;
  color: #B5AFA2;
}

.calc-control-group {
  max-width: 640px;
  margin: 0 auto 32px;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #D1CCC4;
}

.calc-slider-val strong {
  font-size: 1.3rem;
  color: var(--gold-champagne);
  margin-right: 4px;
}

.luxury-slider {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.luxury-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #AA8022);
  cursor: pointer;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
  border: 2px solid #FFFFFF;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-box.featured {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.calc-res-label {
  font-size: 0.78rem;
  color: #9E978E;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-res-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
}

.gold-glow-text {
  color: var(--gold-champagne);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
  .calc-results-grid {
    grid-template-columns: 1fr;
  }
}
/* Free Delivery Promo Banner */
.free-delivery-banner {
  background: linear-gradient(135deg, rgba(35, 28, 20, 0.95), rgba(18, 14, 10, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 28px 36px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.12);
}

.free-delivery-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.free-delivery-text h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.free-delivery-text p {
  font-size: 0.88rem;
  color: #D1CCC4;
  line-height: 1.5;
}

.free-delivery-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 12px 28px;
}

@media (max-width: 768px) {
  .free-delivery-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .free-delivery-btn {
    width: 100%;
  }
}
/* ══════════════════════════════════════════════════════
   3D FLIP CARD EFFECT & SINGLE 5+1 PROMO SET
   ══════════════════════════════════════════════════════ */

/* 3D Flip Card Container */
.flip-card {
  perspective: 1200px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 520px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-style: preserve-3d;
  display: flex;
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: relative;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

/* Back Side of Card */
.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: rotateY(180deg);
  padding: 24px 20px;
  background: linear-gradient(145deg, #181410 0%, #0D0B09 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(212, 175, 55, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

/* Flip Trigger Button on Front */
.btn-flip-trigger {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 12, 10, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-champagne);
  padding: 6px 13px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-flip-trigger:hover {
  background: var(--gold-primary);
  color: #070605;
  border-color: var(--gold-champagne);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.flip-back-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.flip-back-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold-champagne);
  text-transform: uppercase;
}

.btn-flip-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-flip-close:hover {
  background: rgba(212, 175, 55, 0.3);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.flip-back-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.flip-back-subtitle {
  font-size: 0.82rem;
  color: #9E978E;
  margin-bottom: 16px;
}

.flip-notes-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  flex: 1;
  overflow-y: auto;
}

.flip-note-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
}

.flip-note-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold-champagne);
  margin-bottom: 3px;
}

.flip-note-val {
  font-size: 0.84rem;
  color: #D1CCC4;
  line-height: 1.45;
}

.flip-back-footer {
  margin-top: auto;
}

.flip-back-order-btn {
  width: 100%;
  padding: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  border-radius: 50px;
}

/* ══════════════════════════════════════════════════════
   SINGLE PROMO BANNER (АКЦИЯ 5+1 В ПОДАРОК)
   ══════════════════════════════════════════════════════ */
.bundle-single-card {
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 60%), linear-gradient(135deg, #1A1510 0%, #0D0B08 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 28px;
  padding: 50px 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 175, 55, 0.15);
  position: relative;
}

.bundle-single-badge {
  display: inline-block;
  background: linear-gradient(135deg, #D4AF37 0%, #AA8022 100%);
  color: #070605;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.bundle-single-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.bundle-single-desc {
  font-size: 1.15rem;
  color: #E8E4DC;
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.bundle-single-desc strong {
  color: var(--gold-champagne);
}

.bundle-single-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.bundle-tag-chip {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.84rem;
  color: #FFFFFF;
}

.bundle-single-note {
  font-size: 0.88rem;
  color: #A39B90;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.bundle-single-actions {
  display: flex;
  justify-content: center;
}

.bundle-single-btn {
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .bundle-single-card {
    padding: 32px 20px;
  }
  .bundle-single-title {
    font-size: 1.8rem;
  }
  .bundle-single-desc {
    font-size: 0.98rem;
  }
  .bundle-single-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.92rem;
  }
}
