/* ==============================================================================
   BELI&BLOOM — OFFICIAL STOREFRONT STYLESHEET
   Typography: Exclusively Plus Jakarta Sans
   Palette: Warm Cream (#FAF8F5), Crisp White (#FFFFFF), Onyx Charcoal (#0F0F0F),
            Soft Muted Gold (#B89258), Refined Borders (#E8E3D9)
   Architecture: High-End Minimalist Luxury E-Commerce (Inspired by Sundora & Glassé)
   ============================================================================== */

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

:root {
  /* Brand Core Palette (Locked) */
  --warm-cream: #FAF8F5;
  --onyx-charcoal: #0F0F0F;

  --onyx: #0F0F0F;
  --onyx-soft: #1C1C1C;
  --white: #FFFFFF;
  --cream-bg: #FAF8F5;
  --cream: #FAF8F5;
  --cream-card: #FFFFFF;
  --cream-subtle: #F4EFE6;
  
  --gold: #B89258;
  --gold-hover: #9E7B44;
  --gold-soft: #F7F1E6;
  
  --gray-50: #F9F9F9;
  --gray-100: #F2EFE9;
  --gray-200: #E5DFD5;
  --gray-300: #D4CCC0;
  --gray-400: #9B9489;
  --gray-500: #6B655B;
  --gray-700: #333333;
  --gray-800: #1A1A1A;

  --font-primary: 'Plus Jakarta Sans', sans-serif;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 8px rgba(15, 15, 15, 0.04);
  --shadow-md: 0 6px 20px rgba(15, 15, 15, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 15, 15, 0.1);
  --max-width: 1380px;
}

html {
  font-size: 16px;
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
}

/* ── Lenis Smooth Scroll Engine Rules ── */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ── Custom Scrollbar (Desktop / Fine Pointer) ── */
@media (hover: none) and (pointer: coarse) {
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-100);
  }
  html::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  html::-webkit-scrollbar-track {
    background: var(--gray-100);
  }
  html::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 0;
  }
  html::-webkit-scrollbar-thumb:hover {
    background: var(--onyx);
  }

  .drawer-cart-section::-webkit-scrollbar,
  .side-drawer::-webkit-scrollbar,
  .bb-chat-messages::-webkit-scrollbar,
  textarea::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  .drawer-cart-section::-webkit-scrollbar-track,
  .side-drawer::-webkit-scrollbar-track,
  .bb-chat-messages::-webkit-scrollbar-track,
  textarea::-webkit-scrollbar-track {
    background: var(--gray-100);
  }
  .drawer-cart-section::-webkit-scrollbar-thumb,
  .side-drawer::-webkit-scrollbar-thumb,
  .bb-chat-messages::-webkit-scrollbar-thumb,
  textarea::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 0;
  }
  .drawer-cart-section::-webkit-scrollbar-thumb:hover,
  .side-drawer::-webkit-scrollbar-thumb:hover,
  .bb-chat-messages::-webkit-scrollbar-thumb:hover,
  textarea::-webkit-scrollbar-thumb:hover {
    background: var(--onyx);
  }
}

body {
  font-family: var(--font-primary);
  background-color: var(--cream-bg);
  color: var(--onyx);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-primary);
  border: none;
  background: none;
  transition: all var(--transition);
}

input, textarea, select {
  font-family: var(--font-primary);
  color: var(--onyx);
}

main {
  flex: 1 0 auto;
}

/* ── Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
}

/* ==============================================================================
   1. TOP ANNOUNCEMENT BAR
   ============================================================================== */
.announcement-bar {
  display: none;
  background-color: var(--onyx);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 110;
}

.announcement-bar.active {
  display: flex !important;
}

.announcement-bar .bullet {
  opacity: 0.4;
}

.announcement-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .announcement-bar {
    font-size: 10px;
    gap: 8px;
    padding: 8px 12px;
  }
  .announcement-bar span.hide-mobile {
    display: none;
  }
}

/* ==============================================================================
   2. SITE NAVBAR
   ============================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: 68px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition), top 0.2s ease;
}

body.has-announcement .navbar {
  top: 36px;
}

@media (max-width: 640px) {
  body.has-announcement .navbar {
    top: 32px;
  }
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(15, 15, 15, 0.05);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.brand-monogram {
  width: 32px;
  height: 32px;
  background: var(--onyx);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.navbar-logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--onyx);
}

.navbar-tagline {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-top: -3px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Power Dropdown Menu — Full Viewport Width Drawer Slide Down / Slide Up */
.nav-dropdown {
  position: static;
  display: inline-flex;
  align-items: center;
  height: 68px;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.active .dropdown-chevron {
  transform: rotate(180deg);
}

/* Drawer Track — strictly clips anything above the navbar boundary */
.mega-dropdown-track {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  z-index: 200;
  padding-bottom: 52px; /* Accommodates soft bottom drop shadow */
  margin-bottom: -52px;
  transition: visibility 0s linear 0.42s;
}

.mega-dropdown-track::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* The Drawer — translates 100% of its height vertically */
.mega-dropdown {
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 24px 50px rgba(15, 15, 15, 0.08);
  padding: 32px 0 36px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Drawer Open State on Hover / Focus */
.nav-dropdown:hover .mega-dropdown-track,
.nav-dropdown:focus-within .mega-dropdown-track,
.nav-dropdown.is-open .mega-dropdown-track {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

.nav-dropdown:hover .mega-dropdown,
.nav-dropdown:focus-within .mega-dropdown,
.nav-dropdown.is-open .mega-dropdown {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fallback if rendered directly without .mega-dropdown-track */
.nav-dropdown > .mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.28s ease,
              visibility 0s linear 0.42s;
}

.nav-dropdown:hover > .mega-dropdown,
.nav-dropdown:focus-within > .mega-dropdown {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              visibility 0s linear 0s;
}

.mega-dropdown-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  transform: translateY(-12px);
  opacity: 0.85;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease;
}

.nav-dropdown:hover .mega-dropdown-inner,
.nav-dropdown:focus-within .mega-dropdown-inner,
.nav-dropdown.is-open .mega-dropdown-inner {
  transform: translateY(0);
  opacity: 1;
}

.mega-dropdown-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

.mega-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-dropdown-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}

.mega-dropdown-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.mega-dropdown-link:hover {
  background: var(--cream-subtle);
  transform: none; /* Keep static: no right shift */
}

.mega-link-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--onyx);
}

