/* ============================================
   CREATEUR — E-Commerce Prototype
   Custom Styles (extends Tailwind)
   Theme: White (major), Gold + Black (minor)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ─────────────────── */
:root {
  --gold: #d1a647;
  --gold-light: #d1a647;
  --gold-dark: #d1a647;
  --black: #1A1A1A;
  --dark-gray: #4A4A4A;
  --light-gray: #E5E5E5;
  --off-white: #FAFAF7;
  --white: #FFFFFF;
  --error: #C0392B;
  --success: #27AE60;
  --info: #2980B9;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', 'Helvetica Neue', Arial, sans-serif;

  --header-height: 140px;
  --admin-sidebar-width: 260px;
}

/* ── Base ───────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* ── Text Reveal / Animation States ────────── */
.reveal-text {
  visibility: hidden;
}

.reveal-up {
  opacity: 0;
  transform: translateY(60px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

.image-reveal {
  clip-path: inset(0 100% 0 0);
}

.split-parent {
  overflow: hidden;
  display: inline-flex;
}

.split-child {
  display: inline-block;
  will-change: transform;
}

.section-pin {
  will-change: transform;
}

/* ── Announcement Bar ──────────────────────── */
.announcement-bar {
  background-color: var(--black);
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.announcement-bar a {
  color: var(--gold);
  text-decoration: underline;
}

/* ── Header / Navigation ───────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--black);
  text-decoration: none;
}

.site-header .logo-text {
  position: relative;
  display: inline-block;
}

.site-header .logo-text img {
  height: 2.2rem;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.site-header .logo-text img.logo-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-header .logo-text:hover img.logo-default {
  opacity: 0;
}

.site-header .logo-text:hover img.logo-hover {
  opacity: 1;
}

footer.bg-dark > div:first-child {
  padding-top: 3rem !important;
  padding-bottom: 0.2rem !important;
}

.footer-logo-row-container {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.footer-logo-img {
  height: 4rem;
  width: auto;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-logo-img {
    height: 4.5rem;
  }
}

.nav-link-main {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link-main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.nav-link-main:hover::after,
.nav-link-main.active::after {
  width: 100%;
}

.site-header .header-main-row {
  gap: 1rem;
}

.site-header .header-brand {
  flex-shrink: 0;
}

.site-header .header-utility-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
}

.site-header .header-icons-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Desktop inline navigation */
.header-nav-inline {
  flex: 1;
  justify-content: center;
  gap: 1.8rem;
  position: relative;
}

.header-nav-inline .nav-link-main {
  white-space: nowrap;
}

/* Search overlay */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid rgba(209, 166, 71, 0.14);
  border-bottom: 1px solid rgba(209, 166, 71, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 1002;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-overlay-inner {
  position: relative;
}

.search-overlay-form {
  display: flex;
  align-items: center;
}

.search-overlay-input {
  font-size: 0.95rem;
}

.search-overlay .search-dropdown {
  top: calc(100% + 0.5rem);
}

.search-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.site-header .header-nav-row {
  justify-content: center;
  gap: 2.35rem;
}

.collections-nav-item {
  position: static;
  display: flex;
  align-items: center;
}

.nav-collections-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-collections-toggle svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.3s ease;
}

.collections-nav-item.active .nav-collections-toggle {
  color: var(--gold-dark);
}

.collections-nav-item.active .nav-collections-toggle svg {
  transform: rotate(180deg);
}

.collections-dropdown {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  width: min(72rem, calc(100vw - 3rem));
  padding: 1.45rem;
  background: linear-gradient(160deg, rgba(14, 11, 8, 0.96) 0%, rgba(22, 17, 10, 0.97) 50%, rgba(10, 8, 5, 0.98) 100%);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(209, 166, 71, 0.28);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -12px);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  z-index: 1001;
}

.collections-nav-item.active .collections-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.collections-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.collections-collection {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem;
  min-height: 280px;
  background: linear-gradient(180deg, rgba(250, 250, 247, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(209, 166, 71, 0.14);
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

/* Background image variant — the image sits behind a gradient overlay */
.collections-collection--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: rgba(209, 166, 71, 0.28);
  min-height: 300px;
}

/* Dark gradient overlay so text is always readable */
.collections-collection--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(8, 6, 4, 0.55) 0%,
    rgba(8, 6, 4, 0.72) 50%,
    rgba(8, 6, 4, 0.90) 100%
  );
  transition: opacity 0.4s ease;
  z-index: 0;
}

.collections-collection--bg:hover::before {
  opacity: 0.82;
}

.collections-collection--bg:hover {
  transform: translateY(-3px);
  border-color: rgba(209, 166, 71, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

/* All content above the overlay */
.collections-collection--bg > * {
  position: relative;
  z-index: 1;
}

/* Recolour text for the image bg variant */
.collections-collection--bg .collections-collection-head {
  border-bottom-color: rgba(209, 166, 71, 0.35);
}

.collections-collection--bg .collections-collection-title {
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.collections-collection--bg .collections-collection-title:hover {
  color: #ffffff;
}

.collections-collection--bg .collections-collection-copy {
  color: rgba(255, 255, 255, 0.68);
}

.collections-collection--bg .collections-product-link {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.collections-collection--bg .collections-product-link:hover {
  background: rgba(209, 166, 71, 0.18);
  border-color: rgba(209, 166, 71, 0.5);
  color: var(--gold);
  transform: translateX(4px);
}

/* "More +" link on image cards — gold base, white on hover */
.collections-collection--bg .collections-more-link {
  color: var(--gold);
}

.collections-collection--bg .collections-more-link:hover {
  color: #ffffff;
}

.collections-collection-head {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(209, 166, 71, 0.16);
}

.collections-collection-title {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.collections-collection-title:hover {
  color: var(--gold-dark);
}

.collections-collection-copy {
  font-size: 0.72rem;
  color: var(--dark-gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}

.collections-product-list {
  display: grid;
  gap: 0.45rem;
}

.collections-product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem 0.85rem;
  font-size: 0.9rem;
  color: var(--black);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.collections-product-link::after {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.5;
}

.collections-product-link:hover {
  transform: translateX(4px);
  border-color: rgba(209, 166, 71, 0.38);
  color: var(--gold-dark);
  background: rgba(250, 250, 247, 0.96);
}

.offcanvas-collections {
  border-bottom: 1px solid #f4f4f4;
  padding-bottom: 0.5rem;
}

.offcanvas-section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 0 0.5rem 0.45rem;
}

@media (min-width: 1024px) {
  .site-header .header-main-row {
    align-items: center;
    gap: 1.5rem;
  }

  .site-header .header-brand {
    flex-shrink: 0;
  }

  .site-header .header-brand img {
    height: 2.55rem;
  }

  .site-header .header-utility-shell {
    gap: 0.75rem;
  }

  .site-header .header-icons-row {
    gap: 1rem;
  }

  .desktop-search-toggle {
    position: relative;
  }

  .desktop-search-toggle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
  }

  .desktop-search-toggle:hover::after,
  .desktop-search-toggle.active::after {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .collections-dropdown {
    width: min(64rem, calc(100vw - 2rem));
  }
}

@media (max-width: 1023px) {
  .site-header .header-utility-shell {
    gap: 0;
  }
}

@media (max-width: 767px) {
  .collections-dropdown-grid {
    grid-template-columns: 1fr;
  }
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
}

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

/* ── Search Autocomplete ───────────────────── */
.search-input {
  border: 1px solid rgba(209, 166, 71, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 247, 0.98) 100%);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.85rem;
  box-shadow: 0 10px 26px rgba(26, 26, 26, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.search-input::placeholder {
  color: #8d8d8d;
}

.search-input:hover {
  border-color: rgba(209, 166, 71, 0.34);
  box-shadow: 0 14px 32px rgba(26, 26, 26, 0.08);
}

.search-input:focus {
  border-color: var(--gold);
  background: var(--white);
  outline: none;
  box-shadow: 0 0 0 4px rgba(209, 166, 71, 0.12), 0 18px 36px rgba(26, 26, 26, 0.09);
  transform: translateY(-1px);
}

.search-input + svg {
  color: #d1a647;
  transition: color 0.3s ease, transform 0.3s ease;
}

.search-input:focus + svg {
  color: var(--gold-dark);
  transform: translateY(-50%) scale(1.05);
}

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid rgba(209, 166, 71, 0.18);
  border-top: 2px solid var(--gold);
  border-radius: 1.25rem;
  box-shadow: 0 18px 42px rgba(26, 26, 26, 0.12);
  overflow: hidden;
  z-index: 1001;
  display: none;
}

.search-dropdown.active {
  display: block;
}

.search-suggestion {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-suggestion:hover {
  background: linear-gradient(135deg, rgba(250, 250, 247, 1) 0%, rgba(245, 238, 223, 0.78) 100%);
}

.best-sellers-section .best-sellers-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.best-sellers-section .best-sellers-shell {
  position: relative;
}

.best-sellers-section .best-sellers-swiper {
  overflow: visible;
}

.best-sellers-section .best-sellers-swiper .swiper-wrapper {
  align-items: stretch;
}

.best-sellers-section .best-sellers-swiper .swiper-slide {
  height: auto;
}

.best-sellers-nav {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(209, 166, 71, 0.35);
  background: var(--white);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.best-sellers-nav:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.best-sellers-nav.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  background: var(--white);
  color: var(--black);
}

.best-sellers-pagination {
  position: static !important;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.best-sellers-pagination .swiper-pagination-bullet {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.18);
  opacity: 1;
  margin: 0 !important;
  transition: width 0.3s ease, background 0.3s ease;
}

.best-sellers-pagination .swiper-pagination-bullet-active {
  width: 2rem;
  background: var(--gold);
}

@media (max-width: 767px) {
  .best-sellers-nav {
    width: 2.65rem;
    height: 2.65rem;
  }

  .best-sellers-section .best-sellers-controls {
    justify-content: space-between;
  }

  .recent-launches-section .best-sellers-controls {
    justify-content: space-between;
  }
}

/* ── Recent Launches Swiper ─────────────────── */
.recent-launches-section .best-sellers-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.recent-launches-section .best-sellers-shell {
  position: relative;
}

.recent-launches-section .recent-launches-swiper {
  overflow: visible;
}

.recent-launches-section .recent-launches-swiper .swiper-wrapper {
  align-items: stretch;
}

.recent-launches-section .recent-launches-swiper .swiper-slide {
  height: auto;
}

.recent-launches-pagination {
  position: static !important;
  width: auto !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.recent-launches-pagination .swiper-pagination-bullet {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.18);
  opacity: 1;
  margin: 0 !important;
  transition: width 0.3s ease, background 0.3s ease;
}

.recent-launches-pagination .swiper-pagination-bullet-active {
  width: 2rem;
  background: var(--gold);
}

/* ── Buttons ───────────────────────────────── */
.btn-gold {
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.875rem 2.5rem;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(209, 166, 71, 0.4);
}

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

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.875rem 2.5rem;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.875rem 2.5rem;
  border: 2px solid var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background: transparent;
  color: var(--black);
}

/* ── Product Card ──────────────────────────── */
.product-card {
  background: var(--white);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-card > a > .p-4 {
  flex: 1;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.product-card .card-image {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  padding: 16px 16px 0;
}

.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}

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

.product-card .card-image .hover-image {
  position: absolute;
  top: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 16px);
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card:hover .card-image .hover-image {
  opacity: 1;
}

.product-card .card-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 3;
}

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

.card-action-btn {
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-action-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.card-action-btn.wishlisted {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.product-card .product-notes-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 0.75rem;
  pointer-events: none;
}

.product-card .product-note-chip {
  width: 3.35rem;
  min-height: 3.78rem;
  padding: 0.32rem 0.32rem 0.38rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(251, 247, 239, 0.95) 0%, rgba(238, 226, 201, 0.95) 100%);
  border: 1px solid rgba(209, 166, 71, 0.28);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.14);
  backdrop-filter: blur(14px);
  color: var(--black);
  opacity: 0;
  transform: translateX(-1.2rem);
  transition: transform 0.35s ease, opacity 0.3s ease, box-shadow 0.28s ease;
}

.product-card .product-note-chip:nth-child(2) { transition-delay: 0.06s; }
.product-card .product-note-chip:nth-child(3) { transition-delay: 0.12s; }

.product-card:hover .product-note-chip {
  opacity: 1;
  transform: translateX(0);
  box-shadow: 0 14px 32px rgba(26, 26, 26, 0.18);
}

/* Homepage: notes always visible */
.notes-static .product-card .product-note-chip {
  opacity: 1;
  transform: translateX(0);
}

.product-card .product-note-thumb {
  width: 2.05rem;
  height: 2.05rem;
  display: block;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  object-fit: cover;
}

.product-card .product-note-label {
  display: block;
  width: 100%;
  min-height: 1.22rem;
  font-size: 0.46rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 767px) {
  .product-card .product-notes-overlay {
    gap: 0.26rem;
    padding: 0.35rem 0.55rem 0;
  }

  .product-card .product-note-chip {
    width: 2.7rem;
    min-height: 3.1rem;
    padding: 0.24rem 0.24rem 0.28rem;
    border-radius: 0.82rem;
  }

  .product-card .product-note-thumb {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0.64rem;
  }

  .product-card .product-note-label {
    min-height: 1rem;
    font-size: 0.37rem;
    letter-spacing: 0;
  }
}

/* Product Badges */
.badge-new {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  z-index: 2;
}

.badge-sale {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--error);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  z-index: 2;
}

.badge-sold-out {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--dark-gray);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  z-index: 2;
}

.badge-limited {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  z-index: 2;
}

.price-original {
  text-decoration: line-through;
  color: var(--dark-gray);
  font-size: 0.85rem;
}

.price-sale {
  color: var(--error);
  font-weight: 600;
}

/* ── Star Rating ───────────────────────────── */
.star-rating {
  color: var(--gold);
  font-size: 0.85rem;
  display: inline-flex;
  gap: 2px;
}

.star-rating .star-empty {
  color: var(--light-gray);
}

/* ── Card Meta Row (stars + size inline) ───── */
.card-meta-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.card-meta-row .star-rating {
  margin-bottom: 0;
}

.card-meta-row .card-size-info {
  font-size: 0.75rem;
  color: var(--dark-gray);
  white-space: nowrap;
}

.product-card-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.product-card-brand {
  flex: 1;
  min-width: 0;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.product-card-meta-chip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 1.2rem;
  padding: 0.08rem 0.4rem;
  border: 1px solid rgba(201, 168, 118, 0.18);
  background: rgba(250, 247, 241, 0.8);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7d6b4e;
}

/* ── Gift Message ──────────────────────────── */
.gift-message-wrap {
  margin-top: 0.75rem;
}

.gift-message-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.gift-message-toggle:hover {
  color: var(--gold-dark);
}

.gift-message-toggle svg {
  transition: transform 0.25s ease;
}

.gift-message-toggle.open svg {
  transform: rotate(180deg);
}

.gift-message-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.gift-message-body.open {
  max-height: 200px;
}

.gift-message-body textarea {
  width: 100%;
  border: 1px solid var(--light-gray);
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  resize: vertical;
  min-height: 60px;
  margin-top: 0.5rem;
  transition: border-color 0.2s;
}

.gift-message-body textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.gift-message-body textarea::placeholder {
  color: var(--medium-gray);
}

/* Cart item gift message (compact) */
.cart-gift-message {
  margin-top: 0.5rem;
}

.cart-gift-message .gift-message-toggle {
  font-size: 0.7rem;
}

.cart-gift-message textarea {
  min-height: 44px;
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
}

/* ── Reorder Button ────────────────────────── */
.reorder-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.3rem 0.7rem;
  border-radius: 0;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 0.5rem;
}

.reorder-btn:hover {
  background: var(--gold);
  color: var(--white);
}

/* ── Scent Pyramid ─────────────────────────── */
.scent-pyramid .pyramid-level {
  position: relative;
  padding: 1.25rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 1rem;
}

.scent-pyramid .pyramid-level::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  background: var(--gold);
  border-radius: 50%;
}

.scent-pyramid .level-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.scent-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--off-white);
  font-size: 0.75rem;
  color: var(--dark-gray);
  transition: background 0.2s;
}
.scent-pill:hover { background: #f0ede5; }

.scent-pill-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.72rem 0.4rem 0.4rem;
  border-radius: 999px;
}

