/* ==========================================================================
   FeMe – Ultimate Luxury Closet
   Master Styling System
   ========================================================================== */

:root {
  /* Brand Palette */
  --bg-cream: #F7F3EC;
  --bg-cream-card: #FFFFFF;
  --bg-dark: #1A1A1A;
  --bg-dark-surface: #242424;
  
  --text-dark: #1A1A1A;
  --text-cream: #F7F3EC;
  --text-muted: #6B6862;
  --text-light: #9E9A90;

  --gold-primary: #C9A24B;
  --gold-dark: #B8923D;
  --gold-light: #F4E8CE;
  --gold-muted: #8C7335;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C9A24B 50%, #B8923D 100%);
  --gold-glow: 0 4px 20px rgba(201, 162, 75, 0.25);

  --border-color: rgba(201, 162, 75, 0.25);
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-soft: 0 10px 30px rgba(26, 26, 26, 0.05);
  --shadow-hover: 0 15px 35px rgba(26, 26, 26, 0.12);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Promo Strip */
.promo-strip {
  background-color: var(--bg-dark);
  color: var(--gold-primary);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  text-align: center;
  z-index: 1001;
  transition: var(--transition-normal);
}

.promo-strip .close-promo {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition-fast);
}

.promo-strip .close-promo:hover {
  opacity: 1;
}

/* Sticky Main Header */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(247, 243, 236, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 4px 10px rgba(201, 162, 75, 0.2);
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.brand-logo-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-logo .logo-text {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dark);
  line-height: 1;
}

.brand-logo .logo-text span {
  color: var(--gold-primary);
}

.brand-logo .logo-tagline {
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-weight: 500;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* Responsive: shrink logo on small screens */
@media (max-width: 480px) {
  .brand-logo-img {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
  }
  .brand-logo .logo-text {
    font-size: 1.6rem;
  }
  .brand-logo .logo-tagline {
    font-size: 0.54rem;
    letter-spacing: 1px;
    max-width: 100px;
  }
}

@media (max-width: 360px) {
  .brand-logo .logo-tagline {
    display: none;
  }
}

/* Desktop Nav Links */
.nav-menu {
  display: none; /* hidden on mobile by default */
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
  }
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

/* Header Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background-color: #FFF;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
  background-color: var(--bg-cream);
  color: var(--gold-primary);
  font-weight: 600;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--gold-primary);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

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

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

/* Header Utilities (Search, Cart, Mobile Toggle) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

.icon-btn:hover {
  background-color: rgba(201, 162, 75, 0.12);
  color: var(--gold-primary);
}

.cart-count-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  background-color: var(--gold-primary);
  color: var(--bg-dark);
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile Hamburger Toggle Button */
.mobile-toggle {
  display: flex;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Slide-in Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100%;
  background-color: var(--bg-cream);
  z-index: 1060;
  transform: translateX(100%);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 2rem;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links .nav-link {
  font-size: 1.1rem;
  letter-spacing: 1px;
}

/* Search Bar Overlay Modal */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

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

.search-box-container {
  width: 90%;
  max-width: 650px;
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 1px solid var(--gold-primary);
  position: relative;
}

.search-form {
  display: flex;
  gap: 0.75rem;
}

.search-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: #FFF;
  color: var(--text-dark);
  outline: none;
}

.search-input:focus {
  border-color: var(--gold-primary);
}

.search-submit-btn {
  background: var(--gold-primary);
  color: var(--bg-dark);
  border: none;
  padding: 0 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-submit-btn:hover {
  background: var(--gold-dark);
}

.close-search-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #FFF;
  font-size: 1.75rem;
  cursor: pointer;
}

/* Hero Slider Section */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: clamp(500px, 80vh, 750px);
  overflow: hidden;
  background-color: var(--bg-dark);
}

.hero-slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Slide Gradient Overlay */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.4) 0%,
    rgba(26, 26, 26, 0.65) 60%,
    rgba(26, 26, 26, 0.85) 100%
  );
}

