/* ===================================================================
   SVARIRA — Design System
   Palette drawn from the brand logo: maroon, antique gold, blush lotus,
   peacock teal. Display serif + script accent + humanist body sans.
=================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Great+Vibes&family=Mukta:wght@300;400;500;600;700&display=swap');

:root {
  --maroon: #6E1541;
  --maroon-deep: #4A0E2B;
  --gold: #C9A227;
  --gold-light: #E4C667;
  --blush: #F0A8C4;
  --peacock-teal: #1F6F5C;
  --peacock-blue: #1A3C5E;
  --cream: #FFFBF3;
  --cream-deep: #F5E6CC;
  --ink: #2A1220;
  --ink-soft: #634754;
  --line: rgba(110, 21, 65, 0.12);
  --shadow: 0 15px 45px rgba(74, 14, 44, 0.18);
  --radius: 4px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Mukta', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1480px;
  --svarira-pattern: url("../images/Background.webp");

  /* HIGH-DENSITY SLEEK SCALING SYSTEM (MATCHING COMPACT ZOOM LEVEL) */
  font-size: 14px;

  --space-xs: clamp(0.2rem, 0.15rem + 0.2vw, 0.4rem);
  --space-sm: clamp(0.4rem, 0.3rem + 0.4vw, 0.8rem);
  --space-md: clamp(0.8rem, 0.6rem + 0.8vw, 1.5rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
  --space-xl: clamp(2.5rem, 1.8rem + 2.5vw, 4.5rem);

  --container-width: min(94vw, 1540px);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 14px;
  zoom: 0.88;
  background: var(--maroon-deep, #240818);
}

@media (max-width: 768px) {
  html {
    zoom: 1; /* Comfortable touch scale on mobile phones */
    font-size: 14px;
  }
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  background: radial-gradient(circle at 50% 0%, rgba(201, 162, 75, 0.15) 0%, rgba(250, 245, 234, 0.98) 60%), var(--cream);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main, .section, .shop-layout, .profile-layout, .svs-paper {
  flex: 1 0 auto;
}

.site-footer, #site-footer {
  margin-top: auto !important;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--maroon-deep);
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

.container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 clamp(16px, 3vw, 40px) !important;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 2vw, 32px);
  width: 100%;
}

@media (max-width: 860px) {
  .container-fluid {
    padding: 0 16px;
  }
}

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--peacock-teal);
  outline-offset: 3px;
}

/* ---------- Scroll reveal (Room-to-Room Feel) ---------- */
.section {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
  perspective: 1000px;
}
/* Disable reveal animations that might get stuck */
.section.reveal, .reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.product-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: transform 0.3s ease;
}
.section.in-view .product-card {
  transform: none !important;
}

/* ---------- Floating decorative motifs ---------- */
.float-motif {
  position: absolute;
  opacity: 0.2;
  color: var(--gold);
  pointer-events: none;
  z-index: 1;
}

@keyframes float3D {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  25% { opacity: 0.3; }
  50% { transform: translate3d(20px, -40px, 100px) rotate(10deg); opacity: 0.5; }
  75% { opacity: 0.3; }
  100% { transform: translate3d(-10px, -80px, 200px) rotate(-5deg); opacity: 0; }
}

.divine-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  perspective: 1000px;
  overflow: hidden;
}

.float-3d {
  position: absolute;
  animation: float3D 15s linear infinite;
  opacity: 0;
}

/* Mandir Arch Portal Card */
.mandir-portal-card {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 160px 160px 12px 12px;
  padding: 60px 40px 40px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  position: relative;
  width: 100%;
  max-width: 440px;
  z-index: 10;
}

.mandir-portal-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px solid var(--gold);
  border-radius: 150px 150px 8px 8px;
  opacity: 0.3;
  pointer-events: none;
}

.portal-logo-wrap {
  width: 100px;
  height: 100px;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
  padding: 10px;
  margin: 0 auto 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Eyebrow / section labels ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--peacock-teal);
  margin-bottom: 0.6em;
}

/* ---------- Gold hairline divider with center glyph ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2.5rem 0;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.divider svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .btn { padding: 10px 20px; width: 100%; }
}
.btn-primary {
  background: var(--maroon);
  color: var(--cream);
}
.btn-primary:hover { background: var(--maroon-deep); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--maroon-deep);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--maroon);
  color: var(--maroon);
}
.btn-outline:hover { background: var(--maroon); color: var(--cream); }
.btn-whatsapp {
  background: #1F6F5C;
  color: #fff;
}
.btn-whatsapp:hover { background: #175344; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ===================================================================
   HEADER (Divine Symmetric Layout)
=================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--cream, #FAF5EA);
  border-bottom: 1.5px solid var(--gold-l, #EBD08A);
  box-shadow: 0 4px 16px rgba(62, 15, 41, 0.08);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.header-main-wrapper {
  background: var(--cream, #FAF5EA);
  padding: 6px 0;
  transition: padding 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 100%;
}

.branding-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4px 24px;
  min-height: 56px;
}

@media (max-width: 860px) {
  .branding-row { padding: 4px 16px; gap: 10px; min-height: 50px; }
  .logo-circle { width: 44px !important; height: 44px !important; min-width: 44px !important; min-height: 44px !important; }
  .brand-text .name { font-size: 1.1rem; }
  .brand-text .tag { font-size: 0.46rem; }
  .main-nav-links {
    position: fixed;
    top: 65px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1.5px solid var(--gold);
    box-shadow: 0 12px 30px rgba(62,15,41,0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    display: flex;
    z-index: 999;
  }
  .main-nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-toggle { display: inline-flex !important; }
  .header-right-side { position: relative; max-width: 55%; flex-shrink: 0; }
  .header-icons { gap: 3px !important; }
  .icon-btn { width: 30px !important; height: 30px !important; padding: 2px !important; }
  .icon-btn svg { width: 17px !important; height: 17px !important; }
}

.close-filter-mobile-btn,
.mobile-pos-switcher,
.mobile-apply-bar {
  display: none !important;
}

@media (max-width: 860px) {
  .close-filter-mobile-btn {
    display: inline-block !important;
  }
  .mobile-pos-switcher {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .mobile-apply-bar {
    display: block !important;
  }
}

/* Mobile Header Navigation Strip (Visible on phone and tablet) */
.header-mobile-nav-bar {
  display: none;
}

@media (max-width: 860px) {
  .header-mobile-nav-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 10px;
    overflow-x: auto;
    white-space: nowrap;
    border-top: 1px solid var(--cream-deep);
    background: var(--cream);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    max-height: 60px;
    opacity: 1;
  }
  .header-mobile-nav-bar.nav-scroll-hidden {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    border: none !important;
  }
  .header-mobile-nav-bar::-webkit-scrollbar {
    display: none;
  }
  .header-mobile-nav-bar a {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3E0F29 !important;
    padding: 6px 14px;
    border-radius: 20px;
    background: #FAF5EA;
    border: 1.5px solid #C9A24B;
    transition: all 0.25s ease;
    flex-shrink: 0;
    text-decoration: none;
  }
  .header-mobile-nav-bar a.active,
  .header-mobile-nav-bar a:hover {
    background: #3E0F29 !important;
    color: #EBD08A !important;
    border-color: #C9A24B !important;
    box-shadow: 0 4px 12px rgba(62, 15, 41, 0.35);
  }
}

.header-logo-section {
  flex-shrink: 0;
}

.brand-logo-anchor {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50% !important;
  padding: 5px;
  box-shadow: 0 6px 18px rgba(74, 14, 44, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream-deep);
  position: relative;
  z-index: 10;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}

.brand-text {
  text-align: left;
  transition: opacity 0.3s ease;
}

.brand-text .name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--maroon);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transition: font-size 0.3s ease;
}

