/* =============================================
   AROMATCH – Website Version Stylesheet
   ============================================= */

/* ── Custom Properties ── */
:root {
  --cream: #FCFAF6;
  --cream-dark: #F5F1E9;
  --white: #FFFFFF;
  --champagne: #F4EFE6;
  --gold: #C5A880;
  --gold-dark: #8E7554;
  --gold-light: #E2D6C5;
  --beige: #EFEAE2;
  --beige-mid: #D1C7BA;
  --brown-light: #8A7B6E;
  --brown: #5C4F44;
  --brown-dark: #362E27;
  --dark: #161310;
  --darker: #0E0C0A;
  --text-dark: #2C2621;
  --text-mid: #61554B;
  --text-light: #94877A;
  --text-muted: #BEB3A6;
  --accent-red: #D97878;

  --shadow-sm: 0 2px 12px rgba(22, 19, 16, 0.04);
  --shadow-md: 0 8px 24px rgba(22, 19, 16, 0.07);
  --shadow-lg: 0 16px 40px rgba(22, 19, 16, 0.10);
  --shadow-xl: 0 24px 48px rgba(22, 19, 16, 0.14);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

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

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

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =================================================
   NAVBAR
   ================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  transition: all 0.3s var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(139, 105, 20, 0.08);
  background: rgba(250, 247, 242, 0.95);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--champagne);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(201, 169, 110, 0.25);
  transition: transform 0.3s var(--ease);
  overflow: visible;
}

.nav-brand:hover .nav-logo-icon {
  transform: translateY(-2px) scale(1.07);
}

.nav-brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  display: block;
  line-height: 1.1;
}

.nav-brand-sub {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
  position: relative;
}

.nav-link:hover {
  color: var(--text-dark);
  background: rgba(201, 169, 110, 0.1);
}

.nav-link.active {
  color: var(--gold-dark);
  background: var(--champagne);
  font-weight: 600;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-hamburger span {
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

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

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

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

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 20, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.mobile-nav-overlay.show {
  display: block;
  opacity: 1;
}

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: var(--nav-h);
  right: 0;
  width: 260px;
  background: var(--white);
  border-radius: 0 0 0 var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  padding: 16px 0;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}

.mobile-nav-panel.show {
  display: block;
  transform: translateX(0);
}

.mobile-nav-link {
  display: block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  transition: all 0.2s var(--ease);
}

.mobile-nav-link:hover {
  background: var(--champagne);
  color: var(--text-dark);
}

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

  .nav-hamburger {
    display: flex;
  }
}

/* =================================================
   HERO
   ================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(30, 22, 15, 0.75), rgba(20, 14, 10, 0.85)), url('../static/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(201, 169, 110, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 40%, rgba(245, 230, 200, 0.08) 0%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }

  20% {
    opacity: 0.6;
  }

  80% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(-200px);
  }
}

.hero-content-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.hero-text {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: badgePulse 3s ease infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.3);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(201, 169, 110, 0);
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

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

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-desc strong {
  color: var(--gold-light);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  box-shadow: 0 6px 24px rgba(139, 105, 20, 0.45);
  transition: all 0.3s var(--ease);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(139, 105, 20, 0.55);
}

.btn-hero-primary:active {
  transform: scale(0.97);
}

.btn-hero-secondary {
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-light);
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(201, 169, 110, 0.3);
  transition: all 0.3s var(--ease);
}

.btn-hero-secondary:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-light);
  display: block;
}

.hero-stat-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
  display: block;
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(201, 169, 110, 0.2);
}

.hero-visual {
  flex: 0 0 auto;
  position: relative;
}

.hero-bottle-wrap {
  position: relative;
  width: 340px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bottle {
  width: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  animation: heroFloat 5s ease-in-out infinite;
  z-index: 1;
  position: relative;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

.hero-bottle-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

.hero-bottle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 50%;
  animation: ringRotate 15s linear infinite;
}

@keyframes ringRotate {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-scroll-hint {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.3);
  animation: scrollBounce 2s ease-in-out infinite;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 900px) {
  .hero-content-wrap {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-bottle-wrap {
    width: 240px;
    height: 300px;
  }

  .hero-bottle {
    width: 180px;
  }
}

@media (max-width: 500px) {
  .hero-bottle-wrap {
    width: 200px;
    height: 260px;
  }
}

/* =================================================
   SECTIONS
   ================================================= */
.section {
  padding: 80px 0;
}

.section-quiz {
  background: var(--white);
}

.section-catalog {
  background: var(--cream);
}

.section-results {
  background: linear-gradient(180deg, var(--dark) 0%, var(--brown-dark) 100%);
  padding: 60px 0 80px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-heading em {
  color: var(--gold-dark);
  font-style: italic;
}

.section-subheading {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

/* =================================================
   QUIZ
   ================================================= */
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
}

.quiz-progress {
  margin-bottom: 32px;
}

.quiz-progress-bar {
  height: 5px;
  background: var(--beige);
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 3px;
  transition: width 0.5s var(--ease);
}

.quiz-step-label {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
  text-align: right;
}

.quiz-step-header {
  text-align: center;
  margin-bottom: 32px;
}

.quiz-step-emoji {
  font-size: 48px;
  margin-bottom: 16px;
}

.quiz-step-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.quiz-step-sub {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Single select */
.quiz-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quiz-option {
  background: var(--cream);
  border: 2px solid var(--beige);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.3s var(--ease);
  text-align: center;
  height: 100%;
}

.quiz-option:hover {
  border-color: var(--gold-light);
  background: var(--champagne);
}

.quiz-option.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), rgba(245, 230, 200, 0.4));
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.quiz-option:active {
  transform: scale(0.98);
}

