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

:root {
  --color-terracotta: #8B3A2B;
  --color-terracotta-dark: #6E2B1F;
  --color-terracotta-light: #A34837;
  --color-charcoal: #1C1B1A;
  --color-charcoal-light: #33312E;
  --color-cream: #FBF9F5;
  --color-cream-dark: #EFE9DE;
  --color-sand: #E5DC CE;
  --color-gold: #C5A059;
  --color-gold-light: #DFBE7A;
  --color-gold-dark: #A3803C;
  --color-sage: #4E5D52;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-garamond: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-charcoal);
}

.font-garamond {
  font-family: var(--font-garamond);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-cream-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-terracotta);
}

/* Luxury Buttons & Badges */
.btn-terracotta {
  background-color: var(--color-terracotta);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--color-terracotta);
  box-shadow: 0 4px 14px rgba(139, 58, 43, 0.25);
}
.btn-terracotta:hover {
  background-color: var(--color-terracotta-dark);
  border-color: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 58, 43, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, #C5A059 0%, #B28D44 100%);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #DFBE7A 0%, #C5A059 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-charcoal);
  border: 1.5px solid var(--color-charcoal);
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-outline:hover {
  background-color: var(--color-charcoal);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Card Transitions & Glassmorphism */
.product-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
  border: 1px solid rgba(229, 220, 206, 0.6);
  border-radius: 12px;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(28, 27, 26, 0.08);
  border-color: var(--color-gold);
}
.product-card .product-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img {
  transform: scale(1.06);
}

/* Heritage Badge */
.heritage-badge {
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--color-gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Trust Pill */
.trust-pill {
  background: #ffffff;
  border: 1px solid var(--color-cream-dark);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}
.trust-pill:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  background: #20BA5A;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: white;
}
.whatsapp-pulse {
  position: relative;
  display: inline-block;
}
.whatsapp-pulse::before {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid white;
}

/* Sticky Mobile Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffffff;
  border-top: 1px solid var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 990;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}

/* Animation utilities */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@media (max-width: 768px) {
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float {
    padding: 14px;
    bottom: 80px;
    right: 16px;
  }
}