.mega-link-sub {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.3;
}

.mega-dropdown-featured {
  padding-left: 32px;
  border-left: 1px solid var(--gray-100);
}

.mega-featured-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.mega-featured-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: var(--cream-subtle);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-featured-item:hover {
  border-color: var(--onyx);
  background: #f8f6f3;
}

.mega-featured-img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--white);
  flex-shrink: 0;
}

.mega-featured-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mega-featured-tag {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.mega-featured-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--onyx);
  line-height: 1.25;
}

.mega-featured-price {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray-700);
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--onyx);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--onyx);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

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

.nav-badge-pill {
  font-size: 9px;
  font-weight: 700;
  background: var(--gold);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
  vertical-align: middle;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav-bag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--onyx);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition);
}

.btn-nav-bag:hover {
  background: var(--onyx);
  color: var(--white);
  border-color: var(--onyx);
}

.btn-nav-bag:hover .cart-badge-count {
  background: var(--white);
  color: var(--onyx);
}

.cart-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--onyx);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  transition: all var(--transition);
}

/* Storefront Navigation Auth */
.nav-auth-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--onyx);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-nav-auth:hover {
  background: var(--onyx);
  color: var(--white);
  border-color: var(--onyx);
}

.btn-nav-auth svg {
  flex-shrink: 0;
}

.nav-auth-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  z-index: 1000;
  border-radius: var(--radius-xs);
  animation: fadeIn 0.15s ease-out;
}

.nav-auth-user-info {
  padding: 10px 16px 8px;
}

.nav-auth-user-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--onyx);
  line-height: 1.3;
}

.nav-auth-user-email {
  display: block;
  font-size: 11.5px;
  color: var(--gray-400);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-auth-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 6px 0;
}

.nav-auth-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--onyx);
  text-decoration: none;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}

.nav-auth-item:hover {
  background: var(--gray-100);
}

.nav-auth-logout {
  color: #b91c1c;
}

.nav-auth-logout:hover {
  background: #fef2f2;
}

/* ── Storefront Authentication Pages ── */
.auth-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 16px 80px;
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
}

.auth-box h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--onyx);
}

.auth-subtitle {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.5;
}

.auth-subtitle a {
  color: var(--onyx);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-success {
  display: none;
  font-size: 12.5px;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 12px 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.auth-success.visible {
  display: block;
}

.auth-input-wrapper {
  position: relative;
}

.toggle-pw-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  padding: 4px;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.toggle-pw-btn:hover {
  color: var(--onyx);
}

.auth-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--onyx);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--onyx);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.auth-submit-btn:hover {
  background: #000;
}

.auth-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-back-link {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 18px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.auth-back-link:hover {
  color: var(--onyx);
}

@media (max-width: 768px) {
  .navbar-inner {
    padding: 0 16px;
  }
  .navbar-left {
    gap: 14px;
  }
  .navbar-right {
    gap: 8px;
  }
  .brand-logo-icon {
    width: 30px;
    height: 30px;
  }
  .navbar-logo-text {
    font-size: 16px;
  }
  /* Mobile: Icon-only for Assistant and Bag buttons (hide text labels) */
  .btn-nav-assistant span,
  .btn-nav-auth span,
  .btn-nav-bag > span:not(.cart-badge-count) {
    display: none !important;
  }

  .btn-nav-assistant,
  .btn-nav-auth,
  .btn-nav-bag {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: var(--radius-xs, 2px);
    flex-shrink: 0;
  }

  .btn-nav-assistant svg,
  .btn-nav-auth svg,
  .btn-nav-bag svg {
    width: 17px;
    height: 17px;
    margin: 0;
  }

  .btn-nav-bag .cart-badge-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    font-size: 9.5px;
    padding: 0 3px;
    border-radius: 50%;
    border: 1.5px solid var(--white);
    background: var(--onyx);
    color: var(--white);
    line-height: 14px;
    z-index: 2;
  }
}

@media (max-width: 540px) {
  .auth-box {
    padding: 28px 20px;
  }
}

@media (max-width: 420px) {
  .navbar-inner {
    padding: 0 10px;
  }
  .navbar-left {
    gap: 8px;
  }
  .navbar-right {
    gap: 6px;
  }
  .navbar-logo {
    gap: 8px;
  }
  .brand-logo-icon {
    width: 26px;
    height: 26px;
  }
  .navbar-logo-text {
    font-size: 14.5px;
  }
  .btn-nav-assistant,
  .btn-nav-auth,
  .btn-nav-bag {
    width: 35px;
    height: 35px;
    padding: 0;
  }
  .btn-nav-assistant svg,
  .btn-nav-auth svg,
  .btn-nav-bag svg {
    width: 16px;
    height: 16px;
  }
}

/* Sandwich / Hamburger Button — Hidden on mobile as the Bag button opens the side drawer */
.nav-burger-btn {
  display: none !important;
}

@media (max-width: 900px) {
  .navbar-nav {
    display: none;
  }
  .nav-burger-btn {
    display: none !important;
  }
}

