/* Luxury Beauty E-Commerce Design System - Mouna Nouira */
/* High-End Editorial Aesthetic (Warm Silk, Obsidian Noir, Champagne Gold) */

:root {
  /* Luxury Palette (No loud green) */
  --color-primary: #18181B; /* Obsidian Charcoal */
  --color-primary-dark: #09090B; /* Deep Noir */
  --color-primary-light: #27272A;
  
  --color-accent: #C5A880; /* Refined Champagne Gold */
  --color-accent-hover: #B29267;
  --color-accent-soft: #F5EFEB; /* Warm Cream Glow */
  
  --color-promo: #C1121F; /* Editorial Crimson Red for Deals */
  --color-promo-bg: rgba(193, 18, 31, 0.08);
  --color-promo-border: rgba(193, 18, 31, 0.2);
  
  --color-bg: #FBF9F7; /* Warm Silk Off-White */
  --color-surface: #FFFFFF;
  --color-surface-hover: #F8F6F2;
  --color-surface-muted: #F2EFE9;
  
  --color-text: #18181B;
  --color-text-secondary: #52525B;
  --color-text-muted: #8E8D8A;
  --color-border: #E8E5DF;
  --color-border-subtle: #F0ECE6;
  
  --color-success: #2D6A4F;
  --color-danger: #9B2226;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: 'Amiri', 'Plus Jakarta Sans', serif;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 1px 3px rgba(24, 24, 27, 0.04);
  --shadow-card: 0 4px 20px -2px rgba(24, 24, 27, 0.05), 0 2px 6px -1px rgba(24, 24, 27, 0.02);
  --shadow-card-hover: 0 16px 36px -4px rgba(24, 24, 27, 0.1), 0 4px 12px -2px rgba(24, 24, 27, 0.04);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-drawer: -15px 0 35px rgba(0, 0, 0, 0.12);
  
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
}

/* Accessibility Focus Indicator (WCAG 2.2 AA) */
*:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

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

html {
  max-width: 100vw;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  max-width: 100vw;
  overflow-x: clip;
}

/* Arabic Typography & RTL */
[dir="rtl"] body, body.rtl-layout {
  font-family: var(--font-arabic), var(--font-sans);
  text-align: right;
  letter-spacing: 0;
}

[dir="rtl"] .search-input {
  padding: 14px 50px 14px 20px;
}

[dir="rtl"] .search-icon {
  left: auto;
  right: 18px;
}

[dir="rtl"] .category-badge {
  left: auto;
  right: 12px;
}

[dir="rtl"] .promo-badge {
  left: auto;
  right: 12px;
}

[dir="rtl"] .stock-indicator {
  right: auto;
  left: 12px;
}

/* Shopping cart drawer and floating cart button in RTL (slides from left) */
[dir="rtl"] .drawer-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .drawer-overlay.open .drawer-panel,
[dir="rtl"] .drawer-overlay.active .drawer-panel {
  transform: translateX(0);
}

[dir="rtl"] .floating-cart-btn {
  right: auto !important;
  left: 24px !important;
  width: auto !important;
  max-width: max-content !important;
}

/* Base Elements */
a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  transition: var(--transition-fast);
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Luxury Announcement Bar */
.announcement-bar {
  --banner-bg: #18181B;
  --banner-text: #FFFFFF;
  background-color: var(--banner-bg);
  color: var(--banner-text);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
  z-index: 99;
}

.announcement-bar.banner-dismissed {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  pointer-events: none !important;
}

.announcement-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 26px;
  padding: 0 34px;
}

.announcement-slide-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.announcement-slide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--banner-text);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.announcement-slide.slide-fade-out {
  opacity: 0;
  transform: translateY(-5px);
}

.announcement-slide.slide-fade-in {
  opacity: 1;
  transform: translateY(0);
}

.announcement-slide.is-clickable {
  cursor: pointer;
}

.announcement-slide.is-clickable:hover .announcement-text {
  text-decoration: underline;
}

.announcement-badge {
  background: rgba(255, 255, 255, 0.18);
  color: var(--banner-text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.announcement-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.announcement-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--banner-text);
  text-decoration: underline;
  opacity: 0.92;
  margin-left: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.announcement-action:hover {
  opacity: 1;
}

.announcement-close-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--banner-text);
  opacity: 0.75;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: opacity 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-close-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

/* Minimalist Editorial Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 249, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.brand-logo:hover,
.brand-logo:focus-visible {
  transform: scale(1.05);
  outline: none;
}

.brand-logo:active {
  transform: scale(0.98);
}

.brand-monogram {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.brand-text h1,
.brand-text .brand-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.lang-selector {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--color-text);
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-selector:hover {
  border-color: var(--color-accent);
  background: var(--color-surface-hover);
}

.nav-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.nav-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-surface-hover);
}

.nav-btn-share {
  background: rgba(212, 175, 55, 0.12) !important;
  color: var(--color-primary, #0D1B2A) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn-share:hover {
  background: rgba(212, 175, 55, 0.22) !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
  transform: translateY(-1px);
}

/* Mobile Quick Actions hidden on Desktop */
.mobile-header-quick-actions {
  display: none;
}

@media (max-width: 860px) {
  #btn-nav-about,
  #btn-nav-privacy {
    display: none;
  }
}

/* Dynamic Luxury Hero Carousel Banner (100% Uncropped Image View & Offer Deal Styling) */
.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0 2rem 0;
  overflow: hidden;
  contain: paint;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #09090B;
}

.carousel-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
  contain: paint;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.carousel-ambient-backdrop {
  position: absolute;
  inset: 0;
  max-width: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(35px) brightness(0.4) saturate(1.4);
  transform: scale(1.05);
  z-index: 1;
  pointer-events: none;
}

.carousel-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  gap: 32px;
}

.carousel-image-frame {
  flex: 1.2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.carousel-full-img {
  max-width: 100%;
  max-height: 460px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.6s ease;
}

.carousel-content-box {
  flex: 1;
  position: relative;
  z-index: 3;
  color: #FFFFFF;
  padding: 28px 32px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  animation: slideFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 520px;
}

/* Offer Deal Box (Desktop Base) */
.carousel-offer-deal-box {
  margin-top: 14px;
  padding: 16px;
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.offer-flame-badge {
  font-size: 0.76rem;
  font-weight: 800;
  color: #FFEDD5;
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

.offer-code-pill {
  font-size: 0.78rem;
  color: #FED7AA;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.offer-deal-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FB923C;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(251, 146, 60, 0.3);
}

.offer-old-price {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  font-weight: 600;
}

.btn-order-carousel-deal {
  width: 100%;
  padding: 12px 18px;
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.4);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-order-carousel-deal:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.6);
  background: linear-gradient(135deg, #FB923C 0%, #F97316 100%);
}

.carousel-content-box .hero-subtitle-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  background: rgba(197, 168, 128, 0.18);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 168, 128, 0.35);
  margin-bottom: 0.75rem;
}

.carousel-content-box h2 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.carousel-content-box p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.carousel-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-carousel-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #C5A880;
  color: #18181B;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.35);
  transition: all 0.25s ease;
}

.btn-carousel-primary:hover {
  background: #D4B995;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.5);
}

.feature-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ─────────────────────────────────────────────────────────────
   MOBILE & TABLET RESPONSIVE OVERRIDES (Cascade Priority)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-carousel-container {
    width: 100%;
    height: 560px;
    min-height: 540px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
  }

  .carousel-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .carousel-slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px 32px 10px;
    gap: 8px;
    box-sizing: border-box;
  }

  .carousel-image-frame {
    flex: 1.2;
    width: 100%;
    height: 100%;
    max-height: 270px;
    min-height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .carousel-full-img {
    width: auto;
    height: auto;
    max-height: 250px;
    max-width: 95%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  }

  .carousel-content-box {
    flex: none;
    width: 94%;
    max-width: 330px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    text-align: center;
  }

  .carousel-content-box .hero-subtitle-tag {
    font-size: 0.6rem;
    padding: 2px 7px;
    margin-bottom: 2px;
    display: inline-block;
    letter-spacing: 0.5px;
  }

  .carousel-content-box h2 {
    font-size: 0.92rem;
    line-height: 1.2;
    margin: 2px 0;
    font-weight: 700;
  }

  .carousel-content-box p {
    font-size: 0.68rem;
    line-height: 1.2;
    margin: 2px 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8);
  }

  .carousel-offer-deal-box {
    margin-top: 4px;
    padding: 5px 8px;
    gap: 3px;
    border-radius: 6px;
    background: rgba(251, 146, 60, 0.15);
  }

  .offer-deal-header {
    gap: 4px;
  }

  .offer-flame-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
  }

  .offer-code-pill {
    font-size: 0.64rem;
    padding: 2px 5px;
  }

  .offer-price-row {
    gap: 6px;
    justify-content: center;
  }

  .offer-deal-price {
    font-size: 1.15rem;
    font-weight: 800;
  }

  .offer-old-price {
    font-size: 0.8rem;
  }

  .btn-order-carousel-deal {
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    margin-top: 2px;
    border-radius: 20px;
  }

  .carousel-btn-group {
    gap: 4px;
    justify-content: center;
    margin-top: 2px;
  }

  .btn-carousel-primary {
    padding: 5px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
  }

  .feature-pill {
    font-size: 0.6rem;
    padding: 2px 6px;
  }
}

@media (max-width: 480px) {
  .hero-carousel-container {
    height: 550px;
    min-height: 530px;
  }

  .carousel-slide-inner {
    padding: 8px 8px 30px 8px;
    gap: 6px;
  }

  .carousel-image-frame {
    max-height: 250px;
    min-height: 200px;
  }

  .carousel-full-img {
    max-height: 235px;
  }

  .carousel-content-box {
    max-width: 300px;
    padding: 6px 10px;
  }
}

@media (max-width: 640px) {
  .carousel-content-box h2 {
    font-size: 1.45rem;
  }
}

.carousel-content-box p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .carousel-content-box p {
    font-size: 0.84rem;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.carousel-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-carousel-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #B29267 100%);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(197, 168, 128, 0.35);
  transition: all 0.25s ease;
}

.btn-carousel-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(197, 168, 128, 0.5);
  background: linear-gradient(135deg, #D4B890 0%, var(--color-accent) 100%);
  color: var(--color-primary-dark);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  opacity: 0.85;
}

.carousel-arrow:hover {
  opacity: 1;
  background: #FFFFFF;
  color: var(--color-accent-hover);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.carousel-arrow-prev {
  left: 18px;
}

.carousel-arrow-next {
  right: 18px;
}

@media (max-width: 640px) {
  .carousel-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.35rem;
  }
  .carousel-arrow-prev { left: 6px; }
  .carousel-arrow-next { right: 6px; }
}

.carousel-dots-container {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot.active {
  width: 26px;
  border-radius: 10px;
  background: var(--color-accent);
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.8);
}

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

.feature-pill {
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* INTERACTIVE DIGITAL eCATALOGUE FLIPBOOK VIEWER */
.ecatalogue-section {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.ecatalogue-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.ecatalogue-container {
  background: #18181B;
  border-radius: var(--radius-md);
  padding: 16px;
  color: #FFFFFF;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(197, 168, 128, 0.3);
  position: relative;
  overflow: visible;
}

/* ─────────────────────────────────────────────────────────────
   eCatalogue Interactive Search & Table of Contents Bar
   ───────────────────────────────────────────────────────────── */
.ecat-interactive-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #1E1E22;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 12px;
  position: relative;
  z-index: 60;            /* above ecat-book-stage z-index */
  overflow: visible;      /* allow dropdown to overflow out of the bar */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  flex-wrap: wrap;
}

.ecat-search-box-wrap {
  flex: 1.4;
  min-width: 250px;
  position: relative;
  z-index: 61;            /* above the bar so dropdown sits on top */
}

.ecat-search-field {
  display: flex;
  align-items: center;
  background: #27272A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 8px 14px 8px 38px;  /* left padding for icon */
  gap: 8px;
  transition: var(--transition-fast);
  position: relative;
}

.ecat-search-field::before {
  content: "🔍";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0.7;
  line-height: 1;
}

[dir="rtl"] .ecat-search-field {
  padding: 8px 38px 8px 14px;
}

[dir="rtl"] .ecat-search-field::before {
  left: auto;
  right: 12px;
}

.ecat-search-field:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.25);
  background: #2D2D30;
}

/* Remove native 'x' button from type=search on WebKit */
.ecat-search-input::-webkit-search-decoration,
.ecat-search-input::-webkit-search-cancel-button,
.ecat-search-input::-webkit-search-results-button,
.ecat-search-input::-webkit-search-results-decoration {
  display: none;
}

.ecat-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 0.84rem;
  outline: none;
  font-family: inherit;
  width: 100%;
  min-width: 0;
}

.ecat-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.ecat-search-clear {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.ecat-search-clear:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
}

/* Search Dropdown Results */
.ecat-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 320px;
  max-width: 480px;
  max-height: 380px;
  overflow-y: auto;
  background: rgba(24, 24, 27, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  z-index: 100;
  padding: 6px;
  animation: slideFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .ecat-search-dropdown {
  left: auto;
  right: 0;
}

.ecat-search-dropdown-header {
  padding: 6px 10px;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 4px;
}

.ecat-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.ecat-search-item:hover {
  background: rgba(197, 168, 128, 0.18);
  transform: translateX(3px);
}

[dir="rtl"] .ecat-search-item:hover {
  transform: translateX(-3px);
}

.ecat-search-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  background: #09090B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.ecat-search-item-info {
  flex: 1;
  min-width: 0;
}

.ecat-search-item-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecat-search-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  font-size: 0.75rem;
}

.ecat-search-item-ref {
  color: #A1A1AA;
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.ecat-search-item-price {
  color: var(--color-accent);
  font-weight: 800;
}

.ecat-search-item-page {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

.ecat-search-no-results {
  padding: 16px;
  text-align: center;
  color: #A1A1AA;
  font-size: 0.84rem;
}

/* Table of Contents Section */
.ecat-toc-box-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 180px;
  justify-content: flex-end;
}

.ecat-toc-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Custom-styled native select — works cross-browser */
.ecat-toc-select {
  /* Reset native appearance */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  background: #27272A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C5A880' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 12px 8px;
  color: #FFFFFF;
  border: 1px solid rgba(197, 168, 128, 0.4);
  padding: 8px 36px 8px 12px;   /* right padding for the chevron arrow */
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  max-width: 300px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[dir="rtl"] .ecat-toc-select {
  background-position: left 12px center;
  padding: 8px 12px 8px 36px;
}

.ecat-toc-select:hover,
.ecat-toc-select:focus {
  border-color: var(--color-accent);
  background-color: #2D2D30;
  box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.2);
}

.ecat-toc-select option {
  background: #18181B;
  color: #FFFFFF;
  padding: 6px;
}

/* Hotspot Target Glowing Pulse Animation */
.ecat-hotspot-pin-target {
  animation: targetHotspotGlow 1.2s ease-in-out infinite alternate !important;
  z-index: 60 !important;
  transform: translate(-50%, -50%) scale(1.35) !important;
  background: #EA580C !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}

@keyframes targetHotspotGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.9), 0 0 15px rgba(234, 88, 12, 0.9);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(234, 88, 12, 0), 0 0 30px rgba(234, 88, 12, 0.8);
  }
}

/* ─── Mobile & Phone: eCatalogue Search + TOC ─── */
@media (max-width: 768px) {
  /* Interactive bar stacks vertically, full-width */
  .ecat-interactive-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  /* Search box takes full width */
  .ecat-search-box-wrap {
    width: 100%;
    min-width: 0;
    flex: none;
    position: relative;
  }

  /* Make the search field taller for touch targets, keep icon padding */
  .ecat-search-field {
    padding: 11px 14px 11px 40px;
    border-radius: 10px;
    gap: 8px;
  }

  [dir="rtl"] .ecat-search-field {
    padding: 11px 40px 11px 14px;
  }

  /* Bigger font for mobile readability */
  .ecat-search-input {
    font-size: 0.92rem;
    /* Prevent iOS zoom on focus (requires >= 16px visually) */
    font-size: max(0.92rem, 16px);
  }

  .ecat-search-input::placeholder {
    font-size: 0.82rem;
  }

  /* Clear button easier to tap */
  .ecat-search-clear {
    font-size: 1rem;
    padding: 4px 8px;
    min-width: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Dropdown anchors below the search field, fills full width */
  .ecat-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: 55vh;        /* never taller than 55% of screen height */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    padding: 4px;
    z-index: 200;            /* above toolbar and catalogue */
  }

  /* Each result row: larger touch targets */
  .ecat-search-item {
    padding: 10px 10px;
    gap: 10px;
    border-radius: 8px;
  }

  /* Thumb slightly smaller to give text more room */
  .ecat-search-item-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    flex-shrink: 0;
  }

  .ecat-search-item-name {
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ecat-search-item-meta {
    font-size: 0.72rem;
    gap: 6px;
    flex-wrap: wrap;
  }

  .ecat-search-item-page {
    font-size: 0.70rem;
    padding: 3px 7px;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
  }

  /* No results message */
  .ecat-search-no-results {
    padding: 14px;
    font-size: 0.82rem;
  }

  /* TOC: full-width row, label pinned left, select expands */
  .ecat-toc-box-wrap {
    width: 100%;
    min-width: 0;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  /* TOC label — short text, stays visible on 502px */
  .ecat-toc-label {
    font-size: 0.76rem;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--color-accent);
  }

  /* TOC select: fills remaining width, proper touch height */
  .ecat-toc-select {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 10px 36px 10px 12px;  /* keep space for chevron arrow */
    font-size: 0.83rem;
    font-weight: 600;
    min-height: 44px;              /* 44px is Apple HIG touch target minimum */
    border-radius: 10px;
    border: 1px solid rgba(197, 168, 128, 0.5);
  }

  [dir="rtl"] .ecat-toc-select {
    padding: 10px 12px 10px 36px;
  }
}