.quiz-option-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.quiz-option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.quiz-option-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
}

.quiz-option-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .quiz-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .quiz-option {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 20px;
    gap: 14px;
    text-align: left;
    height: auto;
  }
  
  .quiz-option-text {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
  }
  
  .quiz-option-label {
    font-size: 15px;
  }
  
  .quiz-option-desc {
    font-size: 12px;
  }
}

.quiz-option-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.quiz-option.selected .quiz-option-check {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
}

.quiz-option.selected .quiz-option-check::after {
  content: '✓';
  color: white;
  font-size: 13px;
  font-weight: 700;
}

/* Multi select */
.quiz-multi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quiz-multi-btn {
  background: var(--cream);
  border: 2px solid var(--beige);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: all 0.3s var(--ease);
  width: 100%;
}

.quiz-multi-btn:hover {
  border-color: var(--gold-light);
  background: var(--champagne);
}

.quiz-multi-btn.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.08), rgba(245, 230, 200, 0.4));
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.quiz-multi-btn:active {
  transform: scale(0.96);
}

.quiz-multi-emoji {
  font-size: 24px;
}

.quiz-multi-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.quiz-footer {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  justify-content: center;
  align-items: center;
}

.btn-quiz-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--beige);
  transition: all 0.3s var(--ease);
}

.btn-quiz-back:hover {
  border-color: var(--gold-light);
}

.btn-quiz-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(139, 105, 20, 0.35);
  transition: all 0.3s var(--ease);
}

.btn-quiz-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(139, 105, 20, 0.45);
}

.btn-quiz-next:active {
  transform: scale(0.97);
}

.btn-quiz-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* =================================================
   RESULTS
   ================================================= */
.results-header {
  text-align: center;
  margin-bottom: 40px;
}

.results-emoji {
  font-size: 40px;
  margin-bottom: 12px;
}

.results-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
}

.results-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.results-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.results-tag {
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.result-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  backdrop-filter: blur(8px);
}

.result-card.show {
  opacity: 1;
  transform: translateY(0);
}

.result-card:hover {
  background: rgba(201, 169, 110, 0.12);
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-3px);
}

.result-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  background: rgba(15, 15, 15, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 4px 9px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.result-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  background: linear-gradient(145deg, rgba(245, 230, 200, 0.15), rgba(201, 169, 110, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.result-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.result-info {
  flex: 1;
  min-width: 0;
  padding: 0 4px 4px;
}

.result-brand {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 3px;
}

.result-name {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0;
}

.result-reason {
  display: none;
}



.results-retry-wrap {
  text-align: center;
  margin-top: 32px;
}

.btn-retry {
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all 0.3s var(--ease);
}

.btn-retry:hover {
  background: rgba(201, 169, 110, 0.25);
}

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

/* =================================================
   CATALOG
   ================================================= */
.catalog-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.catalog-search {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: all 0.3s var(--ease);
}

.catalog-search:focus-within {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1), var(--shadow-sm);
}

.catalog-search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.catalog-search:focus-within .catalog-search-icon {
  color: var(--gold);
}

#catalog-search {
  flex: 1;
  font-size: 14px;
  color: var(--text-dark);
  caret-color: var(--gold);
}

#catalog-search::placeholder {
  color: var(--text-muted);
}

.catalog-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.catalog-filter-toggle:hover {
  border-color: var(--gold-light);
}

.catalog-filter-toggle.active {
  background: var(--text-dark);
  color: var(--gold-light);
  border-color: var(--text-dark);
}

.filter-count {
  background: var(--gold);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Filters Panel */
.catalog-filters {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.3s var(--ease);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

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

.filter-row {
  margin-bottom: 18px;
}

.filter-row:last-of-type {
  margin-bottom: 0;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  display: block;
}

.filter-tab-header {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  border-bottom: 1.5px solid var(--beige);
  padding-bottom: 6px;
}

.filter-tab-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-tab-btn:hover {
  color: var(--text-dark);
}

.filter-tab-btn.active {
  background: var(--beige);
  color: var(--text-dark);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fchip {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--cream);
  border: 1.5px solid var(--beige);
  transition: all 0.3s var(--ease);
}

.fchip:hover {
  border-color: var(--gold-light);
}

.fchip.active {
  background: var(--text-dark);
  color: var(--gold-light);
  border-color: var(--text-dark);
}

.fchip:active {
  transform: scale(0.95);
}

.filter-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--beige);
}

.btn-filter-reset {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--beige);
  transition: all 0.3s var(--ease);
}

.btn-filter-reset:hover {
  border-color: var(--gold-light);
}

.btn-filter-apply {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(139, 105, 20, 0.3);
  transition: all 0.3s var(--ease);
}

.btn-filter-apply:hover {
  transform: translateY(-1px);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--champagne);
  color: var(--brown);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-light);
}

.active-filter-chip button {
  color: var(--brown-light);
  font-size: 14px;
  line-height: 1;
  transition: color 0.2s;
}

.active-filter-chip button:hover {
  color: var(--text-dark);
}

.catalog-result-count {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ── Perfume Grid ── */
.perfume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* ── Perfume Card ── */
.perfume-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  border: 1px solid transparent;
}

.perfume-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(22, 19, 16, 0.12);
  border-color: var(--gold-light);
}

.perfume-card:active {
  transform: scale(0.98);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, var(--champagne), var(--beige));
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 0.5s var(--ease);
}

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

.card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.perfume-card:hover .card-img-wrap::after {
  transform: translateX(100%);
}