/* ==============================================================================
   3. SIDE DRAWER & CART DRAWER
   ============================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 15, 15, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1001;
  box-shadow: -8px 0 36px rgba(15, 15, 15, 0.12);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.side-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.drawer-close-btn {
  color: var(--gray-400);
  padding: 6px;
  margin-right: -6px;
}

.drawer-close-btn:hover {
  color: var(--onyx);
}

.drawer-links {
  padding: 16px 28px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.drawer-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-700);
}

.drawer-links a:hover {
  color: var(--onyx);
  padding-left: 0;
}

.drawer-cart-header {
  padding: 14px 28px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream-bg);
  border-bottom: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.drawer-cart-section {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-cart-empty {
  text-align: center;
  color: var(--gray-400);
  margin-top: 16px;
  font-size: 13px;
}

.drawer-cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}

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

.drawer-cart-item-img {
  width: 72px;
  height: 72px;
  background: var(--cream-bg);
  flex-shrink: 0;
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.drawer-cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.drawer-cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--onyx);
  margin-bottom: 2px;
}

.drawer-cart-item-desc {
  font-size: 11px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.drawer-cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.drawer-qty-stepper button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gray-700);
}

.drawer-qty-stepper button:hover {
  background: var(--gray-100);
  color: var(--onyx);
}

.drawer-qty-stepper span {
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
}

.drawer-item-remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--gray-400);
  font-size: 18px;
  line-height: 1;
}

.drawer-item-remove-btn:hover {
  color: var(--onyx);
}

.drawer-footer {
  padding: 20px 28px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--gray-100);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.drawer-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.drawer-footer-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--onyx);
  color: var(--white);
  border: 1px solid var(--onyx);
}

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

.btn-outline {
  border: 1px solid var(--gray-300);
  color: var(--onyx);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--onyx);
  background: var(--cream-bg);
}

/* ==============================================================================
   4. TOAST NOTIFICATIONS
   ============================================================================== */
.toast-notification {
  position: fixed;
  right: 28px;
  top: 80px;
  z-index: 1050;
  background: var(--onyx);
  color: var(--white);
  padding: 12px 20px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(15, 15, 15, 0.18);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast-notification svg {
  color: #4ADE80;
  flex-shrink: 0;
}

/* ==============================================================================
   5. MAIN CATALOG / SHOP SECTION
   ============================================================================== */
.shop-page {
  padding: 32px 0 80px;
}

.shop-header-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.shop-title-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-main-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--onyx);
}

.shop-subtitle {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

.shop-filter-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.category-pills-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-pill-btn {
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  border-radius: var(--radius-xs);
  transition: border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
  transform: none !important;
}

.cat-pill-btn:hover {
  border-color: var(--onyx);
  color: var(--onyx);
  transform: none !important;
}

.cat-pill-btn:active {
  transform: none !important;
}

.cat-pill-btn.active {
  background: var(--onyx);
  color: var(--white);
  border-color: var(--onyx);
}

.shop-search-sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .category-pills-wrap {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .category-pills-wrap::-webkit-scrollbar {
    display: none;
  }
  .cat-pill-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 11.5px;
  }
  .shop-search-sort-wrap {
    display: flex;
    width: 100%;
    gap: 8px;
  }
  .shop-search-input {
    flex: 1;
    min-width: 0;
    width: auto !important;
  }
  .shop-sort-select {
    flex-shrink: 0;
  }
}

.shop-search-input {
  padding: 9px 14px;
  border: 1px solid var(--gray-200);
  font-size: 12.5px;
  outline: none;
  background: var(--white);
  width: 220px;
  transition: border-color var(--transition);
}

.shop-search-input:focus {
  border-color: var(--onyx);
}

.shop-sort-select {
  padding: 9px 14px;
  border: 1px solid var(--gray-200);
  font-size: 12.5px;
  background: var(--white);
  color: var(--onyx);
  outline: none;
  cursor: pointer;
}

.shop-notes-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}

.note-chip {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 500;
  background: var(--cream-subtle);
  border: 1px solid transparent;
  color: var(--gray-700);
  border-radius: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
}

.note-chip:hover {
  background: var(--white);
  border-color: var(--gray-300);
  color: var(--onyx);
}

.note-chip.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ==============================================================================
   6. PRODUCT GRID & CARD STYLING
   ============================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 820px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 580px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .product-card-body {
    padding: 10px 10px 8px;
  }
  .product-card-name {
    font-size: 13px;
    margin-bottom: 3px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
  }
  .product-card-notes {
    font-size: 10.5px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card-badge {
    top: 6px;
    left: 6px;
    font-size: 8px;
    padding: 2.5px 5.5px;
    letter-spacing: 0.05em;
  }
  .product-card-price-row {
    margin-bottom: 8px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .product-card-price-prefix {
    font-size: 9.5px;
  }
  .product-card-price-val {
    font-size: 13px;
  }
  .product-card-actions {
    padding: 0 8px 10px;
  }
  .btn-card-view {
    padding: 8px 6px;
    font-size: 11px;
    justify-content: center;
    text-align: center;
  }
  .btn-view-price {
    display: none;
  }
}

@media (max-width: 360px) {
  .product-grid {
    gap: 8px;
  }
  .product-card-body {
    padding: 8px 6px 6px;
  }
  .product-card-name {
    font-size: 12px;
    min-height: 28px;
  }
  .product-card-actions {
    padding: 0 6px 8px;
  }
  .btn-card-view {
    padding: 7px 4px;
    font-size: 10px;
  }
}

.product-card {
  background: var(--cream-card);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  animation: bbCardReveal 2.0s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--card-index, 0) * 0.085s);
  will-change: transform, opacity;
}

.product-card.featured-card {
  border: 1.5px solid #737373; /* Slightly deeper refined border for featured items */
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 15, 15, 0.08);
  border-color: rgba(184, 146, 88, 0.35);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--cream-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--gray-100);
}

.product-card-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity var(--transition-slow);
}

.product-card-img-wrap .img-primary {
  opacity: 1;
  z-index: 1;
}

