/* ============================================================
   BGCL Supply - Main Stylesheet
   Dark luxury perfume e-commerce theme
   Complements Bootstrap 5.3
   ============================================================ */

/* ----------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  /* Brand Palette */
  --color-primary:    #0a0a0a;
  --color-secondary:  #c9a96e;
  --color-accent:     #b8923f;
  --color-bg:         #faf7f2;
  --color-surface:    #ffffff;
  --color-text:       #1a1a1a;
  --color-text-muted: #767066;
  --color-border:     #e6e0d6;
  --color-success:    #28a745;
  --color-danger:     #dc3545;

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Transitions */
  --transition-fast:   0.2s ease;
  --transition-base:   0.35s ease;
  --transition-slow:   0.6s ease;
  --transition-spring: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(201,169,110,0.25);

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 50%;
}

/* ----------------------------------------------------------
   1. GLOBAL RESET & BASE
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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

a:hover {
  color: var(--color-accent);
}

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

ul, ol {
  list-style: none;
}

::selection {
  background-color: var(--color-secondary);
  color: var(--color-bg);
}

/* ----------------------------------------------------------
   2. CUSTOM SCROLLBAR
   ---------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) var(--color-bg);
}

/* ----------------------------------------------------------
   3. UTILITY CLASSES
   ---------------------------------------------------------- */
.section-label {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: inline-block;
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-heading);
  margin-bottom: var(--space-lg);
}

.section-title .highlight {
  color: var(--color-secondary);
  font-style: italic;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--color-secondary);
  margin: var(--space-lg) auto;
}

.text-gold {
  color: var(--color-secondary) !important;
}

.text-muted-custom {
  color: var(--color-text-muted) !important;
}

.bg-dark-surface {
  background-color: var(--color-surface) !important;
}

.border-gold {
  border-color: var(--color-secondary) !important;
}

.section-padding {
  padding: var(--space-4xl) 0;
}

.section-padding-sm {
  padding: var(--space-2xl) 0;
}

/* ----------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------- */
.btn-primary-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  background-color: var(--color-secondary);
  color: var(--color-bg);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left var(--transition-slow);
}

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

.btn-primary-gold:hover::before {
  left: 100%;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  background-color: transparent;
  color: var(--color-secondary);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-outline-gold:hover {
  background-color: var(--color-secondary);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  background-color: transparent;
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* ----------------------------------------------------------
   5. ANNOUNCEMENT BAR
   ---------------------------------------------------------- */
.announcement-bar {
  background-color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1040;
}

.announcement-track {
  display: flex;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-2xl);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.announcement-item i {
  font-size: 0.7rem;
}

.announcement-item::after {
  content: '\25C6';
  margin-left: var(--space-2xl);
  color: var(--color-secondary);
  opacity: 0.5;
  font-size: 0.6rem;
}

.announcement-bar__separator {
  color: var(--color-border);
  padding: 0 var(--space-md);
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.announcement-bar:hover .announcement-track {
  animation-play-state: paused;
}

/* ----------------------------------------------------------
   6. NAVIGATION
   ---------------------------------------------------------- */
.navbar-main {
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.75rem 0;
  transition: all var(--transition-base);
  z-index: 1030;
}

.navbar-main.scrolled {
  background: rgba(0, 0, 0, 0.95);
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.navbar-brand img {
  height: 38px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.navbar-brand:hover img {
  opacity: 0.85;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text) !important;
  padding: 0.75rem 1rem !important;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-secondary) !important;
}

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

/* Navbar Icons */
.navbar-icons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar-icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.navbar-icon-btn:hover {
  color: var(--color-secondary);
  background: rgba(201,169,110,0.08);
}

.navbar-icon-btn .badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--color-secondary);
  color: var(--color-bg);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-2xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 1029;
}

.mega-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.mega-menu__link {
  display: block;
  padding: var(--space-xs) 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.mega-menu__link:hover {
  color: var(--color-secondary);
  padding-left: var(--space-sm);
}

/* Mobile Menu */
.offcanvas-menu {
  background-color: var(--color-primary) !important;
  border-right: 1px solid var(--color-border) !important;
  max-width: 320px;
}

.offcanvas-menu .offcanvas-header {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg);
}

.offcanvas-menu .btn-close {
  filter: invert(1);
}

.offcanvas-menu .nav-link {
  font-size: 0.9rem;
  padding: 0.9rem var(--space-lg) !important;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ----------------------------------------------------------
   7. HERO SECTION
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-bg);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background img,
.hero__background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.3) 40%,
    rgba(0,0,0,0.7) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-4xl) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__title .highlight {
  color: var(--color-secondary);
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

/* Hero Stats */
.hero__stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }
  .hero__stats {
    gap: var(--space-xl);
    flex-wrap: wrap;
  }
  .hero__stat-number {
    font-size: 1.6rem;
  }
}

/* ----------------------------------------------------------
   8. BRAND MARQUEE
   ---------------------------------------------------------- */
.brand-marquee {
  padding: var(--space-2xl) 0;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-primary);
}

.brand-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

.brand-marquee__item {
  flex-shrink: 0;
  opacity: 0.4;
  filter: grayscale(100%) brightness(0.6);
  transition: all var(--transition-base);
}

.brand-marquee__item:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

.brand-marquee__item img {
  height: 30px;
  width: auto;
}

.brand-marquee__text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.brand-marquee__text .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
  margin: 0 var(--space-xl);
  vertical-align: middle;
}

/* ----------------------------------------------------------
   9. MANIFESTO / PROMISE CARDS
   ---------------------------------------------------------- */
.manifesto {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.promise-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.promise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.promise-card:hover {
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.promise-card:hover::before {
  opacity: 1;
}

.promise-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-lg);
  color: var(--color-secondary);
  font-size: 1.4rem;
  transition: all var(--transition-base);
}

.promise-card:hover .promise-card__icon {
  background: rgba(201,169,110,0.15);
  transform: scale(1.08);
}

.promise-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.promise-card__text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ----------------------------------------------------------
   10. CATEGORY CARDS (SECTION 01)
   ---------------------------------------------------------- */