.brand-text .tag {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
  font-weight: 700;
}

/* Header Button & Link Hover Animations */
.brand-logo-anchor:hover .logo-circle {
  box-shadow: 0 0 25px rgba(201, 162, 75, 0.55), 0 10px 25px rgba(74, 14, 44, 0.15);
  transform: scale(1.05) translateZ(0);
  border-color: var(--gold);
}

.main-nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav-links a {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  transition: color 0.3s ease, transform 0.25s ease, text-shadow 0.25s ease;
  white-space: nowrap;
  position: relative;
  padding: 8px 0;
}

.main-nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--maroon), var(--gold));
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}

.main-nav-links a:hover, .main-nav-links a.active {
  color: var(--maroon);
  transform: translateY(-2px);
  text-shadow: 0 0 12px rgba(201, 162, 75, 0.35);
}

.main-nav-links a:hover::after, .main-nav-links a.active::after {
  width: 100%;
  left: 0;
}

.header-right-side {
  display: flex;
  align-items: center;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-icons .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--maroon);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.header-icons .icon-btn:hover {
  background: #fff;
  border-color: var(--gold);
  color: var(--maroon-deep);
  box-shadow: 0 0 15px rgba(201, 162, 75, 0.4), 0 4px 12px rgba(74, 14, 44, 0.1);
  transform: translateY(-2px) scale(1.08);
}

.header-icons .icon-btn:active {
  transform: translateY(0) scale(0.96);
}

/* Scrolled State */
.header-scrolled {
  box-shadow: 0 4px 20px rgba(62,15,41,0.12);
}

.header-scrolled .logo-circle {
  transform: scale(0.88);
  box-shadow: 0 4px 12px rgba(74, 14, 44, 0.1);
}

.header-scrolled .brand-text .name {
  font-size: 1.2rem;
}

.header-scrolled .brand-text .tag {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
}

/* ===================================================================
   SPLASH ENTRY SCREEN
=================================================================== */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  background: linear-gradient(135deg, #3E0F29 0%, #2A0A1C 50%, #1A0512 100%) !important;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  color: #fff;
  text-align: center;
  padding: 40px;
}

.splash-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo-wrap {
  width: min(200px, 50vw);
  height: min(200px, 50vw);
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(235, 208, 138, 0.4);
  border: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 20;
}

.splash-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .splash-logo-wrap {
    width: 92vw;
    height: 92vw;
    border-width: 10px;
  }
  .splash-logo-img {
    transform: scale(1.1); /* Slightly less scale on mobile to avoid edges */
  }
}

.floating-sign {
  position: absolute;
  color: var(--gold-light);
  opacity: 0.15;
  pointer-events: none;
  z-index: 5;
  animation: floatDivine infinite ease-in-out;
  filter: blur(1px);
}

@keyframes floatDivine {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.1; }
  50% { transform: translate(20px, -40px) rotate(10deg); opacity: 0.25; }
}

.divine-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(0.9); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
  50% { transform: scale(1); box-shadow: 0 25px 80px rgba(201,162,39,0.3); }
}

.splash-content h1 {
  font-size: 4.5rem;
  margin-bottom: 10px;
  letter-spacing: 0.3em;
}

.splash-content p {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: splashFadeUp 1s ease forwards 0.5s;
}

.splash-enter-hint {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.4);
  margin-top: auto;
  animation: splashFlash 2s infinite;
}

@keyframes splashFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes splashFlash {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

@media (max-width: 768px) {
  .splash-content h1 { font-size: 3rem; }
  .splash-content p { font-size: 1.6rem; }
  .splash-logo-wrap { width: 140px; height: 140px; }
}

/* ===================================================================
   MODERN SHOP LAYOUT (Sidebar Filter)
=================================================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 20px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 100px;
  height: calc(100vh - 110px);
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overflow-x: hidden;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.shop-sidebar::-webkit-scrollbar {
  width: 5px;
}
.shop-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.shop-sidebar::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.filter-group {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-group h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
  color: var(--maroon);
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s ease;
}

.filter-item:hover, .filter-item.active {
  color: var(--maroon);
}

.filter-item input {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.mobile-filter-toggle-btn { display: none !important; }

@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr !important; }
  .shop-sidebar {
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw !important; height: 100vh !important;
    background: #FFFDF8 !important;
    z-index: 100000 !important;
    padding: 24px !important;
    display: none;
    overflow-y: auto !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
  }
  .shop-sidebar.mobile-open {
    display: block !important;
  }
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px; height: 44px;
  color: var(--maroon);
  background: transparent !important;
  border: none !important;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
  outline: none !important;
  box-shadow: none !important;
}
.icon-btn:hover { transform: scale(1.1); background: transparent !important; }
.icon-btn:focus { outline: none !important; box-shadow: none !important; }
.cart-badge {
  position: absolute;
  top: 6px; right: 6px;
  background: var(--gold);
  color: var(--maroon-deep);
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Mobile Nav styling consolidated in top media query */

/* ===================================================================
   HERO / ATMOSPHERIC
=================================================================== */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px; /* Offset for fixed header */
  background-image: linear-gradient(rgba(42, 18, 32, 0.2), rgba(42, 18, 32, 0.4)), url('../images/Background.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero { min-height: 40vh; padding: 80px 16px 40px; background-attachment: scroll; }
}

.hero-inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  color: #fff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero p.lead {
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: #fff;
  max-width: 60ch;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; gap: 12px; }
}
.hero-actions .btn {
  padding: 14px 32px;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-logo-showcase { display: none; } /* Replaced by background */

/* ===================================================================
   PRODUCT CATEGORY THUMBNAIL KIT
=================================================================== */
.category-kit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 860px) { .category-kit-grid { grid-template-columns: 1fr 1fr; } }