.product-card-img-wrap .img-secondary {
  display: none !important;
}

.product-card:hover .img-primary {
  opacity: 1 !important;
  transform: scale(1.035);
}

.product-card:hover .img-secondary {
  display: none !important;
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
}

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

.product-card-number {
  display: none !important;
}

.product-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--onyx);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-notes {
  font-size: 11.5px;
  color: var(--gray-500);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.product-card-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-card-price-prefix {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card-price-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--onyx);
}

.product-card-actions {
  display: block;
  padding: 0 14px 14px;
  background: var(--cream-card);
}

.btn-card-view {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11px 14px;
  background: var(--onyx);
  color: var(--white);
  border: 1px solid var(--onyx);
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

/* ── Product Card Rating Stars (Right side of Price Row) ── */
.product-card-rating {
  display: inline-flex;
  align-items: center;
  margin: 0;
  line-height: 1;
}

.product-card-rating .stars {
  color: #B89258;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  line-height: 1;
  display: inline-flex;
}

.product-card-rating .stars .dim {
  color: var(--gray-300);
}

.btn-card-view:hover {
  background: #2b2b2b;
  border-color: #2b2b2b;
  color: var(--white);
}

.btn-view-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-view-price {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.92;
}

.btn-card-add, .btn-card-buy {
  display: none !important;
}

/* ==============================================================================
   7. PRODUCT DETAIL PAGE
   ============================================================================== */
.product-page-wrap {
  padding: 48px 0 96px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.gallery-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  width: 100%;
}

.gallery-main-view {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--cream-card);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-main-view:hover img {
  transform: scale(1.03);
}

.gallery-thumbs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-thumb-btn {
  aspect-ratio: 1;
  background: var(--cream-card);
  border: 1.5px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-thumb-btn:hover {
  border-color: var(--gray-400);
}

.gallery-thumb-btn.active {
  border-color: var(--onyx);
  box-shadow: 0 0 0 1px var(--onyx);
}

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

/* ── Mobile-Specific Product Detail Gallery (Compact Main Image with 4-Thumbnails on the Right) ── */
@media (max-width: 768px) {
  .product-page-wrap {
    padding: 20px 0 56px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Side-by-side layout on mobile: Main image on left, 4 preview thumbnails on right */
  .gallery-column {
    display: grid;
    grid-template-columns: 1fr 66px;
    gap: 10px;
    max-width: 100%;
    align-items: stretch;
  }

  .gallery-main-view {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    max-height: 280px;
  }

  .gallery-thumbs-row {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 7px;
    width: 66px;
    height: 100%;
    max-height: 280px;
  }

  .gallery-thumb-btn {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-xs);
  }
}

@media (max-width: 420px) {
  .gallery-column {
    grid-template-columns: 1fr 56px;
    gap: 8px;
  }

  .gallery-main-view {
    max-height: 245px;
  }

  .gallery-thumbs-row {
    width: 56px;
    gap: 6px;
    max-height: 245px;
  }
}

.product-info-column {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  width: 100%;
}

.detail-brand-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.detail-product-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--onyx);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.detail-product-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 24px;
}

.detail-price-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--onyx);
}

.option-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.size-variants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 680px) {
  .size-variants-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.size-pill-option {
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  padding: 14px 18px;
  min-height: 84px;
  border-radius: 6px;
  cursor: pointer;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all var(--transition);
  box-sizing: border-box;
}

.size-pill-option:hover {
  border-color: var(--gray-400);
  background: #FAFAFA;
}

.size-pill-option.active {
  border-color: var(--onyx);
  background: #F7F7F7;
  box-shadow: 0 0 0 1px var(--onyx);
}

.size-pill-left,
.size-pill-icon-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 56px !important;
  flex-shrink: 0 !important;
  color: var(--gray-600);
  transition: color var(--transition);
}

.size-pill-left svg,
.size-pill-icon-wrap svg {
  width: 42px !important;
  height: 56px !important;
  display: block !important;
}

.size-pill-option:hover .size-pill-left,
.size-pill-option.active .size-pill-left,
.size-pill-option:hover .size-pill-icon-wrap,
.size-pill-option.active .size-pill-icon-wrap {
  color: var(--onyx);
}

.size-pill-right,
.size-pill-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-end !important;
  margin-left: auto !important;
  gap: 4px !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.size-pill-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--onyx) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  text-align: right !important;
}

.size-pill-price {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--onyx) !important;
  line-height: 1.2 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.size-pill-price .size-pill-orig {
  font-size: 11px;
  color: var(--gray-400);
  margin-right: 4px;
  font-weight: 400;
  text-decoration: line-through;
}

.size-pill-price .size-pill-val.discounted {
  color: #B45309;
}

.stock-status-indicator {
  font-size: 12.5px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
  flex-shrink: 0;
}

.stock-dot.stock-low {
  background: #F59E0B;
  box-shadow: 0 0 0 3.5px rgba(245, 158, 11, 0.22);
  animation: bbPulseAmber 2.2s infinite ease-in-out;
}

.stock-dot.stock-out {
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

@keyframes bbPulseAmber {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.75;
  }
}

.btn-detail-add:disabled,
.btn-detail-add.disabled {
  background: var(--gray-300) !important;
  color: var(--gray-600) !important;
  border-color: var(--gray-300) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.7 !important;
}

.btn-detail-buy:disabled,
.btn-detail-buy.disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.size-pill-option.out-of-stock {
  opacity: 0.65;
}

.size-pill-stock-row {
  margin-top: 2px;
}

.detail-actions-row {
  display: grid;
  grid-template-columns: 120px 1.4fr 1.2fr;
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .detail-actions-row {
    grid-template-columns: 110px 1fr;
    gap: 10px;
  }
  .btn-detail-buy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 360px) {
  .detail-actions-row {
    grid-template-columns: 96px 1fr;
    gap: 8px;
  }
}