.scent-pill-thumb {
  width: 1.9rem;
  height: 1.9rem;
  flex-shrink: 0;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.product-info-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.product-info-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(201, 168, 118, 0.22);
  background:
    radial-gradient(circle at top right, rgba(201, 168, 118, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(250, 247, 241, 0.98), rgba(245, 240, 232, 0.92));
  box-shadow: 0 16px 34px rgba(26, 26, 26, 0.05);
}

.product-info-card-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b7a5c;
}

.product-info-card-value {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--black);
}

/* PDP Sticky Gallery — desktop only */
@media (min-width: 1024px) {
  .pdp-gallery-sticky {
    align-self: start;
    position: sticky;
    top: 100px;
  }
}

/* ── PDP Relationship Sections ─────────────── */
.pdp-relation-section {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .pdp-relation-section {
    padding: 5rem 0;
  }
}
.pdp-relation-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.pdp-relation-accent {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.75rem;
}
.pdp-swiper-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  color: #374151;
  transition: all 0.25s ease;
  cursor: pointer;
}
.pdp-swiper-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(209,166,71,0.15);
}
.pdp-swiper-btn.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ── Category Banner ────────────────────────── */
.category-banner {
  position: relative;
  height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) {
  .category-banner { height: 340px; }
}
.category-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-banner .category-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.25) 0%, rgba(26,26,26,0.55) 100%);
}
.category-banner .category-banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 1rem;
}
.category-banner .category-banner-content h1 {
  font-family: var(--ff-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
@media (min-width: 768px) {
  .category-banner .category-banner-content h1 { font-size: 3.25rem; }
}
.category-banner .category-banner-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

/* ── Brand Banners ─────────────────────────── */
.brand-banners-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .brand-banners-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .brand-banners-grid .brand-banner:first-child {
    grid-column: 1 / -1;
  }
}
.brand-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  border-radius: 0;
}
@media (min-width: 768px) {
  .brand-banner { min-height: 340px; }
  .brand-banners-grid .brand-banner:first-child { min-height: 420px; }
}
.brand-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.brand-banner:hover img {
  transform: scale(1.04);
}
.brand-banner .brand-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0.1) 60%);
}
.brand-banner .brand-banner-content {
  position: relative;
  z-index: 1;
  padding: 1.75rem 2rem;
  color: #fff;
  width: 100%;
}
.brand-banner .brand-banner-content h2 {
  font-family: var(--ff-heading);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
@media (min-width: 768px) {
  .brand-banner .brand-banner-content h2 { font-size: 2.25rem; }
  .brand-banners-grid .brand-banner:first-child .brand-banner-content h2 { font-size: 2.75rem; }
}
.brand-banner .brand-banner-content p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 1rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.25);
}
.brand-banner .brand-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s ease;
}
.brand-banner:hover .brand-banner-cta {
  gap: 0.75rem;
}