/* ─── Extra-small phones (< 420px): tighten further ─── */
@media (max-width: 420px) {
  .ecat-interactive-bar {
    padding: 8px 10px;
    gap: 8px;
  }

  .ecat-search-field {
    padding: 9px 12px 9px 36px;  /* keep icon space on tiny screens */
  }

  [dir="rtl"] .ecat-search-field {
    padding: 9px 36px 9px 12px;
  }

  /* At 420px: hide label text (the emoji in ::before replaces it) */
  .ecat-toc-label {
    display: none;
  }

  /* Emoji bookmark icon replaces the hidden label */
  .ecat-toc-box-wrap::before {
    content: "📑";
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1;
  }

  /* Select takes all remaining width */
  .ecat-toc-select {
    flex: 1;
    width: 100%;
    max-width: 100%;
    font-size: 0.8rem;
    padding: 10px 32px 10px 10px;
  }

  [dir="rtl"] .ecat-toc-select {
    padding: 10px 10px 10px 32px;
  }

  .ecat-search-item-thumb {
    width: 36px;
    height: 36px;
  }
}


.ecat-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #27272A;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  gap: 10px;
  flex-wrap: wrap;
}

.ecat-nav-buttons {
  display: flex;
  gap: 8px;
}

.ecat-nav-btn {
  background: #18181B;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.ecat-nav-btn:hover:not(:disabled) {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
}

.ecat-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ecat-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ecat-page-pill {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.ecat-title-pill {
  font-size: 0.84rem;
  color: #D4D4D8;
  font-weight: 500;
}

.ecat-book-stage {
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #09090B;
  border-radius: var(--radius-sm);
  padding: 16px;
}

.ecat-spread-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ecat-single-page-wrap {
  position: relative;
  max-width: 500px;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  background: #18181B;
  margin: 0 auto;
}

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

.ecat-video-overlay {
  position: absolute;
  top: 14.8%;
  left: 0;
  width: 100%;
  height: 70.2%;
  z-index: 5;
  pointer-events: none;
}

.ecat-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecat-cover-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  border: 1px solid rgba(197, 168, 128, 0.4);
  white-space: nowrap;
  z-index: 10;
}

.ecat-dual-spread-wrap {
  position: relative;
  display: flex;
  max-width: 1000px;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  background: #18181B;
  overflow: hidden;
  margin: 0 auto;
}

.ecat-page-half {
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.ecat-page-half.left-page {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ecat-page-half .ecat-page-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Clickable Interactive Product Hotspots */
.ecat-hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border: 2px solid var(--color-accent);
  transition: var(--transition-fast);
}

.ecat-hotspot-pin:hover {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--color-accent);
}

.hotspot-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  animation: pulseEffect 1.8s infinite;
  pointer-events: none;
}

@keyframes pulseEffect {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hotspot-tooltip {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(24, 24, 27, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 30;
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--color-accent) transparent transparent transparent;
}

.ecat-hotspot-pin:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 48px;
}

.hotspot-tooltip-price {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.86rem;
  margin-top: 2px;
}

.quick-order-bar {
  background: #27272A;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.quick-order-label {
  font-size: 0.84rem;
  color: #D4D4D8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-order-label strong {
  color: var(--color-accent);
}

.quick-order-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.quick-code-input {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #18181B;
  color: #FFFFFF;
  font-size: 0.85rem;
  width: 170px;
  outline: none;
  transition: border-color 0.2s ease;
}

.quick-code-input:focus {
  border-color: var(--color-accent);
}

.btn-quick-order {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition-fast);
}

.btn-quick-order:hover {
  background: #FFFFFF;
}

.ecat-hint-footer {
  text-align: center;
  font-size: 0.78rem;
  color: #A1A1AA;
  margin-top: 12px;
}

/* Deals & Promos Showcase Section */
.deals-showcase-section {
  background: linear-gradient(135deg, #18181B 0%, #27272A 100%);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  margin-bottom: 2.5rem;
  color: #FFFFFF;
  border: 1px solid rgba(197, 168, 128, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.deals-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.deals-tag {
  display: inline-block;
  background: var(--color-promo);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.deals-header h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.deals-header p {
  font-size: 0.88rem;
  color: #A1A1AA;
}

.deals-carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .deals-carousel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .deals-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .deals-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .mini-deal-card {
    padding: 8px 8px 10px;
  }

  .mini-deal-card .current-deal-price {
    font-size: 1.05rem;
  }

  .mini-deal-card .original-price-strike {
    font-size: 0.78rem;
  }
}

/* Mini Deal Cards inside Showcase */
.mini-deal-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 12px;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  height: 100%;
  box-sizing: border-box;
}

.mini-deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.mini-deal-img-wrap {
  width: 100%;
  padding-top: 100%;
  border-radius: var(--radius-sm);
  background: #FAF8F5;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}

.mini-deal-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mini-deal overlay link — covers the image area (z-index managed by siblings for quick-preview btn) */
.mini-deal-card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  z-index: 1;
}

.promo-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--color-promo);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

[dir="rtl"] .promo-pill {
  left: auto;
  right: 8px;
}

.mini-deal-title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: 2.5rem;
}

.price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-bottom: 8px;
}

.original-price-strike {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  white-space: nowrap;
}

.current-deal-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-promo);
  white-space: nowrap;
}

/* Refined Search & Category Filters */
.controls-section {
  margin-bottom: 2.5rem;
}

.search-box {
  position: relative;
  max-width: 580px;
  margin: 0 auto 1.75rem auto;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.92rem;
  color: var(--color-text);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-subtle);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.15);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 1rem;
  pointer-events: none;
}

/* Category Filter Tabs */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  overflow: visible;
  padding: 4px 8px 12px 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.category-pill {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--color-text-secondary);
  white-space: normal;
  line-height: 1.25;
  transition: var(--transition-fast);
}

.category-pill.deal-pill {
  border-color: var(--color-promo-border);
  color: var(--color-promo);
  background: var(--color-promo-bg);
}

.category-pill:hover {
  background: var(--color-surface-hover);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.category-pill.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(24, 24, 27, 0.15);
}

.category-pill.deal-pill.active {
  background: var(--color-promo);
  color: #FFFFFF;
  border-color: var(--color-promo);
  box-shadow: 0 4px 12px rgba(193, 18, 31, 0.3);
}

/* Product Section Header */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.products-header h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.products-count {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Luxury Product Card */
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(197, 168, 128, 0.4);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #FAF8F5;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(232, 229, 223, 0.7);
  box-shadow: var(--shadow-subtle);
}

.promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-promo);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(193, 18, 31, 0.35);
  z-index: 2;
}

.stock-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.stock-indicator.in-stock {
  background: rgba(220, 252, 231, 0.95);
  color: var(--color-success);
  border: 1px solid rgba(45, 106, 79, 0.25);
}

.stock-indicator.out-stock {
  background: rgba(254, 226, 226, 0.95);
  color: var(--color-danger);
  border: 1px solid rgba(155, 34, 38, 0.3);
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.product-title:hover {
  color: var(--color-accent-hover);
}

.product-meta-row {
  display: flex;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.product-description {
  font-size: 0.83rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-border-subtle);
}

.price-container {
  display: flex;
  flex-direction: column;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.product-price.promo-price {
  color: var(--color-promo);
}

.product-price-strike {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.btn-add-cart {
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-add-cart:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.35);
}

.btn-add-cart:disabled {
  background: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

/* Floating Luxury Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: var(--color-primary-dark);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid rgba(197, 168, 128, 0.4);
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .floating-cart-btn {
    bottom: 16px;
    right: 16px;
    padding: 10px 16px;
    font-size: 0.82rem;
    gap: 8px;
  }
}

.floating-cart-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: #000000;
  border-color: var(--color-accent);
}

.cart-badge {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Cart Drawer Panel */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 18, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.open,
.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--color-surface);
  z-index: 1001;
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer-overlay.open .drawer-panel,
.drawer-overlay.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF8F5;
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
}

.btn-close-drawer {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
}

.btn-close-drawer:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.drawer-body {
  padding: 20px 24px;
  flex-grow: 1;
  overflow-y: auto;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}

.cart-item-img,
.cart-item-image,
.cart-drawer img,
.drawer-panel img,
.cart-items-list img,
#cart-items-list img {
  width: 62px !important;
  height: 62px !important;
  max-width: 62px !important;
  max-height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  border-radius: var(--radius-xs);
  object-fit: contain !important;
  background: #FAF8F5;
  padding: 4px;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-primary);
  margin-bottom: 3px;
  line-height: 1.3;
}

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

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-qty {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-border);
  background: #FAF8F5;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  cursor: pointer;
  user-select: none;
}

.btn-qty:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.qty-val {
  font-weight: 700;
  font-size: 0.88rem;
  width: 22px;
  text-align: center;
}

.btn-remove-item {
  color: var(--color-text-muted);
  font-size: 1rem;
  padding: 6px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-remove-item:hover {
  color: var(--color-danger);
  background: rgba(220, 38, 38, 0.08);
}

.cart-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-text-muted);
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-border);
  background: #FAF8F5;
}

.customer-info-box {
  background: #FFFFFF;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.customer-info-box h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.form-group {
  margin-bottom: 10px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--color-border);
  font-size: 0.88rem;
  background: #FFFFFF;
  color: var(--color-text);
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.cart-summary-subtotal-line {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.cart-summary-shipping-line,
.cart-summary-stamp-line {
  font-size: 0.85rem;
  font-weight: 500;
  color: #52525B;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.cart-summary-shipping-line span:first-child,
.cart-summary-stamp-line span:first-child {
  flex: 1;
}

.cart-summary-shipping-line span:last-child {
  font-weight: 700;
  color: #047857;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-summary-stamp-line span:last-child {
  font-weight: 700;
  color: #52525B;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-summary-delivery-line {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-primary-dark, #18181B);
  padding-top: 8px;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
  margin-bottom: 12px;
}

#cart-total-with-delivery {
  color: #059669;
  font-weight: 800;
}

.cart-trust-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: #166534;
  line-height: 1.45;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.08);
}

.cart-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-trust-item + .cart-trust-item {
  margin-top: 4px;
}

/* Messenger Action Buttons */
.messenger-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-messenger-checkout {
  width: 100%;
  min-height: 48px;
  background: var(--color-primary);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-primary);
  transition: var(--transition-fast);
}

.btn-messenger-checkout:hover {
  background: #000000;
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.btn-copy-summary {
  width: 100%;
  min-height: 40px;
  background: #FFFFFF;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-copy-summary:hover {
  background: var(--color-surface-hover);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.no-payment-notice {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* =============================================
   MESSENGER LIVE CHAT WIDGET (Fixed Floating)
   ============================================= */
.messenger-chat-widget {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 940;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: auto;
}

.messenger-chat-trigger {
  width: 66px !important;
  height: 66px !important;
  border-radius: 50% !important;
  background: #FDF2F4 !important;
  color: #D4AF37 !important;
  border: 2.5px solid #D4AF37 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(212, 175, 55, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease !important;
  padding: 0 !important;
  overflow: visible !important;
}

.messenger-chat-trigger:hover {
  transform: scale(1.08) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.6) !important;
  border-color: #FFF1B0 !important;
}

.chat-trigger-brand-logo,
.messenger-chat-trigger img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  overflow: hidden !important;
}

.messenger-trigger-badge {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  background: linear-gradient(135deg, #FFF0B8 0%, #D4AF37 50%, #A0720E 100%) !important;
  color: #07070A !important;
  font-size: 0.64rem !important;
  font-weight: 900 !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #FFFFFF !important;
  line-height: 1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
  z-index: 2 !important;
  letter-spacing: 0.5px !important;
}

.messenger-trigger-icon {
  width: 26px;
  height: 26px;
}

.messenger-chat-box {
  display: none;
  position: fixed;
  bottom: 160px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: 70vh;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 25px rgba(212, 175, 55, 0.15);
  z-index: 1000;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.messenger-chat-box.open {
  display: flex !important;
  animation: chatFadeIn 0.25s ease-out;
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.messenger-chat-header {
  background: linear-gradient(135deg, #18181B 0%, #09090B 100%);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.45);
  color: #FFFFFF;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.messenger-chat-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.messenger-avatar-wrap {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: 2px solid #D4AF37 !important;
  background: #FDF2F4 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.messenger-avatar-wrap img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.messenger-monogram {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.messenger-chat-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.messenger-chat-status {
  font-size: 0.72rem;
  opacity: 0.9;
}

.messenger-chat-close-btn {
  background: rgba(255, 255, 255, 0.22);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: all 0.15s ease;
  touch-action: manipulation;
  pointer-events: auto;
}

.messenger-chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.06);
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.messenger-chat-expand-btn {
  background: rgba(255, 255, 255, 0.22);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  touch-action: manipulation;
  pointer-events: auto;
}

.messenger-chat-expand-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.06);
}

.chat-expanded-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999998;
  animation: chatBackdropFade 0.2s ease-out;
}

.chat-expanded-backdrop.active {
  display: block;
}

@keyframes chatBackdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.messenger-chat-box.chat-expanded {
  position: fixed !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(92vw, 980px) !important;
  max-width: 95vw !important;
  height: min(86vh, 860px) !important;
  max-height: 90vh !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5) !important;
  z-index: 999999 !important;
  animation: chatExpandZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes chatExpandZoom {
  from { opacity: 0.8; transform: translate(-50%, -50%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 640px) {
  .messenger-chat-box.chat-expanded {
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
  }
}

.messenger-chat-body {
  flex-grow: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F8FAFC;
}

.chat-timestamp {
  text-align: center;
  font-size: 0.7rem;
  color: #94A3B8;
  margin-bottom: 4px;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.chat-msg-received {
  align-self: flex-start;
}

.chat-msg-sent {
  align-self: flex-end;
}

.chat-msg-text {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.chat-msg-received .chat-msg-text {
  background: #FFFFFF;
  color: #1E293B;
  border: 1px solid #E2E8F0;
  border-bottom-left-radius: 4px;
}

.chat-msg-sent .chat-msg-text {
  background: #0084FF;
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.chat-msg-time {
  font-size: 0.65rem;
  color: #94A3B8;
  margin-top: 3px;
}

.chat-msg-sent .chat-msg-time {
  text-align: right;
}

.chat-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.chat-reply-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563EB;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}

.chat-reply-btn:hover {
  background: #EFF6FF;
  border-color: #93C5FD;
}

.messenger-chat-footer {
  padding: 10px 12px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.messenger-chat-input {
  flex-grow: 1;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  outline: none;
}

.messenger-chat-input:focus {
  border-color: #0084FF;
}

.messenger-chat-send-btn {
  background: #0084FF;
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}

.messenger-chat-send-btn:hover {
  background: #0066CC;
}

/* AI Shopping Assistant Interactive Extensions */
.chat-msg-typing .typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
}
.chat-msg-typing .typing-dots span {
  width: 7px;
  height: 7px;
  background: #94A3B8;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.chat-msg-typing .typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.chat-msg-typing .typing-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-product-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px;
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
  position: relative;
  text-align: left;
}
.chat-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.09);
  border-color: #C5A880;
}
.chat-product-img-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.chat-product-card img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #F1F5F9;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.chat-product-card:hover img {
  transform: scale(1.04);
}
.chat-product-info {
  flex-grow: 1;
  min-width: 0;
}
.chat-product-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.chat-product-title {
  font-size: 0.80rem;
  font-weight: 700;
  color: #1E293B;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
  margin-bottom: 2px;
  transition: color 0.15s;
}
.chat-product-card:hover .chat-product-title {
  color: #B39266;
}
.chat-product-meta {
  font-size: 0.68rem;
  color: #64748B;
  margin-bottom: 2px;
  font-weight: 500;
}
.chat-product-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: #059669;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-product-old-price {
  font-size: 0.72rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 500;
}
.chat-product-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.chat-product-view-btn {
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.chat-product-view-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: scale(1.06);
}
.chat-product-buy-btn {
  background: #C5A880;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s, transform 0.1s;
  flex-shrink: 0;
}
.chat-product-buy-btn:hover:not(:disabled) {
  background: #B39266;
  transform: scale(1.02);
}
.chat-product-buy-btn.btn-added-success {
  background: #059669 !important;
  color: #FFFFFF !important;
}

.chat-quick-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 8px 0;
  scrollbar-width: none;
}
.chat-quick-chips::-webkit-scrollbar {
  display: none;
}
.chat-chip {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 5px 11px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
}
.chat-chip:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-header-whatsapp-btn {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.chat-header-whatsapp-btn:hover {
  background: #20BA5A;
}

/* Refined Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 18, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-border);
}

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

.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FAF8F5;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
}

.modal-body {
  padding: 28px;
}

/* Product Detail Tabs & Rich Info in Modal */
.product-modal-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.product-modal-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1.5px solid #E8E5DF;
  margin: 18px 0 16px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.product-tab-btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748B;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-tab-btn:hover {
  color: #18181B;
  background: rgba(0, 0, 0, 0.03);
}

.product-tab-btn.active {
  color: #18181B;
  background: rgba(197, 168, 128, 0.12);
  border-bottom-color: #C5A880;
  font-weight: 800;
}

.product-tab-pane {
  display: none;
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.75;
  min-height: 80px;
  padding: 4px 2px;
}

.product-tab-pane.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

.product-rich-text .qv-rich-p,
.product-rich-text p {
  margin: 0 0 16px;
  line-height: 1.75;
  font-size: 0.94rem;
  color: #334155;
  letter-spacing: 0.01em;
}

/* Subheadings & Section Titles */
.qv-rich-heading {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #18181B;
  letter-spacing: 0.03em;
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #E8E5DF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qv-rich-heading::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C5A880;
  flex-shrink: 0;
}

.qv-inline-sub {
  color: #18181B;
  font-weight: 700;
}

/* Luxury Pyramide Olfactive Card */
.qv-pyramid-card {
  background: linear-gradient(135deg, #FAF8F5 0%, #F5F1EB 100%);
  border: 1px solid #E4DFD5;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.qv-pyramid-title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: #18181B;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qv-pyramid-tier {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(197, 168, 128, 0.45);
}

.qv-pyramid-tier:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

@media (min-width: 560px) {
  .qv-pyramid-tier {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }
}

.qv-tier-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-block;
  flex-shrink: 0;
}

.tier-top .qv-tier-tag {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.tier-heart .qv-tier-tag {
  background: #FCE7F3;
  color: #9D174D;
  border: 1px solid #FBCFE8;
}

.tier-base .qv-tier-tag {
  background: #E0E7FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.qv-tier-val {
  font-size: 0.92rem;
  color: #1E293B;
  font-weight: 500;
  line-height: 1.5;
}

/* Olfactory Family Pill */
.qv-family-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin: 12px 0 16px;
}

.qv-family-name {
  font-weight: 700;
  color: #78350F;
}

/* Hero / Signature Note Card */
.qv-hero-note-badge {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: #FAF8F5;
  border-left: 3px solid #C5A880;
  border-top: 1px solid #E8E5DF;
  border-right: 1px solid #E8E5DF;
  border-bottom: 1px solid #E8E5DF;
  padding: 11px 15px;
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: #1E293B;
  margin: 14px 0 16px;
  line-height: 1.55;
}

.qv-hero-note-text {
  color: #18181B;
  font-weight: 600;
}

/* Skincare Active Cards */
.qv-active-card {
  display: flex;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0;
}

.qv-active-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.qv-active-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  display: block;
  margin-bottom: 4px;
}