.category-kit-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}
.category-kit-card:hover { transform: translateY(-8px); }
.category-kit-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease, scale 0.3s ease;
}
.category-kit-card:hover img { opacity: 1; scale: 1.05; }
.category-kit-card h3 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.category-kit-card span {
  position: relative;
  z-index: 2;
  color: var(--gold-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
}
.category-kit-card.kit-teal { background-color: #1F6F5C; }
.category-kit-card.kit-maroon { background-color: #7A1B4B; }
.category-kit-card.kit-devi { background-color: #A32945; }
.category-kit-card.kit-green { background-color: #2D5A27; }

/* ===================================================================
   OFFER BANNERS
=================================================================== */
.offer-banner {
  background: var(--maroon-deep);
  color: #fff;
  padding: 40px 24px;
  text-align: center;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}
.offer-banner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold);
  opacity: 0.3;
  pointer-events: none;
}
.offer-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.offer-banner p {
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
}
/* ---------- Modern Compact Header Search Dropdown ---------- */
.header-search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(380px, 92vw);
  background: #FFFDF8;
  border: 1.5px solid var(--gold, #C9A24B);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(62, 15, 41, 0.25);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 10000;
  color: var(--ink, #2A1220);
  animation: searchDropIn 0.22s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes searchDropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.header-search-dropdown.open {
  display: flex !important;
}

.search-drop-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FAF5EA;
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 8px;
  padding: 8px 12px;
}

.search-drop-input-wrap svg {
  color: var(--gold, #C9A24B);
  flex-shrink: 0;
}

.search-drop-input-wrap input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--maroon-deep, #4A0E2B);
  font-weight: 500;
}

.search-drop-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 0 4px;
  transition: color 0.15s ease;
}

.search-drop-close:hover {
  color: var(--maroon-deep);
}

.search-suggestions-box {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.search-sug-empty {
  padding: 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}

.search-sug-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--maroon-deep);
  transition: background 0.15s ease;
  border: 1px solid transparent;
}

.search-sug-item:hover {
  background: #F5E8D0;
  border-color: rgba(201, 162, 75, 0.3);
}

.search-sug-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.search-sug-item .info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-sug-item .title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--maroon-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-sug-item .price {
  font-size: 0.8rem;
  color: var(--gold-d, #8A6A22);
  font-weight: 700;
}

.search-sug-all {
  display: block;
  text-align: center;
  padding: 8px;
  margin-top: 4px;
  background: var(--maroon-deep);
  color: var(--gold-l);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.search-sug-all:hover {
  opacity: 0.9;
}
  transition: transform 0.4s ease, color 0.3s ease;
}
.search-close:hover {
  transform: rotate(90deg);
  color: var(--gold-light);
}
.search-hints {
  margin-top: 40px;
  color: var(--gold-light);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  opacity: 0.5;
  animation: searchHintsFade 2s infinite alternate;
}
@keyframes searchHintsFade {
  from { opacity: 0.3; }
  to { opacity: 0.7; }
}

/* ---------- Gold Foil Text & Accents ---------- */
.gold-foil {
  background: linear-gradient(135deg, #D4AF37 0%, #F2D472 25%, #D4AF37 50%, #F2D472 75%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
  background-size: 200% auto;
  animation: goldShine 3s linear infinite;
}
@keyframes goldShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.badge-new {
  background: var(--maroon);
  color: #fff;
  padding: 4px 10px;
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 20px;
  animation: pulseNew 2s infinite;
}
@keyframes pulseNew {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(122, 27, 75, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(122, 27, 75, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(122, 27, 75, 0); }
}

/* ---------- Premium Product Card (Mandir Arch) ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 55px 55px 8px 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  box-shadow: 0 4px 16px rgba(74, 14, 44, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 195px;
  width: 100%;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px solid var(--gold);
  border-radius: 51px 51px 6px 6px;
  opacity: 0.2;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 5;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(74, 14, 44, 0.12);
  border-color: var(--gold);
}
.product-card:hover::before {
  opacity: 0.8;
}

.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #FFFFFF 0%, var(--cream-deep) 100%);
  overflow: hidden;
  position: relative;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(74, 14, 44, 0.08));
  transition: transform 3s ease, opacity 0.6s ease;
  transform-origin: center;
}
.product-card:hover .thumb img {
  transform: scale(1.12);
}
.product-card .body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Stretch to fill card height */
}

.deity-chip {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
}

.deity-chip svg {
  color: var(--gold);
}

.deity-chip.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

.deity-chip.active svg {
  color: var(--gold-light);
}

.deity-chip:hover:not(.active) {
  border-color: var(--gold);
  background: var(--cream);
}
.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Unboxing Animation ---------- */
.reveal-unboxing {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal-unboxing.in-view {
  clip-path: inset(0 0 0 0);
}

/* ---------- Divine Care Section ---------- */
.care-section {
  background: var(--cream-deep);
  padding: 40px;
  border-radius: 8px;
  margin-top: 40px;
  border-left: 4px solid var(--gold);
}
.care-section h5 {
  font-size: 1.1rem;
  color: var(--maroon-deep);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.care-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--peacock-teal);
  margin-bottom: 4px;
}

.offer-banner .flute-accent::after {
  content: "✦";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--maroon-deep);
  padding: 0 10px;
  color: var(--gold);
}

/* ===================================================================
   ARCHED CATEGORY / FEATURE CARDS
=================================================================== */
.section { padding: clamp(24px, 4vw, 48px) 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 24px; padding: 0 24px; }
@media (max-width: 768px) { .section-head { margin-bottom: 30px; } }
.section-head h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .arch-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .arch-card { border-radius: 120px 120px 10px 10px; }
}

.arch-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 90px 90px 10px 10px;
  padding: 0 0 28px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.arch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.arch-medallion {
  margin: -32px auto 14px;
  position: relative;
  z-index: 2;
  background: #fff;
}
.arch-card .arch-media {
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(160deg, var(--peacock-teal), var(--maroon-deep));
  display: flex; align-items: center; justify-content: center;
}
.arch-card .arch-media img { width: 100%; height: 100%; object-fit: cover; }
.arch-card h3 { margin: 22px 0 6px; font-size: 1.2rem; }
.arch-card p { color: var(--ink-soft); font-size: 0.92rem; padding: 0 20px; margin-bottom: 0.8em; }
.arch-card .link { color: var(--maroon); font-weight: 600; font-size: 0.88rem; }

/* ---------- Trust / feature list ---------- */
.lotus-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.lotus-list li { display: flex; gap: 14px; align-items: center; }
.lotus-list > li > svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--blush); margin-top: 2px; }
.lotus-list strong { display: block; color: var(--maroon-deep); }

.trust-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .trust-section { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; } }

/* ===================================================================
   FESTIVAL BANNER
=================================================================== */
.festival-banner {
  background: linear-gradient(120deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 auto 0;
}
@media (max-width: 600px) { .festival-banner { padding: 20px; text-align: center; justify-content: center; } }
.festival-banner .fb-text .eyebrow { color: var(--gold-light); }
.festival-banner h3 { color: #fff; margin-bottom: 2px; font-size: 1.4rem; }
.festival-banner p { color: rgba(255,251,243,0.8); margin: 0; font-size: 0.9rem; }

/* ===================================================================
   PRODUCT GRID / CARDS
=================================================================== */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
@media (max-width: 600px) { .toolbar { justify-content: center; } }
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--maroon);
  border-radius: 999px;
  overflow: hidden;
}
.view-toggle button {
  background: transparent;
  border: none;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--maroon);
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
}
.view-toggle button.active { background: var(--maroon); color: var(--cream); }

.filters-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filters-bar select, .filters-bar input[type="search"] {
  font-family: var(--font-body);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 0.88rem;
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 195px));
  gap: 14px;
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; padding: 0 4px !important; }
  .product-card { max-width: 100%; border-radius: 20px; }
  .product-card h4 { font-size: 0.8rem; height: 2.5em; }
  .product-card .price { font-size: 0.88rem; }
}
.product-card .body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card .tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--peacock-teal);
  margin-bottom: 2px;
}
.product-card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0 0 4px;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price { font-weight: 700; color: var(--maroon-deep); font-size: 1rem; }
.mrp { text-decoration: line-through; color: #a99; font-size: 0.8rem; }

.card-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  align-items: center;
  border-top: 1px solid rgba(110, 21, 65, 0.05);
}

.card-actions .btn {
  flex: 1;
  padding: 0 8px;
  font-size: 0.82rem;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card-actions .btn span { display: inline; }
@media (max-width: 400px) {
  .card-actions .btn span { display: none; }
}

/* Removed buy-action-column */

.wishlist-btn-inline {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--maroon);
  cursor: pointer;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wishlist-btn-inline:hover {
  transform: scale(1.2);
  color: var(--blush);
}

.wishlist-btn-inline.active {
  color: #e74c3c;
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.05);
}