@media (max-width: 540px) {
  .size-pill-option {
    padding: 10px 14px !important;
    min-height: 64px !important;
  }
  .size-pill-left,
  .size-pill-icon-wrap {
    width: 36px !important;
    height: 46px !important;
  }
  .size-pill-left svg,
  .size-pill-icon-wrap svg {
    width: 34px !important;
    height: 46px !important;
  }
  .size-pill-name {
    font-size: 13.5px !important;
  }
  .size-pill-price {
    font-size: 13px !important;
  }
}

.qty-control-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  background: var(--white);
  height: 48px;
}

.qty-control-box button {
  width: 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray-700);
}

.qty-control-box button:hover {
  background: var(--gray-100);
  color: var(--onyx);
}

.qty-control-box span {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.btn-detail-add {
  height: 48px;
  background: var(--onyx);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-detail-add:hover {
  background: #2b2b2b;
}

.btn-detail-buy {
  height: 48px;
  background: var(--gold);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-detail-buy:hover {
  background: var(--gold-hover);
}

.assurances-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 500px) {
  .assurances-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-700);
}

.assurance-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ==============================================================================
   8. CART PAGE
   ============================================================================== */
.cart-page-wrap {
  padding: 48px 0 96px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--onyx);
  margin-bottom: 24px;
}

.cart-layout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .cart-layout-grid {
    grid-template-columns: 1fr;
  }
}

.cart-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-row-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--cream-card);
  border: 1px solid var(--gray-200);
  align-items: center;
}

@media (max-width: 560px) {
  .cart-row-item {
    padding: 14px 12px;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
  }
  .cart-row-img {
    width: 68px;
    height: 68px;
  }
  .cart-row-info {
    min-width: calc(100% - 90px);
  }
  .cart-row-name {
    font-size: 13.5px;
  }
  .cart-row-price {
    font-size: 13px;
  }
}

.cart-row-img {
  width: 88px;
  height: 88px;
  background: var(--cream-bg);
  flex-shrink: 0;
  border: 1px solid var(--gray-100);
}

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

.cart-row-info {
  flex: 1;
}

.cart-row-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--onyx);
  margin-bottom: 4px;
}

.cart-row-size {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.cart-row-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--onyx);
}

.order-summary-sidebar {
  background: var(--cream-card);
  border: 1px solid var(--gray-200);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: fit-content;
}

.summary-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--gray-700);
}

.summary-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: var(--onyx);
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}

.btn-checkout-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  background: var(--onyx);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-checkout-cta:hover {
  background: #2b2b2b;
  color: var(--white);
}

/* ==============================================================================
   9. CHECKOUT PAGE
   ============================================================================== */
.checkout-page-wrap {
  padding: 48px 0 96px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.checkout-form-box {
  background: var(--cream-card);
  border: 1px solid var(--gray-200);
  padding: 32px;
}

@media (max-width: 600px) {
  .checkout-page-wrap {
    padding: 24px 0 60px;
  }
  .checkout-form-box {
    padding: 20px 14px;
  }
  .form-input {
    font-size: 16px;
    padding: 12px 12px;
  }
}

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--onyx);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 13.5px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

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

.shipping-zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

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

.zone-card {
  border: 1.5px solid var(--gray-200);
  padding: 14px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zone-card.selected {
  border-color: var(--onyx);
  background: #FAFAFA;
}

.zone-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--onyx);
}

.zone-cost {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

.zone-timeline {
  font-size: 10.5px;
  color: var(--gray-400);
}

.payment-method-card {
  background: var(--cream-subtle);
  border: 1px solid var(--gray-200);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

/* ==============================================================================
   10. ORDER CONFIRMED PAGE
   ============================================================================== */
.confirmed-page-wrap {
  padding: 72px 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmed-card {
  max-width: 620px;
  width: 100%;
  background: var(--cream-card);
  border: 1px solid var(--gray-200);
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(15, 15, 15, 0.05);
}

.confirmed-seal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--onyx);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--onyx);
}

.order-badge-pill {
  display: inline-block;
  background: var(--cream-subtle);
  border: 1px solid var(--gray-200);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 16px 0 28px;
  color: var(--onyx);
}

.confirmed-summary-box {
  background: var(--cream-bg);
  border: 1px solid var(--gray-200);
  padding: 20px;
  text-align: left;
  margin-bottom: 28px;
  font-size: 13px;
}

.whatsapp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.whatsapp-cta-btn:hover {
  background: #20BD5A;
  color: var(--white);
}

/* ==============================================================================
   11. TRACK ORDER PAGE
   ============================================================================== */
.tracking-page-wrap {
  padding: 60px 0 120px;
}

.tracking-hero {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.tracking-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto 48px;
}

.tracking-input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid var(--gray-300);
  font-size: 13.5px;
  outline: none;
}

.tracking-input:focus {
  border-color: var(--onyx);
}

.tracking-btn {
  padding: 13px 24px;
  background: var(--onyx);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tracking-timeline-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--cream-card);
  border: 1px solid var(--gray-200);
  padding: 36px 32px;
}

@media (max-width: 540px) {
  .tracking-timeline-box {
    padding: 24px 14px;
  }
  .stepper-row {
    margin-bottom: 28px;
  }
  .stepper-row::before {
    top: 14px;
    left: 8%;
    right: 8%;
  }
  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 10px;
    margin-bottom: 6px;
  }
  .step-label {
    font-size: 9.5px;
    line-height: 1.2;
  }
}

.stepper-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-bottom: 40px;
}

.stepper-row::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gray-200);
  z-index: 1;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.stepper-step.completed .step-circle {
  background: var(--onyx);
  border-color: var(--onyx);
  color: var(--white);
}

.stepper-step.active .step-circle {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.step-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray-700);
}