.category-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 420px;
  display: block;
  cursor: pointer;
}

.category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-2xl);
  transition: background var(--transition-base);
}

.category-card:hover .category-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.15) 100%
  );
}

.category-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.category-card__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  transition: gap var(--transition-fast);
}

.category-card:hover .category-card__link {
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .category-card {
    height: 300px;
  }
}

/* ----------------------------------------------------------
   11. PRODUCT CARDS
   ---------------------------------------------------------- */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(201,169,110,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-primary);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image {
  transform: scale(1.06);
}

.product-card__badges {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  z-index: 2;
}

.product-card__actions {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
  z-index: 2;
}

.product-card:hover .product-card__actions {
  opacity: 1;
  transform: translateX(0);
}

.product-card__action-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-card__action-btn:hover {
  background: var(--color-secondary);
  color: var(--color-bg);
  border-color: var(--color-secondary);
}

.product-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__brand {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__name a {
  color: inherit;
}

.product-card__name a:hover {
  color: var(--color-secondary);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.product-card__stars {
  display: flex;
  gap: 2px;
  color: var(--color-secondary);
  font-size: 0.75rem;
}

.product-card__stars .empty {
  color: var(--color-border);
}

.product-card__review-count {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.product-card__pricing {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
}

.product-card__price {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.product-card__price--sale {
  color: var(--color-danger);
}

.product-card__price--original {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-card__volume {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ----------------------------------------------------------
   12. BADGES
   ---------------------------------------------------------- */
.badge-sale {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge-new {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: var(--color-secondary);
  color: var(--color-bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.badge-discount {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: rgba(220,53,69,0.15);
  color: var(--color-danger);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.badge-exclusive {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: rgba(201,169,110,0.15);
  color: var(--color-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------
   13. PRODUCT CAROUSEL / HORIZONTAL SCROLL
   ---------------------------------------------------------- */
.product-carousel {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.product-carousel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.product-carousel__controls {
  display: flex;
  gap: var(--space-sm);
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-arrow:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(201,169,110,0.08);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-carousel__track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-md);
  scrollbar-width: none;
}

.product-carousel__track::-webkit-scrollbar {
  display: none;
}

.product-carousel__track .product-card {
  min-width: 260px;
  max-width: 280px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .product-carousel__track .product-card {
    min-width: 220px;
    max-width: 240px;
  }
}

/* ----------------------------------------------------------
   14. TESTIMONIALS / IMAGE GALLERY SLIDER
   ---------------------------------------------------------- */
.testimonials {
  padding: var(--space-4xl) 0;
  background: var(--color-surface);
  overflow: hidden;
}

.testimonials__slider {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.testimonials__slider::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  min-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.testimonial-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.testimonial-slide:hover img {
  transform: scale(1.05);
}

.testimonial-slide__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.testimonial-slide__text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.testimonial-slide__author {
  font-size: 0.78rem;
  color: var(--color-secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Dots pagination */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.slider-dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: 4px;
}

/* ----------------------------------------------------------
   15. SOCIAL FEED / TIKTOK SECTION
   ---------------------------------------------------------- */
.social-feed {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.social-feed__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
}

.social-feed__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--color-surface);
  cursor: pointer;
}

.social-feed__item video,
.social-feed__item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.social-feed__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.social-feed__item:hover .social-feed__item-overlay {
  opacity: 1;
}

.social-feed__play-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 1.4rem;
}

/* ----------------------------------------------------------
   16. YOUTUBE / VIDEO SECTION
   ---------------------------------------------------------- */
.video-section {
  padding: var(--space-4xl) 0;
  background: var(--color-surface);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-embed__poster {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 1;
}

.video-embed__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-embed__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,110,0.9);
  border-radius: var(--radius-full);
  color: var(--color-bg);
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.video-embed__poster:hover .video-embed__play-btn {
  background: var(--color-secondary);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: var(--shadow-gold);
}

/* ----------------------------------------------------------
   17. PHILOSOPHY SECTION
   ---------------------------------------------------------- */
.philosophy {
  padding: var(--space-4xl) 0;
  background: var(--color-bg);
}

.philosophy__image-col {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.philosophy__image-col img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.philosophy__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl);
}

.philosophy__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--color-text);
  position: relative;
  padding-left: var(--space-xl);
  border-left: 3px solid var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.philosophy__attribution {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ----------------------------------------------------------
   18. CONCIERGE / WHATSAPP CTA
   ---------------------------------------------------------- */
.concierge-cta {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-primary) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.concierge-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: var(--space-sm);
}

.concierge-cta__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  font-size: 0.95rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  background-color: #25d366;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  color: #fff;
}

.btn-whatsapp i {
  font-size: 1.2rem;
}

/* ----------------------------------------------------------
   19. NEWSLETTER SECTION
   ---------------------------------------------------------- */
.newsletter-section {
  padding: var(--space-3xl) 0;
  background: var(--color-surface);
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.newsletter-form:focus-within {
  border-color: var(--color-secondary);
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.85rem var(--space-lg);
  background: transparent;
  border: none;
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  outline: none;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.newsletter-form button {
  padding: 0.85rem var(--space-xl);
  background: var(--color-secondary);
  color: var(--color-bg);
  border: none;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--color-accent);
}

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .newsletter-form input[type="email"] {
    border-bottom: 1px solid var(--color-border);
  }
  .newsletter-form button {
    border-radius: 0;
  }
}

/* ----------------------------------------------------------
   20. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 0;
}

.footer-logo {
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-description {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(201,169,110,0.08);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  margin-top: var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-payments img {
  height: 24px;
  width: auto;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.footer-payments img:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ----------------------------------------------------------
   21. FLOATING WHATSAPP BUTTON
   ---------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
}

.whatsapp-float__btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  font-size: 1.6rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: all var(--transition-base);
  position: relative;
}

.whatsapp-float__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.whatsapp-float__btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(37,211,102,0.4);
  animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.whatsapp-float__btn:hover + .whatsapp-float__tooltip,
.whatsapp-float__tooltip:hover {
  opacity: 1;
  visibility: visible;
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #fff;
}

/* ----------------------------------------------------------
   22. SEARCH MODAL
   ---------------------------------------------------------- */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(0,0,0,0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.search-modal__inner {
  width: 100%;
  max-width: 640px;
  padding: 0 var(--space-lg);
  transform: translateY(-20px);
  transition: transform var(--transition-base);
}

.search-modal.active .search-modal__inner {
  transform: translateY(0);
}

.search-modal__close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.search-modal__close:hover {
  color: var(--color-text);
}

.search-modal__input-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.search-modal__input-wrap i {
  font-size: 1.4rem;
  color: var(--color-secondary);
}

.search-modal__input {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  outline: none;
}

.search-modal__input::placeholder {
  color: var(--color-text-muted);
}

.search-modal__results {
  max-height: 50vh;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.search-result-item:hover {
  background: rgba(255,255,255,0.05);
}

.search-result-item__image {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.search-result-item__info {
  flex: 1;
}

.search-result-item__name {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.search-result-item__brand {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.search-result-item__price {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-secondary);
}

/* ----------------------------------------------------------
   23. PRODUCT DETAIL PAGE
   ---------------------------------------------------------- */
.product-detail {
  padding: var(--space-3xl) 0;
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
}

.product-gallery__main {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  margin-bottom: var(--space-md);
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-gallery__main:hover img {
  transform: scale(1.15);
}

.product-gallery__main .badge-sale,
.product-gallery__main .badge-new {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  z-index: 2;
}

.product-gallery__thumbs {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scrollbar-width: none;
}

.product-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.product-gallery__thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
  border-color: var(--color-secondary);
  opacity: 1;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info {
  padding-left: var(--space-2xl);
}

.product-info__breadcrumb {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.product-info__breadcrumb a {
  color: var(--color-text-muted);
}

.product-info__breadcrumb a:hover {
  color: var(--color-secondary);
}

.product-info__breadcrumb .separator {
  margin: 0 var(--space-sm);
  color: var(--color-border);
}

.product-info__brand {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.product-info__name {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.product-info__stars {
  display: flex;
  gap: 3px;
  color: var(--color-secondary);
  font-size: 0.88rem;
}

.product-info__stars .empty {
  color: var(--color-border);
}

.product-info__rating-text {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.product-info__price-block {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.product-info__price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
}

.product-info__price--sale {
  color: var(--color-danger);
}

.product-info__price--original {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.product-info__description {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* Quantity Selector */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quantity-selector__btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quantity-selector__btn:hover {
  background: rgba(201,169,110,0.1);
  color: var(--color-secondary);
}

.quantity-selector__input {
  width: 48px;
  height: 42px;
  text-align: center;
  background: transparent;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  -moz-appearance: textfield;
}

.quantity-selector__input::-webkit-outer-spin-button,
.quantity-selector__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-info__add-to-cart {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.product-info__wishlist-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.product-info__wishlist-btn:hover,
.product-info__wishlist-btn.active {
  border-color: var(--color-danger);
  color: var(--color-danger);
  background: rgba(220,53,69,0.08);
}

/* Fragrance Notes */
.fragrance-notes {
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.fragrance-notes__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  color: var(--color-secondary);
}

.fragrance-notes__row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.fragrance-notes__row:last-child {
  border-bottom: none;
}

.fragrance-notes__type {
  width: 80px;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.fragrance-notes__values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.fragrance-note-tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--color-text);
}

/* Scent Character Bars */
.scent-bars {
  margin-bottom: var(--space-xl);
}

.scent-bar {
  margin-bottom: var(--space-md);
}

.scent-bar__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.scent-bar__track {
  width: 100%;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.scent-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  border-radius: 2px;
  transition: width var(--transition-slow);
}

/* Wear Tags */
.wear-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.wear-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.4rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.wear-tag i {
  color: var(--color-secondary);
  font-size: 0.75rem;
}

/* Product Accordion */
.product-accordion {
  border-top: 1px solid var(--color-border);
}

.product-accordion__item {
  border-bottom: 1px solid var(--color-border);
}

.product-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.product-accordion__trigger:hover {
  color: var(--color-secondary);
}

.product-accordion__trigger i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.product-accordion__item.active .product-accordion__trigger i {
  transform: rotate(180deg);
}

.product-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.product-accordion__item.active .product-accordion__body {
  max-height: 500px;
}

.product-accordion__content {
  padding-bottom: var(--space-lg);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .product-info {
    padding-left: 0;
    padding-top: var(--space-2xl);
  }
  .product-gallery {
    position: static;
  }
}

/* ----------------------------------------------------------
   24. CART PAGE
   ---------------------------------------------------------- */
.cart-page {
  padding: var(--space-3xl) 0;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead th {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.cart-table tbody td {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.cart-item__image {
  width: 72px;
  height: 90px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item__details {
  flex: 1;
}

.cart-item__brand {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 2px;
}

.cart-item__name {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.cart-item__variant {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: var(--space-xs);
  transition: color var(--transition-fast);
}

.cart-item__remove:hover {
  color: var(--color-danger);
}

.cart-item__price {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-item__subtotal {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-secondary);
}

/* Cart responsive: stacked on mobile */
@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }
  .cart-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
  }
  .cart-table tbody td {
    border: none;
    padding: 0;
  }
}

/* Order Summary */
.order-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: sticky;
  top: 100px;
}

.order-summary__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: 0.92rem;
}

.order-summary__row--label {
  color: var(--color-text-muted);
}

.order-summary__row--total {
  font-size: 1.1rem;
  font-weight: 700;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.order-summary__row--total .text-gold {
  font-size: 1.3rem;
}

.order-summary__coupon {
  display: flex;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.order-summary__coupon input {
  flex: 1;
  padding: 0.6rem var(--space-md);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  outline: none;
}

.order-summary__coupon input:focus {
  border-color: var(--color-secondary);
}

/* ----------------------------------------------------------
   25. CHECKOUT PAGE
   ---------------------------------------------------------- */
.checkout-page {
  padding: var(--space-3xl) 0;
}

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.checkout-step__number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.checkout-step.active .checkout-step__number {
  border-color: var(--color-secondary);
  background: var(--color-secondary);
  color: var(--color-bg);
}

.checkout-step.active {
  color: var(--color-text);
}

.checkout-step.completed .checkout-step__number {
  border-color: var(--color-success);
  background: var(--color-success);
  color: #fff;
}

.checkout-step-line {
  width: 40px;
  height: 1px;
  background: var(--color-border);
}

/* Form Styles */
.form-floating-dark .form-control,
.form-floating-dark .form-select {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-primary);
  border-radius: var(--radius-sm);
  padding: 0.85rem var(--space-md);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast);
}

.form-floating-dark .form-control:focus,
.form-floating-dark .form-select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
  background-color: var(--color-surface);
  color: var(--color-text);
}

.form-floating-dark .form-control::placeholder {
  color: var(--color-text-muted);
}

.form-floating-dark label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.payment-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-method:hover {
  border-color: rgba(201,169,110,0.3);
}

.payment-method.selected {
  border-color: var(--color-secondary);
  background: rgba(201,169,110,0.04);
}

.payment-method__radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.payment-method.selected .payment-method__radio {
  border-color: var(--color-secondary);
}

.payment-method.selected .payment-method__radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
}

.payment-method__icon {
  font-size: 1.4rem;
  color: var(--color-text-muted);
  width: 40px;
  text-align: center;
}

.payment-method__name {
  font-size: 0.92rem;
  font-weight: 500;
}

.payment-method__desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   26. LOGIN / REGISTER FORMS
   ---------------------------------------------------------- */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--space-lg);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.auth-card__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.auth-card__logo {
  height: 32px;
  width: auto;
  margin: 0 auto var(--space-lg);
}

.auth-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.auth-card__subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.auth-card .form-group {
  margin-bottom: var(--space-lg);
}

.auth-card .form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.auth-card .form-group input {
  width: 100%;
  padding: 0.75rem var(--space-md);
  background: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.auth-card .form-group input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}

.auth-card__divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--color-text-muted);
  font-size: 0.78rem;
}

.auth-card__divider::before,
.auth-card__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.auth-card__social-btns {
  display: flex;
  gap: var(--space-sm);
}

.auth-card__social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.7rem;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-card__social-btn:hover {
  border-color: var(--color-secondary);
  background: rgba(201,169,110,0.04);
}

.auth-card__footer {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.auth-card__footer a {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ----------------------------------------------------------
   27. LOADING SKELETONS
   ---------------------------------------------------------- */
.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
}

.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.04) 50%,
    transparent 100%
  );
  animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-text {
  height: 14px;
  margin-bottom: var(--space-sm);
  border-radius: 4px;
}

.skeleton-text--lg {
  height: 20px;
  width: 70%;
}

.skeleton-text--sm {
  height: 12px;
  width: 50%;
}

.skeleton-image {
  aspect-ratio: 3 / 4;
}

.skeleton-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ----------------------------------------------------------
   28. TOAST NOTIFICATIONS
   ---------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  max-width: 420px;
  animation: toast-slide-in 0.35s ease forwards;
}

.toast.removing {
  animation: toast-slide-out 0.3s ease forwards;
}

@keyframes toast-slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toast-slide-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  font-size: 0.88rem;
}

.toast--success .toast__icon {
  background: rgba(40,167,69,0.15);
  color: var(--color-success);
}

.toast--error .toast__icon {
  background: rgba(220,53,69,0.15);
  color: var(--color-danger);
}

.toast--info .toast__icon {
  background: rgba(201,169,110,0.15);
  color: var(--color-secondary);
}

.toast__content {
  flex: 1;
}

.toast__title {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.toast__message {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.toast__close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: var(--space-xs);
  transition: color var(--transition-fast);
}

.toast__close:hover {
  color: var(--color-text);
}

/* ----------------------------------------------------------
   29. MODALS
   ---------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1055;
  background: rgba(0,0,0,0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.modal-panel {
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.modal-panel__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.modal-panel__close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-panel__close:hover {
  color: var(--color-text);
}

.modal-panel__body {
  padding: var(--space-xl);
  overflow-y: auto;
  max-height: 60vh;
}

.modal-panel__footer {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--color-border);
}

/* Quick-view modal (product) */
.modal-panel--lg {
  max-width: 800px;
}

/* ----------------------------------------------------------
   30. STAR RATING (INTERACTIVE)
   ---------------------------------------------------------- */
.star-rating {
  display: inline-flex;
  gap: 2px;
  font-size: 1rem;
}

.star-rating__star {
  color: var(--color-border);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.star-rating__star.filled {
  color: var(--color-secondary);
}

.star-rating__star.half {
  position: relative;
  color: var(--color-border);
}

.star-rating__star.half::before {
  content: '\f005';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: var(--color-secondary);
}

/* ----------------------------------------------------------
   31. ANIMATIONS & TRANSITIONS
   ---------------------------------------------------------- */
/* Fade in up */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Fade in */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

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

/* Scale in */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.10s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.20s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.30s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Counter animation */
.counter-animate {
  display: inline-block;
  transition: all var(--transition-slow);
}

/* Parallax helper */
.parallax-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ----------------------------------------------------------
   32. BREADCRUMBS
   ---------------------------------------------------------- */
.breadcrumb-dark {
  padding: var(--space-md) 0;
  margin-bottom: 0;
  background: transparent;
}

.breadcrumb-dark .breadcrumb-item {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.breadcrumb-dark .breadcrumb-item a {
  color: var(--color-text-muted);
}

.breadcrumb-dark .breadcrumb-item a:hover {
  color: var(--color-secondary);
}

.breadcrumb-dark .breadcrumb-item.active {
  color: var(--color-text);
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
  color: var(--color-border);
}

/* ----------------------------------------------------------
   33. PAGINATION
   ---------------------------------------------------------- */
.pagination-dark .page-link {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.85rem;
  padding: 0.5rem 0.85rem;
  transition: all var(--transition-fast);
}

.pagination-dark .page-link:hover {
  background: rgba(201,169,110,0.08);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.pagination-dark .page-item.active .page-link {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-bg);
}

.pagination-dark .page-item.disabled .page-link {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text-muted);
  opacity: 0.4;
}

/* ----------------------------------------------------------
   34. PRODUCT GRID / FILTERS (CATALOG)
   ---------------------------------------------------------- */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.catalog-toolbar__count {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.catalog-toolbar__sort select {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  padding: 0.5rem var(--space-md);
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}

.catalog-toolbar__views {
  display: flex;
  gap: var(--space-xs);
}

.catalog-toolbar__view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.catalog-toolbar__view-btn.active,
.catalog-toolbar__view-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* Filter Sidebar */
.filter-sidebar {
  padding-right: var(--space-xl);
}

.filter-group {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.filter-group__title {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.filter-group__option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.filter-group__option:hover {
  color: var(--color-text);
}

.filter-group__option input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 16px;
  height: 16px;
}

.filter-group__count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Price range slider */
.price-range {
  padding: var(--space-md) 0;
}

.price-range input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  outline: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--color-secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid var(--color-bg);
}

.price-range__labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   35. EMPTY STATES
   ---------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
}

.empty-state__icon {
  font-size: 3rem;
  color: var(--color-border);
  margin-bottom: var(--space-lg);
}

.empty-state__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.empty-state__text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------
   36. BACK TO TOP
   ---------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 1040;
}

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

.back-to-top:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: rgba(201,169,110,0.08);
}

/* ----------------------------------------------------------
   37. IMAGE ZOOM OVERLAY (Lightbox)
   ---------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1070;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--color-text);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__nav--prev { left: var(--space-xl); }
.lightbox__nav--next { right: var(--space-xl); }

/* ----------------------------------------------------------
   38. ALERTS & MESSAGES
   ---------------------------------------------------------- */
.alert-dark {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.alert-dark--success {
  background: rgba(40,167,69,0.1);
  border: 1px solid rgba(40,167,69,0.25);
  color: var(--color-success);
}

.alert-dark--danger {
  background: rgba(220,53,69,0.1);
  border: 1px solid rgba(220,53,69,0.25);
  color: var(--color-danger);
}

.alert-dark--info {
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.25);
  color: var(--color-secondary);
}

/* ----------------------------------------------------------
   39. TABS (dark style)
   ---------------------------------------------------------- */
.tabs-dark {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
}

.tabs-dark__tab {
  padding: var(--space-md) var(--space-xl);
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}

.tabs-dark__tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.tabs-dark__tab:hover {
  color: var(--color-text);
}

.tabs-dark__tab.active {
  color: var(--color-secondary);
}

.tabs-dark__tab.active::after {
  transform: scaleX(1);
}

/* ----------------------------------------------------------
   40. MISC / BOOTSTRAP OVERRIDES
   ---------------------------------------------------------- */
/* Override Bootstrap dark inputs */
.form-control,
.form-select {
  background-color: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}

.form-control:focus,
.form-select:focus {
  background-color: var(--color-surface);
  border-color: var(--color-secondary);
  color: var(--color-text);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}

.form-check-input {
  background-color: var(--color-surface);
  border-color: var(--color-border);
}

.form-check-input:checked {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

/* Bootstrap Card override */
.card {
  background: var(--color-surface);
  border-color: var(--color-border);
}

/* Bootstrap Dropdown override */
.dropdown-menu {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: var(--shadow-lg);
}

.dropdown-item {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  padding: 0.5rem var(--space-lg);
  transition: all var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(201,169,110,0.08);
  color: var(--color-secondary);
}

/* Offcanvas override */
.offcanvas {
  background: var(--color-primary);
  border-color: var(--color-border);
}

/* Tooltip override */
.tooltip .tooltip-inner {
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.78rem;
  border: 1px solid var(--color-border);
}

/* Spinner */
.spinner-gold {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-secondary);
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------------------------
   41. PAGE-LEVEL BACKGROUNDS & CONTAINERS
   ---------------------------------------------------------- */
.page-header {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: var(--space-sm);
}

.page-header__subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   42. RESPONSIVE BREAKPOINTS
   ---------------------------------------------------------- */

/* Tablet */
@media (max-width: 992px) {
  .hero__stats {
    gap: var(--space-xl);
  }

  .mega-menu {
    display: none !important;
  }

  .filter-sidebar {
    padding-right: 0;
    margin-bottom: var(--space-2xl);
  }

  .checkout-steps {
    gap: var(--space-md);
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .section-padding {
    padding: var(--space-2xl) 0;
  }

  .section-padding-sm {
    padding: var(--space-xl) 0;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn-primary-gold,
  .hero__actions .btn-outline-gold {
    width: 100%;
    justify-content: center;
  }

  .promise-card {
    padding: var(--space-lg);
  }

  .product-carousel__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .toast-container {
    top: auto;
    bottom: 90px;
    right: var(--space-md);
    left: var(--space-md);
  }

  .toast {
    min-width: auto;
    max-width: 100%;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }

  .back-to-top {
    bottom: 80px;
    right: 16px;
    width: 38px;
    height: 38px;
  }

  .lightbox__nav {
    display: none;
  }

  .checkout-steps {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .checkout-step-line {
    display: none;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__stat-number {
    font-size: 1.4rem;
  }

  .product-gallery__thumb {
    width: 56px;
    height: 56px;
  }

  .navbar-brand img {
    height: 28px;
  }

  .auth-card {
    padding: var(--space-lg);
  }
}

/* ----------------------------------------------------------
   43. PRINT STYLES
   ---------------------------------------------------------- */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .announcement-bar,
  .navbar-main,
  .whatsapp-float,
  .back-to-top,
  .toast-container,
  .search-modal {
    display: none !important;
  }

  .product-card,
  .promise-card {
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ============================================================
   44. LIVE THEME OVERRIDES — real markup (light luxury theme)
   Targets the actual classes rendered by the PHP templates.
   Placed last so these rules win over the legacy dark/BEM
   blocks above, which mostly target markup that no longer
   exists in the templates.
   ============================================================ */

/* ---------- Navbar ---------- */
#mainNavbar {
  background-color: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  transition: var(--transition-base);
}

#mainNavbar .navbar-brand {
  padding: 0;
}

#mainNavbar .nav-logo {
  height: 44px;
  width: auto;
  border-radius: var(--radius-full);
}

#mainNavbar .navbar-nav {
  gap: var(--space-lg);
}

#mainNavbar .nav-link {
  color: var(--color-text) !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0 !important;
  position: relative;
}

#mainNavbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: var(--color-secondary);
  transition: var(--transition-base);
}

#mainNavbar .nav-link:hover::after,
#mainNavbar .nav-item.dropdown:hover .nav-link::after {
  width: 100%;
}

#mainNavbar .dropdown-menu {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
  margin-top: var(--space-sm);
}

#mainNavbar .dropdown-item {
  color: var(--color-text);
  font-size: 0.85rem;
  padding: 0.5rem var(--space-lg);
}

#mainNavbar .dropdown-item:hover,
#mainNavbar .dropdown-item:focus {
  background-color: var(--color-bg);
  color: var(--color-secondary);
}

#mainNavbar .nav-icon-btn {
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1rem;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

#mainNavbar .nav-icon-btn:hover {
  background-color: var(--color-bg);
  color: var(--color-secondary);
}

#mainNavbar .cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--color-secondary);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

#mainNavbar .navbar-toggler {
  color: var(--color-text);
  font-size: 1.1rem;
}

@media (max-width: 991px) {
  #mainNavbar .navbar-collapse {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-md);
    padding: var(--space-md) 0;
  }

  #mainNavbar .navbar-nav {
    gap: var(--space-sm);
  }
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  background-color: var(--color-primary);
  overflow: hidden;
  padding-bottom: var(--space-4xl);
}

.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 30%, #241f16 0%, var(--color-primary) 65%);
}

.hero-section .hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-3xl);
}