.qv-active-desc {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 !important;
}

/* Step Badges */
.qv-step-header {
  margin: 16px 0 8px;
}

.qv-step-badge {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

/* Rich Lists */
.qv-rich-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qv-rich-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
}

.qv-rich-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #059669;
  font-weight: 800;
  font-size: 0.95rem;
}

/* Test / Clinical Disclaimer */
.qv-test-disclaimer {
  font-size: 0.78rem;
  color: #64748B;
  background: #F1F5F9;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 12px 0 16px;
  line-height: 1.5;
}

.product-rich-text ul,
.product-rich-text ol {
  margin: 0 0 1rem 1.5rem;
  padding-left: 1rem;
  list-style-type: disc;
}

[dir="rtl"] .product-rich-text ul,
[dir="rtl"] .product-rich-text ol {
  margin: 0 1.5rem 1rem 0;
  padding-right: 1rem;
  padding-left: 0;
}

.product-rich-text li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.product-rich-text strong,
.product-rich-text b {
  font-weight: 700;
  color: var(--color-text-main, #1e293b);
}

.product-rich-text sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.5em;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefits-list li {
  position: relative;
  padding-left: 20px;
}

[dir="rtl"] .benefits-list li {
  padding-left: 0;
  padding-right: 20px;
}

.benefits-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.85rem;
}

[dir="rtl"] .benefits-list li::before {
  left: auto;
  right: 0;
}

.info-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: #FAF8F5;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #E8E5DF;
  margin-top: 18px;
}

.info-chip-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #71717A;
  margin-bottom: 3px;
}

.info-chip-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #18181B;
}

.guarantee-note {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border);
}

@media (max-width: 640px) {
  .product-tab-btn {
    padding: 8px 12px;
    font-size: 0.84rem;
  }
  .product-rich-text .qv-rich-p,
  .product-rich-text p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 14px;
  }
  .qv-rich-heading {
    font-size: 0.98rem;
    margin: 18px 0 8px;
  }
  .qv-pyramid-card {
    padding: 12px 14px;
  }
  .qv-tier-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
  }
  .qv-tier-val {
    font-size: 0.86rem;
  }
  .info-chip-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }
}

/* Luxury Editorial Footer */
footer {
  background: var(--color-primary-dark);
  color: #D4D4D8;
  padding: 3rem 0;
  margin-top: 5rem;
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
  color: #A1A1AA;
}

/* ══════════════════════════════════════════════════════════════════ */
/* BLOC DISCRET PIED DE PAGE : « RECEVOIR LES OFFRES »               */
/* ══════════════════════════════════════════════════════════════════ */
.footer-newsletter-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 22px;
  max-width: 580px;
  margin: 0 auto 30px auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.footer-newsletter-badge {
  display: inline-block;
  background: rgba(197, 168, 128, 0.15);
  color: #FCD34D;
  border: 1px solid rgba(252, 211, 77, 0.3);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.footer-newsletter-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.footer-newsletter-desc {
  font-size: 0.84rem;
  color: #CBD5E1;
  margin: 0 0 18px 0;
  line-height: 1.45;
}

.footer-newsletter-form {
  text-align: left;
}

.footer-newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

@media (max-width: 560px) {
  .footer-newsletter-card {
    padding: 18px 14px;
    margin-bottom: 24px;
  }
  .footer-newsletter-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.footer-newsletter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-newsletter-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #E2E8F0;
}

.footer-newsletter-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.footer-input-icon {
  position: absolute;
  left: 12px;
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.8;
}

.footer-newsletter-input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.footer-newsletter-input::placeholder {
  color: #94A3B8;
  opacity: 0.8;
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: #FCD34D;
  box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.2);
  background: rgba(15, 23, 42, 0.85);
}

.footer-newsletter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: #E2E8F0;
  cursor: pointer;
  user-select: none;
}

.footer-checkbox {
  width: 17px;
  height: 17px;
  accent-color: #D4AF37;
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0;
}

.footer-newsletter-action {
  text-align: center;
  margin-bottom: 10px;
}

.footer-newsletter-submit-btn {
  background: linear-gradient(135deg, #D4AF37, #C5A880);
  color: #1E293B;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 28px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
}

.footer-newsletter-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, #F59E0B, #D4AF37);
}

.footer-newsletter-submit-btn:active {
  transform: translateY(0);
}