/* ==============================================================================
   12. EDITORIAL / STATIC PAGES (About, Contact, FAQ, Terms, Privacy)
   ============================================================================== */
.editorial-wrap {
  padding: 64px 0 100px;
  max-width: 860px;
  margin: 0 auto;
}

.editorial-header {
  margin-bottom: 36px;
  text-align: center;
}

.editorial-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--onyx);
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .editorial-wrap {
    padding: 32px 0 60px;
  }
  .editorial-title {
    font-size: 26px;
  }
}

.editorial-subtitle {
  font-size: 15px;
  color: var(--gray-500);
}

.editorial-content {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray-700);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.editorial-content h2, .editorial-content h3 {
  color: var(--onyx);
  margin-top: 16px;
}

.faq-accordion-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}

.faq-accordion-item summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--onyx);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-accordion-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ==============================================================================
   13. CENTRAL FOOTER COMPONENT
   ============================================================================== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  margin-top: auto;
}

/* Trust & Value Assurance Bar */
.footer-trust-bar {
  background: #FAF8F5;
  border-bottom: 1px solid var(--gray-200);
  padding: 32px 32px;
}

.footer-trust-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .footer-trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.footer-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 15, 15, 0.04);
}

.footer-trust-info {
  display: flex;
  flex-direction: column;
}

.footer-trust-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--onyx);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.footer-trust-desc {
  font-size: 11.5px;
  color: var(--gray-500);
  line-height: 1.45;
}

.footer-newsletter-wrap {
  background: var(--cream-subtle);
  padding: 50px 32px 42px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.footer-newsletter-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--onyx);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.footer-newsletter-desc {
  max-width: 540px;
  margin: 0 auto 18px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 8px;
}

.footer-newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-size: 13px;
  outline: none;
  border-radius: 2px;
}

.footer-newsletter-input:focus {
  border-color: var(--onyx);
}

.footer-newsletter-btn {
  padding: 12px 22px;
  background: var(--onyx);
  color: var(--white);
  border: 1px solid var(--onyx);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-newsletter-btn:hover {
  background: #2b2b2b;
  border-color: #2b2b2b;
}

.footer-newsletter-success {
  display: none;
  margin-top: 14px;
  color: #16A34A;
  font-size: 13px;
  font-weight: 600;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 32px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 840px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-500);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--onyx);
  margin-bottom: 4px;
}

.footer-col a:hover {
  color: var(--onyx);
  padding-left: 0;
}

/* Payment & Guarantee Badges */
.footer-payments-wrap {
  margin-top: 12px;
}

.footer-payments-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.footer-payments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: var(--cream-subtle);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--gray-700);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 32px 32px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11.5px;
  color: var(--gray-400);
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom-copy {
  display: flex;
  gap: 8px;
}

.footer-bottom-credit a {
  color: var(--onyx);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer-bottom-social {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .footer-bottom {
    padding: 24px 18px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
  }
  .footer-bottom-social {
    order: 1;
    display: flex;
    gap: 12px;
    align-self: center;
    justify-content: center;
    margin: 0 auto;
  }
  .footer-bottom-left {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    width: 100%;
  }
  .footer-bottom-copy {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 4px 8px;
  }
  .footer-bottom-credit {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-bottom {
    padding: 20px 14px 34px;
    gap: 14px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .footer-bottom-social {
    align-self: center;
    margin: 0 auto;
    justify-content: center;
  }
  .footer-bottom-left {
    align-items: center;
    text-align: center;
  }
  .footer-bottom-copy {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom-credit {
    text-align: center;
  }
}

.footer-social-box {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  transition: all var(--transition);
}

.footer-social-box:hover {
  border-color: var(--onyx);
  color: var(--onyx);
  background: var(--cream-subtle);
}

/* ==============================================================================
   FEATURED PERFUMES SHOWCASE
   ============================================================================== */
.featured-section {
  margin-bottom: 52px;
  padding-bottom: 12px;
}

.featured-header-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  background: #FAF8F5;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-left: 4px solid var(--gold, #B45309);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.featured-header-content {
  max-width: 640px;
}

.featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #92400E;
  background: #FEF3C7;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.featured-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--onyx, #111111);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.featured-section-desc {
  font-size: 13.5px;
  color: var(--gray-600, #555555);
  line-height: 1.5;
  margin: 0;
}

.featured-header-badge {
  display: flex;
  align-items: center;
}

.featured-count-pill {
  background: var(--onyx, #111111);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.featured-grid {
  margin-bottom: 16px;
}

.product-card-badge.badge-featured {
  background: #B45309;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 40px 0 24px;
  color: var(--gray-400, #9CA3AF);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.featured-section-divider::before,
.featured-section-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--gray-200, #E5E7EB);
  margin: 0 16px;
}

@media (max-width: 768px) {
  .featured-header-card {
    padding: 18px 20px;
  }
  .featured-section-title {
    font-size: 20px;
  }
  .featured-section-desc {
    font-size: 12.5px;
  }
}

/* ── Customer Reviews (Inspired by Glassé) ── */
.reviews-section {
  width: 100%;
  border-top: 1px solid var(--gray-200);
  margin-top: 56px;
  padding-top: 48px;
}
.reviews-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 20px;
}
.reviews-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--onyx);
  letter-spacing: -0.01em;
}
.reviews-average {
  font-size: 13.5px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stars {
  color: #B45309;
  font-size: 15px;
  letter-spacing: 2px;
}
.stars .dim {
  color: var(--gray-200);
}

.review-form {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 24px;
  margin-bottom: 32px;
}
.review-form-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  color: var(--onyx);
}
.star-input {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.star-input button {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--gray-300);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-input button:hover {
  transform: scale(1.15);
}
.star-input button.active {
  color: #B45309;
}
.review-textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  font-size: 13.5px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  margin-bottom: 12px;
  background: var(--white);
  transition: border-color 0.2s ease;
}
.review-textarea:focus {
  border-color: var(--onyx);
}
.review-submit-btn {
  padding: 11px 24px;
  background: var(--onyx);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--onyx);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.review-submit-btn:hover {
  background: #000;
}
.review-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.review-cancel-btn {
  font-size: 12px;
  color: var(--gray-500);
  font-family: inherit;
  padding: 6px 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
}
.review-cancel-btn:hover {
  color: var(--onyx);
}
.review-login-prompt {
  font-size: 13.5px;
  color: var(--gray-500);
}
.review-login-prompt a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--onyx);
  font-weight: 700;
}