/* Concentrate badge — top LEFT */
.card-badge-conc {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.conc-xdp {
  background: linear-gradient(135deg, #2C1810, #5C3D20);
  color: #F4E4C1;
}

.conc-edp {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
}

.conc-edt {
  background: linear-gradient(135deg, #3A6351, #5E9B80);
  color: white;
}

/* Situation badge — top RIGHT */
.card-badge-time {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--text-dark);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.25);
}

/* Placeholder for no image */
.card-img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--brown-light);
  opacity: 0.5;
}

.card-img-placeholder svg {
  margin-bottom: 6px;
}

.card-img-placeholder span {
  font-size: 10px;
  letter-spacing: 0.5px;
}

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-brand {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.card-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  text-transform: capitalize;
}

/* Spec row: size & gender */
.card-spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: 8px;
  padding: 7px 10px;
}

.card-spec-item {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.card-spec-icon {
  font-size: 11px;
}

.card-spec-val {
  font-size: 11.5px;
  color: var(--text-mid);
  font-weight: 500;
}

.card-spec-divider {
  width: 1px;
  height: 14px;
  background: var(--beige-mid);
}

/* Top notes preview */
.card-notes-preview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.card-notes-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.card-note-chip {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.card-note-chip.top {
  background: rgba(245, 205, 135, 0.2);
  color: #8B6914;
  border: 1px solid rgba(201, 169, 110, 0.35);
}

/* Price + button row */
.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}

.card-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-dark);
  font-family: var(--font-sans);
}

.card-btn {
  background: linear-gradient(135deg, var(--text-dark), var(--brown-dark));
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.card-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 105, 20, 0.35);
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 36px;
}

.btn-load-more {
  background: var(--white);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--beige);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.btn-load-more:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}


/* =================================================
   MODAL
   ================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 20, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  width: 95%;
  max-width: 720px;
  max-height: 90vh;
  background: var(--cream);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-back);
  overflow: hidden;
}

.modal.show {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.modal-close:hover {
  transform: rotate(90deg);
}

.modal-back {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.modal-back:hover {
  transform: translateX(-3px);
  background: var(--cream);
}

.modal-body {
  overflow-y: auto;
  max-height: 90vh;
}

.modal-body::-webkit-scrollbar {
  width: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--beige-mid);
  border-radius: 4px;
}

/* Detail hero inside modal */
.detail-hero {
  position: relative;
  background: linear-gradient(160deg, #1A1008, #3D2410 40%, #6B4C2A);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.14) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.detail-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.detail-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.6));
  z-index: 1;
  margin-top: 36px;
}

.detail-img-placeholder {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  z-index: 1;
  margin-top: 36px;
}

.detail-img-placeholder svg {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
}

/* Hero bottom overlay — info section */
.detail-hero-overlay {
  width: 100%;
  padding: 20px 28px 28px;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, rgba(22, 12, 4, 0.65));
  text-align: center;
}

.detail-brand-name {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: inline-block;
}

.detail-brand-name:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.detail-perfume-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: white;
  line-height: 1.15;
  margin-bottom: 14px;
  text-transform: capitalize;
}

/* Hero badges row */
.detail-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  margin-bottom: 14px;
}

.detail-badge-conc {
  font-size: 10px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Reuse card conc classes for modal badges */
.detail-badge-size,
.detail-badge-gender,
.detail-badge-time {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.25);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
}

/* Price row in hero */
.detail-price-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 20px;
}

.detail-price-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.detail-price-value {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
}

/* Detail tags (legacy, kept for compat) */
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  z-index: 1;
}

.detail-tag {
  background: rgba(201, 169, 110, 0.18);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.detail-content {
  padding: 28px 28px;
}

.detail-section {
  margin-bottom: 28px;
}

.detail-section-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-section-icon {
  font-size: 16px;
}

.detail-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--beige);
}

/* ── Aroma Pyramid ── */
.aroma-pyramid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-sm);
}

.pyramid-tier {
  padding: 16px 20px;
}

.pyramid-tier.tier-top {
  background: linear-gradient(135deg, #FFF8EE, #FFF3E0);
  border-bottom: 1px solid #FFE0B2;
}

.pyramid-tier.tier-mid {
  background: linear-gradient(135deg, #FDF5FF, #F3E5F5);
  border-bottom: 1px solid #E1BEE7;
}

.pyramid-tier.tier-base {
  background: linear-gradient(135deg, #F1F9F1, #E8F5E9);
}

.pyramid-connector {
  height: 0;
}

.pyramid-tier-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.pyramid-tier-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.pyramid-tier-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.pyramid-tier-sub {
  font-size: 10.5px;
  color: var(--text-light);
  margin-top: 1px;
}

.pyramid-notes-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 30px;
}

.pyramid-note-chip {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: transform 0.2s var(--ease);
}

.pyramid-note-chip:hover {
  transform: scale(1.06);
}

.pyramid-note-chip.top {
  background: #FFF3E0;
  color: #BF360C;
  border: 1px solid #FFCC80;
}

.pyramid-note-chip.mid {
  background: #F3E5F5;
  color: #6A1B9A;
  border: 1px solid #CE93D8;
}

.pyramid-note-chip.base {
  background: #E8F5E9;
  color: #1B5E20;
  border: 1px solid #A5D6A7;
}

/* Info grid highlight card */
.info-card-highlight {
  border: 1.5px solid var(--gold-light);
  background: linear-gradient(135deg, #FFFDF5, #FFF8E8);
}

/* Recommendation box */
.detail-recommendation-box {
  background: linear-gradient(135deg, var(--champagne), var(--cream-dark));
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}

/* Notes grid (legacy) */
.notes-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notes-row {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.notes-row-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.notes-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.notes-tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: transform 0.2s;
}

.notes-tag:hover {
  transform: scale(1.06);
}

.notes-tag.top {
  background: #FFF3E0;
  color: #E65100;
}

.notes-tag.mid,
.notes-tag.middle {
  background: #F3E5F5;
  color: #7B1FA2;
}

.notes-tag.base {
  background: #E8F5E9;
  color: #2E7D32;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s var(--ease);
}

.info-card:hover {
  transform: translateY(-2px);
}

.info-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.info-label {
  font-size: 10px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  margin-bottom: 4px;
}

.info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

@media (max-width: 600px) {
  .detail-hero-overlay {
    padding: 16px 20px 24px;
  }

  .detail-content {
    padding: 20px;
  }

  .detail-perfume-name {
    font-size: 22px;
  }

  .pyramid-notes-wrap {
    padding-left: 0;
  }
}


/* =================================================
   FOOTER
   ================================================= */
.footer {
  background: var(--darker);
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  padding: 64px 0 40px;
  color: var(--white);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col-brand {
  padding-right: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  text-align: justify;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.25);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.social-icon-btn:hover {
  background: var(--gold);
  color: var(--darker);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.2);
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

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

.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.25s var(--ease);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

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

.footer-copy {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s var(--ease);
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

.dot-separator {
  color: rgba(255, 255, 255, 0.15);
  font-size: 10px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-col-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =================================================
   TOAST
   ================================================= */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-dark);
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s var(--ease);
  pointer-events: none;
  z-index: 3000;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =================================================
   SCROLL TO TOP
   ================================================= */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}

.scroll-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* =================================================
   ANIMATIONS
   ================================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s var(--ease);
}

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

/* Focus accessibility */
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--beige-mid);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brown-light);
}