/* Hero Content Card */
.hero-content-card {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 2.5rem;
  text-align: center;
  color: var(--text-cream);
  animation: fadeInUp 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  background: var(--gold-gradient);
  color: var(--bg-dark);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: var(--gold-glow);
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 162, 75, 0.4);
  background: var(--gold-dark);
  color: #FFF;
}

.btn-link-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(244, 232, 206, 0.4);
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}

.btn-link-gold:hover {
  color: #FFF;
  border-color: var(--gold-primary);
  background-color: rgba(201, 162, 75, 0.15);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(26, 26, 26, 0.4);
  color: var(--gold-primary);
  border: 1px solid var(--border-color);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--transition-normal);
}

.slider-arrow:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
}

.slider-arrow.prev {
  left: 1.5rem;
}

.slider-arrow.next {
  right: 1.5rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.75rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--gold-primary);
  cursor: pointer;
  transition: var(--transition-normal);
}

.dot.active {
  width: 32px;
  border-radius: 6px;
  background: var(--gold-primary);
}

/* Section Common Styling */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-muted);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  margin: 0.75rem auto 0 auto;
}

/* "The Curations" Category Section */
.curations-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.25rem;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) transparent;
}

.curations-grid::-webkit-scrollbar {
  height: 4px;
}

.curations-grid::-webkit-scrollbar-thumb {
  background-color: var(--gold-primary);
  border-radius: var(--radius-full);
}

.curations-grid .category-card {
  flex: 0 0 85%;
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .curations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    padding-bottom: 0;
    gap: 1.75rem;
  }

  .curations-grid .category-card {
    flex: initial;
    scroll-snap-align: none;
  }
}

@media (min-width: 1024px) {
  .curations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Category Card */
.category-card {
  position: relative;
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-normal);
  display: block;
  background-color: var(--bg-dark);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.05) 30%,
    rgba(26, 26, 26, 0.7) 75%,
    rgba(26, 26, 26, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #FFF;
}

.category-pill {
  align-self: flex-start;
  background: rgba(201, 162, 75, 0.9);
  color: var(--bg-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  backdrop-filter: blur(4px);
}

.category-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  color: #FFF;
}

.category-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer Section */
.main-footer {
  background-color: var(--bg-dark);
  color: var(--text-cream);
  padding-top: 4.5rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  }
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 1px;
}

.footer-about .brand-logo .logo-text {
  color: #FFF;
}

.footer-about p {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

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

/* Newsletter Form */
.newsletter-form {
  margin-top: 1rem;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--gold-primary);
}

.newsletter-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--gold-gradient);
  color: var(--bg-dark);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
}

.newsletter-btn:hover {
  background: var(--gold-dark);
  color: #FFF;
}

.newsletter-msg {
  font-size: 0.82rem;
  margin-top: 0.75rem;
}

.newsletter-msg.success {
  color: #52c41a;
}

.newsletter-msg.error {
  color: #ff4d4f;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   New Sections (New Arrivals, Heritage Offer Banner, About Teaser)
   ========================================================================== */

/* 1. New Arrivals Section */
.new-arrivals-section {
  background-color: var(--bg-cream);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-top: 1px solid var(--border-color);
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header-left .section-title-sm {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 1px;
}

.section-header-left .section-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.view-all-link {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.view-all-link:hover {
  color: var(--gold-dark);
  transform: translateX(4px);
}

/* New Arrivals Grid Layout */
.new-arrivals-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.smaller-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .smaller-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .new-arrivals-layout {
    grid-template-columns: 1.1fr 1.4fr;
    gap: 2rem;
  }
}

/* Featured Product Card */
.featured-product-card {
  position: relative;
  background-color: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 480px;
  transition: var(--transition-normal);
  border: 1px solid rgba(201, 162, 75, 0.15);
}

.featured-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-primary);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-product-card:hover .product-img-wrapper img,
.smaller-product-card:hover .product-img-wrapper img {
  transform: scale(1.05);
}

.badge-gold {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  background: var(--gold-gradient);
  color: var(--bg-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background-color: #FFF;
}

.product-category-tag {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-price-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.price-current {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
}

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

/* Smaller Product Card */
.smaller-product-card {
  background-color: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  border: 1px solid rgba(201, 162, 75, 0.12);
}

.smaller-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-primary);
}

.smaller-product-card .product-img-wrapper {
  height: 220px;
}

.smaller-product-card .product-title {
  font-size: 1.05rem;
}

/* 2. Heritage / Limited Offer Banner Section */
.offer-banner-section {
  background-color: var(--bg-dark);
  color: var(--text-cream);
  padding: 0;
  overflow: hidden;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.offer-image-panel {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1024px) {
  .offer-image-panel {
    min-height: 520px;
  }
}

.offer-content-panel {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #1F1F1F 0%, #151515 100%);
  border-left: 1px solid var(--border-dark);
}

.offer-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.offer-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FFF;
  margin-bottom: 1rem;
}

.offer-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 520px;
}