.review-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.review-item:last-child {
  border-bottom: none;
}
.review-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.review-item-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--onyx);
}
.review-item-date {
  font-size: 11.5px;
  color: var(--gray-400);
}
.review-action-btn {
  font-size: 11.5px;
  color: var(--gray-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
  font-family: inherit;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  cursor: pointer;
}
.review-action-btn:hover {
  color: var(--onyx);
}
.review-delete-btn:hover {
  color: #b91c1c;
}
.review-item-comment {
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.6;
  margin-top: 8px;
}
.no-reviews {
  font-size: 13.5px;
  color: var(--gray-400);
  padding: 20px 0;
  font-style: italic;
}

/* ==============================================================================
   STOREFRONT FRAGRANCE ASSISTANT (CONCIERGE CHAT DRAWER)
   ============================================================================== */

/* ── Navbar Assistant Trigger Button & Popover Container ── */
.nav-assistant-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn-nav-assistant {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--onyx);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  border-radius: var(--radius-xs, 2px);
}

.btn-nav-assistant:hover {
  background: var(--onyx);
  color: var(--white);
  border-color: var(--onyx);
}

.btn-nav-assistant svg {
  flex-shrink: 0;
  color: var(--onyx, #0F0F0F);
  transition: color var(--transition);
}

.btn-nav-assistant:hover svg {
  color: var(--white);
}

/* ── 6-Second Auto Notification Popover (Below Assistant Button) ── */
.nav-assistant-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 290px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 12px 36px rgba(15, 15, 15, 0.16), 0 0 0 1px rgba(197, 160, 89, 0.25);
  z-index: 1002;
  cursor: pointer;
  animation: navAssistantFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  user-select: none;
}

/* Caret / Pointer pointing up to the Assistant button */
.nav-assistant-popover::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 28px;
  width: 10px;
  height: 10px;
  background: var(--white);
  border-left: 1px solid var(--gray-200);
  border-top: 1px solid var(--gray-200);
  transform: rotate(45deg);
}

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

.nav-assistant-popover.is-vanishing {
  animation: navAssistantFadeOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

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

.nav-assistant-popover-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}

.nav-assistant-popover-close:hover {
  color: var(--onyx);
}

.nav-assistant-popover-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--onyx);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.nav-assistant-popover-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 14px;
}

.nav-assistant-popover-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.nav-assistant-popover-msg {
  font-size: 12.5px;
  color: var(--onyx);
  line-height: 1.4;
  font-weight: 500;
}

/* ── Fragrance Assistant Side Drawer (Matching Shopping Bag Drawer) ── */
.assistant-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.assistant-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.assistant-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1001;
  box-shadow: -8px 0 36px rgba(15, 15, 15, 0.12);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.assistant-drawer.open {
  transform: translateX(0);
}

.assistant-drawer-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  background: var(--white);
}

.assistant-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--onyx);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.bb-status-dot {
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
  display: inline-block;
}

.assistant-drawer-messages {
  flex: 1;
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--warm-cream, #FAF8F5);
}

.bb-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
}

.bb-msg-bot {
  align-self: flex-start;
}

.bb-msg-user {
  align-self: flex-end;
}

.bb-msg-bubble {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.55;
  border-radius: 12px;
  word-break: break-word;
}

.bb-msg-bot .bb-msg-bubble {
  background: var(--white);
  color: var(--onyx);
  border: 1px solid var(--gray-200);
  border-bottom-left-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.bb-msg-user .bb-msg-bubble {
  background: var(--onyx);
  color: var(--white);
  border-bottom-right-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bb-msg-time {
  font-size: 10px;
  color: var(--gray-400);
  margin-top: 4px;
  padding: 0 4px;
}

.bb-msg-user .bb-msg-time {
  text-align: right;
}

/* Typing Indicator */
.bb-typing-indicator {
  padding: 6px 24px 10px;
  background: var(--warm-cream, #FAF8F5);
  display: flex;
  gap: 4px;
  align-items: center;
}

.bb-typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--gray-400);
  border-radius: 50%;
  animation: bbBounce 1.4s infinite ease-in-out both;
}

.bb-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.bb-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bbBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Chat Input Row */
.assistant-drawer-input-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  gap: 10px;
  flex-shrink: 0;
}