/* ── Similar Perfumes in Modal ── */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.similar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--beige);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}

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

.similar-img-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
}

.similar-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  border-radius: var(--radius-md) !important;
  display: block;
}

.similar-brand {
  font-size: 8px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 3px;
}

.similar-name {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.similar-match {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: 4px;
}

/* ── Photo Management Section in Modal ── */
.detail-photo-section {
  border-top: 1px solid var(--beige);
  padding-top: 20px;
  margin-top: 24px;
}

.btn-toggle-photo-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px dashed var(--gold);
  background: var(--cream);
  transition: all 0.3s var(--ease);
  width: 100%;
  justify-content: center;
}

.btn-toggle-photo-form:hover {
  background: var(--champagne);
  color: var(--text-dark);
}

.photo-form-wrapper {
  background: var(--cream-dark);
  border: 1px solid var(--beige-mid);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 0.3s var(--ease);
}

.photo-tabs {
  display: flex;
  border-bottom: 2px solid var(--beige-mid);
  gap: 16px;
}

.photo-tab-btn {
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s var(--ease);
}

.photo-tab-btn:hover {
  color: var(--text-dark);
}

.photo-tab-btn.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.photo-input-pane {
  display: none;
}

.photo-input-pane.active {
  display: block;
}

.photo-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.photo-input-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.photo-input-text {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--beige-mid);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-dark);
  transition: border-color 0.3s var(--ease);
}

.photo-input-text:focus {
  border-color: var(--gold);
}

.photo-input-file-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border: 2px dashed var(--beige-mid);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.photo-input-file-container:hover {
  border-color: var(--gold);
  background: var(--champagne);
}

.photo-input-file-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.photo-input-file-text {
  font-size: 13px;
  color: var(--text-mid);
  text-align: center;
}

.photo-input-file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.photo-preview-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px;
  border: 1px solid var(--beige-mid);
  margin-top: 8px;
}

.photo-preview-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid var(--beige);
  background: var(--cream);
}

.photo-preview-name {
  font-size: 12.5px;
  color: var(--text-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.photo-preview-remove {
  background: none;
  border: none;
  color: var(--accent-red);
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 0 4px;
}

.photo-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.btn-photo-save {
  flex: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 12px rgba(139, 105, 20, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-photo-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(139, 105, 20, 0.35);
}

.btn-photo-save:disabled {
  background: var(--beige-mid);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
  color: var(--text-light);
}

.btn-photo-cancel {
  background: transparent;
  color: var(--text-light);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--beige-mid);
  transition: all 0.3s var(--ease);
}

.btn-photo-cancel:hover {
  border-color: var(--text-light);
  color: var(--text-dark);
}

.spinner-mini {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* =================================================
   SEARCH SUGGESTIONS
   ================================================= */
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-md);
  max-height: 480px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.search-suggestions::-webkit-scrollbar {
  width: 6px;
}
.search-suggestions::-webkit-scrollbar-thumb {
  background: var(--beige-mid);
  border-radius: 4px;
}

.sugg-section-title {
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--brown-light);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  margin-top: 20px;
  text-transform: uppercase;
}
.sugg-section-title:first-child {
  margin-top: 0;
}

.sugg-divider {
  height: 1px;
  background: var(--beige);
  margin: 16px 0 4px 0;
}

.suggestion-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(201, 169, 110, 0.08);
  border: 1px dashed var(--gold-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.suggestion-cta:hover {
  background: rgba(201, 169, 110, 0.15);
  transform: translateY(-1px);
}

.suggestion-cta svg {
  stroke: var(--gold-dark);
  flex-shrink: 0;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.suggestion-item:hover {
  background: var(--cream-dark);
}

.suggestion-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--cream);
  margin-right: 14px;
  border: 1px solid var(--beige);
}

.suggestion-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.suggestion-info {
  display: flex;
  flex-direction: column;
}

.suggestion-brand {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.suggestion-name {
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-dark);
}

.suggestion-meta {
  font-size: 11.5px;
  color: var(--brown-light);
  font-family: var(--font-sans);
  margin-top: 3px;
  opacity: 0.75;
}

.intent-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intent-chip {
  display: flex;
  align-items: center;
  background: var(--champagne);
  color: var(--brown);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  border: 1px solid var(--gold-light);
}

.intent-chip:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
  box-shadow: var(--shadow-sm);
}