/* Countdown Timer Styling */
.timer-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-color);
  width: 75px;
  height: 75px;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.timer-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
}

.timer-label {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

.timer-colon {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold-primary);
  font-weight: 600;
}

/* 3. About FeMe Teaser Strip */
.about-teaser-strip {
  background-color: var(--bg-cream);
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.about-teaser-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-teaser-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.about-teaser-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   ===== Category Page =====
   ========================================================================== */

.category-banner-strip {
  background-size: cover;
  background-position: center;
  padding: 4.5rem 0;
  color: #FFF;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.category-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
}

.category-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin: 0.5rem 0;
  letter-spacing: 1px;
}

.category-banner-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.mobile-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
}

@media (min-width: 1024px) {
  .mobile-filter-btn {
    display: none;
  }
}

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

.sort-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #FFF;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-dark);
  outline: none;
}

/* Catalog Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 260px 1fr;
  }
}

/* Sidebar Filters */
.catalog-sidebar {
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: fit-content;
}

@media (max-width: 1023px) {
  .catalog-sidebar {
    position: fixed;
    inset: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 1050;
    overflow-y: auto;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: var(--transition-normal);
  }

  .catalog-sidebar.active {
    transform: translateY(0);
  }
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-header h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-dark);
}

.close-sidebar-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

@media (min-width: 1024px) {
  .close-sidebar-btn {
    display: none;
  }
}

.filter-group {
  margin-bottom: 1.75rem;
}

.filter-title {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.85rem;
}

.sidebar-cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-cat-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  padding: 0.25rem 0;
}

.sidebar-cat-list a:hover,
.sidebar-cat-list a.active {
  color: var(--gold-primary);
  font-weight: 600;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-input, .filter-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.reset-filter-btn {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: underline;
}

/* Product Grid (Responsive: 4 Desktop, 3 Tablet, 2 Mobile) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Catalog Product Card */
.catalog-product-card {
  background: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 162, 75, 0.12);
  transition: var(--transition-normal);
}

.catalog-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-primary);
}

.catalog-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--bg-dark);
}

.catalog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.catalog-img-wrapper .hover-prod-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.catalog-product-card:hover .hover-prod-img {
  opacity: 1;
}

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

.quick-add-btn {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  background: rgba(201, 162, 75, 0.95);
  color: var(--bg-dark);
  border: none;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-normal);
  transform: translateY(120%);
  opacity: 0;
}

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

.quick-add-btn:hover {
  background: var(--gold-dark);
  color: #FFF;
}

.catalog-card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.catalog-product-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0.35rem 0;
}