.bb-chat-input {
  flex: 1;
  border: 1px solid var(--gray-200);
  background: var(--warm-cream, #FAF8F5);
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  color: var(--onyx);
  border-radius: var(--radius-xs, 4px);
  transition: border-color var(--transition);
}

.bb-chat-input:focus {
  border-color: var(--gold, #B89258);
  background: var(--white);
}

.bb-chat-send-btn {
  background: var(--onyx);
  color: var(--white);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs, 4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition);
  flex-shrink: 0;
}

.bb-chat-send-btn:hover {
  background: var(--gold, #B89258);
}

/* ── Responsive adjustments for Assistant button & popover ── */
@media (max-width: 540px) {
  .assistant-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}

@media (max-width: 768px) {
  .nav-assistant-popover {
    position: absolute;
    top: calc(100% + 14px);
    right: -46px;
    width: 285px;
    max-width: calc(100vw - 24px);
  }
  .nav-assistant-popover::before {
    right: 65px;
  }
}

/* ==============================================================================
   PREMIUM ARCHITECTURE: PRELOADER & ENTRANCE ANIMATIONS
   Inspired by premium-site-architecture.md & Luxury Editorial Design
   ============================================================================== */

/* ── Custom Selection Highlighting ── */
::selection {
  background-color: var(--gold, #B89258);
  color: #FFFFFF;
}
::-moz-selection {
  background-color: var(--gold, #B89258);
  color: #FFFFFF;
}

/* ── Skip Preloader on In-Session Internal Navigation ── */
html.bb-skip-preloader #bb-preloader {
  display: none !important;
}
html.bb-skip-preloader body {
  overflow: auto !important;
}

/* ── Fullscreen Luxury Preloader ── */
.bb-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: var(--warm-cream, #FAF8F5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s;
  will-change: opacity, transform;
}

.bb-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
}

.bb-preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  max-width: 380px;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.bb-preloader.is-hidden .bb-preloader-content {
  opacity: 0;
  transform: translateY(-8px);
}

.bb-preloader-emblem {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bbPreloaderBreathe 2.4s ease-in-out infinite;
}

.bb-preloader-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bb-preloader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bb-preloader-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--onyx, #0F0F0F);
  text-transform: none;
  line-height: 1.2;
}

.bb-preloader-track {
  width: 140px;
  height: 2px;
  background: rgba(15, 15, 15, 0.08);
  border-radius: 99px;
  margin-top: 22px;
  overflow: hidden;
  position: relative;
}

.bb-preloader-bar {
  height: 100%;
  width: 100%;
  background: var(--onyx, #0F0F0F);
  border-radius: 99px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: bbBarSmoothFill 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  will-change: transform;
}

@keyframes bbBarSmoothFill {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes bbPreloaderBreathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.045);
    opacity: 1;
    filter: drop-shadow(0 8px 20px rgba(184, 146, 88, 0.3));
  }
}

/* ── Storefront Entrance Animations (Extra Slow, Butter-Smooth & Weighted) ── */
/* Keep Navbar and Announcement Bar completely fixed & static — no entrance movement */
.navbar,
body.bb-page-ready .navbar,
.announcement-bar,
body.bb-page-ready .announcement-bar.active {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
}

body.bb-page-ready main,
body.bb-page-ready .shop-header-row,
body.bb-page-ready .product-content,
body.bb-page-ready .product-detail-layout,
body.bb-page-ready .cart-container,
body.bb-page-ready .checkout-container,
body.bb-page-ready .track-card,
body.bb-page-ready .page-content,
body.bb-page-ready .auth-card {
  animation: bbPageEntrance 2.0s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

body.bb-page-ready .category-pills-wrap {
  animation: bbFadeIn 2.0s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

body.bb-page-ready .shop-search-sort-wrap {
  animation: bbFadeIn 2.0s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

@keyframes bbPageEntrance {
  0% {
    opacity: 0;
    transform: translateY(26px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bbFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bbCardReveal {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Micro-Interactions ── */
/* Category pill buttons stay completely static on hover & click — no pop up translate */
.cat-pill-btn {
  transition: border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
  transform: none !important;
}
.cat-pill-btn:hover {
  transform: none !important;
}
.cat-pill-btn:active {
  transform: none !important;
}

.btn-primary, .btn-pill, .btn-checkout, .btn-nav-bag, .btn-card-view {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease;
}
.btn-primary:active, .btn-checkout:active, .btn-nav-bag:active, .btn-card-view:active {
  transform: scale(0.97);
}

/* ── Minimal Contact Page (Full Viewport Layout) ── */
.contact-page-wrap {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 70px;
  width: 100%;
}

.contact-layout-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--onyx);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form .form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--onyx);
  margin-bottom: 6px;
}

.contact-form .form-input {
  width: 100%;
  padding: 13px 14px;
  font-size: 13.5px;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--onyx);
  outline: none;
  border-radius: 0;
  transition: border-color var(--transition);
  box-sizing: border-box;
}

.contact-form .form-input:focus {
  border-color: var(--onyx);
}

.contact-form textarea.form-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.contact-submit-btn {
  width: 100%;
  padding: 14px 20px;
  margin-top: 6px;
  background: var(--onyx);
  color: var(--white);
  border: 1px solid var(--onyx);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.contact-submit-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--onyx);
}

.contact-submit-btn:active {
  transform: scale(0.98);
}

.contact-social-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  height: 100%;
  min-height: 420px;
}

.contact-social-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  color: var(--onyx);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  transform: none !important;
}

.contact-social-tile svg {
  width: 46px;
  height: 46px;
  display: block;
  transition: color 0.2s ease;
}

.contact-social-tile:hover {
  background: var(--onyx);
  border-color: var(--onyx);
  color: var(--white);
  transform: none !important;
}

.contact-social-tile:active {
  transform: none !important;
}

@media (max-width: 860px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-social-grid {
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .contact-page-wrap {
    padding: 30px 16px 50px;
  }
  .contact-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .contact-social-grid {
    min-height: 220px;
    gap: 12px;
  }
  .contact-social-tile svg {
    width: 34px;
    height: 34px;
  }
}

/* ── Reduced Motion Accessibility Override ── */
@media (prefers-reduced-motion: reduce) {
  .bb-preloader {
    display: none !important;
  }
  .product-card,
  body.bb-page-ready .navbar,
  body.bb-page-ready .announcement-bar.active,
  body.bb-page-ready .shop-header-row,
  body.bb-page-ready .product-content,
  body.bb-page-ready .cart-container,
  body.bb-page-ready .checkout-container,
  body.bb-page-ready .track-card,
  body.bb-page-ready .page-content,
  body.bb-page-ready .auth-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}