.footer-newsletter-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.footer-newsletter-reassurance {
  font-size: 0.74rem;
  color: #94A3B8;
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

.footer-newsletter-feedback {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.footer-newsletter-feedback.is-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.footer-newsletter-feedback.is-error {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--color-primary-dark);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(197, 168, 128, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE ENGINE (Smartphones: 360px - 768px)
   Zero horizontal overflow, 44px+ touch targets, native app feel
   ========================================================================== */

@media (max-width: 768px) {
  html, body {
    overflow-x: clip;
    max-width: 100vw;
  }

  .container {
    padding: 0 12px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Compact Sleek Mobile Navbar */
  .navbar {
    padding: 6px 0;
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    min-height: 56px;
    display: flex;
    align-items: center;
  }

  .nav-container {
    padding: 0 12px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 0;
    min-height: 44px;
    flex-shrink: 1;
  }

  .brand-monogram {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text h1,
  .brand-text .brand-title {
    display: block;
    font-size: 1.02rem;
    line-height: 1.15;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-text p {
    display: none;
  }

  /* Mobile Quick Action Buttons in Navbar */
  .mobile-header-quick-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }

  .header-icon-btn,
  .header-cart-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: background 0.15s ease;
  }

  .header-icon-btn:active,
  .header-cart-btn:active {
    background: rgba(0, 0, 0, 0.07);
  }

  .header-cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
  }

  .header-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    align-items: center;
  }

  .hamburger-line {
    width: 20px;
    height: 2.2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  /* Mobile Dropdown Menu (Nav Actions) */
  .nav-actions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid var(--color-border);
    padding: 14px 16px;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    z-index: 950;
    animation: menuSlideDown 0.22s ease-out;
  }

  .nav-actions.mobile-open {
    display: flex !important;
  }

  @keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-actions .lang-selector {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .nav-actions .nav-btn {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 0 14px;
  }

  /* Top Announcement Bar Responsive */
  .announcement-bar {
    font-size: 0.74rem;
    padding: 6px 10px;
    line-height: 1.35;
    text-align: center;
  }

  .announcement-inner {
    padding: 0 28px 0 6px;
    min-height: 22px;
  }

  .announcement-slide {
    font-size: 0.74rem;
    gap: 6px;
  }

  .announcement-badge {
    font-size: 0.62rem;
    padding: 1px 6px;
  }

  .announcement-text {
    font-size: 0.74rem;
    white-space: normal;
    text-align: center;
  }

  .announcement-action {
    font-size: 0.70rem;
  }

  .announcement-close-btn {
    right: 2px;
    font-size: 1.15rem;
    padding: 3px 6px;
  }

  /* Category Pills Mobile Layout */
  .category-pills-container {
    margin: 12px 0 16px 0;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .category-pills-container::-webkit-scrollbar {
    display: none;
  }

  .category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 6px;
    padding: 4px 2px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .category-pill {
    flex-shrink: 0;
    white-space: normal;
    text-align: center;
    padding: 8px 14px;
    font-size: 0.8rem;
    min-height: 40px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
  }

  /* Digital Flipbook Mobile Layout */
  .ecatalogue-section {
    padding: 1rem 0.5rem;
    margin: 1rem 0 1.5rem 0;
  }

  .ecat-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px;
  }

  .ecat-nav-buttons {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .ecat-nav-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ecat-status {
    width: 100%;
    justify-content: center;
    font-size: 0.76rem;
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .ecat-book-stage {
    min-height: 320px;
    padding: 8px 4px;
  }

  .ecat-dual-spread-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: 58vh;
  }

  .ecat-single-page-wrap {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 2 / 3;
    height: auto;
    max-height: 58vh;
  }

  .ecat-search-field {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .ecat-search-input {
    min-height: 44px;
    height: 44px;
    font-size: 16px !important;
  }

  .quick-order-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
  }

  .quick-order-form {
    width: 100%;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .quick-code-input {
    flex: 1 1 180px;
    min-width: 0;
    min-height: 44px;
    height: 44px;
    font-size: 16px !important;
  }

  .btn-quick-order {
    flex: 1 1 auto;
    min-height: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    white-space: nowrap;
    font-size: 0.85rem;
    cursor: pointer;
  }

  /* Responsive Product Grid: 2 columns on >=380px, 1 column on <=379px */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .product-img-wrapper {
    height: 140px;
    position: relative;
    overflow: hidden;
  }

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

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

  .product-title {
    font-size: 0.82rem;
    line-height: 1.3;
    font-weight: 600;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
  }

  .product-price-row {
    margin-top: 4px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px;
  }

  .product-price {
    font-size: 0.95rem;
    font-weight: 800;
  }

  .product-old-price {
    font-size: 0.75rem;
  }

  /* Harmonized & Uniform Product Card Footer on Mobile */
  .product-card .product-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 10px 8px !important;
  }

  .product-card .product-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-top: auto !important;
    padding-top: 8px !important;
    border-top: 1px solid var(--color-border-subtle) !important;
    min-height: 44px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-card .price-container {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 1px !important;
  }

  .product-card .product-price {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
  }

  .product-card .product-price-strike {
    font-size: 0.72rem !important;
    line-height: 1 !important;
    color: var(--color-text-muted) !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
  }

  /* Identical, Uniform 'Ajouter au Panier' Button Across ALL Products */
  .product-card .btn-add-cart {
    flex: 0 0 84px !important;
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    padding: 0 4px !important;
    border-radius: 9999px !important;
    background: #18181B !important;
    color: #FFFFFF !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    letter-spacing: -0.01em !important;
  }

  .product-card .btn-add-cart:hover,
  .product-card .btn-add-cart:active {
    background: #27272A !important;
    transform: scale(0.98) !important;
  }

  .product-card .btn-add-cart.btn-stock-alert {
    background: #059669 !important;
    border-color: #059669 !important;
    color: #FFFFFF !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
  }

  .info-chip-grid {
    grid-template-columns: 1fr;
  }

  /* Full Screen Cart Drawer on Mobile */
  .drawer-panel {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
  }

  .drawer-header {
    padding: 14px 16px;
  }

  .drawer-body {
    padding: 14px 16px;
  }

  .cart-item {
    padding: 10px 12px;
    gap: 12px;
  }

  .cart-item-img {
    width: 52px;
    height: 52px;
  }

  .cart-item-title {
    font-size: 0.84rem;
  }

  .btn-qty {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.15rem;
  }

  .qty-val {
    width: 24px;
    font-size: 0.95rem;
  }

  .btn-remove-item {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .form-control {
    min-height: 48px;
    height: 48px;
    font-size: 16px !important;
  }

  .drawer-footer {
    padding: 14px 16px calc(24px + env(safe-area-inset-bottom, 0px)) 16px;
  }

  /* Floating Cart Button on Mobile */
  .floating-cart-btn {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    z-index: 950;
    min-height: 48px;
    padding: 10px 18px;
    font-size: 0.85rem;
    gap: 8px;
  }

  /* Messenger Chat Widget on Mobile: Positioned cleanly at bottom 85px above Voir le Panier */
  .messenger-chat-widget {
    bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
    right: 15px !important;
    z-index: 1000 !important;
  }

  /* Spacing at bottom of pagination so mascot and cart button never cover page numbers */
  .pagination-wrapper,
  #products-pagination-container {
    margin-bottom: 85px !important;
  }

  /* Floating Back to Top Button on Mobile: Moved to bottom-left to prevent collision with Cart pill and Messenger */
  .btn-back-to-top {
    left: 16px !important;
    right: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    z-index: 945;
  }

  .messenger-chat-trigger {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    background: #FDF2F4 !important;
    border: 2px solid #D4AF37 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .messenger-chat-trigger img,
  .chat-trigger-brand-logo {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .messenger-chat-box:not(.chat-expanded) {
    position: fixed;
    inset: auto 0 0 0;
    width: 100vw;
    max-width: 100vw;
    height: 82vh;
    max-height: 82vh;
    background: #FFFFFF !important;
    border-radius: 20px 20px 0 0;
    z-index: 1100;
    box-sizing: border-box;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4) !important;
  }

  /* Responsive Modals */
  .modal-card {
    width: 94vw;
    max-height: 88vh;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .modal-header {
    padding: 14px 18px;
    flex-shrink: 0;
  }

  .modal-body {
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
  }

  .product-modal-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #footer-facebook-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px !important;
  }

  /* Symmetrical padding for parent green card section on mobile */
  .bundles-showcase-section {
    padding: 20px 14px !important;
    box-sizing: border-box !important;
  }

  .bundles-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .bundle-showcase-card {
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .bundle-card-top-bar {
    padding: 9px 14px !important;
    box-sizing: border-box !important;
  }

  /* Bundle Showcase Mobile Stage - Centrage parfait Flexbox */
  .bundle-img-stage {
    display: flex !important;
    justify-content: center !important; /* Centre les éléments horizontalement */
    align-items: center !important; /* Aligne les images et les "+" verticalement */
    flex-wrap: wrap !important; /* Permet un retour à la ligne si l'écran est trop étroit */
    gap: 10px !important; /* Espace homogène entre les éléments */
    width: 100% !important;
    margin: 0 auto !important;
    padding: 14px 10px !important;
    min-height: 145px !important;
    box-sizing: border-box !important;
  }

  .bundle-prod-thumb {
    flex: 1 1 80px !important;
    min-width: 75px !important;
    max-width: 110px !important;
    height: 132px !important;
    padding: 6px 4px !important;
    border-radius: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .bundle-prod-thumb img {
    height: 68px !important;
    max-height: 72px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
    transform: scale(0.88) !important;
  }

  .bundle-plus-circle {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    align-self: center !important;
  }

  .bundle-prod-thumb span {
    font-size: 0.64rem !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 4px !important;
  }

  .bundle-card-body {
    padding: 14px 14px !important;
    box-sizing: border-box !important;
  }
}

/* Specific Optimizations for Narrow Screens <= 379px (iPhone SE, Galaxy S20/Fold) */
@media (max-width: 379px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-img-wrapper {
    height: 180px;
  }

  .brand-logo {
    gap: 4px;
  }

  .brand-monogram {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .brand-text h1,
  .brand-text .brand-title {
    font-size: 0.82rem;
    letter-spacing: -0.01em;
  }

  .mobile-header-quick-actions {
    gap: 2px;
  }

  .header-icon-btn,
  .header-cart-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }
}

/* Header Luxury Responsive Fit for Standard Mobile Devices (380px to 480px) */
@media (min-width: 380px) and (max-width: 480px) {
  .nav-container {
    padding: 0 8px;
    gap: 4px;
  }

  .brand-logo {
    gap: 6px;
  }

  .brand-monogram {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .brand-text h1,
  .brand-text .brand-title {
    font-size: clamp(0.85rem, 3.4vw, 0.96rem);
    letter-spacing: -0.01em;
  }

  .mobile-header-quick-actions {
    gap: 3px;
  }

  .header-icon-btn,
  .header-cart-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
}

/* =============================================
   CAROUSEL IMAGE LIGHTBOX
   ============================================= */
.carousel-full-img {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}
.carousel-full-img:hover {
  transform: scale(1.02);
}

.carousel-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(90vw, 900px);
  max-height: 90vh;
  animation: lightboxIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  object-fit: contain;
  user-select: none;
}

.lightbox-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.lightbox-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.18s;
  backdrop-filter: blur(4px);
}
.lightbox-close-btn:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.18s;
  backdrop-filter: blur(4px);
  user-select: none;
}
.lightbox-nav:hover {
  background: rgba(197, 168, 128, 0.45);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

@media (max-width: 600px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-caption { font-size: 0.82rem; }
}

/* ─────────────────────────────────────────────────────────────
   QuickView Interactive Multi-Image Gallery
   ───────────────────────────────────────────────────────────── */
.quickview-gallery-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.quickview-main-image-frame {
  position: relative;
  background: radial-gradient(circle, #FFFFFF 40%, #F5F3EF 100%);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E8E5DF;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.03);
  min-height: 280px;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quickview-main-image-frame:hover {
  border-color: #C5A880;
  box-shadow: inset 0 2px 8px rgba(197, 168, 128, 0.15), 0 4px 14px rgba(0, 0, 0, 0.06);
}

.quickview-main-img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  cursor: zoom-in;
}

.quickview-main-img:hover {
  transform: scale(1.04);
}

.quickview-zoom-hint-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(24, 24, 27, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 12;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}

.quickview-zoom-hint-btn:hover {
  background: #000000;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  color: #FBBF24;
}

.quickview-zoom-hint-btn svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #D4D4D8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  font-size: 1.15rem;
  font-weight: 700;
  color: #18181B;
  transition: all 0.2s ease;
  user-select: none;
}

.gallery-nav-btn:hover {
  background: #18181B;
  color: #FFFFFF;
  border-color: #18181B;
  transform: translateY(-50%) scale(1.12);
}

.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }

.quickview-thumbnails-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 4px;
}

.quickview-thumb-item {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 2px solid #E4E4E7;
  padding: 3px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.quickview-thumb-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.quickview-thumb-item.active {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.3);
  transform: translateY(-2px);
}

/* ── Product Color Swatches & Shades ───────────────────────────────────────── */
.product-shades-row {
  margin: 8px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #FAF8F5;
  border: 1px solid #EAE7E1;
  border-radius: 8px;
  padding: 8px 10px;
}

.shades-header-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #52525B;
}

.shades-swatches-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 2px 0;
}

.shade-swatch-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  outline: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.shade-swatch-btn:hover {
  transform: scale(1.22);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.shade-swatch-btn.active {
  transform: scale(1.25);
  border-color: #FFFFFF;
  box-shadow: 0 0 0 2px #18181B, 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 3;
}

.shade-active-badge {
  font-size: 0.73rem;
  font-weight: 700;
  color: #18181B;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* QuickView Modal Shades Section */
.quickview-shades-box {
  background: #FAF8F5;
  border: 1px solid #E8E5DF;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0 16px;
}

.quickview-shades-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #18181B;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quickview-shades-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.quickview-shade-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.18), 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.quickview-shade-swatch:hover {
  transform: scale(1.18);
  box-shadow: 0 0 0 2px #C5A880, 0 4px 8px rgba(0, 0, 0, 0.2);
}

.quickview-shade-swatch.active {
  transform: scale(1.22);
  box-shadow: 0 0 0 2.5px #18181B, 0 4px 10px rgba(0, 0, 0, 0.25);
}

.quickview-shade-swatch.active::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.cart-item-shade-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #4C1D95;
  background: #EDE9FE;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 3px;
}

.cart-item-shade-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  display: inline-block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.deal-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #FDF4FF 0%, #FAE8FF 100%);
  color: #86198F;
  border: 1px solid #F0ABFC;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  margin: 4px 0 6px;
  width: fit-content;
  box-shadow: 0 1px 3px rgba(134,25,143,0.08);
  animation: pulse-countdown 2.5s infinite ease-in-out;
}

@keyframes pulse-countdown {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

/* ==========================================================================
   🎁 BUNDLES & COMBO PACKS (DUO / TRIO DEALS) CLIENT VISUALS
   ========================================================================== */

.bundles-showcase-section {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 45%, #042F2E 100%);
  border-radius: var(--radius-lg, 16px);
  padding: 28px 24px;
  margin-bottom: 36px;
  border: 1.5px solid #059669;
  box-shadow: 0 14px 34px rgba(6, 78, 59, 0.25);
  position: relative;
  overflow: hidden;
}

.bundles-showcase-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bundles-header {
  margin-bottom: 22px;
}

.bundles-tag {
  display: inline-block;
  background: rgba(254, 240, 138, 0.15);
  color: #FDE047;
  border: 1px solid rgba(254, 240, 138, 0.35);
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 12px;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.bundles-header h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.bundles-header p {
  color: #A7F3D0;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

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

/* Bundle Showcase Card */
.bundle-showcase-card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #D1FAE5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.bundle-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.22);
  border-color: #10B981;
}

.bundle-card-top-bar {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.bundle-savings-badge {
  background: #FDE047;
  color: #78350F;
  border-radius: 99px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Product Pair / Trio Visual Stage */
.bundle-img-stage {
  padding: 16px 14px;
  background: #FAF8F5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid #E5E7EB;
  position: relative;
  min-height: 165px;
  box-sizing: border-box;
}

.bundle-prod-thumb {
  flex: 1 1 0;
  min-width: 0;
  max-width: 150px;
  height: 145px;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  overflow: hidden;
}

.bundle-prod-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.bundle-prod-thumb img {
  width: 100%;
  height: 80px;
  max-height: 85px;
  object-fit: contain;
  transform: scale(0.85);
  transform-origin: center;
  transition: transform 0.2s ease;
  display: block;
}

.bundle-prod-thumb:hover img {
  transform: scale(0.92);
}

.bundle-prod-thumb span {
  font-size: 0.68rem;
  font-weight: 700;
  color: #4B5563;
  line-height: 1.25;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  width: 100%;
  word-break: break-word;
}

.bundle-plus-circle {
  width: 22px;
  height: 22px;
  background: #059669;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
  flex-shrink: 0;
  z-index: 2;
}

.bundle-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bundle-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #18181B;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.bundle-card-desc {
  font-size: 0.8rem;
  color: #6B7280;
  margin: 0 0 12px 0;
  line-height: 1.45;
  flex: 1;
}

.bundle-items-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  font-size: 0.78rem;
  color: #374151;
}

.bundle-items-checklist li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.bundle-items-checklist li::before {
  content: "✓";
  color: #059669;
  font-weight: 800;
}

/* Bundle Price & Action Row */
.bundle-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px dashed #E5E7EB;
  margin-top: auto;
  gap: 10px;
  flex-wrap: wrap;
}

.bundle-price-box {
  display: flex;
  flex-direction: column;
}

.bundle-orig-price {
  font-size: 0.76rem;
  text-decoration: line-through;
  color: #9CA3AF;
  font-weight: 600;
}

.bundle-final-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #059669;
  letter-spacing: -0.02em;
}

.bundle-final-price small {
  font-size: 0.8rem;
  font-weight: 700;
  color: #374151;
}

.btn-add-bundle {
  background: #059669;
  color: #FFFFFF;
  border: 1px solid #047857;
  border-radius: 8px;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.btn-add-bundle:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

/* Badge on Catalog Product Cards */
.product-bundle-tag {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  color: #047857;
  border: 1px solid #10B981;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.product-bundle-tag:hover {
  background: #059669;
  color: #FFFFFF;
}

/* Upsell Box in Product QuickView Modal */
.qv-bundle-upsell-box {
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
  border: 1.5px solid #10B981;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.qv-bundle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.qv-bundle-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qv-bundle-save {
  background: #FEF08A;
  color: #854D0E;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
}

.qv-bundle-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.qv-bundle-products-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 8px;
  border: 1px solid #E5E7EB;
  margin-bottom: 10px;
}

.qv-bundle-prod-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #374151;
  flex: 1;
}

.qv-bundle-prod-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
  background: #FAF8F5;
  border: 1px solid #F3F4F6;
}

.qv-bundle-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-add-bundle-qv {
  background: #059669;
  color: #FFFFFF;
  border: 1px solid #047857;
  border-radius: 8px;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-add-bundle-qv:hover {
  background: #047857;
}

/* Category Pill Bundle */
.category-pill.bundle-pill {
  background: #F0FDF4;
  color: #065F46;
  border-color: #6EE7B7;
}

.category-pill.bundle-pill.active {
  background: #059669 !important;
  color: #FFFFFF !important;
  border-color: #047857 !important;
}

/* ==========================================================================
   PROFESSIONAL PAGINATION & POSITION INDICATORS
   ========================================================================== */

.deals-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.deals-count-badge-wrap {
  display: inline-flex;
  align-items: center;
}

.deals-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #FBBF24 !important;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.02em;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0 1.25rem;
  width: 100%;
}

.pagination-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  background: #FFFFFF;
  padding: 6px 10px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.pagination-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #FFFFFF;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
  touch-action: manipulation;
}

.pagination-btn:hover:not(:disabled) {
  background: #FAF8F5;
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background: #F9FAFB;
  border-color: #E5E7EB;
  color: #9CA3AF;
}

.pagination-btn:focus-visible,
.pagination-page:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.pagination-pages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-page {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  color: #18181B;
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  touch-action: manipulation;
}

.pagination-page:hover:not(.active) {
  background: #FAF8F5;
  border-color: #C5A880;
  color: #0C1814;
}

.pagination-page.active {
  background: var(--color-primary);
  color: #FFFFFF !important;
  border-color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(12, 24, 20, 0.25);
  cursor: default;
}

.pagination-ellipsis {
  min-width: 32px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8E8D8A;
  font-weight: 700;
  font-size: 1.1rem;
  user-select: none;
}