/* ── Filter Sidebar ────────────────────────── */
.filter-section {
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.filter-section-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.filter-section-title .chevron {
  transition: transform 0.3s ease;
}

.filter-section-title.collapsed .chevron {
  transform: rotate(-90deg);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

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

.filter-chip .remove {
  font-size: 0.9rem;
  line-height: 1;
}

/* ── Price Range Slider (noUiSlider overrides) ─ */
.noUi-target {
  background: var(--light-gray) !important;
  border: none !important;
  box-shadow: none !important;
  height: 4px !important;
}

.noUi-connect {
  background: var(--gold) !important;
}

.noUi-handle {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: var(--gold) !important;
  border: 2px solid var(--white) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
  cursor: pointer;
  top: -7px !important;
  right: -9px !important;
}

.noUi-handle::before,
.noUi-handle::after {
  display: none !important;
}

/* ── Tabs ──────────────────────────────────── */
.tab-nav {
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  gap: 2rem;
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
  padding: 1rem 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.tab-btn.active {
  color: var(--black);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-panel {
  display: none;
  padding: 2rem 0;
}

.tab-panel.active {
  display: block;
}

/* ── Mini Cart Drawer ──────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  z-index: 10000;
  transition: right 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* ── Auth Modal ────────────────────────────── */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 440px;
  max-width: 94vw;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  z-index: 10002;
  padding: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.auth-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--gray-500, #6b7280);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.auth-modal-close:hover {
  color: var(--black);
}

.auth-modal-panel.hidden {
  display: none;
}

/* ── Checkout Steps ────────────────────────── */
.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--dark-gray);
}

.checkout-step .step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.checkout-step.active .step-number {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.checkout-step.completed .step-number {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.checkout-step-line {
  width: 60px;
  height: 2px;
  background: var(--light-gray);
  margin: 0 0.75rem;
}

.checkout-step-line.completed {
  background: var(--gold);
}

/* ── Account Sidebar ───────────────────────── */
.account-sidebar .account-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-gray);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.account-sidebar .account-nav-link:hover {
  color: var(--gold);
  background: var(--off-white);
}

.account-sidebar .account-nav-link.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: var(--off-white);
  font-weight: 600;
}

/* ── Admin Panel ───────────────────────────── */
.admin-sidebar {
  width: var(--admin-sidebar-width);
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  transition: width 0.3s ease;
}

.admin-sidebar.collapsed {
  width: 70px;
}

.admin-sidebar .admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.admin-sidebar .admin-nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.admin-sidebar .admin-nav-link.active {
  color: var(--gold);
  background: rgba(209, 166, 71, 0.1);
  border-left-color: var(--gold);
}

.admin-content {
  margin-left: var(--admin-sidebar-width);
  min-height: 100vh;
  background: var(--off-white);
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  padding: 1.5rem;
}

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

.admin-table th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-gray);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--light-gray);
  text-align: left;
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.85rem;
}