.intent-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 12px;
}
.intent-icon svg {
  width: 18px;
  height: 18px;
}

.suggestion-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  font-family: var(--font-sans);
}

.suggestion-brand-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.suggestion-brand-item:hover {
  background: var(--cream-dark);
}

.suggestion-brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.suggestion-brand-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.suggestion-brand-name {
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-dark);
}

.suggestion-brand-count {
  font-size: 11.5px;
  color: var(--brown-light);
  font-family: var(--font-sans);
  margin-top: 1px;
  opacity: 0.75;
}

.suggestion-brand-arrow {
  color: var(--gold-dark);
  font-size: 16px;
  font-weight: 600;
  padding-right: 4px;
}

/* =================================================
   BRANDS SECTION
   ================================================= */
.section-brands {
  background: var(--cream-dark);
  position: relative;
  border-top: 1px solid var(--beige);
  border-bottom: 1px solid var(--beige);
}

.brands-toolbar {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}

.brands-search {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.brands-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.brands-search input:focus {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.brands-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Brand Card */
.brand-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--beige);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s var(--ease);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

/* Brand Header inside Card */
.brand-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.brand-logo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.brand-info-wrap {
  flex: 1;
  min-width: 0;
}

.brand-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-light);
}

.brand-rating {
  color: #FFA41B;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-badge-hot {
  background: rgba(217, 120, 120, 0.1);
  color: var(--accent-red);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-visit-btn {
  background: var(--gold-dark);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}

.brand-visit-btn:hover {
  background: var(--dark);
}

/* Brand Perfumes list inside Card */
.brand-perfumes-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--beige-mid) transparent;
}

/* Custom Scrollbar for brand perfumes */
.brand-perfumes-scroll::-webkit-scrollbar {
  height: 4px;
}

.brand-perfumes-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.brand-perfumes-scroll::-webkit-scrollbar-thumb {
  background: var(--beige-mid);
  border-radius: var(--radius-full);
}

.brand-perfume-item {
  width: 90px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--beige);
  transition: all 0.3s var(--ease);
  aspect-ratio: 1/1;
  background: var(--cream);
}

.brand-perfume-item:hover {
  transform: scale(1.05);
  border-color: var(--gold);
}

.brand-perfume-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.brand-perfume-price {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 38, 33, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  padding: 4px 2px;
  font-family: var(--font-sans);
}

/* Brand Filter & Sort Toolbar Wrapper */
.brands-toolbar-wrap {
  margin-bottom: 32px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.brands-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.brands-search {
  flex: 1;
  min-width: 250px;
  position: relative;
}

/* Brands Filter button (just like catalog filter) */
.brands-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-full);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.brands-filter-toggle:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.brands-filter-toggle.active {
  border-color: var(--gold);
  background: var(--champagne);
}

.brand-filter-badge {
  background: var(--gold-dark);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Sort Select Wrapper */
.brands-sort-wrap {
  position: relative;
}

.brands-sort-select {
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-full);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  outline: none;
  appearance: none; /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px; /* space for arrow icon */
}

.brands-sort-wrap::after {
  content: '▼';
  font-size: 8px;
  color: var(--text-light);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.brands-sort-select:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.brands-sort-select:focus {
  border-color: var(--gold);
}

/* Expandable Filters Panel */
.brands-filters-panel {
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.3s var(--ease);
}

.brand-filter-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-filter-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Filter Chips style */
.bfchip {
  background: var(--cream);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.bfchip:hover {
  border-color: var(--gold-light);
  color: var(--text-dark);
}

.bfchip.active {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: white;
}

/* Action Buttons inside Panel */
.brand-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--beige);
  padding-top: 16px;
  margin-top: 8px;
}

.btn-bfilter-reset {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  border-radius: var(--radius-full);
  transition: color 0.3s var(--ease);
}

.btn-bfilter-reset:hover {
  color: var(--accent-red);
}

.btn-bfilter-apply {
  background: var(--gold-dark);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 12px rgba(139, 105, 20, 0.25);
}

.btn-bfilter-apply:hover {
  background: var(--dark);
  box-shadow: 0 6px 16px rgba(22, 19, 16, 0.25);
}

/* ==========================================================================
   NAVBAR SEARCH BAR
   ========================================================================== */
.nav-search-wrap {
  flex: 1;
  max-width: 320px;
  margin: 0 24px;
}

.nav-search {
  position: relative;
  width: 100%;
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  transition: color 0.3s var(--ease);
}

.nav-search input {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 38px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s var(--ease);
  outline: none;
}

.nav-search input::placeholder {
  color: var(--text-light);
}

.nav-search input:focus {
  background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.nav-search input:focus + .nav-search-icon {
  color: var(--gold-dark);
}

/* Responsive adjustment for navbar */
@media (max-width: 992px) {
  .nav-search-wrap {
    display: none; /* Hide on tablets and mobile navbar to save space */
  }
}

/* ==========================================================================
   FEATURED BRANDS SECTION (RE-DESIGNED FOR AROMATCH)
   ========================================================================== */
.viral-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.vbrand-card {
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.vbrand-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: 0 12px 30px rgba(139, 105, 20, 0.08);
}

.vbrand-logo-wrap {
  margin-bottom: 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vbrand-logo {
  font-family: var(--font-sans);
  color: var(--text-dark);
  transition: color 0.3s var(--ease);
  user-select: none;
}

.vbrand-card:hover .vbrand-logo {
  color: var(--gold-dark);
}

.hmns-logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
}

.mykonos-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
}