/* Mobile & Tablet Responsive Adjustments */
@media (max-width: 600px) {
  .pagination-nav {
    gap: 4px;
    padding: 5px 6px;
    width: 100%;
    justify-content: center;
  }

  .pagination-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .pagination-page {
    min-width: 44px;
    min-height: 44px;
    padding: 0 4px;
    font-size: 0.88rem;
  }

  .pagination-ellipsis {
    min-width: 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  .pagination-btn .btn-text {
    display: none;
  }

  .pagination-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .pagination-btn .pagination-arrow {
    font-size: 1.25rem;
    line-height: 1;
  }

  .pagination-pages {
    gap: 4px;
  }

  .pagination-page {
    min-width: 44px;
    min-height: 44px;
    padding: 0 2px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Fragrance Filters & Guide Banner Component (Luxury Oriflame Theme)
   ========================================================================== */
.fragrance-filters-container {
  background: #FAF8F5;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-md, 16px);
  padding: 20px 24px;
  margin: 18px 0 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  animation: fadeInDown 0.25s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Guide Banner inside filters */
.fragrance-guide-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(13, 27, 42, 0.05) 100%), #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.08);
}

.fragrance-guide-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fragrance-guide-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.fragrance-guide-text strong {
  display: block;
  font-size: 1rem;
  color: var(--color-primary, #0D1B2A);
  font-weight: 700;
  margin-bottom: 2px;
}

.fragrance-guide-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #4A5568;
}

.btn-guide-banner {
  background: var(--color-primary, #0D1B2A);
  color: #FFFFFF !important;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-guide-banner:hover {
  background: #B8860B;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(184, 134, 11, 0.25);
}

/* Filter Groups and Rows */
.fragrance-filter-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fragrance-filter-group {
  border: none;
  padding: 0;
  margin: 0;
}

.fragrance-filter-legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary, #0D1B2A);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fragrance-pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Fragrance Filter Pills */
.fragrance-filter-pill {
  appearance: none;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  color: #374151;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  user-select: none;
}

.fragrance-filter-pill:hover:not(:disabled):not(.active) {
  border-color: #B8860B;
  background: #FFFDF8;
  color: #0D1B2A;
}

.fragrance-filter-pill:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

.fragrance-filter-pill.active {
  background: var(--color-primary, #0D1B2A);
  color: #FFFFFF;
  border-color: var(--color-primary, #0D1B2A);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(13, 27, 42, 0.2);
}

.fragrance-filter-pill.active .filter-count {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.fragrance-filter-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-style: dashed;
  border-color: #E5E7EB;
  background: #F3F4F6;
  color: #9CA3AF;
}

.fragrance-filter-pill .filter-count {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 12px;
  background: #E5E7EB;
  color: #4B5563;
  transition: background 0.18s, color 0.18s;
}

/* Footer & Reset Button */
.fragrance-filters-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.btn-reset-fragrance-filters {
  appearance: none;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #4A5568;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-reset-fragrance-filters:hover {
  background: #F7FAFC;
  color: #E53E3E;
  border-color: #CBD5E0;
}

.btn-reset-fragrance-filters:focus-visible {
  outline: 2px solid #E53E3E;
  outline-offset: 2px;
}

.fragrance-active-summary {
  font-size: 0.85rem;
  color: #718096;
  font-style: italic;
}

@media (max-width: 640px) {
  .fragrance-filters-container {
    padding: 16px 14px;
    margin: 14px 0 20px;
  }
  .fragrance-guide-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-guide-banner {
    width: 100%;
    text-align: center;
  }
  .fragrance-filter-pill {
    padding: 6px 11px;
    font-size: 0.82rem;
    min-height: 36px;
  }
  .fragrance-filters-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-reset-fragrance-filters {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Haircare Specialized Filters & Breadcrumbs
   ========================================================================== */
.category-breadcrumb {
  margin-bottom: 14px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: #64748B;
}

.breadcrumb-item.active {
  color: var(--color-primary, #0D1B2A);
  font-weight: 600;
}

.breadcrumb-link {
  color: #64748B;
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-link:hover {
  color: var(--color-primary, #0D1B2A);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #94A3B8;
  font-size: 0.85rem;
}

.haircare-filters-container {
  background: #F6FAF7;
  border: 1px solid rgba(46, 125, 50, 0.3);
  border-radius: var(--radius-md, 16px);
  padding: 20px 24px;
  margin: 18px 0 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  animation: fadeInDown 0.25s ease-out;
}

.haircare-filter-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.haircare-filter-group {
  border: none;
  padding: 0;
  margin: 0;
}

.haircare-filter-legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary, #0D1B2A);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.haircare-pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.haircare-filter-pill {
  appearance: none;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  color: #374151;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  user-select: none;
}

.haircare-filter-pill:hover:not(:disabled):not(.active) {
  border-color: #2E7D32;
  background: #F1F8F3;
  color: #1B4332;
}

.haircare-filter-pill:focus-visible {
  outline: 2px solid #2E7D32;
  outline-offset: 2px;
}

.haircare-filter-pill.active {
  background: #1B4332;
  color: #FFFFFF;
  border-color: #1B4332;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(27, 67, 50, 0.25);
}

.haircare-filter-pill.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.haircare-filter-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-style: dashed;
  border-color: #E5E7EB;
  background: #F3F4F6;
  color: #9CA3AF;
}

.haircare-filter-pill .filter-count {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 12px;
  background: #E5E7EB;
  color: #4B5563;
  transition: background 0.18s, color 0.18s;
}

.haircare-filters-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.btn-reset-haircare-filters {
  appearance: none;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #4A5568;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-reset-haircare-filters:hover {
  background: #F7FAFC;
  color: #E53E3E;
  border-color: #CBD5E0;
}

.btn-reset-haircare-filters:focus-visible {
  outline: 2px solid #E53E3E;
  outline-offset: 2px;
}

.haircare-active-summary {
  font-size: 0.85rem;
  color: #52796F;
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 640px) {
  .haircare-filters-container {
    padding: 16px 14px;
    margin: 14px 0 20px;
  }
  .haircare-guide-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .haircare-filter-pill {
    padding: 6px 11px;
    font-size: 0.82rem;
    min-height: 36px;
  }
  .haircare-filters-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-reset-haircare-filters {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SKINCARE SPECIALIZED FILTERS STYLING (Accessible WCAG AA Compliant)
   ========================================================================== */
.skincare-filters-container {
  background: #FDF8F9;
  border: 1px solid rgba(157, 23, 77, 0.25);
  border-radius: var(--radius-md, 16px);
  padding: 20px 24px;
  margin: 18px 0 24px;
  box-shadow: 0 4px 20px rgba(157, 23, 77, 0.04);
  transition: all 0.3s ease;
  animation: fadeInDown 0.25s ease-out;
}

.skincare-filter-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.skincare-filter-group {
  border: none;
  padding: 0;
  margin: 0;
}

.skincare-filter-legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary, #0D1B2A);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.skincare-pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skincare-filter-pill {
  appearance: none;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  color: #374151;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  user-select: none;
}

.skincare-filter-pill:hover:not(:disabled):not(.active) {
  border-color: #BE185D;
  background: #FDF2F8;
  color: #831843;
}

.skincare-filter-pill:focus-visible {
  outline: 2px solid #BE185D;
  outline-offset: 2px;
}

.skincare-filter-pill.active {
  background: #831843;
  color: #FFFFFF;
  border-color: #831843;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(131, 24, 67, 0.28);
}

.skincare-filter-pill.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.skincare-filter-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-style: dashed;
  border-color: #E5E7EB;
  background: #F3F4F6;
  color: #9CA3AF;
}

.skincare-filter-pill .filter-count {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 12px;
  background: #E5E7EB;
  color: #4B5563;
  transition: background 0.18s, color 0.18s;
}

.skincare-filters-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.btn-reset-skincare-filters {
  appearance: none;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #4A5568;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-reset-skincare-filters:hover {
  background: #F7FAFC;
  color: #E53E3E;
  border-color: #CBD5E0;
}

.btn-reset-skincare-filters:focus-visible {
  outline: 2px solid #E53E3E;
  outline-offset: 2px;
}

.skincare-active-summary {
  font-size: 0.85rem;
  color: #831843;
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 640px) {
  .skincare-filters-container {
    padding: 16px 14px;
    margin: 14px 0 20px;
  }
  .skincare-filter-pill {
    padding: 6px 11px;
    font-size: 0.82rem;
    min-height: 36px;
  }
  .skincare-filters-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-reset-skincare-filters {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Body & Bath / Soins du corps et du bain Filters Panel
   ========================================================================== */
.bodycare-filters-container {
  background: #FDFBF7;
  border: 1px solid #E5DEC9;
  border-radius: var(--radius-md, 12px);
  padding: 20px 22px;
  margin: 18px 0 28px;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.05);
}

.bodycare-filter-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bodycare-filter-group {
  border: none;
  padding: 0;
  margin: 0;
}

.bodycare-filter-legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary, #0D1B2A);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bodycare-pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bodycare-filter-pill {
  appearance: none;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  color: #374151;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  user-select: none;
  white-space: nowrap;
}

.bodycare-filter-pill:hover:not(:disabled):not(.active) {
  border-color: #B45309;
  background: #FEF3C7;
  color: #92400E;
}

.bodycare-filter-pill:focus-visible {
  outline: 2px solid #D97706;
  outline-offset: 2px;
}

.bodycare-filter-pill.active {
  background: #B45309;
  color: #FFFFFF;
  border-color: #B45309;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.28);
}

.bodycare-filter-pill.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.bodycare-filter-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-style: dashed;
  border-color: #E5E7EB;
  background: #F3F4F6;
  color: #9CA3AF;
}

.bodycare-filter-pill .filter-count {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 12px;
  background: #E5E7EB;
  color: #4B5563;
  transition: background 0.18s, color 0.18s;
}

.bodycare-filters-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.btn-reset-bodycare-filters {
  appearance: none;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #4A5568;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-reset-bodycare-filters:hover {
  background: #F7FAFC;
  color: #E53E3E;
  border-color: #CBD5E0;
}

.btn-reset-bodycare-filters:focus-visible {
  outline: 2px solid #E53E3E;
  outline-offset: 2px;
}

.bodycare-active-summary {
  font-size: 0.85rem;
  color: #92400E;
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 640px) {
  .bodycare-filters-container {
    padding: 16px 14px;
    margin: 14px 0 20px;
  }
  .bodycare-filter-pill {
    padding: 6px 11px;
    font-size: 0.82rem;
    min-height: 36px;
  }
  .bodycare-filters-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-reset-bodycare-filters {
    width: 100%;
    justify-content: center;
  }
  .category-pill {
    white-space: nowrap !important;
    padding: 7px 13px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Makeup / Maquillage Filters Panel
   ========================================================================== */
.makeup-filters-container {
  background: #FFF8FA;
  border: 1px solid #F3BAD1;
  border-radius: 14px;
  padding: 20px 24px 16px;
  margin: 16px 0 24px;
  transition: all 0.3s ease;
  animation: fadeInDown 0.25s ease-out;
}
.makeup-sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.makeup-sort-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #831843;
  white-space: nowrap;
}
.makeup-sort-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid #F3BAD1;
  border-radius: 8px;
  padding: 7px 32px 7px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  font-family: inherit;
  cursor: pointer;
  min-width: 180px;
  background: #FFFFFF;
  transition: all 0.18s ease;
}
.makeup-sort-select:hover { border-color: #BE185D; }
.makeup-sort-select:focus { outline: 2px solid #BE185D; outline-offset: 2px; border-color: #BE185D; }
.makeup-filter-row { display: flex; flex-direction: column; gap: 18px; }
.makeup-filter-group { border: none; padding: 0; margin: 0; }
.makeup-filter-legend {
  font-size: 0.88rem;
  font-weight: 700;
  color: #831843;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.makeup-pill-options { display: flex; flex-wrap: wrap; gap: 8px; }
.makeup-filter-pill {
  appearance: none;
  border: 1px solid #F3BAD1;
  background: #FFFFFF;
  color: #374151;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  user-select: none;
}
.makeup-filter-pill:hover:not(:disabled):not(.active) {
  border-color: #BE185D;
  background: #FDF2F8;
  color: #831843;
}
.makeup-filter-pill:focus-visible { outline: 2px solid #BE185D; outline-offset: 2px; }
.makeup-filter-pill.active {
  background: #BE185D;
  color: #FFFFFF;
  border-color: #BE185D;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(190, 24, 93, 0.28);
}
.makeup-filter-pill.active .filter-count { background: rgba(255,255,255,0.25); color: #FFFFFF; }
.makeup-filter-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-style: dashed;
  border-color: #E5E7EB;
  background: #F3F4F6;
  color: #9CA3AF;
}
.makeup-filter-pill .filter-count {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 12px;
  background: #FCE7F3;
  color: #9D174D;
  transition: background 0.18s, color 0.18s;
}
.makeup-filters-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(190,24,93,0.1);
  flex-wrap: wrap;
  gap: 12px;
}
.btn-reset-makeup-filters {
  appearance: none;
  border: 1px solid #F3BAD1;
  background: #FFFFFF;
  color: #4A5568;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-reset-makeup-filters:hover { background: #FDF2F8; color: #BE185D; border-color: #BE185D; }
.btn-reset-makeup-filters:focus-visible { outline: 2px solid #BE185D; outline-offset: 2px; }
.makeup-active-summary { font-size: 0.85rem; color: #BE185D; font-style: italic; font-weight: 500; }
@media (max-width: 640px) {
  .makeup-filters-container { padding: 16px 14px; margin: 14px 0 20px; }
  .makeup-sort-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .makeup-sort-select { width: 100%; }
  .makeup-filter-pill { padding: 6px 11px; font-size: 0.82rem; min-height: 36px; }
  .makeup-filters-footer { flex-direction: column; align-items: flex-start; }
  .btn-reset-makeup-filters { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Global Navigation Bar, Dynamic Breadcrumb & Back Button
   ========================================================================== */
.global-navigation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0 18px 0;
  padding: 8px 14px;
  background: #FAF8F5;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md, 12px);
  font-size: 0.88rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  animation: navFadeIn 0.2s ease-out;
}

@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm, 8px);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  touch-action: manipulation;
  flex-shrink: 0;
}

.btn-page-back:hover,
.btn-page-back:focus-visible {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateX(-2px);
  outline: none;
}

.btn-page-back:active {
  transform: scale(0.96);
}

.global-breadcrumb-nav {
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.global-breadcrumb-nav::-webkit-scrollbar {
  display: none;
}

.global-breadcrumb-nav .breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  font-size: 0.86rem;
}

.global-breadcrumb-nav .breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.global-breadcrumb-nav .breadcrumb-item a {
  color: #718096;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0 2px;
}

.global-breadcrumb-nav .breadcrumb-item a:hover,
.global-breadcrumb-nav .breadcrumb-item a:focus-visible {
  color: var(--color-primary);
  text-decoration: underline;
  outline: none;
}

.global-breadcrumb-nav .breadcrumb-separator {
  color: #CBD5E0;
  user-select: none;
}

.global-breadcrumb-nav .breadcrumb-item.active {
  font-weight: 700;
  color: var(--color-primary);
}

.global-breadcrumb-nav .breadcrumb-ellipsis-mobile {
  display: none;
}

@media (max-width: 640px) {
  .global-navigation-bar {
    padding: 6px 10px;
    margin: 10px 0 14px 0;
    gap: 10px;
  }
  .btn-page-back {
    padding: 0 12px;
    font-size: 0.84rem;
  }
  .global-breadcrumb-nav .breadcrumb-ellipsis-mobile {
    display: inline-block;
    color: #A0AEC0;
    margin-right: 4px;
  }
  .global-breadcrumb-nav .breadcrumb-item.breadcrumb-item-collapsed {
    display: none;
  }
}

/* ==========================================================================
   Floating Back to Top Button
   ========================================================================== */
.btn-back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(12px);
  user-select: none;
  touch-action: manipulation;
}

.btn-back-to-top.visible {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
}

.btn-back-to-top:hover,
.btn-back-to-top:focus-visible {
  background: #1B263B;
  color: var(--color-accent, #D4AF37);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  outline: none;
}

.btn-back-to-top:active {
  transform: scale(0.94);
}

/* ==========================================================================
   Enhanced Mobile Navigation Drawer & Backdrop
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  animation: navFadeIn 0.2s ease-out;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background: #FFFFFF;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.25);
  animation: drawerSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

[dir="rtl"] .mobile-nav-drawer {
  left: auto;
  right: 0;
  animation: drawerSlideInRtl 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerSlideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes drawerSlideInRtl {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  background: #FAF8F5;
}

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

.mobile-drawer-links {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.drawer-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #A0AEC0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: var(--radius-sm, 8px);
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  width: 100%;
  user-select: none;
  touch-action: manipulation;
}

[dir="rtl"] .drawer-nav-item {
  text-align: right;
}

.drawer-nav-item:hover,
.drawer-nav-item:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-primary);
  font-weight: 600;
  outline: none;
}

.drawer-nav-item.active {
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 600;
}

.drawer-nav-icon {
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  flex-shrink: 0;
}

.mobile-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--color-border);
  background: #FAF8F5;
}

/* ==========================================================================
   Pagination Count / Info Summary Display
   ========================================================================== */
.pagination-info {
  font-size: 0.88rem;
  color: #718096;
  font-weight: 500;
  text-align: center;
  margin-bottom: 8px;
}

.pagination-info-desktop {
  display: inline-block;
}

.pagination-info-mobile {
  display: none;
}

@media (max-width: 600px) {
  .pagination-info-desktop {
    display: none;
  }
  .pagination-info-mobile {
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-primary);
  }
}

/* ==========================================================================
   Tâche 15 & 16: Social Profiles & Social Sharing Features
   ========================================================================== */

/* Header Social Links (Desktop Only) */
.header-social-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface, #FFFFFF);
  border: 1px solid var(--color-border, #E2E8F0);
  color: #4A5568;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-social-link:hover,
.header-social-link:focus-visible {
  transform: translateY(-2px) scale(1.08);
  outline: none;
}

.header-social-link.header-social-fb:hover {
  color: #FFFFFF;
  background: #1877F2;
  border-color: #1877F2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.header-social-link.header-social-ig:hover {
  color: #FFFFFF;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35);
}

.header-social-link.header-social-tt:hover {
  color: #FFFFFF;
  background: #010101;
  border-color: #010101;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .header-social-links {
    display: none !important;
  }
}

/* Footer Social Section */
.footer-social-section {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-social-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Footer Social Buttons — High Contrast Luxury White Pills on Dark Footer */
footer .social-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  background: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
  user-select: none;
}

footer .social-link-btn:hover,
footer .social-link-btn:focus-visible {
  transform: translateY(-2px) scale(1.05);
  outline: none;
}

/* Facebook Footer Button */
footer .social-link-fb {
  background: #FFFFFF !important;
  color: #1877F2 !important;
  border-color: rgba(24, 119, 242, 0.35) !important;
}
footer .social-link-fb svg {
  color: #1877F2 !important;
  fill: #1877F2 !important;
}
footer .social-link-fb:hover,
footer .social-link-fb:focus-visible {
  background: #1877F2 !important;
  color: #FFFFFF !important;
  border-color: #1877F2 !important;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
}
footer .social-link-fb:hover svg,
footer .social-link-fb:focus-visible svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

/* Instagram Footer Button */
footer .social-link-ig {
  background: #FFFFFF !important;
  color: #E1306C !important;
  border-color: rgba(225, 48, 108, 0.35) !important;
}
footer .social-link-ig svg {
  color: #E1306C !important;
  fill: #E1306C !important;
}
footer .social-link-ig:hover,
footer .social-link-ig:focus-visible {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.45);
}
footer .social-link-ig:hover svg,
footer .social-link-ig:focus-visible svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

/* TikTok Footer Button — Ultra Visible, Never Black on Black */
footer .social-link-tt {
  background: #FFFFFF !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.25) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
footer .social-link-tt svg {
  color: #000000 !important;
  fill: #000000 !important;
  filter: drop-shadow(-1.5px -1.5px 0px #00F2FE) drop-shadow(1.5px 1.5px 0px #FE2C55);
}
footer .social-link-tt span {
  color: #000000 !important;
  font-weight: 700;
}
footer .social-link-tt:hover,
footer .social-link-tt:focus-visible {
  background: #000000 !important;
  color: #FFFFFF !important;
  border-color: #000000 !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), -2px -2px 12px rgba(0, 242, 254, 0.7), 2px 2px 12px rgba(254, 44, 85, 0.7);
}
footer .social-link-tt:hover svg,
footer .social-link-tt:focus-visible svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
  filter: drop-shadow(-1.5px -1.5px 0px #00F2FE) drop-shadow(1.5px 1.5px 0px #FE2C55);
}
footer .social-link-tt:hover span,
footer .social-link-tt:focus-visible span {
  color: #FFFFFF !important;
}

/* ── Footer Contact Card & Direct Phone 55 756 629 ── */
.footer-contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  padding: 24px 20px;
  max-width: 580px;
  margin: 0 auto 28px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.footer-contact-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 5px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.footer-contact-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  line-height: 1.3;
}

.footer-contact-sub {
  font-size: 0.9rem;
  color: #CBD5E1 !important;
  margin: 0 0 16px 0;
}

.footer-contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-contact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  touch-action: manipulation;
  user-select: none;
}

.footer-call-btn {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0;
}

.footer-call-btn svg {
  color: #2563EB;
}

.footer-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
  background: #F8FAFC !important;
}

.footer-whatsapp-btn {
  background: #25D366 !important;
  color: #FFFFFF !important;
  border: 1px solid #20BD5A;
}

.footer-whatsapp-btn svg {
  color: #FFFFFF;
  fill: #FFFFFF;
}

.footer-whatsapp-btn:hover {
  background: #1EBE5D !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* ── Footer Meta Navigation (À propos de Mouna & Confidentialité) ── */
.footer-meta-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 20px auto 26px auto;
  flex-wrap: wrap;
}

.footer-meta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #E2E8F0;
  padding: 9px 20px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  touch-action: manipulation;
  user-select: none;
}

.footer-meta-btn:hover,
.footer-meta-btn:focus-visible {
  color: #D4AF37;
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.footer-meta-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
}

@media (max-width: 600px) {
  .footer-contact-actions {
    flex-direction: column;
    width: 100%;
  }
  .footer-contact-action-btn {
    width: 100%;
    min-height: 48px;
  }
  .footer-meta-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-meta-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    min-height: 44px;
  }
  .footer-meta-sep {
    display: none;
  }
}

/* Modal Social Badges (About Modal on light background) */
.social-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid var(--color-border, #E2E8F0);
  color: #2D3748;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: manipulation;
  user-select: none;
}
.social-badge-btn:hover,
.social-badge-btn:focus-visible {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  outline: none;
}
.social-badge-fb {
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.25);
  background: rgba(24, 119, 242, 0.06);
}
.social-badge-fb:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
}
.social-badge-ig {
  color: #E1306C;
  border-color: rgba(225, 48, 108, 0.25);
  background: rgba(225, 48, 108, 0.06);
}
.social-badge-ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  border-color: transparent;
}
.social-badge-tt {
  color: #010101;
  border-color: rgba(1, 1, 1, 0.25);
  background: rgba(1, 1, 1, 0.05);
}
.social-badge-tt svg {
  filter: drop-shadow(-1px -1px 0px #00F2FE) drop-shadow(1px 1px 0px #FE2C55);
}
.social-badge-tt:hover {
  background: #010101;
  color: #FFFFFF;
  border-color: #010101;
}

/* Footer regular links styling */
footer a:not(.social-link-btn) {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:not(.social-link-btn):hover {
  color: #FFFFFF;
}

/* Category Share Button in Global Navigation Bar */
.btn-share-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-sm, 8px);
  color: var(--color-primary, #0D1B2A);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  touch-action: manipulation;
  flex-shrink: 0;
}

.btn-share-category:hover,
.btn-share-category:focus-visible {
  background: var(--color-primary, #0D1B2A);
  color: #FFFFFF;
  border-color: var(--color-primary, #0D1B2A);
  transform: translateY(-1px);
  outline: none;
}

.btn-share-category:active {
  transform: scale(0.96);
}

/* Dedicated eCatalogue Share Buttons */
.btn-share-catalogue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  border-radius: var(--radius-sm, 10px);
  color: var(--color-primary, #0D1B2A);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  touch-action: manipulation;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.12);
}

.btn-share-catalogue:hover,
.btn-share-catalogue:focus-visible {
  background: var(--color-primary, #0D1B2A);
  color: #FFFFFF;
  border-color: var(--color-primary, #0D1B2A);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 27, 42, 0.25);
  outline: none;
}

.btn-share-catalogue:active {
  transform: scale(0.97);
}

.ecat-share-spread-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full, 20px);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  touch-action: manipulation;
  margin-left: 8px;
}

[dir="rtl"] .ecat-share-spread-btn {
  margin-left: 0;
  margin-right: 8px;
}

.ecat-share-spread-btn:hover,
.ecat-share-spread-btn:focus-visible {
  background: var(--color-accent, #C5A880);
  color: #18181B;
  border-color: var(--color-accent, #C5A880);
  transform: translateY(-1px);
  outline: none;
}

.ecat-share-spread-btn:active {
  transform: scale(0.95);
}

/* Product QuickView Share Section */
.product-share-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #E2E8F0;
}

.product-share-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.product-share-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #4A5568;
  letter-spacing: 0.02em;
}

.product-share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  background: #F8FAFC;
  color: #334155;
  transition: all 0.2s ease;
  touch-action: manipulation;
  user-select: none;
}

.share-btn:hover,
.share-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

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

.share-btn-whatsapp {
  background: #F0FDF4;
  color: #15803D;
  border-color: rgba(37, 211, 102, 0.3);
}
.share-btn-whatsapp:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.share-btn-facebook {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: rgba(24, 119, 242, 0.3);
}
.share-btn-facebook:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
}

.share-btn-pinterest {
  background: #FEF2F2;
  color: #B91C1C;
  border-color: rgba(230, 0, 35, 0.3);
}
.share-btn-pinterest:hover {
  background: #E60023;
  color: #FFFFFF;
  border-color: #E60023;
}

.share-btn-x {
  background: #F1F5F9;
  color: #0F172A;
  border-color: rgba(15, 23, 42, 0.25);
}
.share-btn-x:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.share-btn-email {
  background: #F8FAFC;
  color: #475569;
  border-color: #CBD5E1;
}
.share-btn-email:hover {
  background: #475569;
  color: #FFFFFF;
  border-color: #475569;
}

.share-btn-instagram {
  background: #FDF2F8;
  color: #BE185D;
  border-color: rgba(225, 48, 108, 0.3);
}
.share-btn-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  border-color: transparent;
}

.share-btn-tiktok {
  background: #F1F5F9;
  color: #0F172A;
  border-color: rgba(1, 1, 1, 0.25);
}
.share-btn-tiktok:hover {
  background: #010101;
  color: #FFFFFF;
  border-color: #010101;
}

.share-btn-copy {
  background: #F1F5F9;
  color: var(--color-primary, #0D1B2A);
  border-color: #CBD5E1;
}
.share-btn-copy:hover {
  background: var(--color-primary, #0D1B2A);
  color: #FFFFFF;
  border-color: var(--color-primary, #0D1B2A);
}
.share-btn-copy.copied {
  background: #F0FDF4;
  color: #15803D;
  border-color: #86EFAC;
}

/* Category Share Modal styling */
.category-share-grid .share-btn {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.88rem;
  justify-content: flex-start;
  gap: 10px;
}

@media (max-width: 600px) {
  .footer-social-links {
    gap: 10px;
    width: 100%;
    padding: 0 10px;
  }
  footer .social-link-btn {
    min-height: 44px;
    padding: 10px 14px !important;
    font-size: 0.84rem;
    flex: 1 1 calc(33.333% - 10px);
    max-width: 145px;
  }
  .product-share-buttons {
    gap: 6px;
  }
  .product-share-buttons .share-btn {
    padding: 8px 10px;
    font-size: 0.78rem;
  }
  .category-share-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* DIRECT ON-SITE CHECKOUT WORKFLOW STYLES                                   */
/* ══════════════════════════════════════════════════════════════════════════ */

/* Stepper Progress Bar */
.checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #F9FAFB;
  border-bottom: 1px solid var(--color-border);
  gap: 6px;
}

.checkout-step-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.55;
  transition: all 0.25s ease;
}

.checkout-step-indicator.active {
  opacity: 1;
}

.checkout-step-indicator.completed {
  opacity: 0.9;
}

.stepper-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #4B5563;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkout-step-indicator.active .stepper-badge {
  background: #059669;
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.checkout-step-indicator.completed .stepper-badge {
  background: #047857;
  color: #FFFFFF;
}

.stepper-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.checkout-step-indicator.active .stepper-text {
  color: #059669;
  font-weight: 700;
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: #E5E7EB;
  min-width: 14px;
  border-radius: 2px;
  transition: background 0.25s ease;
}

.stepper-line.completed {
  background: #059669;
}

/* Step Views */
.checkout-step-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.checkout-step-intro {
  margin-bottom: 14px;
}

.checkout-step-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #18181B;
  margin: 0 0 4px;
  font-family: var(--font-serif);
}

.checkout-step-subheading {
  font-size: 0.82rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.4;
}

/* Error Banner */
.checkout-error-banner {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 14px;
}

.checkout-error-banner ul {
  margin: 4px 0 0 18px;
  padding: 0;
}

.checkout-error-banner li {
  margin-bottom: 2px;
}

/* Warning Notice in Review Step */
.checkout-warning-notice {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #92400E;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.warning-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* Forms & Inputs */
.checkout-form-group {
  margin-bottom: 14px;
}

.checkout-form-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}

.required-badge {
  color: #DC2626;
  font-weight: 700;
}

.optional-badge {
  font-size: 0.72rem;
  font-weight: normal;
  color: #9CA3AF;
}

.checkout-input,
.checkout-textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  font-size: 0.88rem;
  color: #111827;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}

.checkout-input:focus,
.checkout-textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.checkout-input.is-invalid,
.checkout-textarea.is-invalid {
  border-color: #DC2626;
  background: #FFF5F5;
}

.checkout-field-hint {
  font-size: 0.72rem;
  color: #6B7280;
  margin-top: 4px;
  line-height: 1.35;
}

/* Consent Checkbox */
.checkout-consent-container {
  margin: 14px 0;
  padding: 10px 12px;
  background: #F9FAFB;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
}

.checkout-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: #4B5563;
  cursor: pointer;
  line-height: 1.45;
  user-select: none;
}

.checkout-consent-label input[type="checkbox"] {
  margin-top: 2px;
  width: 17px;
  height: 17px;
  accent-color: #059669;
  flex-shrink: 0;
  cursor: pointer;
}

.checkout-privacy-link {
  color: #059669;
  text-decoration: underline;
  font-weight: 600;
}

.checkout-privacy-link:hover {
  color: #047857;
}

/* Checkout Cards (Review & Recap) */
.checkout-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.checkout-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F3F4F6;
}

.checkout-card-header h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1F2937;
  margin: 0;
}

.btn-card-action {
  background: none;
  border: none;
  color: #059669;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-card-action:hover {
  background: #ECFDF5;
  text-decoration: underline;
}

.review-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.82rem;
  color: #374151;
  border-bottom: 1px dashed #F3F4F6;
}

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

.meta-label {
  color: #6B7280;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.meta-val {
  text-align: right;
  word-break: break-word;
}

/* Review Items List */
.review-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #F3F4F6;
}

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