.catalog-product-title a:hover {
  color: var(--gold-primary);
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.page-link:hover, .page-link.active {
  background: var(--gold-primary);
  color: var(--bg-dark);
  border-color: var(--gold-primary);
}

.empty-catalog-state {
  text-align: center;
  padding: 4rem 1rem;
  background: #FFF;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
}

/* ==========================================================================
   ===== Product Page =====
   ========================================================================== */

.breadcrumb-trail {
  font-size: 0.84rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

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

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .product-detail-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Gallery */
.main-image-box {
  width: 100%;
  height: clamp(400px, 60vh, 600px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-dark);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(201, 162, 75, 0.2);
  position: relative;
  cursor: zoom-in;
}

.main-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.main-image-box:hover img {
  transform: scale(1.02);
}

.gallery-zoom-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold-primary);
  border: 1px solid rgba(201, 162, 75, 0.5);
  padding: 7px 14px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  opacity: 0.85;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.main-image-box:hover .gallery-zoom-badge {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(18, 18, 18, 0.95);
  border-color: var(--gold-primary);
}

.btn-fullscreen-gallery-trigger {
  width: 100%;
  margin-top: 0.85rem;
  padding: 8px 14px;
  background: #FFF;
  border: 1.5px dashed rgba(201, 162, 75, 0.6);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-fullscreen-gallery-trigger:hover {
  background: #fdfbf7;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  box-shadow: 0 2px 8px rgba(201, 162, 75, 0.2);
}

.thumbnail-strip {
  display: flex;
  gap: 0.85rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.thumb-box {
  width: 80px;
  height: 95px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: var(--transition-fast);
  flex-shrink: 0;
  position: relative;
  background: #1a1a1a;
}

.thumb-box.active, .thumb-box:hover {
  border-color: var(--gold-primary);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.25);
  transform: translateY(-1px);
}

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

.thumb-color-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 18, 18, 0.85);
  color: #FFF;
  font-size: 0.62rem;
  text-align: center;
  padding: 1px 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.btn-show-all-photos {
  margin-top: 0.85rem;
  padding: 8px 12px;
  background: #FAF9F6;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-show-all-photos:hover, .btn-show-all-photos.active {
  background: #FFF;
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 2px 8px rgba(201, 162, 75, 0.2);
}

.lightbox-color-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow-x: auto;
  max-width: 45vw;
}

.lb-color-tab {
  background: transparent;
  border: none;
  color: #DDD;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lb-color-tab:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.15);
}

.lb-color-tab.active {
  background: var(--gold-primary);
  color: #111;
  font-weight: 700;
}

.lb-tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* ==========================================================================
   Full Gallery Lightbox Modal
   ========================================================================== */
.gallery-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
}

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

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem;
  background: rgba(20, 20, 20, 0.7);
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
  color: #FFF;
  flex-shrink: 0;
  gap: 1rem;
}

.lightbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lightbox-brand-tag {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 1px;
}

.lightbox-prod-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #DDD;
}

.lightbox-color-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(201, 162, 75, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
}

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: #BBB;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.lightbox-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-btn:hover {
  background: var(--gold-primary);
  color: #111;
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.lightbox-btn.close {
  background: #ff4d4f;
  border-color: #ff4d4f;
  color: #FFF;
  font-size: 1.1rem;
}

.lightbox-btn.close:hover {
  background: #d9363e;
  transform: scale(1.05);
}

.lightbox-main-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: grab;
}

.lightbox-img-wrapper.zoomed {
  cursor: grab;
}

.lightbox-img-wrapper.dragging {
  cursor: grabbing;
  transition: none;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(201, 162, 75, 0.3);
  transition: opacity 0.25s ease;
}

.lightbox-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(20, 20, 20, 0.6);
  border: 1.5px solid rgba(201, 162, 75, 0.5);
  color: var(--gold-primary);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-nav-arrow.prev {
  left: 24px;
}

.lightbox-nav-arrow.next {
  right: 24px;
}

.lightbox-nav-arrow:hover {
  background: var(--gold-primary);
  color: #111;
  border-color: var(--gold-primary);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-bottom-strip {
  background: rgba(18, 18, 18, 0.85);
  border-top: 1px solid rgba(201, 162, 75, 0.2);
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  flex-shrink: 0;
}

.lightbox-thumb-item {
  width: 65px;
  height: 75px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
  background: #000;
}

.lightbox-thumb-item.active, .lightbox-thumb-item:hover {
  opacity: 1;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.35);
}

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

