/* ============================================================================
   LUMIBABY LUXURY BOUTIQUE - DESIGN SYSTEM
   Palette: Metallic Gold, Deep Charcoal, and Silk Cream (Soft Modern)
   Design System Reference: Luminous Boutique (luminous_boutique/DESIGN.md)
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Manrope:wght@200;300;400;500;600;700;800&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
  /* Brand Primary: Vibrant Luminous Golden-Yellow */
  --primary: #E5A924;
  --primary-container: #F2BA36;
  --primary-fixed-dim: #FFE072;
  --primary-fixed: #FFF0A8;
  --primary-dark: #A37200;
  --on-primary: #121212;
  --on-primary-container: #121212;

  /* Surfaces & Backgrounds */
  --surface: #fbf9f9;
  --surface-bright: #fbf9f9;
  --surface-dim: #dbdad9;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f5f3f3;
  --surface-container: #efeded;
  --surface-container-high: #e9e8e7;
  --surface-container-highest: #e3e2e2;

  /* Text & On-Surfaces */
  --on-surface: #1b1c1c;
  --on-surface-variant: #4e4639;
  --on-background: #1b1c1c;

  /* Inverse / Dark Sections (Charcoal) */
  --inverse-surface: #121212;
  --inverse-on-surface: #f2f0f0;
  --inverse-primary: #FFE072;

  /* Outlines & Borders */
  --outline: #947a3e;
  --outline-variant: #e0d1ab;
  --gold-border: rgba(242, 186, 54, 0.45);
  --gold-glow: rgba(242, 186, 54, 0.3);

  /* Gradients */
  --gold-metallic: linear-gradient(135deg, #FFDF73 0%, #F5C542 35%, #E5A924 70%, #FFF2B3 100%);
  --gold-shimmer: linear-gradient(90deg, transparent, rgba(255, 224, 114, 0.4), transparent);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-headline: 'Libre Caslon Text', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--on-surface);
  overflow-x: hidden;
}

/* Material symbols rendering */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #1b1c1c;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-container);
}

/* Metallic Text & Border Utilities */
.gold-text-gradient {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-border {
  border: 1px solid var(--gold-border);
}

.gold-border-solid {
  border: 1px solid var(--primary-container);
}

/* Halo Glow Animation */
.luminous-glow {
  box-shadow: 0 0 25px rgba(242, 186, 54, 0.16);
  transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.luminous-glow:hover {
  box-shadow: 0 8px 35px rgba(242, 186, 54, 0.35);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Buttons - Modern Luxury Aesthetic */
.btn-gold-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F2BA36 0%, #E5A924 55%, #C9901A 100%);
  color: #121212;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 2.25rem;
  border-radius: 9999px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(229, 169, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border: 1px solid rgba(255, 240, 165, 0.4);
}

/* Destello / Shimmer sutil al pasar el cursor */
.btn-gold-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: none;
  pointer-events: none;
}

.btn-gold-primary:hover {
  background: linear-gradient(135deg, #FFE072 0%, #F2BA36 50%, #D49B20 100%);
  color: #000000;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px -4px rgba(229, 169, 36, 0.55), 0 0 16px rgba(255, 224, 114, 0.4);
}

.btn-gold-primary:hover::after {
  left: 140%;
  transition: all 0.75s ease-out;
}

.btn-gold-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 3px 10px rgba(229, 169, 36, 0.4);
}

.btn-outline-gold {
  position: relative;
  overflow: hidden;
  background: rgba(229, 169, 36, 0.04);
  color: #A37200;
  border: 1.5px solid #E5A924;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 2.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(229, 169, 36, 0.12);
}

.btn-outline-gold:hover {
  background: linear-gradient(135deg, #F2BA36 0%, #E5A924 100%);
  color: #121212 !important;
  border-color: #F2BA36;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(229, 169, 36, 0.45);
}

.btn-outline-gold:active {
  transform: translateY(0) scale(0.97);
}

/* Stationery Bottom-Border Input Style */
.input-stationery {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--outline-variant);
  color: var(--on-surface);
  padding: 0.75rem 0.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0;
}

.input-stationery:focus {
  outline: none;
  border-bottom-color: var(--primary);
  box-shadow: 0 1px 0 var(--primary);
}

.input-boutique-light {
  background: #ffffff;
  border: 1.5px solid rgba(229, 169, 36, 0.3);
  color: var(--on-surface);
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.825rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.input-boutique-light:focus {
  outline: none;
  border-color: #E5A924;
  box-shadow: 0 0 0 3px rgba(242, 186, 54, 0.25);
  background: #ffffff;
}

/* Celestial Divider */
.celestial-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  color: var(--primary-container);
}

.celestial-divider::before,
.celestial-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

/* Animations */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.98) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-fade-scale {
  animation: fadeInScale 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Category Filter Modern Pills */
.category-pill-active {
  background: linear-gradient(135deg, #F2BA36 0%, #E5A924 100%) !important;
  color: #121212 !important;
  border: 1px solid #FFE072 !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 16px rgba(229, 169, 36, 0.35) !important;
  transform: translateY(-1px) scale(1.03);
  font-weight: 700;
}

.category-pill-inactive {
  background-color: #ffffff;
  color: #4a4a4a;
  border: 1px solid rgba(229, 169, 36, 0.3);
  border-radius: 9999px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-pill-inactive:hover {
  border-color: #E5A924;
  color: #A37200;
  background-color: rgba(242, 186, 54, 0.08);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 14px rgba(229, 169, 36, 0.2);
}

/* Header & Nav Link Micro-interactions */
.nav-gold-link {
  position: relative;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-gold-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-fixed-dim);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mobile Nav Drawer & Filter Sheet Enhancements */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#mobile-menu {
  position: relative !important;
  z-index: 50 !important;
  background-color: #121212 !important;
  -webkit-overflow-scrolling: touch;
}

#mobile-menu-backdrop {
  position: fixed !important;
  inset: 0 !important;
  top: 5rem !important;
  z-index: 40 !important;
  background-color: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

#mobile-menu a, #mobile-menu button {
  min-height: 44px;
}

#filter-modal-sheet {
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
}

.modal-cat-btn {
  min-height: 48px;
  cursor: pointer;
}