.review-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  flex-shrink: 0;
  padding: 2px;
  box-sizing: border-box;
}

.review-item-details {
  flex: 1;
  min-width: 0;
}

.review-item-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1F2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.review-item-sub {
  font-size: 0.72rem;
  color: #6B7280;
  margin-top: 1px;
}

.review-item-qtyprice {
  text-align: right;
  flex-shrink: 0;
}

.review-item-qty {
  font-size: 0.74rem;
  color: #6B7280;
}

.review-item-total {
  font-size: 0.84rem;
  font-weight: 700;
  color: #18181B;
}

/* Financial Card */
.checkout-financial-card {
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
}

.financial-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: #4B5563;
  padding: 4px 0;
}

.discount-row {
  color: #D97706;
}

.final-row {
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1.5px dashed #D1D5DB;
}

/* Footer Buttons */
.checkout-footer-nav {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  background: #FAF8F5;
  border-top: 1px solid var(--color-border);
}

.btn-checkout-primary {
  flex: 1;
  min-height: 48px;
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

.btn-checkout-primary:hover {
  background: #047857;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.btn-checkout-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-checkout-secondary {
  min-height: 48px;
  padding: 0 16px;
  background: #FFFFFF;
  color: #374151;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-checkout-secondary:hover {
  background: #F3F4F6;
  border-color: #9CA3AF;
  color: #111827;
}

.btn-checkout-confirm {
  flex: 1;
  min-height: 48px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  transition: all 0.2s;
}

.btn-checkout-confirm:hover {
  background: linear-gradient(135deg, #047857 0%, #065F46 100%);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
  transform: translateY(-1px);
}

.btn-checkout-confirm:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-checkout-link {
  background: none;
  border: none;
  color: #059669;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}

.btn-checkout-link:hover {
  color: #047857;
}

/* Success Step */
.checkout-success-scroll {
  padding: 24px 20px;
  text-align: center;
}

.checkout-success-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ECFDF5;
  border: 2px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.checkout-success-headline {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #065F46;
  margin: 0 0 12px;
}

.checkout-success-notice-box {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: 10px;
  padding: 14px;
  font-size: 0.86rem;
  color: #14532D;
  line-height: 1.55;
  margin-bottom: 16px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
}

.checkout-success-notice-box strong {
  color: #047857;
  font-size: 1.02rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.success-recap-card {
  text-align: left;
  margin-bottom: 14px;
}

.success-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed #F3F4F6;
  font-size: 0.82rem;
}

.success-info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: #6B7280;
}

.info-val {
  font-weight: 600;
  color: #1F2937;
}

.order-num-highlight {
  font-family: monospace;
  font-size: 0.95rem;
  color: #059669;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  border: 1px solid #A7F3D0;
}

.badge-status-nouvelle {
  background: #DBEAFE;
  color: #1E40AF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid #BFDBFE;
}

.success-total-row {
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1.5px solid #E5E7EB;
}

.success-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.success-item-mini-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #4B5563;
  padding: 4px 0;
  border-bottom: 1px solid #F9FAFB;
}

/* Responsive adjustments for Mobile Viewport & Ergonomics */
@media (max-width: 600px) {
  .drawer-panel {
    max-width: 100% !important;
    width: 100% !important;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  /* Cache complètement le bouton flottant du panier quand le tiroir est ouvert */
  .drawer-overlay.open ~ .floating-cart-btn,
  body.drawer-open .floating-cart-btn {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(24px) !important;
  }

  .checkout-stepper {
    padding: 8px 12px;
    gap: 4px;
    flex-shrink: 0;
  }

  .stepper-text {
    font-size: 0.68rem;
  }

  .stepper-badge {
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
  }

  .stepper-line {
    min-width: 8px;
  }

  .drawer-body {
    padding: 12px 14px 22px;
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  /* Footer du panier : surélevé, safe-area, non compressible */
  .drawer-footer {
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    flex-shrink: 0 !important;
    background: #FAF8F5;
    border-top: 1px solid #E5E7EB;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
  }

  .cart-summary-line {
    margin-bottom: 6px;
    font-size: 0.95rem;
  }

  .cart-summary-delivery-line {
    margin-bottom: 8px;
    padding-top: 6px;
    font-size: 1.05rem;
  }

  .cart-trust-box {
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 0.74rem;
  }

  .checkout-actions-wrapper {
    margin-top: 8px !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  /* Barre et bouton "Continuer vers mes coordonnées" ergonomique et surélevé */
  #btn-goto-details,
  .btn-checkout-primary {
    min-height: 52px !important;
    padding: 12px 18px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    position: relative;
    z-index: 5;
  }

  #btn-phone-checkout.btn-checkout-link {
    min-height: 36px;
    padding: 4px 8px;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }

  .checkout-footer-nav {
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    flex-direction: column;
    flex-shrink: 0 !important;
    gap: 8px;
  }

  .btn-checkout-secondary {
    width: 100%;
    order: 2;
    min-height: 44px;
    touch-action: manipulation;
  }

  .btn-checkout-primary,
  .btn-checkout-confirm {
    width: 100%;
    order: 1;
    min-height: 52px;
    font-size: 0.95rem;
    touch-action: manipulation;
  }
}

/* ==========================================================================
   🏷️ OFFRES PAR AFFICHE (DROPDOWN, SOUS-MENUS & VITRINE CLIENT)
   ========================================================================== */

/* Navbar Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-btn-offers {
  background: rgba(217, 119, 6, 0.12) !important;
  color: #B45309 !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.nav-btn-offers:hover,
.nav-dropdown:hover .nav-btn-offers {
  background: #D97706 !important;
  color: #FFFFFF !important;
  border-color: #B45309 !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.dropdown-caret {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #1E293B;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-item:hover {
  background: #FFFBEB;
  color: #B45309;
}

.nav-dropdown-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.nav-dropdown-info strong {
  display: block;
  font-size: 0.88rem;
  color: #0F172A;
}

.nav-dropdown-info small {
  display: block;
  font-size: 0.74rem;
  color: #64748B;
}

.nav-dropdown-item:hover .nav-dropdown-info strong {
  color: #B45309;
}

.nav-dropdown-divider {
  height: 1px;
  background: #F1F5F9;
  margin: 6px 0;
}

.nav-dropdown-header {
  padding: 6px 16px 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #92400E;
  letter-spacing: 0.05em;
}

/* Storefront Offers Showcase Section */
.offers-showcase-section {
  background: linear-gradient(135deg, #1C1917 0%, #292524 50%, #18181B 100%);
  border-radius: var(--radius-lg, 16px);
  padding: 30px 24px;
  margin-bottom: 36px;
  border: 1.5px solid #D97706;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.offers-showcase-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.offers-showcase-header {
  margin-bottom: 24px;
}

.offers-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 14px;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.offers-section-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  font-weight: 700;
}

.offers-section-subtitle {
  color: #D6D3D1;
  font-size: 0.92rem;
  margin: 0 0 18px 0;
  line-height: 1.5;
  max-width: 800px;
}

/* Subcategory Filter Pills */
.offers-subcat-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.offer-subcat-btn {
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #E7E5E4;
  cursor: pointer;
  transition: all 0.2s ease;
}

.offer-subcat-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.offer-subcat-btn.active {
  background: #F59E0B !important;
  color: #1C1917 !important;
  border-color: #F59E0B !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* Posters Grid */
.offers-posters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.offers-3cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 640px) {
  .offers-3cards-grid {
    grid-template-columns: 1fr;
  }
}

.offer-card-footer {
  padding: 14px 18px;
  background: #FFFFFF;
  border-top: 1px solid #F0ECE6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #718096;
}

.offer-deal-price-badge {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.btn-card-direct-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #18181B;
  color: #FFFFFF !important;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-direct-link:hover {
  background: #D97706;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

/* Card 3: Voir Plus */
.offer-poster-card.card-voir-plus {
  position: relative;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.25);
  overflow: hidden;
  min-height: 480px;
}

.card-voir-plus .voir-plus-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.28) blur(3px);
  transform: scale(1.06);
  z-index: 1;
}

.card-voir-plus .voir-plus-content {
  position: relative;
  z-index: 2;
  padding: 28px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.voir-plus-badge {
  background: rgba(245, 158, 11, 0.25);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 auto 14px;
  width: fit-content;
}

.voir-plus-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.25;
}

.voir-plus-desc {
  font-size: 0.86rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin-bottom: 20px;
}

.voir-plus-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.voir-plus-cat-chip {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.voir-plus-cat-chip:hover {
  background: #D97706;
  border-color: #FCD34D;
  transform: translateY(-2px);
}

.btn-voir-plus-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF !important;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.45);
  transition: all 0.25s ease;
  width: 100%;
}