.layr-logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.vbrand-avatars {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.vbrand-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--cream);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: all 0.4s var(--ease);
}

.vbrand-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.vbrand-card:hover .vbrand-avatar-circle {
  border-color: var(--gold-light);
  transform: scale(1.08);
}

.vbrand-card:hover .vbrand-avatar-circle img {
  transform: scale(1.1);
}

.vbrand-footer {
  margin-top: auto;
}

.vbrand-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s var(--ease);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vbrand-card:hover .vbrand-link {
  color: var(--gold-dark);
}

.vbrand-link svg {
  transition: transform 0.3s var(--ease);
}

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

.btn-all-brands {
  display: inline-block;
  background: var(--text-dark);
  border: 1.5px solid var(--text-dark);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  text-align: center;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 12px rgba(22, 19, 16, 0.15);
}

.btn-all-brands:hover {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
  box-shadow: none;
  transform: translateY(-2px);
}

/* Responsive adjustment */
@media (max-width: 992px) {
  .viral-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .viral-brands-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vbrand-card {
    padding: 24px 16px;
  }
}

/* ==========================================================================
   LANGUAGE TOGGLE SWITCH
   ========================================================================== */
.lang-switch-wrap {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.lang-switch {
  display: inline-flex;
  background: rgba(22, 19, 16, 0.06);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 169, 110, 0.25);
  position: relative;
  user-select: none;
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(22, 19, 16, 0.45);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.lang-btn:hover {
  color: rgba(22, 19, 16, 0.75);
}

.lang-btn.active {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 2px 6px rgba(22, 19, 16, 0.08);
}

/* Mobile language Switch Styles */
.mobile-lang-wrap .lang-switch {
  width: 100%;
  justify-content: space-between;
}

.mobile-lang-wrap .lang-btn {
  flex: 1;
  text-align: center;
}

/* ==========================================================================
   FILTER CHECKBOX LIST
   ========================================================================== */
.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 6px;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: var(--text-mid);
  transition: all 0.3s var(--ease);
}

.filter-checkbox-item:hover {
  color: var(--text-dark);
}

.filter-checkbox-item input[type="checkbox"] {
  display: none;
}

.filter-checkbox-indicator {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--beige);
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--cream-light);
}

/* Square indicator for Size */
.filter-checkbox-item.size-item .filter-checkbox-indicator {
  border-radius: 4px;
}

/* Round indicator for Type */
.filter-checkbox-item.type-item .filter-checkbox-indicator {
  border-radius: 50%;
}

.filter-checkbox-item input[type="checkbox"]:checked + .filter-checkbox-indicator {
  background: var(--text-dark);
  border-color: var(--text-dark);
}

.filter-checkbox-item input[type="checkbox"]:checked + .filter-checkbox-indicator::after {
  content: '✓';
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
}

.filter-checkbox-label {
  flex: 1;
  font-weight: 500;
}

.filter-checkbox-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  background: rgba(22, 19, 16, 0.05);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  min-width: 24px;
  text-align: center;
}

/* =============================================
   PAGINATION STYLES (1:1 slider dot/pill style)
   ============================================= */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 50px;
  padding: 10px 0;
  width: 100%;
}

.pag-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--beige-mid);
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  padding: 0;
}

.pag-dot.active {
  width: 38px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: var(--brown);
}

.pag-dot:hover:not(.active) {
  background-color: var(--text-light);
  transform: scale(1.15);
}

.pag-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid var(--beige);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.pag-arrow:hover {
  background-color: var(--cream-dark);
  color: var(--text-dark);
  border-color: var(--beige-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.pag-arrow:active {
  transform: translateY(0);
}

/* =================================================
   FRAGRANCE NOTES PAGE
   ================================================= */

/* ── Hero ── */
.fn-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 64px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--dark) 0%, var(--brown-dark) 50%, #1C1410 100%);
}

.fn-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(201, 169, 110, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(139, 105, 20, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.fn-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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='%23C9A96E' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.fn-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.fn-hero-text {
  max-width: 760px;
  margin: 0 auto;
}

.fn-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin: 12px 0 20px;
  letter-spacing: -0.5px;
}

.fn-sparkle {
  color: var(--gold);
  display: inline-block;
  animation: sparklePulse 3s ease-in-out infinite;
}

.fn-sparkle:last-child {
  animation-delay: 1.5s;
}

@keyframes sparklePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.fn-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}

.fn-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: var(--radius-xl);
  padding: 20px 0;
  backdrop-filter: blur(10px);
  max-width: 520px;
  margin: 0 auto;
}

.fn-stat-item {
  flex: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.5s var(--ease);
}

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

.fn-stat-item:nth-child(3) { transition-delay: 0.1s; }
.fn-stat-item:nth-child(5) { transition-delay: 0.2s; }

.fn-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.fn-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fn-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201, 169, 110, 0.2);
}

.fn-hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.25);
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Intro ── */
.fn-section {
  padding: 64px 0 80px;
  background: var(--cream);
}

.fn-intro {
  text-align: center;
  margin-bottom: 48px;
}

.fn-intro-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  box-shadow: var(--shadow-sm);
}

.fn-intro-text strong {
  color: var(--gold-dark);
}

/* ── Global Notes Search Bar ── */
.fn-global-search-wrap {
  max-width: 560px;
  margin: 0 auto 40px;
}

.fn-global-search-inner {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-full);
  padding: 0 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.fn-global-search-inner:focus-within {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12), 0 4px 20px rgba(201,169,110,0.1);
}