.admin-table tr:hover {
  background: var(--off-white);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.status-badge.processing { background: #FEF3CD; color: #856404; }
.status-badge.shipped { background: #D1ECF1; color: #0C5460; }
.status-badge.delivered { background: #D4EDDA; color: #155724; }
.status-badge.cancelled { background: #F8D7DA; color: #721C24; }
.status-badge.refunded { background: #E2E3E5; color: #383D41; }
.status-badge.pending { background: #FFF3CD; color: #856404; }
.status-badge.approved { background: #D4EDDA; color: #155724; }
.status-badge.rejected { background: #F8D7DA; color: #721C24; }
.status-badge.active { background: #D4EDDA; color: #155724; }
.status-badge.inactive { background: #E2E3E5; color: #383D41; }
.status-badge.in-stock { background: #D4EDDA; color: #155724; }
.status-badge.low-stock { background: #FEF3CD; color: #856404; }
.status-badge.out-of-stock { background: #F8D7DA; color: #721C24; }

/* ── Toast Notification ────────────────────── */
.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--white);
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.toast.show {
  transform: translateX(0);
}

/* ── Newsletter Popup ──────────────────────── */
.newsletter-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.newsletter-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--white);
  z-index: 99999;
  max-width: 500px;
  width: 90%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.newsletter-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* ── Mobile Bottom Nav ─────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 0 0.85rem;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.mobile-bottom-nav.mobile-bottom-nav-hidden {
  transform: translateY(calc(100% + 1rem));
  opacity: 0;
}

.mobile-bottom-nav-shell {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.45rem;
  border: 1px solid rgba(209, 166, 71, 0.22);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(26, 26, 26, 0.18);
  backdrop-filter: blur(18px);
}

@media (max-width: 767px) {
  .mobile-bottom-nav {
    display: block;
  }
  
  body {
    padding-bottom: 96px;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-width: 0;
  flex: 1 1 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-gray);
  text-decoration: none;
  padding: 0.2rem 0.15rem;
  transition: transform 0.22s ease, color 0.22s ease;
}

.mobile-nav-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  background: transparent;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.mobile-nav-label {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-nav-item:hover,
.mobile-nav-item.nav-tapped,
.mobile-nav-item.active {
  color: var(--gold);
}

.mobile-nav-item:hover .mobile-nav-icon-wrap,
.mobile-nav-item.nav-tapped .mobile-nav-icon-wrap,
.mobile-nav-item.active .mobile-nav-icon-wrap {
  background: linear-gradient(180deg, rgba(245, 234, 209, 0.95) 0%, rgba(233, 212, 165, 0.98) 100%);
  box-shadow: 0 12px 24px rgba(209, 166, 71, 0.25);
  transform: translateY(-0.18rem);
}

.mobile-nav-item.active {
  color: var(--gold);
}

.mobile-nav-badge {
  position: absolute;
  top: -0.22rem;
  right: -0.12rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 0.58rem;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.2);
}

/* ── Back to Top ───────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9990;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .back-to-top {
    bottom: 5rem;
  }
}

/* ── Breadcrumbs ───────────────────────────── */
.breadcrumb-item {
  font-size: 0.8rem;
  color: var(--dark-gray);
}

.breadcrumb-item a {
  color: var(--dark-gray);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb-separator {
  color: var(--light-gray);
  margin: 0 0.5rem;
}

/* ── Quantity Stepper ──────────────────────── */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--light-gray);
}

.qty-stepper button {
  width: 36px;
  height: 36px;
  background: var(--off-white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.qty-stepper button:hover {
  background: var(--light-gray);
}

.qty-stepper input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--light-gray);
  border-right: 1px solid var(--light-gray);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* ── Swiper Overrides ──────────────────────── */
.swiper-button-next,
.swiper-button-prev {
  color: var(--gold) !important;
  width: 44px !important;
  height: 44px !important;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem !important;
  font-weight: 700;
}

.swiper-pagination-bullet-active {
  background: var(--gold) !important;
}

/* ── PDP Image Zoom ────────────────────────── */
.pdp-image-container {
  overflow: hidden;
  cursor: zoom-in;
}

.pdp-image-container.zoomed {
  cursor: zoom-out;
}

.pdp-image-container img {
  transition: transform 0.3s ease;
  transform-origin: center center;
}

/* ── Form Styles ───────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: border-color 0.3s ease;
  background: var(--white);
}

.form-input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(209, 166, 71, 0.15);
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.form-checkbox {
  accent-color: var(--gold);
}

/* ── Mobile Off-Canvas ─────────────────────── */
.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  z-index: 10001;
  transition: left 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow-y: auto;
}

.offcanvas-menu.open {
  left: 0;
}

.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* ── Lightbox ──────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

/* ── Shipping Progress Bar ─────────────────── */
.shipping-progress {
  height: 6px;
  background: var(--light-gray);
  border-radius: 3px;
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* ── Accordion ─────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--light-gray);
}

.accordion-trigger {
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  text-align: left;
}

.accordion-trigger .icon {
  transition: transform 0.3s ease;
  color: var(--gold);
}

.accordion-trigger.active .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content.open {
  max-height: 500px;
}

/* ── Variant Pills ─────────────────────────── */
.variant-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--light-gray);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 60px;
}

.variant-pill:hover {
  border-color: var(--gold);
}

.variant-pill.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.variant-pill.sold-out {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ── Responsive Utilities ──────────────────── */
@media (max-width: 767px) {
  .product-info-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .product-info-card {
    padding: 0.85rem 0.9rem;
  }

  .product-info-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  :root {
    --header-height: 70px;
  }

  .logo-text {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
  }

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

  .filter-sidebar-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: var(--white);
    z-index: 10001;
    transition: left 0.4s ease;
    overflow-y: auto;
    padding: 1.5rem;
  }

  .filter-sidebar-mobile.open {
    left: 0;
  }

  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .admin-sidebar.mobile-open {
    transform: translateX(0);
  }

  .admin-content {
    margin-left: 0;
  }
}

/* ── Reduced Motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-text {
    visibility: visible !important;
  }

  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }

  .image-reveal {
    clip-path: none !important;
  }
}

/* ── Print ─────────────────────────────────── */
@media print {
  .site-header,
  .announcement-bar,
  .mobile-bottom-nav,
  .back-to-top,
  .cart-drawer,
  .offcanvas-menu,
  .auth-modal,
  .auth-modal-overlay {
    display: none !important;
  }
}