.btn-voir-plus-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.6);
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

/* Offer Poster Card */
.offer-poster-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

/* Poster Visual Area - Full Uncropped Display */
.offer-poster-visual,
.offer-poster-img-wrap {
  position: relative;
  width: 100%;
  background: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

.offer-poster-img {
  position: static;
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.offer-poster-card:hover .offer-poster-img {
  transform: scale(1.015);
}

.offer-poster-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Poster Card Body */
.offer-poster-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
}

.offer-poster-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #1C1917;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.offer-poster-desc {
  font-size: 0.84rem;
  color: #57534E;
  margin: 0 0 14px 0;
  line-height: 1.45;
}

/* Bottom Products Included Strip */
.offer-products-strip {
  background: #F5F5F4;
  border: 1px solid #E7E5E4;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}

.offer-strip-header {
  font-size: 0.76rem;
  font-weight: 800;
  color: #78716C;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.offer-product-mini-card {
  background: #FFFFFF;
  border: 1px solid #E7E5E4;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.offer-product-mini-card:hover {
  border-color: #D97706;
  transform: translateY(-2px);
}

.offer-product-mini-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 6px;
}

.offer-product-mini-ref {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0284C7;
  margin-bottom: 2px;
}

.offer-product-mini-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #292524;
  line-height: 1.2;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 26px;
}

.offer-product-mini-pricing {
  margin-bottom: 6px;
}

.offer-price-official {
  text-decoration: line-through;
  color: #A8A29E;
  font-size: 0.7rem;
  margin-right: 4px;
}

.offer-price-site {
  color: #E11D48;
  font-weight: 800;
  font-size: 0.82rem;
}

.btn-add-offer-item {
  width: 100%;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #1C1917;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-add-offer-item:hover {
  background: #D97706;
}

.btn-add-entire-offer {
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-add-entire-offer:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
}

/* Category Pill Offers */
.category-pill.offers-pill {
  background: #FFFBEB !important;
  border-color: #FDE68A !important;
  color: #92400E !important;
  font-weight: 700 !important;
}

.category-pill.offers-pill:hover,
.category-pill.offers-pill.active {
  background: #D97706 !important;
  color: #FFFFFF !important;
  border-color: #B45309 !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .offers-showcase-section {
    padding: 20px 14px;
    margin-bottom: 24px;
    border-radius: 14px;
  }

  .offers-section-title {
    font-size: 1.35rem;
  }

  .offers-posters-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .offer-strip-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
  }

  .offer-product-mini-card {
    padding: 6px;
  }

  .offer-product-mini-img {
    width: 48px;
    height: 48px;
  }
}

/* =========================================================================
   Dedicated Page: Offres par Affiche (offres.html)
   ========================================================================= */
.offres-page-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.offres-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.btn-back-main-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #1E293B;
  color: #FFFFFF !important;
  text-decoration: none !important;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(30, 41, 59, 0.2);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-back-main-menu:hover {
  background: #0F172A;
  transform: translateX(-3px);
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.35);
  color: #FFFFFF !important;
}

.btn-back-main-menu svg {
  transition: transform 0.2s ease;
}

.btn-back-main-menu:hover svg {
  transform: translateX(-2px);
}

.offres-page-body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.offres-hero-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(30, 27, 75, 0.25);
  position: relative;
  overflow: hidden;
}

.offres-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.offres-hero-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.offres-hero-subtitle {
  font-size: 0.95rem;
  opacity: 0.88;
  margin: 0;
  max-width: 780px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════ */
/* OFFERS HOME SLIDER COMPONENT (offers-home-slider)           */
/* Vignettes Flottantes à Droite (Inspiré du Modèle GitHub)    */
/* ═══════════════════════════════════════════════════════════ */

.offers-home-slider-section {
  position: relative;
  width: 100%;
  margin: 1.5rem 0 2.5rem 0;
  padding: 0;
  box-sizing: border-box;
}

/* Section Header */
.offers-home-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 20px auto;
  padding: 0 16px;
}

.offers-home-title {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  font-weight: 700;
  color: var(--color-primary, #18181B);
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.offers-home-desc {
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: clamp(0.86rem, 1.8vw, 0.98rem);
  color: var(--color-text-secondary, #52525B);
  margin: 0;
  line-height: 1.5;
}

/* Slider Outer Carousel Box */
.offers-home-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 560px;
  margin: 0 auto;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(24, 24, 27, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #18181B;
}

/* Progress bar timer */
.offers-home-time-running {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #C5A880, #F3E8D6);
  z-index: 100;
  width: 0%;
}

@keyframes offersHomeRunningTime {
  from { width: 0%; }
  to { width: 100%; }
}

/* List of Items */
.offers-home-list {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Individual Item Card (Default: Floating Thumbnail on the right) */
.offers-home-item {
  width: 220px;
  height: 315px;
  position: absolute;
  top: auto;
  bottom: 36px;
  left: 44%;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  overflow: hidden;
  z-index: 20;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              left 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              width 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              height 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              border-radius 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  background: #18181B;
}

/* Item 1: Active Full Card */
.offers-home-item:nth-child(1) {
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg, 16px);
  box-shadow: none;
  cursor: default;
  z-index: 5;
  transform: none;
}

/* Floating thumbnails at the right: Item 2, 3, 4 (3 photos visibles, 3ème tronquée) */
.offers-home-item:nth-child(2) {
  left: 44%;
}

.offers-home-item:nth-child(3) {
  left: calc(44% + 240px);
}

.offers-home-item:nth-child(4) {
  left: calc(44% + 480px);
}

.offers-home-item:nth-child(n+5) {
  left: calc(44% + 720px);
  opacity: 0;
  pointer-events: none;
}

/* Hover on floating thumbnails */
.offers-home-item:hover:not(:nth-child(1)) {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.7), 0 0 0 2px #C5A880;
}

/* Thumbnail badge overlay */
.offers-home-thumb-badge {
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 10px;
  background: rgba(18, 18, 22, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(197, 168, 128, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 5;
  letter-spacing: 0.02em;
}

.offers-home-item:nth-child(1) .offers-home-thumb-badge {
  display: none;
}

/* Image */
.offers-home-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark gradient overlay for active card text readability */
.offers-home-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(14, 14, 16, 0.94) 0%, rgba(14, 14, 16, 0.78) 45%, rgba(14, 14, 16, 0.25) 75%, transparent 100%);
  z-index: 2;
  display: none;
}

.offers-home-item:nth-child(1) .offers-home-overlay {
  display: block;
}

/* Active Card Content */
.offers-home-content {
  position: absolute;
  top: 50%;
  left: 54px;
  transform: translateY(-50%);
  max-width: 440px;
  z-index: 10;
  color: #FFFFFF;
  display: none;
  text-align: left;
}

.offers-home-item:nth-child(1) .offers-home-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Staggered text animations */
.offers-home-item:nth-child(1) .offers-home-badge {
  opacity: 0;
  animation: offersStaggerAnim 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s 1 forwards;
}

.offers-home-item:nth-child(1) .offers-home-slide-title {
  opacity: 0;
  animation: offersStaggerAnim 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.3s 1 forwards;
}

.offers-home-item:nth-child(1) .offers-home-slide-desc {
  opacity: 0;
  animation: offersStaggerAnim 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.45s 1 forwards;
}

.offers-home-item:nth-child(1) .offers-home-cta {
  opacity: 0;
  animation: offersStaggerAnim 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.6s 1 forwards;
}

@keyframes offersStaggerAnim {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Badge, Title & Desc */
.offers-home-badge {
  display: inline-block;
  background: rgba(197, 168, 128, 0.22);
  color: #C5A880;
  border: 1px solid rgba(197, 168, 128, 0.5);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.offers-home-slide-title {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.offers-home-slide-desc {
  font-family: var(--font-sans, -apple-system, sans-serif);
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  color: #E2E8F0;
  margin: 0 0 22px 0;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Action Button */
.offers-home-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: #C5A880;
  color: #18181B !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(197, 168, 128, 0.35);
  transition: all 0.25s ease;
  min-height: 44px;
}

.offers-home-cta:hover {
  background: #FFFFFF;
  color: #18181B !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
}

.offers-home-cta svg {
  transition: transform 0.25s ease;
}

.offers-home-cta:hover svg {
  transform: translateX(4px);
}

/* Navigation Arrows (Positioned bottom left below content) */
.offers-home-arrows {
  position: absolute;
  bottom: 30px;
  left: 54px;
  z-index: 50;
  display: flex;
  gap: 12px;
}

.offers-home-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.offers-home-arrow:hover {
  background: #C5A880;
  color: #18181B;
  border-color: #C5A880;
  transform: scale(1.08);
}

.offers-home-arrow:focus-visible {
  outline: 2px solid #C5A880;
  outline-offset: 2px;
}

/* RTL Layout */
.rtl-layout .offers-home-content {
  left: auto;
  right: 54px;
  text-align: right;
}

.rtl-layout .offers-home-arrows {
  left: auto;
  right: 54px;
}

.rtl-layout .offers-home-item:nth-child(2) {
  left: auto;
  right: 44%;
}

.rtl-layout .offers-home-item:nth-child(3) {
  left: auto;
  right: calc(44% + 240px);
}

.rtl-layout .offers-home-item:nth-child(4) {
  left: auto;
  right: calc(44% + 480px);
}

.rtl-layout .offers-home-overlay {
  background: linear-gradient(270deg, rgba(14, 14, 16, 0.94) 0%, rgba(14, 14, 16, 0.78) 45%, rgba(14, 14, 16, 0.25) 75%, transparent 100%);
}

.rtl-layout .offers-home-cta:hover svg {
  transform: translateX(-4px);
}

/* Tablet & Medium Screens (769px - 1080px) */
@media (max-width: 1080px) and (min-width: 769px) {
  .offers-home-carousel {
    height: 520px;
  }
  .offers-home-item {
    width: 180px;
    height: 260px;
    bottom: 30px;
  }
  .offers-home-item:nth-child(2) {
    left: 50%;
  }
  .offers-home-item:nth-child(3) {
    left: calc(50% + 195px);
  }
  .offers-home-item:nth-child(4) {
    left: calc(50% + 390px);
  }
  .rtl-layout .offers-home-item:nth-child(2) {
    left: auto;
    right: 50%;
  }
  .rtl-layout .offers-home-item:nth-child(3) {
    left: auto;
    right: calc(50% + 195px);
  }
  .rtl-layout .offers-home-item:nth-child(4) {
    left: auto;
    right: calc(50% + 390px);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .offers-home-item,
  .offers-home-badge,
  .offers-home-slide-title,
  .offers-home-slide-desc,
  .offers-home-cta,
  .offers-home-arrow {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* Mobile Responsive (< 768px) */
@media (max-width: 768px) {
  .offers-home-carousel {
    height: 530px;
    border-radius: var(--radius-lg, 16px);
  }

  .offers-home-item .offers-home-bg {
    object-position: center 18%;
  }

  .offers-home-item:nth-child(n+2) {
    display: none;
  }

  .offers-home-overlay {
    background: linear-gradient(0deg, rgba(14, 14, 16, 0.96) 0%, rgba(14, 14, 16, 0.7) 48%, rgba(14, 14, 16, 0.1) 78%, transparent 100%) !important;
  }

  .offers-home-content {
    top: auto;
    bottom: 24px;
    left: 18px;
    right: 18px;
    transform: none;
    max-width: 100%;
  }

  .offers-home-slide-title {
    font-size: 1.52rem;
    font-weight: 800;
    margin-bottom: 6px;
  }

  .offers-home-slide-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .offers-home-cta {
    width: 100%;
    justify-content: center;
  }

  .offers-home-arrows {
    bottom: auto;
    top: 14px;
    right: 14px;
    left: auto;
  }

  .offers-home-arrow {
    width: 38px;
    height: 38px;
  }
}

/* ── Product Card Links & QuickView Preview Buttons ── */
.product-card-img-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  text-decoration: none;
  color: inherit;
}

.btn-card-quickview,
.btn-quick-preview-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-primary);
  border: 1px solid rgba(232, 229, 223, 0.9);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.btn-card-quickview:hover,
.btn-quick-preview-badge:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Mini-deal specific quick preview badge: Positioned top-right to avoid covering product bottles */
.mini-deal-card .btn-quick-preview-badge {
  top: 8px;
  bottom: auto;
  right: 8px;
  padding: 3px 8px;
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

[dir="rtl"] .mini-deal-card .btn-quick-preview-badge {
  right: auto;
  left: 8px;
}

@media (max-width: 600px) {
  .btn-card-quickview {
    bottom: 6px;
    right: 6px;
    padding: 3px 8px;
    font-size: 0.70rem;
  }

  .mini-deal-card .btn-quick-preview-badge {
    top: 6px;
    right: 6px;
    padding: 2px 7px;
    font-size: 0.65rem;
  }

  /* Compact stock alert text on mobile to avoid 3-line overflow */
  .stock-alert-extra-text {
    display: none !important;
  }

  .mini-deal-card .btn-stock-alert {
    white-space: nowrap !important;
    font-size: 0.75rem !important;
    padding: 0 4px !important;
    text-align: center;
  }
}

/* ==========================================================================
   GOOGLE ENTRANCE LUXURY WELCOME OVERLAY & BRAND BADGE
   ========================================================================== */
.mn-google-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: mnFadeIn 0.35s ease-out forwards;
}

.mn-google-welcome-overlay.fade-out {
  animation: mnFadeOut 0.4s ease-in forwards;
}

.mn-google-welcome-card {
  background: linear-gradient(165deg, #131722 0%, #0A0D14 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 24px;
  max-width: 440px;
  width: 100%;
  padding: 32px 24px 28px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.18);
  animation: mnScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mn-google-welcome-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.mn-google-welcome-close:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #EF4444;
  color: #EF4444;
}

.mn-google-welcome-logo-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.7);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
  background: #0A0D14;
}

.mn-google-welcome-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mn-google-welcome-title {
  font-family: var(--font-serif, "Playfair Display", serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin: 0 0 4px 0;
}

.mn-google-welcome-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #D4AF37;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mn-google-welcome-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  margin: 0 auto 14px;
}

.mn-google-welcome-text {
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.55;
  margin: 0 0 16px;
}

.mn-google-welcome-badge {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: #FBBF24;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.btn-welcome-enter {
  width: 100%;
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #0A0D14;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  transition: all 0.25s ease;
}

.btn-welcome-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(212, 175, 55, 0.45);
  filter: brightness(1.08);
}

@keyframes mnScaleUp {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes mnFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes mnFadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}



/* ── Deals Showcase Dedicated Dark Luxury Pagination ── */
.deals-showcase-section .pagination-wrapper {
  margin: 1.75rem 0 0.5rem;
}

.deals-showcase-section .pagination-info {
  color: #D4D4D8;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.deals-showcase-section .pagination-nav {
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 6px 10px;
}

.deals-showcase-section .pagination-btn,
.deals-showcase-section .pagination-page {
  background: rgba(39, 39, 42, 0.85);
  color: #F4F4F5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.deals-showcase-section .pagination-btn:hover:not(:disabled),
.deals-showcase-section .pagination-page:hover:not(.active):not(.pagination-ellipsis) {
  background: rgba(212, 175, 55, 0.2);
  color: #FBBF24;
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-1px);
}

.deals-showcase-section .pagination-page.active {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #18181B;
  border-color: #D4AF37;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.deals-showcase-section .pagination-btn:disabled {
  background: rgba(39, 39, 42, 0.3);
  color: #52525B;
  border-color: rgba(255, 255, 255, 0.05);
  opacity: 0.35;
}

.deals-showcase-section .pagination-ellipsis {
  color: #A1A1AA;
}

@media (max-width: 600px) {
  .deals-showcase-section .pagination-info-mobile {
    color: #FBBF24;
    font-weight: 700;
  }
}

.mini-deal-card .price-wrap {
  margin-top: auto !important;
  padding-top: 8px;
  margin-bottom: 10px;
}

/* ==========================================================================
   PROMO OFFER MODAL (High-Converting Announcement Pop-up System)
   ========================================================================== */
.promo-offer-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease-out;
}

.promo-offer-modal-card {
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid #E8E5DF;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pom-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E8E5DF;
  border-radius: 18px 18px 0 0;
}

.pom-header-gold {
  background: linear-gradient(135deg, #FAF8F5 0%, #F5EFEB 100%);
  border-bottom-color: #E2D9CC;
}

.pom-header-fire {
  background: linear-gradient(135deg, #FFF5F5 0%, #FEE2E2 100%);
  border-bottom-color: #FECACA;
}

.pom-header-deal {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border-bottom-color: #BBF7D0;
}

.pom-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 8px;
}

.pom-tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #18181B;
  flex: 1;
}

.pom-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #71717A;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.pom-close-btn:hover {
  color: #18181B;
}

.pom-body {
  padding: 24px;
}

.pom-title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #18181B;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.pom-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.pom-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 18px 0;
}