.fn-global-search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 10px;
  transition: color 0.2s var(--ease);
}

.fn-global-search-inner:focus-within .fn-global-search-icon {
  color: var(--gold);
}

.fn-global-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-dark);
  font-family: var(--font-sans);
  padding: 14px 0;
  min-width: 0;
}

.fn-global-search-input:focus,
.fn-global-search-input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.fn-global-search-input::placeholder {
  color: var(--text-muted);
}

.fn-global-search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--beige);
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  flex-shrink: 0;
  margin-left: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.fn-global-search-clear:hover {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.fn-global-search-stats {
  display: none;
  text-align: center;
  font-size: 12.5px;
  color: var(--gold-dark);
  font-weight: 500;
  margin-top: 10px;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* ── Search result states ── */
.fn-acc-item.fn-acc-dimmed {
  opacity: 0.35;
  pointer-events: none;
}

.fn-search-highlight {
  background: rgba(201,169,110,0.25);
  color: var(--gold-dark);
  border-radius: 3px;
  padding: 0 1px;
  font-style: normal;
  font-weight: 600;
}

/* ── Empty state ── */
.fn-global-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.fn-global-search-empty-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.fn-global-search-empty-sub {
  font-size: 13.5px;
  color: var(--text-light);
}

.fn-global-search-empty-sub strong {
  color: var(--gold-dark);
}

/* ── Accordion ── */
.fn-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--beige);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.fn-acc-item {
  background: var(--white);
  border-bottom: 1px solid var(--beige);
  transition: background 0.2s var(--ease);
}

.fn-acc-item:last-child {
  border-bottom: none;
}

.fn-acc-item.fn-acc-open {
  background: var(--cream);
}

.fn-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  cursor: pointer;
  transition: background 0.2s var(--ease);
  text-align: left;
  gap: 16px;
}

.fn-acc-header:hover {
  background: var(--cream);
}

.fn-acc-item.fn-acc-open .fn-acc-header {
  background: var(--champagne);
}

.fn-acc-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.fn-acc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-back);
}

.fn-acc-item.fn-acc-open .fn-acc-icon {
  transform: scale(1.1);
}

.fn-acc-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fn-acc-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.fn-acc-count {
  font-size: 12px;
  color: var(--text-light);
}

.fn-acc-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.fn-acc-preview {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fn-acc-preview-tag {
  font-size: 11px;
  color: var(--note-color, var(--gold-dark));
  background: color-mix(in srgb, var(--note-color, var(--gold)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--note-color, var(--gold)) 25%, transparent);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-weight: 500;
  white-space: nowrap;
}

.fn-acc-preview-more {
  font-size: 11px;
  color: var(--text-light);
  padding: 3px 8px;
}

.fn-acc-chevron {
  color: var(--text-light);
  transition: transform 0.3s var(--ease);
  display: flex;
  align-items: center;
}

.fn-acc-item.fn-acc-open .fn-acc-chevron {
  transform: rotate(180deg);
  color: var(--gold-dark);
}

/* ── Accordion Body ── */
.fn-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.fn-acc-item.fn-acc-open .fn-acc-body {
  max-height: 600px;
}

.fn-acc-body-inner {
  padding: 0 28px 28px;
  border-top: 1px solid var(--beige);
}

.fn-acc-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-top: 20px;
}

.fn-acc-search-wrap {
  position: relative;
  margin-bottom: 16px;
}

.fn-acc-search {
  width: 100%;
  max-width: 340px;
  padding: 10px 40px 10px 16px;
  background: var(--white);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-dark);
  transition: border-color 0.2s var(--ease);
}

.fn-acc-search:focus {
  border-color: var(--gold-light);
  outline: none;
}

.fn-acc-search-icon {
  position: absolute;
  right: calc(100% - 330px);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ── Note Tags Grid ── */
.fn-notes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.fn-note-tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--note-color, var(--gold-dark));
  background: var(--note-color-bg, rgba(201, 169, 110, 0.08));
  border: 1px solid color-mix(in srgb, var(--note-color, var(--gold)) 20%, transparent);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
}

.fn-note-tag:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--note-color, var(--gold)) 14%, transparent);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--note-color, var(--gold)) 20%, transparent);
  color: var(--note-color, var(--gold-dark));
}

/* ── Explore Button ── */
.fn-acc-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold-dark);
  background: var(--champagne);
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.fn-acc-explore-btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.35);
}

/* ── Pyramid Section ── */
.fn-pyramid-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--beige);
}

.fn-pyramid-wrap {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.fn-pyramid {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 780px;
}

.fn-pyr-layer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.3s var(--ease);
  margin-bottom: 16px;
  cursor: default;
}

.fn-pyr-layer.fn-pyr-visible {
  opacity: 1;
  transform: translateY(0);
}

.fn-pyr-layer:nth-child(2).fn-pyr-visible { transition-delay: 0.15s; }
.fn-pyr-layer:nth-child(3).fn-pyr-visible { transition-delay: 0.3s; }

.fn-pyr-top {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(253, 230, 138, 0.08) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}

.fn-pyr-mid {
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.06) 0%, rgba(251, 207, 232, 0.08) 100%);
  border-color: rgba(219, 39, 119, 0.2);
}

.fn-pyr-base {
  background: linear-gradient(135deg, rgba(120, 113, 108, 0.06) 0%, rgba(214, 211, 209, 0.08) 100%);
  border-color: rgba(120, 113, 108, 0.2);
}

.fn-pyr-layer:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.fn-pyr-shape {
  text-align: center;
}