.lightbox-thumb-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #FFF;
  font-size: 0.58rem;
  text-align: center;
  padding: 1px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Info Panel */
.product-info-panel {
  display: flex;
  flex-direction: column;
}

.product-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin: 0.5rem 0 1.25rem 0;
}

.product-price-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

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

.product-spec-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}

.spec-label {
  font-weight: 600;
  color: var(--text-dark);
}

.stock-status.in-stock {
  color: #2e7d32;
  font-weight: 600;
}

.stock-status.out-of-stock {
  color: #d32f2f;
  font-weight: 600;
}

.product-description-box {
  margin: 1.5rem 0 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.product-description-box h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.product-description-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Quantity Selector & Action Buttons */
.quantity-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.qty-label {
  font-size: 0.9rem;
  font-weight: 600;
}

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

.qty-btn {
  background: none;
  border: none;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--bg-cream);
  color: var(--gold-primary);
}

.quantity-input-group input {
  width: 45px;
  border: none;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  outline: none;
}

.action-buttons-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-add-cart, .btn-buy-now {
  flex: 1;
  min-width: 180px;
  padding: 1.1rem 1.5rem;
}

.form-feedback-msg {
  font-size: 0.88rem;
  margin-top: 1rem;
  font-weight: 500;
}

.form-feedback-msg.success {
  color: #2e7d32;
}

.form-feedback-msg.error {
  color: #d32f2f;
}

/* Related Products Horizontal Scroll on Mobile */
.related-products-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 767px) {
  .related-products-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }

  .related-products-strip .smaller-product-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
}

@media (min-width: 1024px) {
  .related-products-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

/* ==========================================================================
   ===== Authentication Pages (Login / Register) =====
   ========================================================================== */

.auth-section {
  background-color: var(--bg-cream);
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card-container {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.auth-card {
  background-color: #FFF;
  border-radius: var(--radius-md);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-color);
  position: relative;
}

.auth-brand-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-brand-header .brand-logo {
  align-items: center;
  margin-bottom: 1.25rem;
}

.auth-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

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

.auth-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-alert.error {
  background-color: #fff2f0;
  border: 1px solid #ffccc7;
  color: #ff4d4f;
}

.auth-alert.success {
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #52c41a;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: #FFF;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.15);
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1;
  min-width: 140px;
}

.auth-submit-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--gold-primary);
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ===== Shopping Cart Page =====
   ========================================================================== */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr 360px;
    gap: 3rem;
  }
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

.cart-table th, .cart-table td {
  padding: 1.25rem;
  text-align: left;
  vertical-align: middle;
}

.cart-table th {
  background: var(--bg-cream);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.cart-table tr {
  border-bottom: 1px solid rgba(201, 162, 75, 0.15);
}

.cart-product-thumb {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cart-product-thumb img {
  width: 70px;
  height: 85px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-dark);
}

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2px;
}

.remove-cart-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.remove-cart-btn:hover {
  color: #ff4d4f;
}

/* Mobile Stacked Cart Cards */
.mobile-cart-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .mobile-cart-list {
    display: none;
  }
}

@media (max-width: 767px) {
  .desktop-cart-table {
    display: none;
  }
}

.mobile-cart-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.mobile-card-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mobile-card-img {
  width: 70px;
  height: 85px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.mobile-card-details {
  flex: 1;
}

.mobile-card-price {
  font-weight: 600;
  margin-top: 4px;
}

.mobile-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 162, 75, 0.15);
}

/* Cart Summary Card */
.summary-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  height: fit-content;
}

.summary-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.grand-total-row {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 0;
}

.summary-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1rem 0;
}

.free-shipping-note {
  font-size: 0.78rem;
  color: #2e7d32;
  font-weight: 600;
}

.summary-guarantee {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 162, 75, 0.15);
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
}

/* ==========================================================================
   ===== Checkout Page =====
   ========================================================================== */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
    gap: 3rem;
  }
}

.checkout-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.checkout-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-radio-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--bg-cream);
  transition: var(--transition-fast);
}