.pom-details-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pom-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  gap: 12px;
}

.pom-detail-label {
  color: #64748B;
  font-weight: 500;
}

.pom-detail-val {
  color: #0F172A;
  font-weight: 600;
  text-align: right;
}

.pom-products-scroll-wrapper {
  margin-bottom: 20px;
}

.pom-products-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 10px;
}

.pom-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pom-product-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pom-product-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 6px;
}

.pom-product-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 28px;
}

.pom-product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  justify-content: center;
}

.pom-old-price {
  font-size: 0.7rem;
  text-decoration: line-through;
  color: #94A3B8;
}

.pom-new-price {
  font-size: 0.82rem;
  color: #059669;
  font-weight: 800;
}

.pom-deal-highlight-box {
  display: flex;
  gap: 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
  align-items: center;
}

.pom-deal-img-wrapper {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.pom-deal-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pom-deal-details {
  flex: 1;
}

.pom-deal-prod-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.pom-deal-prod-desc {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

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

.pom-deal-tag {
  font-size: 0.74rem;
  font-weight: 700;
  background: #E2E8F0;
  color: #1E293B;
  padding: 2px 8px;
  border-radius: 4px;
}

.pom-tag-green {
  background: #D1FAE5;
  color: #065F46;
}

.pom-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.pom-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #059669;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: all 0.2s;
  text-align: center;
}

.pom-btn-primary:hover {
  background: #047857;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.pom-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  cursor: pointer;
  transition: all 0.2s;
}

.pom-btn-secondary:hover {
  background: #F1F5F9;
  color: #0F172A;
}

@media (max-width: 480px) {
  .pom-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pom-deal-highlight-box {
    flex-direction: column;
    text-align: center;
  }
}



/* ==========================================================================
   AI SHOPPING ASSISTANT - RICH UI PRODUCT CARDS, WHATSAPP & EXPRESS ORDER
   ========================================================================== */
.chat-products-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 2px 10px 2px;
  margin-top: 10px;
  scrollbar-width: thin;
}
.chat-products-carousel::-webkit-scrollbar {
  height: 5px;
}
.chat-products-carousel::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 4px;
}
.chat-products-carousel::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
.chat-recommendation-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.chat-selection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 2px;
  font-size: 0.74rem;
}

.chat-selection-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #1E293B;
}

.chat-sel-badge {
  background: #059669;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 99px;
  min-width: 14px;
  text-align: center;
}

.chat-selection-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-sel-btn {
  background: transparent;
  border: none;
  color: #0284C7;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.chat-sel-btn:hover {
  color: #0369A1;
  background: #E0F2FE;
  text-decoration: underline;
}

.chat-sel-sep {
  color: #CBD5E1;
  font-size: 0.70rem;
}

.chat-product-select-toggle {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.chat-product-select-chk {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.chat-chk-indicator {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
  color: transparent;
}

.chat-product-select-chk:checked + .chat-chk-indicator {
  background: #059669;
  border-color: #059669;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
}

.chat-chk-check-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.chat-products-carousel .chat-product-card {
  flex: 0 0 205px;
  min-width: 205px;
  max-width: 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 10px;
  margin-top: 0;
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s, background-color 0.15s, opacity 0.15s;
  cursor: pointer;
  text-align: left;
  position: relative;
}
.chat-products-carousel .chat-product-card.is-selected {
  border-color: #059669;
  background: #F0FDF4;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.15);
}
.chat-products-carousel .chat-product-card:not(.is-selected) {
  opacity: 0.65;
  border-style: dashed;
  border-color: #CBD5E1;
  background: #FAFAFA;
}
.chat-products-carousel .chat-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.chat-products-carousel .chat-product-card:not(.is-selected):hover {
  opacity: 0.92;
  border-color: #94A3B8;
}
.chat-products-carousel .chat-product-img-wrap {
  width: 100%;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}
.chat-products-carousel .chat-product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.chat-products-carousel .chat-product-card:hover .chat-product-img-wrap img {
  transform: scale(1.05);
}
.chat-product-discount-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  z-index: 2;
}
.chat-products-carousel .chat-product-title {
  font-size: 0.80rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.3;
  height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.chat-products-carousel .chat-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.70rem;
  color: #64748B;
  margin-bottom: 6px;
}
.chat-products-carousel .chat-product-ref {
  font-family: monospace;
  background: #F1F5F9;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 600;
}
.chat-products-carousel .chat-product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.chat-products-carousel .chat-product-price-current {
  font-size: 0.92rem;
  font-weight: 800;
  color: #059669;
}
.chat-products-carousel .chat-product-old-price {
  font-size: 0.72rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 500;
}
.chat-products-carousel .chat-product-actions-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-top: auto;
}
.chat-products-carousel .chat-product-buy-btn {
  background: #C5A880;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s;
}
.chat-products-carousel .chat-product-buy-btn:hover:not(:disabled) {
  background: #B39266;
  transform: scale(1.02);
}
.chat-products-carousel .chat-product-view-btn {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.15s;
}
.chat-products-carousel .chat-product-view-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* Actions Container & Buttons */
.chat-actions-container {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-wa-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 9px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  text-align: center;
}
.chat-wa-order-btn:hover {
  background: #20BA5A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
.chat-express-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #0084FF;
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 132, 255, 0.3);
  transition: transform 0.15s, background 0.15s;
  text-align: center;
}
.chat-express-order-btn:hover:not(:disabled) {
  background: #0066CC;
  transform: translateY(-1px);
}
.chat-wa-order-btn.is-disabled,
.chat-express-order-btn.is-disabled,
.chat-express-order-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed !important;
  filter: grayscale(0.6);
  pointer-events: none;
  box-shadow: none !important;
}

/* Express Order Form */
.chat-express-form-card {
  background: #FFFFFF;
  border: 1.5px solid #0084FF;
  border-radius: 12px;
  padding: 14px;
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.12);
  animation: chatFadeIn 0.2s ease-out;
}
.chat-express-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-express-summary {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.78rem;
  color: #334155;
  margin-bottom: 10px;
  border-left: 3px solid #0084FF;
}
.chat-express-input {
  width: 100%;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.82rem;
  margin-bottom: 8px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s;
}
.chat-express-input:focus {
  border-color: #0084FF;
}
.chat-express-consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.72rem;
  color: #64748B;
  margin-bottom: 10px;
  line-height: 1.3;
}
.chat-express-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #0084FF 0%, #0066CC 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 9px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0, 132, 255, 0.35);
}
.chat-express-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.45);
}
.chat-express-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Mobile Responsiveness for Chat Widget */
@media (max-width: 768px) {
  #chat-window,
  #messenger-chat-box:not(.chat-expanded),
  .messenger-chat-box:not(.chat-expanded) {
    bottom: 90px !important;
    max-height: calc(100vh - 110px) !important;
    z-index: 9999 !important;
  }

  body.chat-open .messenger-chat-widget,
  body:has(#messenger-chat-box.open) .messenger-chat-widget,
  body:has(.messenger-chat-box.open) .messenger-chat-widget {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 480px) {
  #chat-window,
  #messenger-chat-box:not(.chat-expanded),
  .messenger-chat-box:not(.chat-expanded) {
    width: calc(100vw - 20px) !important;
    right: 10px !important;
    bottom: 90px !important;
    height: 75vh !important;
    max-height: calc(100vh - 110px) !important;
    z-index: 9999 !important;
    border-radius: 18px !important;
  }
  .chat-products-carousel .chat-product-card {
    flex: 0 0 190px !important;
    min-width: 190px !important;
  }
}

/* Fullscreen / Expanded Mode for AI Chat Widget (Highest Specificity & Priority) */
body .chat-expanded-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999998;
  animation: chatBackdropFade 0.2s ease-out;
}

body .chat-expanded-backdrop.active {
  display: block !important;
}

body .messenger-chat-box.chat-expanded {
  position: fixed !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(92vw, 980px) !important;
  max-width: 95vw !important;
  height: min(86vh, 860px) !important;
  max-height: 90vh !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5) !important;
  z-index: 999999 !important;
  display: flex !important;
  animation: chatExpandZoom 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (max-width: 640px) {
  body .messenger-chat-box.chat-expanded {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
}

/* ── Chatbot Quick Replies ("Pills") ────────────────────────────── */
.chat-quick-replies-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: #fdf8f5;
  border-top: 1px solid rgba(224, 76, 126, 0.12);
  border-bottom: 1px solid rgba(224, 76, 126, 0.08);
  box-sizing: border-box;
  align-items: center;
  max-width: 100%;
}

.chat-quick-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #2b2b2b;
  border: 1px solid rgba(224, 76, 126, 0.28);
  border-radius: 9999px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.18s ease-in-out;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  font-family: inherit;
  user-select: none;
}

.chat-quick-reply-btn:hover {
  background: #fff0f5;
  border-color: #e04c7e;
  color: #b01e52;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(224, 76, 126, 0.15);
}

.chat-quick-reply-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(224, 76, 126, 0.1);
}

@media (max-width: 640px) {
  .chat-quick-replies-bar {
    padding: 6px 8px;
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .chat-quick-replies-bar::-webkit-scrollbar {
    display: none;
  }
  .chat-quick-reply-btn {
    font-size: 0.74rem;
    padding: 4px 9px;
    flex-shrink: 0;
  }
}


/* Hide floating cart button when chatbot window is open to avoid overlapping send button */
body.chat-open #floating-cart-btn,
body.chat-open .floating-cart-btn,
body:has(#messenger-chat-box.open) #floating-cart-btn,
body:has(.messenger-chat-box.open) #floating-cart-btn {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* ── Mascot & Chat Trigger Visibility: Always visible & animated ── */
.messenger-chat-trigger {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

body.drawer-open .messenger-chat-widget {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT & OFFER FULLSCREEN INTERACTIVE ZOOM VIEWER (DESKTOP & MOBILE)
   ═══════════════════════════════════════════════════════════════ */
.product-zoom-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 1000000 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #09090C !important;
  overflow: hidden !important;
  touch-action: none !important;
  user-select: none !important;
  opacity: 0;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.product-zoom-modal.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.product-zoom-modal:not(.active),
.product-zoom-modal:not(.active) * {
  pointer-events: none !important;
}

.product-zoom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1;
  cursor: pointer;
}

/* ── Top Floating Header ── */
.product-zoom-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: linear-gradient(180deg, rgba(9, 9, 12, 0.9) 0%, rgba(9, 9, 12, 0) 100%);
  pointer-events: auto;
  gap: 12px;
}

.product-zoom-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-zoom-back-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.product-zoom-back-btn svg {
  flex-shrink: 0;
}

.product-zoom-title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 44%;
  text-align: center;
  pointer-events: none;
}

.product-zoom-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #F4F4F5;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: -0.01em;
}

.product-zoom-counter {
  font-size: 0.74rem;
  color: #A1A1AA;
  font-weight: 600;
  margin-top: 2px;
}

.product-zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-zoom-ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-zoom-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
}

.product-zoom-scale-badge {
  min-width: 58px;
  height: 34px;
  padding: 0 10px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 800;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.product-zoom-scale-badge:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #FBBF24;
  color: #FBBF24;
}

.product-zoom-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.product-zoom-close-btn:hover {
  background: #DC2626;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.6);
}

/* ── Interactive Viewport Stage ── */
.product-zoom-stage {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.product-zoom-viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: transform;
  pointer-events: auto;
}

.product-zoom-img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 8px;
  cursor: grab;
  transition: filter 0.2s ease;
}

.product-zoom-img.is-dragging {
  cursor: grabbing !important;
}

/* ── Gallery Nav Arrows ── */
.product-zoom-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  user-select: none;
  padding-bottom: 4px;
}

.product-zoom-nav-btn.prev { left: 24px; }
.product-zoom-nav-btn.next { right: 24px; }

.product-zoom-nav-btn:hover {
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) scale(1.1);
}

/* ── Bottom Floating Toolbar (Optimized for Mobile & Thumb control) ── */
.product-zoom-bottom-bar {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(18, 18, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
}

.product-zoom-bottom-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-zoom-bottom-btn {
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.product-zoom-bottom-btn.icon {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 1.15rem;
}

.product-zoom-bottom-btn.back {
  background: #2563EB;
  border-color: #3B82F6;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.product-zoom-bottom-btn.close {
  background: #DC2626;
  border-color: #EF4444;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.product-zoom-bottom-badge {
  min-width: 48px;
  height: 34px;
  padding: 0 8px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ── Gesture Hint Bubble ── */
.product-zoom-gesture-hint {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 28;
  background: rgba(18, 18, 22, 0.85);
  color: #F4F4F5;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.product-zoom-gesture-hint .desktop-hint { display: inline; }
.product-zoom-gesture-hint .mobile-hint { display: none; }

/* ── Responsive Adaptations ── */
@media (max-width: 768px) {
  .product-zoom-header {
    height: 56px;
    padding: 0 10px;
  }
  .product-zoom-back-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 4px;
  }
  .product-zoom-back-btn .btn-text-full {
    display: none;
  }
  .product-zoom-back-btn .btn-text-short {
    display: inline;
  }
  .product-zoom-title-box {
    max-width: 38%;
  }
  .product-zoom-title {
    font-size: 0.88rem;
  }
  .product-zoom-controls {
    gap: 4px;
  }
  .product-zoom-ctrl-btn {
    width: 34px;
    height: 34px;
  }
  .product-zoom-ctrl-btn svg {
    width: 15px;
    height: 15px;
  }
  .product-zoom-scale-badge {
    min-width: 48px;
    height: 30px;
    font-size: 0.74rem;
    padding: 0 6px;
  }
  .product-zoom-close-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
  .product-zoom-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
  }
  .product-zoom-nav-btn.prev { left: 8px; }
  .product-zoom-nav-btn.next { right: 8px; }
  .product-zoom-bottom-bar {
    display: flex;
    bottom: 14px;
    width: calc(100% - 24px);
    max-width: 390px;
    justify-content: space-between;
    padding: 6px 10px;
  }
  .product-zoom-gesture-hint {
    bottom: 74px;
    font-size: 0.74rem;
    padding: 5px 14px;
  }
  .product-zoom-gesture-hint .desktop-hint { display: none; }
  .product-zoom-gesture-hint .mobile-hint { display: inline; }
}

@media (min-width: 769px) {
  .product-zoom-back-btn .btn-text-short {
    display: none;
  }
}

/* Free Shipping Products Horizontal Scroll in Cart */
.free-shipping-products-scroll {
  scrollbar-width: thin;
  scrollbar-color: #F59E0B rgba(0,0,0,0.05);
}
.free-shipping-products-scroll::-webkit-scrollbar {
  height: 6px;
}
.free-shipping-products-scroll::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.04);
  border-radius: 3px;
}
.free-shipping-products-scroll::-webkit-scrollbar-thumb {
  background: #F59E0B;
  border-radius: 3px;
}