.product-card .add-btn {
  margin-top: 0;
  width: 100%; /* Ensure consistent width if needed */
}
.wishlist-btn {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; color: var(--maroon);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 15;
}
.wishlist-btn.active { background: var(--maroon); color: #fff; }
.wishlist-btn:hover { transform: scale(1.15); background: #fff; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}



/* ===================================================================
   PRODUCT DETAIL PAGE (Elevated Divine Attire Design)
=================================================================== */
.pd-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pd-breadcrumbs a {
  color: var(--ink-soft);
  transition: color 0.2s;
}
.pd-breadcrumbs a:hover {
  color: var(--maroon);
}
.pd-breadcrumbs .sep {
  color: var(--gold);
  font-size: 0.75rem;
}

#productRoot,
.pd-extended-details,
#bundleSection,
#bundleSection .container,
#recentlyViewedSection,
#recentlyViewedSection .container,
#reviewsSection,
#reviewsSection .container,
.reviews-section,
.reviews-section .container {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-inline: 16px !important;
  box-sizing: border-box !important;
}

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 1100px) {
  .pd-layout {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pd-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.main-img-stage {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1;
  width: 100%;
  max-width: 380px;
  max-height: 380px;
  margin: 0 auto;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid var(--gold-l, #EBD08A);
  box-shadow: 0 12px 36px rgba(62, 15, 41, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-img-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pd-thumbs-row img {
  border: 2px solid var(--line) !important;
  transition: all 0.2s ease !important;
}

.pd-thumbs-row img.active,
.pd-thumbs-row img:hover {
  border-color: var(--gold, #C9A24B) !important;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(201, 162, 75, 0.4);
}

/* Multi-Variant Integrated Studio Layout */
.pd-layout,
.pd-layout-multi {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.25fr;
  gap: 18px;
  align-items: start;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 24px 0 !important;
}

.pd-c3-panel {
  min-height: 230px;
}

@media (max-width: 992px) {
  .pd-layout,
  .pd-layout-multi {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .pd-variant-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)) !important;
    gap: 12px !important;
  }
  .pd-variant-cards-grid .swatch-vcard-tile {
    padding: 8px !important;
  }
  .pd-variant-cards-grid .swatch-action-box button {
    font-size: 0.72rem !important;
    padding: 6px 2px !important;
  }
}

.full-width-variant-grid {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  padding-bottom: 12px !important;
  scroll-behavior: smooth !important;
}

.full-width-variant-grid::-webkit-scrollbar {
  height: 8px;
}

.full-width-variant-grid::-webkit-scrollbar-track {
  background: #FAF5EA;
  border-radius: 4px;
}

.full-width-variant-grid::-webkit-scrollbar-thumb {
  background: var(--gold, #C9A24B);
  border-radius: 4px;
}

.full-width-variant-grid .swatch-vcard-tile {
  flex: 0 0 170px !important;
  min-width: 170px !important;
}

.swatch-vcard-tile {
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.swatch-vcard-tile:hover {
  transform: translateY(-4px);
  border-color: var(--maroon, #5A1A3C) !important;
  box-shadow: 0 8px 20px rgba(62, 15, 41, 0.15) !important;
}

.swatch-vcard-tile.out-of-stock:hover {
  transform: none;
  box-shadow: none !important;
}

.active-chosen-slot:hover {
  border-color: var(--gold-d, #C9A24B) !important;
  transform: translateY(-2px);
}

#selectedSetSlots::-webkit-scrollbar {
  height: 6px;
}
#selectedSetSlots::-webkit-scrollbar-track {
  background: #FAF5EA;
  border-radius: 4px;
}
#selectedSetSlots::-webkit-scrollbar-thumb {
  background: var(--gold, #C9A24B);
  border-radius: 4px;
}

.pd-info-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.pd-details-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* Tabbed Studio Section Styles */
.pd-tabs-container {
  margin-top: 40px;
  background: #FFFDF8;
  border: 1.5px solid var(--gold-l, #EBD08A);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(62, 15, 41, 0.05);
}

.pd-tabs-bar {
  display: flex;
  background: linear-gradient(135deg, #3E0F29 0%, #240818 100%);
  border-bottom: 2px solid var(--gold, #C9A24B);
  overflow-x: auto;
}

.pd-tab-btn {
  background: none;
  border: none;
  color: #EBD08A;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  border-bottom: 3px solid transparent;
  opacity: 0.85;
}

.pd-tab-btn:hover {
  opacity: 1;
  background: rgba(235, 208, 138, 0.1);
}

.pd-tab-btn.active {
  color: #FFF;
  background: rgba(201, 162, 75, 0.2);
  border-bottom-color: #EBD08A;
  opacity: 1;
}

.pd-tab-panel {
  display: none;
  padding: 24px 28px;
  animation: tabFadeIn 0.3s ease;
}

.pd-tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.pd-sidebar-sanctum {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Gallery Navigation, Zoom & Lightbox */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--maroon-deep);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 10;
  opacity: 0;
}

.pd-gallery .main-img:hover .gallery-nav-btn {
  opacity: 1;
}

.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }

.gallery-nav-btn:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
  transform: translateY(-50%) scale(1.08);
}

.gallery-expand-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  color: var(--maroon);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 10;
  opacity: 0;
}

.pd-gallery .main-img:hover .gallery-expand-btn {
  opacity: 1;
}

.gallery-expand-btn:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
}

.gallery-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(42, 18, 32, 0.75);
  color: #fff;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pd-gallery .main-img:hover .gallery-zoom-hint {
  opacity: 1;
}

.pd-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.pd-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  padding: 0;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.pd-thumbs img.active,
.pd-thumbs img:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(201, 162, 39, 0.25);
}

.pd-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-deity-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(110, 21, 65, 0.06), rgba(201, 162, 39, 0.12));
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--maroon);
  text-transform: uppercase;
  width: fit-content;
}

.pd-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--maroon-deep);
  margin: 0;
}

.pd-price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-wrap: wrap;
}

.pd-price-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pd-price {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--maroon);
  font-family: var(--font-display);
}

.pd-mrp {
  font-size: 1.1rem;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.pd-discount-badge {
  background: var(--maroon);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.pd-stock-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(31, 111, 92, 0.1);
  color: var(--peacock-teal);
  border: 1px solid rgba(31, 111, 92, 0.2);
}

.pd-stock-badge.sold-out {
  background: rgba(110, 21, 65, 0.1);
  color: var(--maroon);
  border-color: rgba(110, 21, 65, 0.2);
}

.pd-tax-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: -8px;
}

.pd-description {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

/* Size Selection Pills */
.pd-option-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-option-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--maroon-deep);
}

.pd-size-guide-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.pd-size-guide-btn:hover {
  color: var(--maroon);
}

.size-pills-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-pill {
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.size-pill:hover {
  border-color: var(--gold);
  background: #FFFDF9;
}

.size-pill.active {
  border-color: var(--maroon);
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 4px 12px rgba(110, 21, 65, 0.2);
}

/* Custom Quantity Control */
.pd-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  height: 46px;
  width: 130px;
}

.pd-qty-stepper button {
  width: 40px;
  height: 100%;
  border: none;
  background: none;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--maroon);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-qty-stepper button:hover {
  background: var(--cream);
}

.pd-qty-stepper input {
  width: 50px;
  height: 100%;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  outline: none;
  background: transparent;
}

/* Action buttons */
.pd-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .pd-actions-row { grid-template-columns: 1fr; }
}

.pd-btn-main {
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-btn-sankalp {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--gold);
  background: #FFFDF9;
  color: var(--maroon);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-btn-sankalp:hover,
.pd-btn-sankalp.active {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--cream);
  border-color: var(--maroon);
}

/* Trust Perks */
.pd-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  background: rgba(201, 162, 39, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 10px;
}
@media (max-width: 500px) {
  .pd-perks-grid { grid-template-columns: 1fr; }
}

.pd-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

/* Pure Black Studio Lightbox Background */
#imageLightboxModal {
  background: #000000 !important;
}

