@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Alkatra:wght@400..700&family=Cinzel:wght@600;700;800&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Great+Vibes&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-canvas: #050714;
  --bg-navy-deep: #0A091E;
  --bg-navy-card: #0F112E;
  --bg-navy-card-hover: #161942;
  --primary-violet: #7C3AED;
  --primary-violet-light: #A855F7;
  --secondary-gold: #F59E0B;
  --secondary-gold-light: #FDE047;
  --accent-emerald: #10B981;
}

html, body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-canvas);
  color: #F8FAFC;
  overflow-x: clip !important;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body.overflow-hidden, html.overflow-hidden {
  overflow: hidden !important;
  touch-action: none;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.font-alkatra {
  font-family: "Alkatra", system-ui, sans-serif !important;
  font-optical-sizing: auto !important;
  font-style: normal !important;
}

.font-cinzel {
  font-family: 'Cinzel', serif !important;
}

.font-editorial {
  font-family: 'Cormorant Garamond', serif !important;
}

.font-cursive {
  font-family: 'Great Vibes', 'Alex Brush', cursive !important;
}

/* ==========================================================
   PRODUCT CARDS & CLAYMORPHIC SURFACES
   ========================================================== */

/* Universal Scroll Reveal Disabled - Elements 100% visible immediately */
.scroll-reveal, .reveal-card {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  visibility: visible !important;
}
.scroll-reveal.revealed, .reveal-card.is-visible {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Modern Regal Card Surface - Organic Curvy Contour & High Performance GPU Layer */
.clay-card {
  background: linear-gradient(160deg, rgba(15, 17, 46, 0.95) 0%, rgba(8, 10, 31, 0.98) 100%);
  border-radius: 28px 18px 28px 18px;
  border: 1.5px solid rgba(168, 85, 247, 0.38);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

.clay-card:hover {
  background: linear-gradient(160deg, rgba(22, 26, 68, 0.97) 0%, rgba(13, 15, 48, 0.99) 100%);
  border-color: rgba(245, 158, 11, 0.65);
  border-radius: 18px 28px 18px 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75), 0 0 16px rgba(168, 85, 247, 0.3);
}

/* Curvy Line Border SVG Overlay Animation */
.curvy-card-border-svg {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.3));
}

.clay-card:hover .curvy-card-border-svg {
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.5));
  stroke-dashoffset: -12;
}

/* Subtle Corner Zari Filigree Accent & Curvy Frame */
.indian-zari-frame {
  position: absolute;
  inset: 6px;
  border-radius: 22px 14px 22px 14px;
  border: 1.5px dashed rgba(245, 158, 11, 0.3);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.clay-card:hover .indian-zari-frame {
  border-color: rgba(245, 158, 11, 0.75);
  border-radius: 14px 22px 14px 22px;
  inset: 5px;
}

.indian-corner {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.clay-card:hover .indian-corner {
  opacity: 1;
  transform: scale(1.1);
}

.indian-corner-tl { top: 6px; left: 6px; }
.indian-corner-tr { top: 6px; right: 6px; }
.indian-corner-bl { bottom: 6px; left: 6px; }
.indian-corner-br { bottom: 6px; right: 6px; }

/* Image Frame with Curvy Organic Contour */
.card-img-frame {
  background-color: rgba(4, 6, 16, 0.85);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: 20px 12px 20px 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  will-change: transform;
  transform: translateZ(0);
  aspect-ratio: 4 / 3;
}

.clay-card:hover .card-img-frame {
  border-color: rgba(245, 158, 11, 0.65);
  border-radius: 12px 20px 12px 20px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

/* Category Cards */
.clay-category-card {
  background: rgba(22, 25, 66, 0.9);
  border-radius: 24px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}

.clay-category-card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

/* Dark Surface Container */
.clay-dark {
  background: rgba(14, 16, 43, 0.92);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  will-change: transform;
  transform: translateZ(0);
}

/* ==========================================================
   GLASSMORPHISM BUTTON STYLES
   Translucent backgrounds, delicate inner glows & GPU acceleration
   ========================================================== */

/* Glassmorphism Button Base */
button,
.glass-btn {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease !important;
  will-change: transform;
  transform: translateZ(0);
}

/* Primary Amethyst Violet Glassmorphism Button */
.clay-btn-orange,
.glass-btn-primary {
  background: rgba(124, 58, 237, 0.45) !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(216, 180, 254, 0.5) !important;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35) !important;
  font-weight: 800 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  will-change: transform;
  transform: translateZ(0);
}

.clay-btn-orange:hover,
.glass-btn-primary:hover {
  background: rgba(147, 51, 234, 0.7) !important;
  border-color: rgba(233, 213, 255, 0.85) !important;
  transform: translateY(-2px) translateZ(0) !important;
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.5) !important;
}

.clay-btn-orange:active,
.glass-btn-primary:active {
  transform: translateY(1px) scale(0.98) translateZ(0) !important;
  background: rgba(124, 58, 237, 0.55) !important;
}

/* WhatsApp Green Glassmorphism Button */
.clay-btn-whatsapp,
.glass-btn-whatsapp {
  background: rgba(16, 185, 129, 0.4) !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(167, 243, 208, 0.6) !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35) !important;
  font-weight: 800 !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  will-change: transform;
  transform: translateZ(0);
}