.hero-text {
  color: #f5f1e8;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-secondary);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.hero-badge-alt {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #f5f1e8;
  opacity: 0.75;
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: #ffffff;
  margin-bottom: var(--space-lg);
}

.hero-highlight {
  font-style: italic;
  color: var(--color-secondary);
}

.hero-description {
  font-size: 1.05rem;
  color: #cfc9bd;
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-ctas .btn-accent {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-ctas .btn-accent:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.hero-ctas .btn-outline-light {
  border-color: rgba(245,241,232,0.5);
  color: #f5f1e8;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-ctas .btn-outline-light:hover {
  background-color: rgba(245,241,232,0.1);
  border-color: #f5f1e8;
  color: #ffffff;
}

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

.hero-visual .hero-image {
  max-width: 100%;
  width: 420px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201,169,110,0.35);
}

/* Vertical rotated badge along the hero's right edge */
.hero-section::after {
  content: '100% ORIGINALES';
  position: absolute;
  top: 50%;
  right: var(--space-lg);
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(201,169,110,0.6);
  white-space: nowrap;
  z-index: 2;
  display: none;
}

@media (min-width: 992px) {
  .hero-section::after {
    display: block;
  }
}

.hero-stats {
  position: relative;
  z-index: 3;
  display: flex;
  gap: var(--space-2xl);
  background-color: rgba(15,13,10,0.85);
  border: 1px solid rgba(201,169,110,0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-2xl);
  margin-top: -3.5rem;
  margin-left: auto;
  width: fit-content;
  backdrop-filter: blur(6px);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.hero-stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cfc9bd;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .hero-section::after {
    display: none;
  }

  .hero-stats {
    margin-left: 0;
    margin-top: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================================
   45. LIVE THEME OVERRIDES — interior pages (real markup)
   ============================================================ */

/* ---------- Base buttons ---------- */
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  background-color: var(--color-secondary);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.btn-accent:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-light {
  border-color: var(--color-border) !important;
  color: var(--color-text) !important;
}

.btn-outline-light:hover {
  background-color: var(--color-text) !important;
  border-color: var(--color-text) !important;
  color: #ffffff !important;
}

.hero-ctas .btn-outline-light {
  border-color: rgba(245,241,232,0.5) !important;
  color: #f5f1e8 !important;
}

.hero-ctas .btn-outline-light:hover {
  background-color: rgba(245,241,232,0.1) !important;
  border-color: #f5f1e8 !important;
  color: #ffffff !important;
}

/* ---------- Page header / breadcrumbs ---------- */
.page-section {
  padding: var(--space-3xl) 0 var(--space-4xl);
  min-height: 40vh;
}

.page-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: var(--space-sm);
}

.page-subtitle {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.category-header {
  margin-bottom: var(--space-2xl);
}

.product-count {
  display: inline-block;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb-nav {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

.breadcrumb-nav .breadcrumb {
  margin-bottom: 0;
  font-size: 0.78rem;
}

.breadcrumb-nav .breadcrumb-item a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb-nav .breadcrumb-item a:hover {
  color: var(--color-secondary);
}

.breadcrumb-nav .breadcrumb-item.active {
  color: var(--color-text);
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
  color: var(--color-border);
}

.search-page-header {
  margin-bottom: var(--space-2xl);
}

.static-page-content .page-body {
  max-width: 780px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.static-page-content .page-body h2 {
  margin: var(--space-xl) 0 var(--space-md);
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.empty-state p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* ---------- Product card ---------- */
.product-card {
  position: relative;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
  height: 100%;
}

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

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f2ede4;
}

.product-image-wrap .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
}

.product-badge.badge-sale {
  background-color: #b0413e;
}

.product-badge.badge-new {
  background-color: var(--color-secondary);
}

.product-badge-label {
  display: none;
}

.product-info {
  padding: var(--space-md);
}

.product-brand {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.product-rating {
  font-size: 0.7rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
}

.product-rating .rating-count {
  color: var(--color-text-muted);
  margin-left: 0.2rem;
}

.product-prices {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.price-original {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
}

.price-current.price-sale {
  color: #b0413e;
}

.btn-quick-add {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--color-text);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition-fast);
}

.product-card:hover .btn-quick-add {
  opacity: 1;
  transform: translateY(0);
}

.btn-quick-add:hover {
  background-color: var(--color-secondary);
}

@media (max-width: 767px) {
  .btn-quick-add {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Category: filters, toolbar, grid, pagination ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
}

.filters-sidebar {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.filter-group {
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.filter-list {
  list-style: none;
}

.filter-list li {
  margin-bottom: 0.35rem;
}

.filter-list a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.filter-list a:hover,
.filter-list a.active {
  color: var(--color-secondary);
}

.filter-scrollable {
  max-height: 180px;
  overflow-y: auto;
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.sort-control {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: auto;
}

.sort-control label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.pagination-wrap {
  margin-top: var(--space-2xl);
  display: flex;
  justify-content: center;
}

.pagination .page-link {
  color: var(--color-text);
  border-color: var(--color-border);
}

.pagination .page-item.active .page-link {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #ffffff;
}

.pagination .page-link:hover {
  background-color: var(--color-bg);
  color: var(--color-secondary);
}

/* ---------- Cart ---------- */
.cart-items {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

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

.cart-item-image img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: #f2ede4;
}

.cart-item-info h4 {
  font-size: 0.95rem;
  font-family: var(--font-primary);
  margin: 0.15rem 0;
}

.cart-item-info h4 a {
  color: var(--color-text);
  text-decoration: none;
}

.cart-item-brand {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quantity-selector .qty-btn {
  width: 34px;
  height: 34px;
  background-color: var(--color-surface);
  border: none;
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition-fast);
}

.quantity-selector .qty-btn:hover {
  background-color: var(--color-bg);
  color: var(--color-secondary);
}

.quantity-selector .qty-input {
  width: 40px;
  height: 34px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text);
  background-color: var(--color-surface);
}

.quantity-selector.quantity-sm .qty-btn,
.quantity-selector.quantity-sm .qty-input {
  width: 28px;
  height: 28px;
}

.cart-item-total {
  font-weight: 700;
  color: var(--color-text);
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: none;
  background: none;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.cart-item-remove:hover {
  background-color: #fbe9e8;
  color: #b0413e;
}

.order-summary {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.order-summary h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.free-shipping-msg {
  background-color: var(--color-bg);
  border: 1px dashed var(--color-secondary);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: var(--space-sm) 0;
}

.coupon-form {
  margin: var(--space-md) 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  margin-bottom: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ---------- Checkout ---------- */
.checkout-steps {
  display: flex;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.checkout-steps .step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.checkout-steps .step.active {
  color: var(--color-text);
}

.checkout-steps .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  color: var(--color-text);
  font-size: 0.78rem;
}

.checkout-steps .step.active .step-num {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.checkout-step-content {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.checkout-step-content h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.payment-method-option {
  cursor: pointer;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.payment-method-card i {
  font-size: 1.4rem;
  color: var(--color-secondary);
}

.payment-method-card p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0;
}

.payment-method-option input:checked + .payment-method-card {
  border-color: var(--color-secondary);
  background-color: var(--color-bg);
}

.payment-form-detail {
  padding: var(--space-md);
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
}

.order-review .review-section {
  margin-bottom: var(--space-lg);
}

.order-review h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.review-product {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.review-product img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.summary-product {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.summary-product img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: #f2ede4;
}

.summary-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.summary-product-name {
  font-size: 0.82rem;
  color: var(--color-text);
}

.summary-product-qty {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.summary-product-price {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Account ---------- */
.auth-tabs {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.auth-tabs .nav-pills .nav-link {
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
}

.auth-tabs .nav-pills .nav-link.active {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.auth-form h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-lg);
}

.account-sidebar {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.account-user {
  text-align: center;
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.4rem;
  color: var(--color-secondary);
  overflow: hidden;
}

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

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.65rem var(--space-sm);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.account-nav a:hover,
.account-nav a.active {
  background-color: var(--color-bg);
  color: var(--color-secondary);
}

.account-tab {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

/* ---------- Product detail ---------- */
.product-detail {
  padding: var(--space-2xl) 0;
}

.product-gallery .gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #f2ede4;
}

.gallery-zoom-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.gallery-thumb {
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: none;
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--color-secondary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-brand-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  text-decoration: none;
  margin-bottom: var(--space-sm);
}

.product-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-sm);
}

.product-rating-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-rating-detail .stars {
  color: var(--color-secondary);
  font-size: 0.85rem;
}

.product-rating-detail .rating-link {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: underline;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-meta span {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}

.product-price-detail {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.price-original-lg {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-current-lg {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
}

.discount-badge {
  background-color: #b0413e;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  margin-bottom: var(--space-lg);
}

.stock-status i {
  font-size: 0.5rem;
}

.stock-status.in-stock {
  color: #2f8a4a;
}

.stock-status.out-stock {
  color: #b0413e;
}

.product-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.product-extra-actions {
  display: flex;
  gap: var(--space-lg);
  margin: var(--space-md) 0 var(--space-lg);
}

.btn-wishlist,
.btn-share {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-wishlist:hover,
.btn-share:hover {
  color: var(--color-secondary);
}

.purchase-info-box {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.purchase-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.purchase-info-item i {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.purchase-info-item strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.purchase-info-item p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0;
}

.payment-icons-sm {
  display: flex;
  gap: var(--space-sm);
  font-size: 1.3rem;
  color: var(--color-text-muted);
}

/* ---------- Product sections (fragrance, notes, scent, wear, reviews) ---------- */
.product-section {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-border);
}

.product-section .section-header {
  margin-bottom: var(--space-2xl);
}

.product-section .section-title {
  font-size: 1.6rem;
}

.fragrance-description {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted);
}

.fragrance-description .description-full {
  text-align: left;
  margin-top: var(--space-md);
  line-height: 1.8;
}

.notes-column {
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  height: 100%;
}

.notes-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.notes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.note-tag {
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  background-color: var(--color-bg);
  border-radius: var(--radius-sm);
  color: var(--color-text);
}

.scent-bars {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.scent-bar-item {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: var(--space-md);
}

.scent-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.scent-bar {
  height: 6px;
  background-color: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.scent-bar-fill {
  height: 100%;
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
}

.scent-value {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: right;
}

.wear-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  justify-content: center;
}

.wear-group h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.wear-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.wear-tag {
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.product-accordion .accordion-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-accordion .accordion-button {
  background-color: var(--color-surface);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-accordion .accordion-button:not(.collapsed) {
  background-color: var(--color-bg);
  color: var(--color-secondary);
  box-shadow: none;
}

.product-accordion .accordion-button::after {
  filter: none;
}

.table-details .detail-key {
  color: var(--color-text-muted);
  width: 40%;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-xl);
}

.reviews-average {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.avg-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text);
}

.reviews-average .stars {
  color: var(--color-secondary);
}

.total-reviews {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.review-form-wrap {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-lg);
}

.star-rating-input {
  color: var(--color-secondary);
  font-size: 1.4rem;
  display: flex;
  gap: 0.3rem;
}

.star-rating-input i {
  cursor: pointer;
}

/* ---------- Related products carousel ---------- */
.products-carousel {
  overflow-x: auto;
  scrollbar-width: none;
}

.products-carousel::-webkit-scrollbar {
  display: none;
}

.products-track {
  display: flex;
  gap: var(--space-lg);
}

.products-track .product-card {
  flex: 0 0 220px;
}

@media (max-width: 767px) {
  .cart-item {
    grid-template-columns: 60px 1fr;
    grid-template-areas:
      "image info"
      "image qty"
      "total total"
      "remove remove";
    position: relative;
  }

  .cart-item-remove {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
  }

  .checkout-steps {
    gap: var(--space-md);
  }

  .scent-bar-item {
    grid-template-columns: 90px 1fr 34px;
  }

  .wear-tags-wrap {
    gap: var(--space-lg);
  }
}

/* ============================================================
   46. LIVE THEME OVERRIDES — footer (dark context) & floating UI
   The footer keeps a dark background (--color-primary) on
   purpose for contrast, so its text needs light colors
   regardless of the page-wide (now light) --color-text token.
   ============================================================ */
.site-footer,
.site-footer .footer-heading,
.site-footer .footer-copyright,
.site-footer p {
  color: #f5f1e8;
}

.site-footer {
  border-top-color: rgba(245,241,232,0.1);
}

.site-footer .footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.site-footer .footer-description,
.site-footer .footer-newsletter-text {
  color: rgba(245,241,232,0.6);
}

.site-footer .footer-links a {
  color: rgba(245,241,232,0.65);
}

.site-footer .footer-links a:hover {
  color: var(--color-secondary);
}

.site-footer .footer-social a {
  border-color: rgba(245,241,232,0.2);
  color: rgba(245,241,232,0.75);
}

.site-footer .footer-bottom {
  border-top-color: rgba(245,241,232,0.1);
}

.site-footer .footer-payments i {
  color: rgba(245,241,232,0.5);
  font-size: 1.4rem;
}

.footer-newsletter-form .form-control {
  background-color: rgba(245,241,232,0.06);
  border: 1px solid rgba(245,241,232,0.2);
  color: #f5f1e8;
}

.footer-newsletter-form .form-control::placeholder {
  color: rgba(245,241,232,0.4);
}

.footer-newsletter-form .form-control:focus {
  background-color: rgba(245,241,232,0.1);
  border-color: var(--color-secondary);
  box-shadow: none;
  color: #ffffff;
}

/* ---------- Floating WhatsApp button ---------- */
.floating-btn-wrap {
  position: fixed;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.floating-btn-wrap.bottom-right {
  bottom: var(--space-xl);
  right: var(--space-xl);
  flex-direction: row-reverse;
}

.floating-btn-wrap.bottom-left {
  bottom: var(--space-xl);
  left: var(--space-xl);
}

.floating-btn-wrap.top-right {
  top: var(--space-xl);
  right: var(--space-xl);
  flex-direction: row-reverse;
}

.floating-btn-wrap.top-left {
  top: var(--space-xl);
  left: var(--space-xl);
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast);
}

.floating-btn:hover {
  transform: scale(1.08);
  color: #ffffff;
}

.floating-btn-label {
  background-color: var(--color-text);
  color: #ffffff;
  font-size: 0.78rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
  .floating-btn-label {
    display: none;
  }
}

/* ---------- Back to top ---------- */
.btn-back-top {
  position: fixed;
  bottom: var(--space-xl);
  left: var(--space-xl);
  z-index: 1040;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
}

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

.btn-back-top:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
  border-color: var(--color-secondary);
}

/* ============================================================
   47. RESPONSIVE — mobile filter drawer & small-screen polish
   ============================================================ */
@media (max-width: 991px) {
  .filters-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 85%;
    max-width: 320px;
    z-index: 1060;
    overflow-y: auto;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
  }

  .filters-sidebar.is-open {
    transform: translateX(0);
  }

  body.filters-open {
    overflow: hidden;
  }

  body.filters-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.5);
    z-index: 1055;
  }

  .filters-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .navbar-nav {
    text-align: center;
  }

  #mainNavbar .navbar-nav {
    gap: 0;
  }

  #mainNavbar .nav-link {
    padding: 0.6rem 0 !important;
  }

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

  .hero-visual .hero-image {
    width: 260px;
  }

  .product-detail {
    padding: var(--space-xl) 0;
  }

  .product-actions {
    flex-wrap: wrap;
  }

  .product-actions .btn-add-cart {
    flex: 1;
    min-width: 0;
  }

  .reviews-summary {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .floating-btn-wrap.bottom-right,
  .floating-btn-wrap.bottom-left {
    bottom: var(--space-lg);
  }

  .btn-back-top {
    width: 38px;
    height: 38px;
    bottom: var(--space-lg);
    left: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-md);
  }

  .checkout-steps {
    gap: var(--space-sm);
  }

  .checkout-steps .step span:not(.step-num) {
    display: none;
  }

  .auth-tabs,
  .checkout-step-content,
  .account-tab,
  .account-sidebar,
  .order-summary {
    padding: var(--space-lg);
  }
}

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

.table-responsive-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