/* Lightbox Navigation Buttons */
.lb-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--maroon-deep);
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  z-index: 30;
}
.lb-nav-btn.prev { left: -24px; }
.lb-nav-btn.next { right: -24px; }
.lb-nav-btn:hover {
  background: var(--maroon);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

.pd-perk-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* Product Highlights / Bullets */
.pd-highlights {
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
}

.pd-highlights-title {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--maroon);
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-highlights-list li {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pd-specs-qr-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}
@media (max-width: 900px) {
  .pd-specs-qr-row {
    grid-template-columns: 1fr;
  }
}

/* Specs card */
.pd-specs-card {
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.pd-specs-card h4 {
  font-size: 1.05rem;
  color: var(--maroon-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pd-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pd-spec-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
}

.pd-spec-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--maroon-deep);
}

/* Divine Care Box (High contrast, elegant gold/maroon styling) */
.divine-care-card {
  background: linear-gradient(145deg, var(--maroon-deep), #380B20);
  border: 1px solid rgba(228, 198, 103, 0.4);
  border-radius: 12px;
  padding: 24px 28px;
  color: #FFF8E7;
  box-shadow: 0 10px 30px rgba(74, 14, 44, 0.18);
}

.divine-care-card h4 {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.care-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 540px) {
  .care-details-grid { grid-template-columns: 1fr; gap: 16px; }
}

.care-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.care-detail-item strong {
  font-size: 0.88rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.care-detail-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #FFF8E7 !important; /* High contrast light text */
  margin: 0;
}

/* ===================================================================
   CART / CHECKOUT
=================================================================== */
.cart-phase { margin-top: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 992px) { .grid-2 { grid-template-columns: 1fr; } }

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
@media (max-width: 480px) {
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item .remove { grid-column: 2; text-align: left; margin-top: -10px; }
}

.shipping-form, .payment-choice, .cart-summary {
  background: var(--sand);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}
@media (max-width: 480px) { .shipping-form, .payment-choice, .cart-summary { padding: 20px; } }

.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (min-width: 861px) {
  .summary-card.sticky-summary {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
  }
}
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.94rem; }
.summary-row.total { font-weight: 700; font-size: 1.1rem; color: var(--maroon-deep); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }

/* ===================================================================
   FORMS
=================================================================== */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--maroon-deep); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}

img {
  max-width: 100%;
  height: auto;
}

.footer-signoff-emblem {
  max-width: 65px !important;
  max-height: 65px !important;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===================================================================
   COMPACT ULTRA-SLEEK FOOTER
=================================================================== */
.site-footer {
  background: var(--cream-deep);
  color: var(--ink);
  padding: 14px 0 10px;
  margin-top: 20px;
  border-top: 1.5px solid var(--gold);
}

.compact-footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.2);
}

.compact-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer-mini-emblem {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: 0 3px 10px rgba(74, 14, 44, 0.12);
  transition: transform 0.3s ease;
}

.footer-mini-emblem:hover {
  transform: scale(1.08);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-text .brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}

.footer-brand-text .brand-tag {
  font-size: 0.68rem;
  color: var(--ink-soft);
  margin-top: 2px;
  font-weight: 500;
}

.compact-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
}