.payment-radio-option:hover {
  border-color: var(--gold-primary);
}

.payment-radio-option input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--gold-primary);
}

.radio-content {
  display: flex;
  flex-direction: column;
}

.payment-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.payment-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkout-item-img {
  width: 55px;
  height: 65px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.checkout-item-info {
  flex: 1;
}

.checkout-item-title {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.checkout-item-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkout-item-total {
  font-weight: 600;
  font-size: 0.92rem;
}

/* ==========================================================================
   ===== Order Confirmation Page =====
   ========================================================================== */

.confirmation-card {
  max-width: 750px;
  margin: 0 auto;
  background: #FFF;
  border-radius: var(--radius-md);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--gold-primary);
  box-shadow: var(--shadow-hover);
  text-align: center;
}

.confirmation-icon {
  font-size: 4rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.confirmation-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.confirmation-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.confirmation-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .confirmation-details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.details-box {
  background: var(--bg-cream);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.details-box h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.details-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.confirmation-items-box {
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  margin-bottom: 2.5rem;
}

.confirmation-items-box h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   ===== About & Brand Story Page =====
   ========================================================================== */

.story-section {
  padding: 4rem 0;
}

.story-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

@media (min-width: 1024px) {
  .story-block {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.story-image-box {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-color);
}

.story-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-block:hover .story-image-box img {
  transform: scale(1.04);
}

@media (min-width: 1024px) {
  .story-block.reverse-block .story-image-box {
    order: 1;
  }
  .story-block.reverse-block .story-content {
    order: 2;
  }
}

.story-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0.75rem 0 1rem 0;
  line-height: 1.2;
}

.story-paragraph {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ==========================================================================
   ===== Contact Page =====
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.contact-form-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.info-card {
  background: #FFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

.info-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.info-item i {
  color: var(--gold-primary);
  font-size: 1.25rem;
  margin-top: 3px;
}

.info-item strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.info-item p {
  color: var(--text-muted);
  line-height: 1.5;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
}

/* Scroll Fade-in Animation Classes */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

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

/* Product Action Buttons & Buy Now */
.action-buttons-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.action-buttons-group .btn-gold,
.action-buttons-group .btn-buy-now {
  flex: 1;
  min-width: 180px;
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Buy Now Luxury Button Styling */
.btn-buy-now {
  background-color: var(--bg-dark) !important;
  color: var(--gold-primary) !important;
  border: 1.5px solid var(--gold-primary) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-buy-now:hover {
  background: var(--gold-gradient) !important;
  color: var(--bg-dark) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(201, 162, 75, 0.35);
  transform: translateY(-2px);
}

.btn-buy-now:disabled, .btn-add-cart:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   Product Sizes & Interactive Size Guide System
   ========================================================================== */
.product-size-section {
  margin: 1.25rem 0;
  padding: 1.2rem;
  background: rgba(201, 162, 75, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

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

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

.btn-size-guide {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
}

.btn-size-guide:hover {
  color: var(--gold-dark);
  transform: translateY(-1px);
}

.size-buttons-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-pill-btn {
  min-width: 46px;
  height: 42px;
  padding: 0 14px;
  background: #FFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.size-pill-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(201, 162, 75, 0.15);
}

.size-pill-btn.active {
  background: var(--bg-dark);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.25);
  transform: scale(1.04);
}

/* Product Color Variants Selector */
.product-color-section {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.color-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.color-swatches-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.color-swatch-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(201, 162, 75, 0.15);
}

.color-swatch-btn.active {
  background: #fdfbf7;
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.25);
  transform: scale(1.03);
}

.color-swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.15);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.color-swatch-btn.active .color-swatch-dot {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px rgba(201, 162, 75, 0.4);
}

/* Catalog Card Sizes Strip */
.catalog-sizes-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0.5rem 0 0.25rem 0;
  flex-wrap: wrap;
}

.size-hint-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.size-chips-list {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}

.size-chip-tag {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(247, 243, 236, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1;
}

/* Luxury Size Guide Modal */
.size-guide-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.size-guide-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.size-guide-modal-card {
  background: #FFF;
  border-radius: 10px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(201, 162, 75, 0.3);
  transform: translateY(20px) scale(0.98);
  transition: all 0.3s ease;
}

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

.size-guide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.size-guide-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.size-guide-close:hover {
  color: #ff4d4f;
}

.size-chart-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.size-chart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.size-chart-table th {
  background: #faf9f6;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  border-bottom: 2px solid var(--border-color);
}

.size-chart-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--text-dark);
}

.size-chart-table tbody tr:hover {
  background: rgba(201, 162, 75, 0.05);
}

/* ==========================================================================
   Product Barcode, QR Code & Share Card Styles
   ========================================================================== */

.product-barcode-share-card {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(201, 162, 75, 0.08);
  transition: var(--transition-normal);
}

.product-barcode-share-card:hover {
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.14);
}

.barcode-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.barcode-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.barcode-badge-sku {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: #fdfbf7;
  border: 1px solid #dcd1be;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: monospace;
  font-weight: 700;
  color: var(--gold-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.barcode-badge-sku:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: #fff;
}

.barcode-visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #faf8f5;
  border: 1px dashed #dcd1be;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 12px;
}

.barcode-svg-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.barcode-svg-wrap svg {
  max-width: 100%;
  height: auto;
}

.barcode-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #fff;
  padding: 6px;
  border: 1px solid #dcd1be;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.barcode-qr-wrap:hover {
  transform: scale(1.04);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(201, 162, 75, 0.2);
}

.barcode-qr-wrap img, .barcode-qr-wrap canvas {
  width: 68px !important;
  height: 68px !important;
  display: block;
}

.qr-scan-hint {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Barcode Action Buttons */
.barcode-actions-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 580px) {
  .barcode-actions-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-barcode-action {
  padding: 8px 6px;
  background: #fff;
  border: 1px solid #dcd1be;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-barcode-action:hover {
  border-color: var(--gold-primary);
  background: #fdfbf7;
  color: var(--gold-primary);
  transform: translateY(-1px);
}

.btn-barcode-action.btn-wa {
  color: #25d366;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.btn-barcode-action.btn-wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn-barcode-action.btn-tag {
  color: #1a1a1a;
  background: #f4e8ce;
  border-color: #c9a24b;
}

.btn-barcode-action.btn-tag:hover {
  background: #c9a24b;
  color: #fff;
}

/* Product QR Modal */
.qr-share-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.qr-share-modal {
  background: #fff;
  border-radius: var(--radius-md);
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  animation: modalScaleUp 0.25s ease;
}

@keyframes modalScaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

.qr-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.qr-modal-close:hover {
  color: #cf1322;
}

.qr-modal-body {
  padding: 1.25rem;
  display: flex;
  justify-content: center;
}

.luxury-tag-card {
  width: 100%;
  border: 2px solid var(--gold-primary);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  background: #fdfbf7;
}

.tag-brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 2px;
}

.tag-subbrand {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.tag-prod-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.tag-prod-cat {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-qr-large {
  display: flex;
  justify-content: center;
  margin: 0 auto 8px;
}

.tag-qr-large img, .tag-qr-large canvas {
  width: 130px !important;
  height: 130px !important;
  border: 1px solid #dcd1be;
  padding: 4px;
  background: #fff;
  border-radius: 6px;
}

.tag-scan-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.tag-price-row {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 8px;
  border-top: 1px dashed #dcd1be;
  border-bottom: 1px dashed #dcd1be;
  padding: 6px 0;
}

.tag-barcode-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
  overflow: hidden;
}

.tag-barcode-wrap svg {
  max-width: 100%;
  height: auto;
}

.tag-sku-code {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #333;
}

.qr-modal-actions {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  gap: 10px;
}

/* Floating Toast Notification */
.product-toast-msg {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #1a1a1a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.product-toast-msg.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.product-toast-msg i {
  color: #52c41a;
}