.fn-pyr-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.fn-pyr-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.fn-pyr-time {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.fn-pyr-desc {
  text-align: center;
}

.fn-pyr-desc p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0;
}

.fn-pyr-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fn-pyr-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--cream);
  border: 1px solid var(--beige);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}

/* ── CTA Section ── */
.fn-cta-section {
  padding: 64px 0 80px;
  background: var(--cream);
}

.fn-cta-card {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--brown-dark) 60%, #1C1410 100%);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  overflow: hidden;
}

.fn-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.fn-cta-card .section-badge {
  color: var(--gold);
}

.fn-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  color: var(--white);
  margin: 12px 0 16px;
}

.fn-cta-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 36px;
}

.fn-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-fn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-full);
  padding: 14px 32px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.35);
  text-decoration: none;
}

.btn-fn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.45);
}

.btn-fn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 14px 32px;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn-fn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .fn-acc-header {
    padding: 16px 18px;
  }

  .fn-acc-preview {
    display: none;
  }

  .fn-acc-body-inner {
    padding: 0 18px 22px;
  }

  .fn-acc-search-icon {
    display: none;
  }

  .fn-acc-search {
    max-width: 100%;
  }

  .fn-pyr-layer {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .fn-pyr-shape {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .fn-cta-card {
    padding: 44px 28px;
  }

  .fn-hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }

  .fn-stat-divider {
    width: 40px;
    height: 1px;
  }
}

@media (max-width: 480px) {
  .fn-acc-name {
    font-size: 14px;
  }

  .fn-acc-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* ── Back Button Component ── */
.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(201, 169, 110, 0.25);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  text-decoration: none;
  cursor: pointer;
}

.btn-back:hover {
  transform: translateX(-4px);
  background: var(--cream);
  border-color: var(--gold);
  color: var(--gold-dark);
  box-shadow: var(--shadow-md);
}

/* =================================================
   OUR STORY PAGE STYLING
   ================================================= */
.story-hero {
  position: relative;
  min-height: 480px;
  padding-top: calc(var(--nav-h) + 30px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--darker);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.story-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(197, 168, 128, 0.15), transparent), 
              radial-gradient(circle at bottom left, rgba(139, 105, 20, 0.15), transparent), 
              #0E0C0A;
  z-index: 1;
}

.story-hero-content {
  position: relative;
  z-index: 2;
}

.story-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 400;
  line-height: 1.2;
  margin: 16px 0 20px;
  color: var(--champagne);
}

.story-hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.story-hero-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 2;
}

.story-section {
  padding: 100px 0;
  background: var(--cream);
}

.story-narrative-wrap {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-bottom: 120px;
}

.story-narrative-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.story-narrative-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.story-narrative-row.reverse .story-narrative-media {
  order: 2;
}

.story-narrative-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.luxury-frame {
  position: relative;
  width: 320px;
  height: 320px;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 110, 0.25);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.luxury-frame:hover {
  transform: scale(1.03) rotate(2deg);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.luxury-frame.alternate:hover {
  transform: scale(1.03) rotate(-2deg);
}

.luxury-frame:hover .story-img {
  transform: scale(1.08);
}

.luxury-icon {
  font-size: 76px;
  z-index: 2;
  transition: transform 0.4s var(--ease-back);
}

.luxury-frame:hover .luxury-icon {
  transform: scale(1.18);
}

.luxury-pattern {
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(201, 169, 110, 0.4);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
  z-index: 2;
}

.story-section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.story-divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 22px;
  border-radius: var(--radius-full);
}

.story-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-mid);
}

/* Flipped Cards System */
.story-values-section {
  margin-bottom: 120px;
  padding-top: 20px;
}

.story-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  perspective: 1000px;
  margin-top: 50px;
}

.value-card {
  height: 300px;
  cursor: pointer;
}

.value-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.75s var(--ease-back);
  transform-style: preserve-3d;
}

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

.value-card-front, .value-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.value-card-front {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

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

.value-icon {
  font-size: 46px;
  margin-bottom: 18px;
}

.value-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.value-desc-short {
  font-size: 14.5px;
  color: var(--text-light);
}

.flip-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  opacity: 0.8;
  transition: opacity 0.3s var(--ease);
}

.value-card:hover .flip-hint {
  opacity: 1;
}

.value-card-back {
  background: linear-gradient(135deg, var(--brown-dark), var(--dark));
  color: var(--white);
  transform: rotateY(180deg);
  box-shadow: var(--shadow-md);
}

.value-title-back {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.value-desc-long {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* CTA Card */
.story-cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--brown-dark), var(--darker));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.story-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.1), transparent 50%), 
              radial-gradient(circle at 20% 80%, rgba(139, 105, 20, 0.1), transparent 50%);
  z-index: 1;
}

.story-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  color: var(--white);
  margin: 12px 0 16px;
  position: relative;
  z-index: 2;
}

.story-cta-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

.story-cta-actions {
  position: relative;
  z-index: 2;
}

.btn-story-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-full);
  padding: 15px 34px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px rgba(197, 168, 128, 0.35);
  text-decoration: none;
}

.btn-story-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(197, 168, 128, 0.45);
  color: var(--white);
}

/* ── Bounce animation for scroll hint ── */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ── Story Section Responsive ── */
@media (max-width: 992px) {
  .story-narrative-row, .story-narrative-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .story-divider {
    margin-left: auto;
    margin-right: auto;
  }
  .story-narrative-row.reverse .story-narrative-media {
    order: 0;
  }
}

@media (max-width: 768px) {
  .story-section {
    padding: 60px 0;
  }
  .story-narrative-wrap {
    gap: 70px;
  }
  .story-cta-card {
    padding: 50px 24px;
  }
}