.compact-footer-links a {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.compact-footer-links a:hover {
  color: var(--maroon);
}

.compact-footer-support {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
}

.compact-footer-support .support-label {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.compact-footer-support .support-email {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
  margin-top: 1px;
  transition: opacity 0.2s ease;
}

.compact-footer-support .support-email:hover {
  opacity: 0.8;
}

.compact-footer-support .support-phones {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 1px;
}

.compact-footer-support .support-phones a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.compact-footer-support .support-phones a:hover {
  color: var(--maroon);
}

.footer-bottom-line {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  font-size: 0.7rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .compact-footer-wrap {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .compact-footer-brand {
    flex-direction: column;
    gap: 6px;
  }
  .footer-brand-text {
    align-items: center;
  }
  .compact-footer-support {
    align-items: center;
    text-align: center;
  }
}
}

/* ===================================================================
   MISC PAGE HEADERS / UTILITY
=================================================================== */
.page-header {
  background: var(--cream-deep);
  padding: 135px 0 32px; /* Clears fixed site-header cleanly with reduced bottom space */
  text-align: center;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 768px) {
  .page-header { padding: 110px 0 24px; }
}
.page-header p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }
.prose h2 { margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.badge-outline {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--maroon-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.notice {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.notice.warn { border-left-color: var(--blush); }

/* ===================================================================
   ICON MEDALLIONS — reusable gold-ringed circular icon badges,
   matching the logo's own circular navigation-icon language.
=================================================================== */
.medallion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(201,162,39,0.25), 0 6px 16px rgba(74,14,44,0.12);
  color: var(--maroon);
  flex-shrink: 0;
}
.medallion svg { width: 30px; height: 30px; }
.medallion.medallion-lg { width: 84px; height: 84px; }
.medallion.medallion-lg svg { width: 40px; height: 40px; }
.medallion.medallion-teal { color: var(--peacock-teal); }
.medallion.medallion-blush { color: var(--blush); }

/* ===================================================================
   FULL-BLEED SECTION TEXTURE — a lightweight repeating SVG watermark
   (our own asset — feather + lotus + fine gold linework) used to break
   up flat, empty stretches of background on wide screens.
=================================================================== */
.section-textured {
  position: relative;
  background-color: var(--cream-deep);
  background-image: var(--svarira-pattern);
  background-size: 340px;
  /* Add a subtle animation to make the background feel alive while loading */
  background-position: 0 0;
}
.section-textured.on-maroon {
  background-color: var(--maroon-deep);
  background-image: var(--svarira-pattern-light);
}

/* ===================================================================
   ATMOSPHERIC PHOTO BANNER — real velvet/feather/lotus photography,
   used sparingly as a full-bleed backdrop with a readability overlay.
=================================================================== */
.atmosphere-header {
  position: relative;
  background-color: var(--maroon-deep);
  background-image: linear-gradient(rgba(42, 18, 32, 0.72), rgba(74, 14, 44, 0.82)), url('../images/atmosphere-velvet.webp');
  background-size: cover;
  background-position: center 30%;
  color: var(--cream);
  padding: 135px 0 36px !important; /* Clears fixed site-header cleanly */
}
@media (max-width: 768px) {
  .atmosphere-header { padding: 110px 0 28px !important; }
}
.atmosphere-header .eyebrow { color: var(--gold-light); }
.atmosphere-header h1 { color: #fff; }
.atmosphere-header p { color: rgba(255,251,243,0.85); }

/* ===================================================================
   SHOP BY OCCASION
=================================================================== */
.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .occasion-grid { grid-template-columns: 1fr; } }
.occasion-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232,203,107,0.3);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.occasion-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.occasion-card h4 { color: #fff; margin: 14px 0 6px; font-size: 1.1rem; }
.occasion-card p { color: rgba(255,251,243,0.75); font-size: 0.88rem; margin: 0; }

/* ===================================================================
   NEWSLETTER
=================================================================== */
.newsletter-card {
  background: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
.newsletter-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--gold);
  opacity: 0.2;
  pointer-events: none;
}
.newsletter-card h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.newsletter-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  font-family: var(--font-body);
  border: 1px solid var(--line);
  padding: 14px 20px;
  font-size: 0.95rem;
  background: transparent;
}
.newsletter-form .btn {
  padding: 14px 32px;
  background: var(--maroon);
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ===================================================================
   ADMIN & DASHBOARD (FULL-SCREEN UTILIZATION & RESPONSIVE DESIGN)
=================================================================== */
html, body[data-root="admin"] {
  background: var(--cream) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

.admin-shell {
  display: flex !important;
  min-height: 100vh !important;
  background: var(--cream) !important;
  font-size: 13.5px;
  line-height: 1.45;
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.admin-sidebar {
  width: 230px !important;
  background: linear-gradient(180deg, #3E0F29 0%, #1A0512 100%) !important;
  border-right: 2px solid var(--gold);
  color: #FCF8EE;
  padding: 14px 10px 40px 10px !important;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.admin-main {
  margin-left: 230px !important;
  min-height: 100vh !important;
  flex: 1 1 auto !important;
  padding: 20px 24px !important;
  background: var(--cream) !important;
  width: calc(100% - 230px) !important;
  max-width: calc(100% - 230px) !important;
  box-sizing: border-box !important;
}

.admin-sidebar .brand-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  text-align: center;
  border-bottom: 1px dashed rgba(201,162,75,0.4);
  padding-bottom: 10px;
}

.admin-sidebar .brand-mini img {
  width: 60px;
  height: 60px;
  background: #FFFDF8;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid var(--gold);
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.admin-sidebar .brand-mini span {
  font-family: var(--font-display);
  color: #EBD08A;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.admin-nav { display: flex; flex-direction: column; gap: 6px; }
.admin-nav a, .admin-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #EBD08A;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(201,162,75,0.3);
  cursor: pointer;
  width: 100%;
  text-align: left;
  text-decoration: none;
  box-sizing: border-box;
}

.admin-nav a:hover, .admin-nav button:hover {
  background: rgba(201,162,75,0.22);
  border-color: var(--gold);
  color: #FFFDF8;
}

.admin-nav a.active {
  background: linear-gradient(135deg, #EBD08A 0%, #C9A24B 100%) !important;
  color: #3E0F29 !important;
  border-color: #FFFDF8 !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 14px rgba(201,162,75,0.4) !important;
}

/* RESPONSIVE LAYOUT FOR TABLETS, MOBILE & NARROW WINDOWS (< 1024px) */
@media (max-width: 1024px) {
  .admin-shell {
    flex-direction: column;
  }
  .admin-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 2px solid var(--gold);
    padding: 14px;
    top: auto;
    left: auto;
    bottom: auto;
  }
  .admin-sidebar .brand-mini {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .admin-sidebar .brand-mini img {
    width: 48px;
    height: 48px;
  }
  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .admin-nav a, .admin-nav button {
    width: auto;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.82rem;
  }
  .admin-main {
    margin-left: 0;
    width: 100%;
    padding: 16px;
  }
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.admin-topbar h1 {
  font-size: 1.6rem;
  margin: 0;
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--maroon);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  font-weight: 700;
}

.admin-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  min-width: 820px !important;
  border-collapse: collapse;
}
.admin-table th, .admin-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.admin-table th { background: var(--cream-deep); font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--maroon); }
.admin-table img { width: 34px; height: 34px; object-fit: cover; border-radius: 4px; }
.admin-table .row-actions { display: flex; gap: 6px; }
.status-pill { font-size: 0.7rem; padding: 2px 8px; border-radius: 999px; background: var(--cream-deep); color: var(--ink-soft); font-weight: 600; }
.status-pill.new { background: var(--blush); color: var(--maroon-deep); }
.status-pill.paid { background: #d4edda; color: #155724; }
.status-pill.failed { background: #f8d7da; color: #721c24; }
.status-pill.pending { background: #fff3cd; color: #856404; }
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--cream); padding: 24px; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; max-width: 380px; width: 100%; box-shadow: var(--shadow); text-align: center; }
.login-card img { height: 56px; margin-bottom: 12px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(30,10,20,0.65); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 10000; padding: 20px; }
.modal-card { background: #FFFDF8; border-radius: 14px; border: 1.5px solid var(--gold); padding: 28px; max-width: 680px; width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(62,15,41,0.3); }
.modal-card.large-modal, #orderModal .modal-card, #masterA4SheetModal .modal-card, #gstInvoiceModal .modal-card, #shippingLabelModal .modal-card, #customerProfilePreviewModal .modal-card { max-width: 1100px !important; width: 95vw !important; padding: 28px !important; border-radius: 16px !important; }

/* ===================================================================
   QUICK VIEW MODAL
=================================================================== */
.qv-card { max-width: 640px; position: relative; padding: 32px; }
.qv-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; font-size: 1.6rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
}
.qv-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
@media (max-width: 560px) { .qv-layout { grid-template-columns: 1fr; } }
.qv-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
/* ===================================================================
   FESTIVAL STRIP
=================================================================== */
.festival-strip {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  background-image: linear-gradient(rgba(110, 21, 65, 0.9), rgba(74, 14, 43, 0.9)), var(--svarira-pattern);
  background-size: 300px;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold);
}
.festival-strip-head { margin-bottom: 16px; }
.festival-strip-head .eyebrow { color: var(--gold-light); margin-bottom: 2px; }
.festival-strip-head h3 { color: #fff; margin: 0; }
.festival-strip-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.festival-chip {
  flex: 0 0 auto;
  width: 220px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(232,203,107,0.3);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.festival-chip:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.festival-chip .fc-days {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold-light);
}
.festival-chip .fc-name { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.festival-chip .fc-blurb { font-size: 0.82rem; color: rgba(255,251,243,0.75); }

/* ===================================================================
   FLAGSHIP TOOL CARDS (Darshan Studio / Seva Set)
=================================================================== */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }
.tool-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(201,162,39,0.15), transparent 70%);
}
.tool-card .badge-new {
  display: inline-block;
  background: var(--blush);
  color: var(--maroon-deep);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 12px;
}
.tool-card h3 { font-size: 1.4rem; }
.tool-card p { color: var(--ink-soft); }

/* ===================================================================
   SEVA SET COMPOSER
=================================================================== */
.composer-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .composer-layout { grid-template-columns: 1fr; } }
.composer-step { margin-bottom: 32px; }
.composer-step .step-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--maroon-deep);
  margin-bottom: 14px;
}
.composer-step .step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--maroon); color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-family: var(--font-body); font-weight: 700;
}
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pick-tile {
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease;
  text-align: left;
}
.pick-tile:hover { transform: translateY(-2px); }
.pick-tile.selected { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,162,39,0.25); }
.pick-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pick-tile .pt-info { padding: 8px 10px; }
.pick-tile .pt-info .name { font-size: 0.82rem; font-weight: 600; display: block; }
.pick-tile .pt-info .price { font-size: 0.8rem; color: var(--maroon-deep); }
.size-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.size-pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  cursor: pointer;
}
.size-pill.selected { background: var(--maroon); color: var(--cream); border-color: var(--maroon); }
.summary-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.summary-line .remove-item { color: var(--maroon); background: none; border: none; cursor: pointer; font-size: 0.78rem; }
.discount-badge { color: var(--peacock-teal); font-weight: 700; }

/* ===================================================================
   DARSHAN STUDIO (virtual dressing preview)
=================================================================== */
.studio-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 860px) { .studio-layout { grid-template-columns: 1fr; } }
.studio-canvas-wrap {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.studio-canvas-wrap canvas {
  max-width: 100%;
  border-radius: 6px;
  cursor: grab;
  background: repeating-conic-gradient(#f2e9d8 0% 25%, #eee1c9 0% 50%) 50% / 20px 20px;
}
.studio-canvas-wrap canvas:active { cursor: grabbing; }
.studio-upload-prompt {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-soft);
}
.studio-controls .form-field { margin-bottom: 16px; }
.studio-controls input[type="range"] { width: 100%; }
.range-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 4px; }

