/* Google Fonts are now loaded via <link rel="preconnect"> + <link rel="stylesheet">
   in each page's <head> instead of @import, so the browser can fetch fonts in
   parallel with this stylesheet rather than waiting for it to load first. */

/* =========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================= */
.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}
.font-sans {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
.font-script {
  font-family: 'Great Vibes', cursive;
}
.font-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* =========================================================================
   LUXURY MUGHAL ARCH CARDS (Taller & Refined)
   ========================================================================= */
.arch-card-luxury {
  border-radius: 140px 140px 12px 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -4px rgba(122, 31, 43, 0.08);
}
.arch-card-luxury:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px -10px rgba(122, 31, 43, 0.22);
}
.arch-card-luxury img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.arch-card-luxury:hover img {
  transform: scale(1.08);
}

/* =========================================================================
   EDITORIAL PRODUCT CARD & DUAL-IMAGE HOVER SWAP
   ========================================================================= */
.luxury-product-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.luxury-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -8px rgba(43, 43, 43, 0.12);
}

/* Container for cross-fade hover swap */
.product-image-swap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.1;
  background-color: #F7F3EC;
}

.product-image-swap .img-primary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.product-image-swap .img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  transform: scale(1.03);
}

.luxury-product-card:hover .product-image-swap .img-primary {
  opacity: 0;
}
.luxury-product-card:hover .product-image-swap .img-hover {
  opacity: 1;
  transform: scale(1.06);
}

/* Slide-up Quick View Button on Card Hover */
.quick-view-bar {
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}
.luxury-product-card:hover .quick-view-bar {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================================================
   GOLD GRADIENTS & FOIL ACCENTS
   ========================================================================= */
.gold-foil-text {
  background: linear-gradient(135deg, #D4A437 0%, #F5D77F 45%, #B58724 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gold-foil-border {
  border-color: rgba(212, 164, 55, 0.45);
}
.gold-subtle-glow {
  box-shadow: 0 0 30px rgba(212, 164, 55, 0.18);
}

/* =========================================================================
   COLLECTION EDITORIAL BANNERS
   ========================================================================= */
.editorial-collection-banner {
  overflow: hidden;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.editorial-collection-banner img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.editorial-collection-banner:hover img {
  transform: scale(1.06);
}

/* =========================================================================
   SCROLLBAR & GENERAL POLISH
   ========================================================================= */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
  background: #D4A437;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7A1F2B;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth Fade In */
@keyframes luxuryFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-luxury-fade-in {
  animation: luxuryFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Floating WhatsApp Pulse */
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}
.whatsapp-pulse {
  animation: pulse-wa 2s infinite;
}