.clay-btn-whatsapp:hover,
.glass-btn-whatsapp:hover {
  background: rgba(16, 185, 129, 0.6) !important;
  border-color: rgba(167, 243, 208, 0.9) !important;
  transform: translateY(-2px) translateZ(0) !important;
  box-shadow: 
    0 12px 28px -2px rgba(16, 185, 129, 0.55),
    0 0 20px rgba(52, 211, 153, 0.45),
    inset 0 1px 2px rgba(255, 255, 255, 0.65) !important;
}

.clay-btn-whatsapp:active,
.glass-btn-whatsapp:active {
  transform: translateY(1px) scale(0.98) !important;
}

/* Secondary Indigo/Sapphire Glassmorphism Button */
.clay-btn-gold,
.glass-btn-secondary {
  background: rgba(139, 92, 246, 0.35) !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(216, 180, 254, 0.45) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25) !important;
  font-weight: 800 !important;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease !important;
  will-change: transform;
  transform: translateZ(0);
}

.clay-btn-gold:hover,
.glass-btn-secondary:hover {
  background: rgba(147, 51, 234, 0.5) !important;
  border-color: rgba(233, 213, 255, 0.75) !important;
  transform: translateY(-2px) translateZ(0) !important;
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.4) !important;
}

/* Glassmorphism Badge / Pill */
.clay-badge,
.glass-badge {
  background: rgba(147, 51, 234, 0.42) !important;
  color: #F3E8FF !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(216, 180, 254, 0.45) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
}

/* ==========================================================
   ANIMATIONS & DECORATION
   ========================================================== */

/* Animated Diya Flame */
.diya-flame {
  display: inline-block;
  width: 14px;
  height: 22px;
  background: radial-gradient(ellipse at bottom, #FFFBEB 0%, #FDE047 30%, #F97316 70%, rgba(239, 68, 68, 0) 100%);
  border-radius: 50% 50% 20% 20% / 80% 80% 20% 20%;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(5, 7, 20, 0.8);
}
::-webkit-scrollbar-thumb {
  background: #8B5CF6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7C3AED;
}

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

/* Category Section & Sticky Jump Bar */
.category-section {
  scroll-margin-top: 4.5rem;
}

#category-jump-bar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background-color: rgba(10, 9, 30, 0.96) !important;
  border-bottom: 1px solid rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#category-jump-bar.is-stuck {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
}

.cat-jump-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Footer Diya Image Acceleration */
.footer-diya-img {
  will-change: transform, opacity;
}

/* Centered Background Mandala Lottie Auto-Responsive Sizing & Fade Transitions */
#lottie-mandalas-container {
  overflow: hidden !important;
}

#bg-single-mandala-wrapper,
.bg-mandala-layer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  width: min(85vw, 420px);
  height: min(85vw, 420px);
  aspect-ratio: 1 / 1;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

@media (min-width: 768px) {
  #bg-single-mandala-wrapper,
  .bg-mandala-layer {
    width: min(55vw, 750px);
    height: min(55vw, 750px);
    aspect-ratio: 1 / 1;
  }
}

#bg-single-mandala-wrapper canvas,
#bg-single-mandala-wrapper svg,
.bg-mandala-layer canvas,
.bg-mandala-layer svg {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
}

.cat-jump-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.cat-jump-btn-active {
  background: rgba(124, 58, 237, 0.85) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border-color: rgba(233, 213, 255, 0.7) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4) !important;
  transform: translateY(-1px) translateZ(0);
  will-change: transform;
}

/* Skeleton Loaders */
@keyframes skeletonPulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.skeleton-card {
  background: rgba(15, 17, 46, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  animation: skeletonPulseGlow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

.skeleton-bone {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.skeleton-bone-pill {
  border-radius: 9999px;
}

.skeleton-bone-image {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

.skeleton-header-bone {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  animation: skeletonPulseGlow 2s ease-in-out infinite;
}

/* Horizontal Announcement Ticker */
.announcement-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, black 28px, black calc(100% - 48px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 28px, black calc(100% - 48px), transparent 100%);
}

.announcement-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: announcementScroll 24s linear infinite;
  will-change: transform;
}

.announcement-marquee-track:hover {
  animation-play-state: paused;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 2rem;
  padding-right: 2rem;
  white-space: nowrap;
}

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

#hero-slideshow-viewport {
  position: relative;
}

/* Logo Squircle Frame */
.logo-frame,
#store-logo-container,
#footer-logo-container {
  border-radius: 1.5rem !important;
  padding: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: 1 / 1 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

#store-logo-container {
  background-color: rgba(5, 7, 20, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.1) !important;
}

#footer-logo-container {
  background-color: rgba(3, 4, 14, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.1) !important;
}

/* Typography Utility Classes */
#hero-accent-sparkle {
  font-family: 'Great Vibes', 'Alex Brush', cursive !important;
  font-size: 1.4em !important;
  line-height: 0.9 !important;
  font-weight: 400 !important;
  display: inline-block !important;
  color: #C084FC !important;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.6) !important;
}

#footer-festive-greeting {
  font-family: 'Great Vibes', 'Alex Brush', cursive !important;
  color: #FDE047 !important;
  font-size: 2rem !important;
  line-height: 1.2 !important;
  display: inline-block !important;
  text-shadow: 0 0 14px rgba(253, 224, 71, 0.7) !important;
}

/* Modals */
#product-details-modal, #cart-modal {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#product-modal-dialog {
  background: linear-gradient(160deg, rgba(15, 17, 46, 0.95) 0%, rgba(5, 7, 20, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(124, 58, 237, 0.25);
}