/* ---------- Blog Post Layout ---------- */
.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
}
@media (max-width: 992px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .blog-sidebar {
    order: 2;
  }
}
.sidebar-block {
  background: var(--cream-deep);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.rec-card {
  display: flex;
  gap: 12px;
  align-items: center;
  transition: transform 0.2s ease;
}
.rec-card:hover {
  transform: translateX(5px);
}
.rec-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* ===================================================================
   SKELETON LOADERS (Advanced UX)
=================================================================== */
.skeleton {
  background-color: var(--cream-deep);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-shimmer {
  to { background-position: -200% 0; }
}

.skeleton-card { width: 100%; height: 350px; border-radius: 8px; }
.skeleton-text { height: 1.2rem; margin-bottom: 10px; width: 80%; }
.skeleton-title { height: 2rem; margin-bottom: 20px; width: 60%; }


.quick-view-btn-divine {
  position: absolute;
  bottom: 0px !important;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--maroon);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 4px 4px 0 0;
  border: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1000 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  pointer-events: auto !important;
  white-space: nowrap;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}
.product-card:hover .quick-view-btn-divine {
  opacity: 1;
  bottom: 5px !important;
}

/* ===================================================================
   SANCTUM GOLD FILTER PANEL STYLING (shop-filters.js)
=================================================================== */
.sanctum-filter-card {
  background: #FFFDF8 !important;
  border: 1.5px solid var(--gold, #C9A24B) !important;
  border-radius: 12px !important;
  padding: 20px 16px !important;
  box-shadow: 0 8px 24px rgba(62, 15, 41, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  min-height: 100% !important;
  box-sizing: border-box !important;
}

.sanctum-filter-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(201, 162, 75, 0.3) !important;
}

.sanctum-filter-header h3 {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif) !important;
  font-size: 1.2rem !important;
  color: var(--maroon, #5A1A3C) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
}

.clear-all-btn {
  background: transparent !important;
  border: 1px solid var(--gold, #C9A24B) !important;
  color: var(--maroon, #5A1A3C) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.clear-all-btn:hover {
  background: var(--maroon, #5A1A3C) !important;
  color: #FFFDF8 !important;
  border-color: var(--maroon, #5A1A3C) !important;
  box-shadow: 0 2px 8px rgba(90, 26, 60, 0.2) !important;
}

.sanctum-search-wrap {
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.sanctum-search-wrap .sanctum-search-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--gold, #C9A24B) !important;
  pointer-events: none !important;
}

.sanctum-search-wrap input[type="search"] {
  width: 100% !important;
  padding: 9px 12px 9px 36px !important;
  font-family: var(--font-body, inherit) !important;
  font-size: 0.88rem !important;
  background: #FFFDF8 !important;
  border: 1.5px solid var(--gold, #C9A24B) !important;
  border-radius: 8px !important;
  color: #240818 !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}

.sanctum-search-wrap input[type="search"]:focus {
  border-color: var(--maroon, #5A1A3C) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.25) !important;
}

.filter-group-collapsible {
  border-bottom: 1px solid rgba(201, 162, 75, 0.2) !important;
  padding-bottom: 12px !important;
}

.filter-group-collapsible:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.filter-group-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: var(--font-display, serif) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--maroon, #5A1A3C) !important;
  cursor: pointer !important;
  user-select: none !important;
  padding: 4px 0 !important;
  transition: color 0.2s ease !important;
}

.filter-group-title:hover {
  color: var(--gold, #C9A24B) !important;
}

.filter-group-title .chevron {
  font-size: 0.7rem !important;
  color: var(--gold, #C9A24B) !important;
}

.filter-group-content {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  padding-top: 8px !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
}

.filter-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  padding: 5px 11px !important;
  border-radius: 20px !important;
  background: #FFFDF8 !important;
  border: 1px solid rgba(201, 162, 75, 0.4) !important;
  color: #240818 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  white-space: nowrap !important;
}

.filter-chip:hover {
  border-color: var(--gold, #C9A24B) !important;
  color: var(--maroon, #5A1A3C) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 6px rgba(201, 162, 75, 0.2) !important;
}

.filter-chip.active {
  background: var(--maroon, #5A1A3C) !important;
  color: #FFFDF8 !important;
  border-color: #F3DFA3 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(243, 223, 163, 0.6), 0 3px 10px rgba(90, 26, 60, 0.4) !important;
}

.filter-chip-count {
  font-size: 0.72rem !important;
  opacity: 0.75 !important;
}

.color-swatch-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18) !important;
}

.size-chip-grid {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

.size-badge-chip {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  background: #FFFDF8 !important;
  border: 1.5px solid var(--gold, #C9A24B) !important;
  color: var(--maroon, #5A1A3C) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.size-badge-chip:hover {
  background: rgba(90, 26, 60, 0.1) !important;
  border-color: var(--maroon, #5A1A3C) !important;
}

.size-badge-chip.active {
  background: var(--maroon, #5A1A3C) !important;
  color: #FFFDF8 !important;
  border-color: #F3DFA3 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 10px rgba(243, 223, 163, 0.6), 0 3px 8px rgba(90, 26, 60, 0.4) !important;
}

.price-inputs-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.price-inputs-row input {
  flex: 1 !important;
  padding: 6px 10px !important;
  font-size: 0.82rem !important;
  border: 1px solid var(--gold, #C9A24B) !important;
  border-radius: 6px !important;
  background: #FFFDF8 !important;
  outline: none !important;
}

/* Product Reviews Responsive Layout & Star Picker */
.reviews-layout-grid {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: 32px !important;
  align-items: start !important;
}

@media (max-width: 900px) {
  .reviews-layout-grid {
    grid-template-columns: 1fr !important;
  }
  .review-form-card {
    position: static !important;
    margin-top: 24px !important;
  }
}

.star-rating-picker .star-item {
  transition: transform 0.15s ease, opacity 0.15s ease;
  user-select: none;
}
.star-rating-picker .star-item:hover {
  transform: scale(1.25);
}

/* --- PREMIUM DROPPABLE FAQ ACCORDION --- */
.faq-accordion-container {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-accordion-item {
  background: #FFFDF8;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(62,15,41,0.06);
  transition: all 0.3s ease;
}
.faq-accordion-item:hover {
  box-shadow: 0 6px 20px rgba(62,15,41,0.12);
  border-color: var(--gold-l);
}
.faq-accordion-item.active {
  border-color: var(--gold-d);
  box-shadow: 0 8px 24px rgba(62,15,41,0.15);
}
.faq-accordion-header {
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: linear-gradient(135deg, #FFFDF8 0%, #FAF4E8 100%);
  user-select: none;
}
.faq-accordion-header h4 {
  font-family: var(--font-display);
  color: var(--deep-plum);
  font-size: 1.12rem;
  margin: 0;
  font-weight: 700;
}
.faq-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5A1A3C, #3E0F29);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-l);
  transition: transform 0.35s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-accordion-item.active .faq-icon-badge {
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--deep-plum);
}
.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 22px;
  background: #FFFCF5;
  border-top: 1px dashed transparent;
}
.faq-accordion-item.active .faq-accordion-body {
  max-height: 350px;
  padding: 16px 22px 20px;
  border-top-color: rgba(201,162,75,0.3);
}
.faq-accordion-body p {
  color: var(--deep-plum);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
}

/* ===================================================================
   ANIMATED SVARIRA DIVINE EMBLEM LOADER
=================================================================== */
.logo-aura-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.45) 0%, rgba(110, 21, 65, 0.15) 50%, transparent 70%);
  border-radius: 50%;
  animation: svariraPulse 3s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.main-img::after, .pd-thumbs img::after, .swatch-card-tile::after, .card-overlay, .thumb::after {
  pointer-events: none !important;
}

.logo-halo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125%;
  height: 125%;
  border: 1.5px dashed var(--gold, #C9A24B);
  border-radius: 50%;
  animation: svariraRotate 18s linear infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

@keyframes svariraPulse {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.95; }
}

@keyframes svariraRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

body {
  padding-top: 150px !important;
}

#site-header + *, body > section:first-of-type, body > main:first-of-type, .inner-page-banner, .page-hero, .hero-section, .shop-hero, .studio-hero, .main-content, .cart-container, .profile-container, .content-section, .hero-banner, .atmosphere-header, .page-header {
  margin-top: 0 !important;
}

.main-nav-links {
  opacity: 1;
}

/* ===================================================================
   MOBILE & MULTI-DEVICE RESPONSIVE OVERHAUL (PREVENTS OVERLAPS & SCROLLING)
   =================================================================== */
@media (max-width: 860px) {
  body {
    padding-top: 150px !important;
  }

  #shopSidebar {
    display: none;
  }
  #shopSidebar.mobile-open {
    display: block !important;
    position: static !important;
  }

  /* Floating Mobile Filter Modal Sheet */
  .sanctum-filter-card.mobile-open,
  #shopSidebar.mobile-open .sanctum-filter-card {
    position: fixed !important;
    left: 50% !important;
    bottom: 16px !important;
    top: auto !important;
    transform: translateX(-50%) translateY(0) !important;
    width: calc(100% - 24px) !important;
    max-width: 420px !important;
    max-height: 80vh !important;
    z-index: 10000 !important;
    background: #FFFDF8 !important;
    border: 1.5px solid var(--gold) !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 40px rgba(62,15,41,0.4) !important;
    overflow-y: auto !important;
    padding: 18px 16px !important;
    display: block !important;
    animation: slideUpFloat 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    touch-action: pan-y;
  }

  @keyframes slideUpFloat {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  .sanctum-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(42, 18, 32, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .sanctum-filter-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

/* Sliding Left-Side Mobile Filter Handle */
html body .mobile-filter-left-handle,
html body #mobileFilterLeftHandle {
  display: none !important;
}

@media (max-width: 860px) {
  html body .mobile-filter-left-handle,
  html body #mobileFilterLeftHandle {
    position: fixed !important;
    left: 0;
    border-left: none;
    border-radius: 0 14px 14px 0;
    z-index: 10001 !important;
    background: linear-gradient(135deg, #3E0F29 0%, #5A1A3C 100%) !important;
    color: #EBD08A !important;
    border: 1.5px solid #C9A24B !important;
    padding: 10px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 6px 24px rgba(62,15,41,0.5) !important;
    cursor: grab !important;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }

  html body .mobile-filter-left-handle:active {
    cursor: grabbing !important;
  }

  html body .mobile-filter-left-handle.is-open,
  html body #mobileFilterLeftHandle.is-open {
    background: linear-gradient(135deg, #701A25 0%, #3E0F29 100%) !important;
    border-color: #F3DFA3 !important;
    box-shadow: 0 0 15px rgba(243,223,163,0.6), 0 8px 25px rgba(0,0,0,0.4) !important;
  }

  .mobile-filter-left-handle .mflh-icon {
    font-size: 1.1rem;
    line-height: 1;
  }

  .mobile-filter-left-handle .mflh-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-body);
  }

  .mobile-filter-left-handle .mflh-arrow {
    font-size: 0.9rem;
    font-weight: 800;
    color: #C9A24B;
  }

  /* Style for Position Switcher Chips inside Filter Card */
  .pos-chip-btn {
    background: #FFFDF8;
    color: #3E0F29;
    border: 1px solid #C9A24B;
    border-radius: 8px;
    padding: 2px 6px;
    font-size: 0.68rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .pos-chip-btn.active, .pos-chip-btn:hover {
    background: #3E0F29;
    color: #EBD08A;
  }

  html body .mobile-filter-left-handle.hidden,
  html body #mobileFilterLeftHandle.hidden {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  #site-header + *, body > section:first-of-type, body > main:first-of-type, .inner-page-banner, .page-hero, .hero-section, .shop-hero, .studio-hero, .main-content, .cart-container, .profile-container, .content-section, .hero-banner, .atmosphere-header, .page-header {
    margin-top: 15px !important;
  }

  /* Exact 2-Column Mobile Product Grid */
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* High-Res 100% Full-View Mobile Product Cards */
  .product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #FFFDF8 !important;
    border: 1.5px solid #C9A24B !important;
  }
  .product-card::before {
    border-radius: 10px !important;
  }
  .product-card .thumb {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    max-height: 180px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    background: #FAF5EA !important;
  }
  .product-card .thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 10px 10px 0 0 !important;
  }
  .product-card .body {
    padding: 6px 4px 8px !important;
  }
  .product-card h4 {
    font-size: 0.78rem !important;
    height: 2.3em !important;
    line-height: 1.15 !important;
    color: #3E0F29 !important;
  }
  .product-card .price {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
  }
  .product-card .card-actions {
    display: flex !important;
    gap: 2px !important;
    margin-top: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .product-card .card-actions .btn {
    padding: 4px 3px !important;
    font-size: 0.68rem !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }
  .product-card .card-actions .wishlist-btn-inline {
    padding: 2px !important;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }

  /* Prevent horizontal overflow & zooming on mobile cards, forms & sections */
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  *, *::before, *::after {
    box-sizing: border-box !important;
  }
  .container, .container-fluid, .newsletter-card, .subscribe-card, .contact-card, .about-card, .form-section, .admin-card, .sanctum-filter-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .newsletter-card {
    padding: 20px 12px !important;
  }
  .newsletter-card h3 {
    font-size: 1.15rem !important;
    letter-spacing: 0.03em !important;
    line-height: 1.3 !important;
  }
  .newsletter-card p {
    font-size: 0.85rem !important;
    margin-bottom: 16px !important;
  }
  .newsletter-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .newsletter-form input, .newsletter-form button {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .contact-grid, .pillars-grid, .form-grid-2, .feature-grid, .occasion-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

  /* Universal Full-Width Mobile Page Layout Adapters */
  .grid-2, .pd-layout, .studio-layout, .wall-layout, .seva-layout, .panchang-layout, .shop-layout, .blog-post-layout, .composer-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .pd-actions-row, .pd-specs-grid, .form-grid-3, .preview-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .stat-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  /* Side tab bar & table wrappers on mobile */
  .side-tab-bar, .nav-tabs-wrap {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    width: 100% !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .table-responsive, .invoice-table-wrap {
    overflow-x: auto !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

  #site-header + *, body > section:first-of-type, body > main:first-of-type, .inner-page-banner, .page-hero, .hero-section, .shop-hero, .studio-hero, .main-content, .cart-container, .profile-container, .content-section, .hero-banner, .atmosphere-header, .page-header {
    margin-top: 15px !important;
  }

  /* Fix 2: Exact 2-Column Mobile Product Grid (minmax 0 forces 2 columns) */
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Fix 3: High-Res 100% Full-View Mobile Product Cards */
  .product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #FFFDF8 !important;
    border: 1.5px solid #C9A24B !important;
  }
  .product-card::before {
    border-radius: 10px !important;
  }
  .product-card .thumb {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    max-height: 180px !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    background: #FAF5EA !important;
  }
  .product-card .thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 10px 10px 0 0 !important;
  }
  .product-card .body {
    padding: 6px 4px 8px !important;
  }
  .product-card h4 {
    font-size: 0.78rem !important;
    height: 2.3em !important;
    line-height: 1.15 !important;
    color: #3E0F29 !important;
  }
  .product-card .price {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
  }
  .product-card .card-actions {
    display: flex !important;
    gap: 2px !important;
    margin-top: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .product-card .card-actions .btn {
    padding: 4px 3px !important;
    font-size: 0.68rem !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }
  .product-card .card-actions .wishlist-btn-inline {
    padding: 2px !important;
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }

  /* Fix 4: Prevent horizontal overflow & zooming on all cards, forms & sections */
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  *, *::before, *::after {
    box-sizing: border-box !important;
  }
  .container, .container-fluid, .newsletter-card, .subscribe-card, .contact-card, .about-card, .form-section, .admin-card, .sanctum-filter-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .newsletter-card {
    padding: 20px 12px !important;
  }
  .newsletter-card h3 {
    font-size: 1.15rem !important;
    letter-spacing: 0.03em !important;
    line-height: 1.3 !important;
  }
  .newsletter-card p {
    font-size: 0.85rem !important;
    margin-bottom: 16px !important;
  }
  .newsletter-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .newsletter-form input, .newsletter-form button {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .contact-grid, .pillars-grid, .form-grid-2, .feature-grid, .occasion-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }
}


