/* SaraToms Luxury Warm Ivory & Gold Signature Palette
   Primary Background : Warm Ivory (#F8F5EF)
   Luxury Accent      : Champagne Gold (#D4AF6A)
   Primary Text       : Deep Charcoal (#201E1A)
   Secondary Surface  : Soft Champagne (#E9DFCF)
   Buttons & Highlights: Antique Gold (#B58A45)
*/
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary-bg: #F8F5EF;       /* Warm Ivory */
  --secondary-bg: #E9DFCF;     /* Soft Champagne */
  --primary-text: #201E1A;     /* Deep Charcoal */
  --luxury-accent: #D4AF6A;    /* Champagne Gold */
  --button-gold: #B58A45;      /* Antique Gold */
  --button-gold-hover: #9E773A;

  /* Backward compatibility aliases */
  --espresso: #F8F5EF;
  --espresso-card: #E9DFCF;
  --espresso-border: #D4AF6A;
  
  --cream: #201E1A;
  --cream-dark: #201E1A;
  
  --soft-gold: #B58A45;
  --soft-gold-hover: #9E773A;
  --soft-gold-glow: rgba(181, 138, 69, 0.3);
  
  --sand: #D4AF6A;
  --sand-dark: #B58A45;

  --obsidian: var(--espresso);
  --obsidian-card: var(--espresso-card);
  --obsidian-border: var(--espresso-border);
  --warm-ivory: #F8F5EF;
  --warm-ivory-dark: #E9DFCF;
  --champagne-gold: #D4AF6A;
  --champagne-gold-hover: #C5A05B;
  --champagne-gold-glow: rgba(212, 175, 106, 0.35);
  --muted-taupe: #201E1A;
  --muted-taupe-dark: #B58A45;

  --font-serif: 'Cormorant Garamond', 'Cinzel', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--primary-bg);
  color: var(--primary-text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--button-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--luxury-accent);
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}
.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}
.font-sans {
  font-family: var(--font-sans);
}

/* Gold Shimmer Effect */
@keyframes goldShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.gold-shimmer {
  background: linear-gradient(90deg, #B58A45 0%, #D4AF6A 25%, #B58A45 50%, #9E773A 75%, #B58A45 100%);
  background-size: 200% auto;
  color: #201E1A;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
}

.gold-text {
  background: linear-gradient(135deg, #D4AF6A 0%, #B58A45 50%, #9E773A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Patterns */
.dot-pattern {
  background-image: radial-gradient(rgba(181, 138, 69, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
}

.grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(212, 175, 106, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 106, 0.12) 1px, transparent 1px);
}

/* Buttons */
.btn-gold {
  background: linear-gradient(135deg, #D4AF6A 0%, #B58A45 100%);
  color: #F8F5EF;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #E2C284 0%, #C49851 100%);
  box-shadow: 0 4px 20px rgba(181, 138, 69, 0.35);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: #B58A45;
  border: 2px solid #B58A45;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-outline-gold:hover {
  background: #B58A45;
  color: #F8F5EF;
}

/* Variant Selector Pills */
.size-btn {
  padding: 0.4rem 0.9rem;
  border: 1px solid #D4AF6A;
  background: #F8F5EF;
  color: #201E1A;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-btn.active {
  border-color: #B58A45;
  background: #B58A45;
  color: #F8F5EF;
}

/* --- Cool Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Delays for Grids */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Badge Gold Styling */
.badge-gold {
  background: rgba(181, 138, 69, 0.15);
  border: 1px solid rgba(181, 138, 69, 0.4);
  color: #B58A45;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Glassmorphism Card Element */
.glass-card {
  background: rgba(233, 223, 207, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 106, 0.3);
}

/* Product Card Hover Parallax */
.product-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(181, 138, 69, 0.18);
}

/* Infinite Marquee Scroll Animations for Customer Reviews */
@keyframes marqueeLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

.animate-marquee-left {
  display: flex;
  width: max-content;
  animation: marqueeLeft 35s linear infinite;
}

.animate-marquee-right {
  display: flex;
  width: max-content;
  animation: marqueeRight 35s linear infinite;
}

.animate-marquee-left:hover,
.animate-marquee-right:hover {
  animation-play-state: paused;
}

/* Responsive Scrollbar & Mobile Screen Utilities */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile Screen Responsive Touch Adjustments */
@media (max-width: 640px) {
  .modal-responsive {
    max-height: 92vh !important;
    overflow-y: auto !important;
    padding: 1rem !important;
    margin: 0.5rem !important;
    border-radius: 0.5rem !important;
  }

  .animate-marquee-left {
    animation-duration: 25s;
  }
  .animate-marquee-right {
    animation-duration: 25s;
  }
}
