@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Rozha+One&display=swap');

:root {
  --clay-bg-light: #FFF8EE;
  --clay-bg-peach: #FFF1E6;
  --clay-card-bg: #FFFFFF;
  --festive-indigo: #091129;
  --festive-navy: #101E42;
  --festive-orange: #F97316;
  --festive-gold: #F59E0B;
  --festive-marigold: #EA580C;
  --festive-vermilion: #DC2626;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--festive-indigo);
  color: #F8FAFC;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

.font-festive {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}

/* ==========================================================
   CLAYMORPHISM CORE CLASSES
   Dual inner highlights + Soft outer atmospheric drop shadows
   ========================================================== */

/* Light Clay Card with Indian Traditional Royal Zari Border */
.clay-card {
  background: #FFFDF9;
  border-radius: 28px;
  /* Royal Indian Zari Golden Filigree Border */
  border: 2px solid #F59E0B;
  box-shadow: 
    0 16px 32px -4px rgba(6, 12, 34, 0.45),
    0 4px 12px rgba(6, 12, 34, 0.25),
    /* Inner Kundan Ivory Ribbon */
    inset 0 0 0 2px #FFFBEB,
    /* Inner Golden Thread (Zari) Pinstripe */
    inset 0 0 0 3.5px rgba(217, 119, 6, 0.4),
    /* Claymorphic highlight & shadow */
    inset 4px 4px 8px rgba(255, 255, 255, 0.95),
    inset -4px -4px 8px rgba(217, 119, 6, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.clay-card:hover {
  border-color: #D97706;
  box-shadow: 
    0 24px 44px -4px rgba(6, 12, 34, 0.55),
    0 8px 20px rgba(245, 158, 11, 0.28),
    0 0 24px rgba(245, 158, 11, 0.35),
    inset 0 0 0 2px #FFFBEB,
    inset 0 0 0 3.5px rgba(180, 83, 9, 0.6),
    inset 4px 4px 8px rgba(255, 255, 255, 1),
    inset -4px -4px 8px rgba(217, 119, 6, 0.25);
}

/* Indian Traditional Inner Dashed Zari Embroidery Border */
.indian-zari-frame {
  position: absolute;
  inset: 6px;
  border-radius: 22px;
  border: 1px dashed rgba(217, 119, 6, 0.35);
  pointer-events: none;
  transition: border-color 0.3s ease;
  z-index: 1;
}

.clay-card:hover .indian-zari-frame {
  border-color: rgba(217, 119, 6, 0.7);
}

/* Indian Traditional Corner Filigree (Rangoli / Jali / Paisley Flourish) */
.indian-corner {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.clay-card:hover .indian-corner {
  opacity: 1;
}

.indian-corner-tl {
  top: 7px;
  left: 7px;
}
.clay-card:hover .indian-corner-tl {
  transform: translate(-1px, -1px) scale(1.05);
}

.indian-corner-tr {
  top: 7px;
  right: 7px;
}
.clay-card:hover .indian-corner-tr {
  transform: translate(1px, -1px) scale(1.05);
}

.indian-corner-bl {
  bottom: 7px;
  left: 7px;
}
.clay-card:hover .indian-corner-bl {
  transform: translate(-1px, 1px) scale(1.05);
}

.indian-corner-br {
  bottom: 7px;
  right: 7px;
}
.clay-card:hover .indian-corner-br {
  transform: translate(1px, 1px) scale(1.05);
}

/* Warm Peach Clay Category Card (Arched like reference) */
.clay-category-card {
  background: linear-gradient(180deg, #FFEDD5 0%, #FED7AA 40%, #FDBA74 100%);
  border-radius: 36px 36px 30px 30px;
  border: 4px solid #FB923C;
  box-shadow: 
    0 16px 32px rgba(4, 9, 28, 0.5),
    0 6px 12px rgba(4, 9, 28, 0.3),
    inset 4px 4px 8px rgba(255, 255, 255, 0.8),
    inset -4px -4px 8px rgba(194, 65, 12, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.clay-category-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 24px 42px rgba(4, 9, 28, 0.65),
    0 8px 18px rgba(4, 9, 28, 0.4),
    inset 4px 4px 8px rgba(255, 255, 255, 0.9),
    inset -4px -4px 8px rgba(194, 65, 12, 0.4);
}

/* Deep Indigo Clay Container */
.clay-dark {
  background: linear-gradient(145deg, #13224B 0%, #0E1A3C 100%);
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 16px 32px rgba(2, 6, 20, 0.6),
    inset 2px 2px 4px rgba(255, 255, 255, 0.15),
    inset -3px -3px 6px rgba(0, 0, 0, 0.4);
}

/* Orange Festive Button (Hero CTA) */
.clay-btn-orange {
  background: linear-gradient(180deg, #F97316 0%, #EA580C 100%);
  color: #FFFFFF;
  border-radius: 9999px;
  border: 2px solid #FDBA74;
  box-shadow: 
    0 10px 22px rgba(234, 88, 12, 0.45),
    0 4px 8px rgba(0, 0, 0, 0.25),
    inset 2px 3px 5px rgba(255, 255, 255, 0.7),
    inset -2px -3px 5px rgba(154, 52, 18, 0.4);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.clay-btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 14px 28px rgba(234, 88, 12, 0.55),
    0 6px 10px rgba(0, 0, 0, 0.3),
    inset 2px 3px 5px rgba(255, 255, 255, 0.8),
    inset -2px -3px 5px rgba(154, 52, 18, 0.4);
}

.clay-btn-orange:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 
    0 4px 10px rgba(234, 88, 12, 0.4),
    inset 3px 3px 6px rgba(154, 52, 18, 0.6);
}

/* Red / Coral Clay Pill Button ("Order Now" header button) */
.clay-btn-coral {
  background: linear-gradient(180deg, #EF4444 0%, #DC2626 100%);
  color: #FFFFFF;
  border-radius: 9999px;
  border: 2px solid #FCA5A5;
  box-shadow: 
    0 8px 18px rgba(220, 38, 38, 0.4),
    inset 2px 2px 4px rgba(255, 255, 255, 0.65),
    inset -2px -2px 4px rgba(127, 29, 29, 0.4);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.clay-btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px rgba(220, 38, 38, 0.5),
    inset 2px 2px 4px rgba(255, 255, 255, 0.75);
}

.clay-btn-coral:active {
  transform: translateY(1px) scale(0.98);
}

/* WhatsApp Green Clay Button */
.clay-btn-whatsapp {
  background: linear-gradient(180deg, #25D366 0%, #16A34A 100%);
  color: #FFFFFF;
  border-radius: 9999px;
  border: 2px solid #86EFAC;
  box-shadow: 
    0 8px 20px rgba(22, 163, 74, 0.4),
    inset 2px 2px 4px rgba(255, 255, 255, 0.6),
    inset -2px -2px 4px rgba(20, 83, 45, 0.4);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.clay-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 26px rgba(22, 163, 74, 0.55),
    inset 2px 2px 4px rgba(255, 255, 255, 0.7);
}

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

/* Secondary Golden Clay Button */
.clay-btn-gold {
  background: linear-gradient(180deg, #FBBF24 0%, #F59E0B 100%);
  color: #78350F;
  border-radius: 9999px;
  border: 2px solid #FEF3C7;
  box-shadow: 
    0 8px 18px rgba(245, 158, 11, 0.35),
    inset 2px 2px 4px rgba(255, 255, 255, 0.75),
    inset -2px -2px 4px rgba(180, 83, 9, 0.3);
  font-weight: 700;
  transition: all 0.2s ease;
}

/* Inset Sunken Clay Container (for search, counters, cards inner) */
.clay-inset {
  background: #F1F5F9;
  border-radius: 16px;
  box-shadow: 
    inset 3px 3px 6px rgba(15, 23, 42, 0.12),
    inset -2px -2px 5px rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Clay Badge / Pill */
.clay-badge {
  background: linear-gradient(180deg, #FDE68A 0%, #FCD34D 100%);
  color: #78350F;
  border-radius: 9999px;
  border: 1.5px solid #FEF3C7;
  box-shadow: 
    0 3px 6px rgba(0, 0, 0, 0.1),
    inset 1px 1px 2px rgba(255, 255, 255, 0.8),
    inset -1px -1px 2px rgba(180, 83, 9, 0.2);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

/* 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%;
  transform-origin: center bottom;
  animation: diyaFlicker 1.8s infinite ease-in-out;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.95)) drop-shadow(0 0 16px rgba(249, 115, 22, 0.8));
}

.diya-flame-lg {
  width: 20px;
  height: 32px;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 1)) drop-shadow(0 0 24px rgba(249, 115, 22, 0.9));
}

@keyframes diyaFlicker {
  0%, 100% {
    transform: scale(1) rotate(-1deg);
    opacity: 0.95;
  }
  25% {
    transform: scale(1.08, 0.96) rotate(1.5deg);
    opacity: 1;
  }
  50% {
    transform: scale(0.95, 1.05) rotate(-1.5deg);
    opacity: 0.9;
  }
  75% {
    transform: scale(1.04, 1.02) rotate(1deg);
    opacity: 1;
  }
}

/* Subtle sparkle pulse */
@keyframes sparkleGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
}

.sparkle-pulse {
  animation: sparkleGlow 2.4s infinite ease-in-out;
}

/* Floating animation for subtle elements */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.floating-gentle {
  animation: gentleFloat 4s ease-in-out infinite;
}

/* Marigold Toran CSS pattern */
.marigold-garland {
  position: relative;
  height: 28px;
  width: 100%;
  background-repeat: repeat-x;
  background-size: 40px 28px;
}

/* Custom scrollbar for festive bag */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: #F59E0B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #EA580C;
}

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

/* ==========================================================
   GSAP & 3D CLAYMORPHIC INTERACTION ENHANCEMENTS
   ========================================================== */

.clay-card {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.magnetic-btn {
  will-change: transform;
  transform-style: preserve-3d;
  display: inline-flex;
  transition: box-shadow 0.25s ease;
}

.magnetic-btn:hover {
  transform: none;
}

.hero-mask-line, .hero-mask-sub {
  display: inline-block;
  will-change: transform, opacity;
}

/* ==========================================================
   HERO SLIDESHOW & CATEGORY SECTIONS STYLING
   ========================================================== */

.slide-dot-btn {
  height: 6px;
  width: 14px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.slide-dot-btn:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.slide-dot-btn.active {
  width: 28px;
  background: linear-gradient(90deg, #F59E0B 0%, #F97316 100%);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.85);
}

.category-section {
  scroll-margin-top: 4.5rem;
}

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

.cat-jump-btn:hover {
  transform: translateY(-1px);
}

.cat-jump-btn-active {
  background: linear-gradient(135deg, #F59E0B 0%, #EA580C 100%) !important;
  color: #091129 !important;
  font-weight: 800 !important;
  border-color: #FDE68A !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
  transform: translateY(-1px);
}

/* ==========================================================
   DYNAMIC CATEGORY FILTERING & SMOOTH THEME TRANSITIONS
   - Smooth 0.4s ease-in-out transitions
   - Catalog section background animates to clean White (#FFFFFF)
   - Product cards transition into primary theme color (#101E42)
   - Automatic high contrast typography for supreme readability
   ========================================================== */

/* Section wrapper retains transparent festive background */
#category-sections-wrapper {
  background-color: transparent;
  position: relative;
}

/* Consistent Clay Card Base Transitions */

/* Base Transitions for Smoothness (~0.4s ease-in-out) */
.clay-card {
  transition: background-color 0.4s ease-in-out, background 0.4s ease-in-out, box-shadow 0.4s ease-in-out, border-color 0.4s ease-in-out, color 0.4s ease-in-out, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-product-name,
.card-product-price,
.card-product-mrp,
.card-product-desc,
.card-product-cat,
.card-badge,
.card-discount-badge,
.card-verified-badge,
.card-img-frame,
.card-pricing-divider,
.indian-zari-frame,
.indian-corner svg {
  transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out, border-color 0.4s ease-in-out, stroke 0.4s ease-in-out, fill 0.4s ease-in-out;
}

/* ==========================================================
   HIGH-END SKELETON SCREEN & PULSE SHIMMER ANIMATIONS
   Mimics the 3D claymorphic card layout with multi-layered pulse
   ========================================================== */

@keyframes skeletonPulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.995);
  }
}

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

.skeleton-card {
  background: #FFFDF9;
  border-radius: 28px;
  border: 2px solid rgba(245, 158, 11, 0.45);
  box-shadow: 
    0 16px 32px -4px rgba(6, 12, 34, 0.4),
    0 4px 12px rgba(6, 12, 34, 0.22),
    inset 0 0 0 2px #FFFBEB,
    inset 0 0 0 3.5px rgba(217, 119, 6, 0.2),
    inset 4px 4px 8px rgba(255, 255, 255, 0.9),
    inset -4px -4px 8px rgba(220, 180, 140, 0.2);
  position: relative;
  overflow: hidden;
  animation: skeletonPulseGlow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
  user-select: none;
}

.skeleton-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 75%
  );
  transform: translateX(-100%);
  animation: skeletonShimmerWave 2.2s infinite cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.skeleton-bone {
  background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 1px 1px 2px rgba(15, 23, 42, 0.05);
}

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

.skeleton-bone-image {
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 50%, #EDF2F7 100%);
  border-radius: 16px;
  box-shadow: inset 2px 2px 5px rgba(15, 23, 42, 0.06);
}

.skeleton-header-bone {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.08) 100%);
  border-radius: 12px;
  animation: skeletonPulseGlow 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-card,
  .skeleton-card::after,
  .skeleton-header-bone {
    animation: none !important;
  }
}

/* ==========================================================
   HORIZONTAL SCROLLING ANNOUNCEMENT TICKER (INFINITE LOOP)
   ========================================================== */
.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%);
  }
}

/* Claymorphic Product Card Order Button */
.card-order-btn,
.card-wa-btn {
  background: linear-gradient(180deg, #F59E0B 0%, #EA580C 100%);
  color: #FFFFFF;
  border-radius: 9999px;
  border: 1.5px solid #FDE68A;
  box-shadow: 
    0 4px 14px rgba(234, 88, 12, 0.35),
    inset 1px 1.5px 3px rgba(255, 255, 255, 0.75),
    inset -1px -1.5px 3px rgba(154, 52, 18, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.card-order-btn:hover,
.card-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(234, 88, 12, 0.5),
    inset 1px 1.5px 3px rgba(255, 255, 255, 0.85);
}

.card-order-btn:active,
.card-wa-btn:active {
  transform: translateY(1px) scale(0.98);
}

/* 2-Column Mobile Grid Optimization */
@media (max-width: 640px) {
  .clay-card {
    border-radius: 20px;
  }
  .indian-corner {
    width: 14px;
    height: 14px;
  }
  .indian-corner-tl { top: 5px; left: 5px; }
  .indian-corner-tr { top: 5px; right: 5px; }
  .indian-corner-bl { bottom: 5px; left: 5px; }
  .indian-corner-br { bottom: 5px; right: 5px; }
  .indian-zari-frame {
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 16px;
  }
}

/* Continuous Slow Floating Animation for Hero Image Section */
@keyframes heroFloatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.6deg);
  }
}

#hero-slideshow-viewport {
  animation: heroFloatSlow 7s ease-in-out infinite;
}

/* Performance & GPU Hardware Acceleration Rules */
.clay-card,
#hero-cover-overlay,
#hero-artwork-card,
#hero-kicker,
#hero-cta-group,
.category-heading,
.category-diwali-lamp-lottie {
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Curtain Panels Hardware Acceleration */
.curtain-left,
.curtain-right,
.left-curtain,
.right-curtain,
#hero-curtain-left,
#hero-curtain-right {
  will-change: transform;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}



