/* ==========================================================================
   🕉️ SHIVAM SHIVALAYA - DESIGN SYSTEM & GLOBAL STYLES
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Noto+Sans+Devanagari:wght@400;500;700&display=swap');

:root {
  /* Color Palette (Matching Screenshot) */
  --bg-dark: #121316;
  --bg-card: #1c1d22;
  --bg-input: #23252a;
  
  --color-saffron: #e86830;
  --color-saffron-hover: #cf541f;
  --color-gold: #c5961a;
  --color-gold-glow: rgba(197, 150, 26, 0.2);
  
  --text-white: #ffffff;
  --text-grey: #a0a5b5;
  --text-dark: #121316;
  
  --border-grey: #2e313a;
  --success-green: #25d366; /* WhatsApp Green */
  
  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-devanagari: 'Noto Sans Devanagari', sans-serif;
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* CSS Resets & Performance Engine */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ⚡ GPU Hardware Layering for Smooth 60FPS Scrolling (Core Web Vitals & SEO Optimized) */
header.sticky,
.sticky {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}



.product-card,
.size-card-v2,
.pattern-card-v2 {
  contain: content;
  transform: translateZ(0);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.5px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--border-grey);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-saffron);
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(18, 19, 22, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-grey);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
}

.logo span {
  color: var(--color-saffron);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-grey);
}

.nav-item a:hover, .nav-item.active a {
  color: var(--color-saffron);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  font-size: 1.2rem;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.icon-btn:hover {
  color: var(--color-saffron);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-saffron);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-saffron);
}

/* ==========================================================================
   HOMEPAGE HERO SECTION & LANGUAGE BAR
   ========================================================================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(rgba(18, 19, 22, 0.8), rgba(18, 19, 22, 0.95)), 
              url('../images/UI/hero-bg.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--border-grey);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 800px;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-grey);
  max-width: 600px;
  margin-bottom: 32px;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.cta-btn {
  background-color: var(--color-saffron);
  color: var(--text-white);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(232, 104, 48, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

.cta-btn:hover {
  background-color: var(--color-saffron-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 104, 48, 0.6);
}

/* Language Selection Bar (Matching Screenshot Section 2) */
.language-region-bar {
  margin-top: 40px;
  padding: 10px 24px;
  background-color: rgba(28, 29, 34, 0.8);
  border: 1px solid var(--border-grey);
  border-radius: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease 0.6s;
  animation-fill-mode: both;
}

.lang-option {
  color: var(--text-grey);
  background: none;
  border: none;
  font-size: 10px !important; /* Compact small text */
  font-weight: 600;
  cursor: pointer;
  padding: 3px 6px !important; /* Very slim padding */
  border-radius: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.lang-option:hover {
  color: var(--color-saffron);
}

.lang-option.active {
  color: var(--color-saffron);
  font-weight: 700;
  border: 1px solid var(--color-saffron);
  background-color: rgba(232, 104, 48, 0.1);
}

/* Compact pill container - no wrapping */
.lang-pill-container {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none; /* Firefox - hide scrollbar */
  -ms-overflow-style: none; /* IE - hide scrollbar */
}
.lang-pill-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari - hide scrollbar */
}

.lang-divider {
  color: var(--border-grey);
}

/* ==========================================================================
   BUNDLE CAROUSEL & SECTIONS
   ========================================================================== */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--text-white);
}

.section-header p {
  color: var(--text-grey);
  font-size: 1.1rem;
}

/* Complete Setup Bundle Layout (Matching Screen 3) */
.bundle-container {
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-grey);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.bundle-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.bundle-item-card {
  background-color: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid var(--border-grey);
  padding: 20px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bundle-item-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 4px 20px var(--color-gold-glow);
}

.bundle-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: #fff; /* White background placeholder */
}

/* ==========================================================================
   PRODUCT CATALOG (Matching Screen 4)
   ========================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

/* Sidebar filter */
.sidebar-filters {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-grey);
  padding: 24px;
  height: fit-content;
}

.filter-group {
  margin-bottom: 30px;
}

.filter-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-grey);
  padding-bottom: 8px;
  color: var(--color-gold);
}

.filter-list {
  list-style: none;
}

.filter-item {
  margin-bottom: 10px;
}

.filter-link {
  display: block;
  color: var(--text-grey);
  font-size: 0.95rem;
  padding: 4px 0;
}

.filter-link:hover, .filter-link.active {
  color: var(--color-saffron);
  padding-left: 5px;
}

/* Catalog Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-grey);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-gold-glow);
}

.product-card-img-wrapper {
  position: relative;
  background-color: #fff; /* White background matching catalog screenshots */
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 1.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-white);
}

.product-card-meta {
  font-size: 0.85rem;
  color: var(--text-grey);
  margin-bottom: 12px;
}

.product-card-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
}

.price-old {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--text-grey);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 50px;
  gap: 8px;
  margin-top: auto;
}

.add-to-cart-btn {
  background-color: var(--color-saffron);
  color: var(--text-white);
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.add-to-cart-btn:hover {
  background-color: var(--color-saffron-hover);
}

.whatsapp-btn {
  background-color: var(--success-green);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 40px;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE & AI TOOL (Matching Screen 5)
   ========================================================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 20px;
}

/* Image Gallery */
.gallery-container {
  display: flex;
  gap: 16px;
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumb {
  width: 70px;
  height: 70px;
  border-radius: 6px;
  border: 2px solid var(--border-grey);
  cursor: pointer;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb.active, .thumb:hover {
  border-color: var(--color-saffron);
}

.thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.main-image-view {
  flex-grow: 1;
  height: 450px;
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.main-image-view img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

/* Product Info */
.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.detail-meta-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  border-top: 1px solid var(--border-grey);
  border-bottom: 1px solid var(--border-grey);
}

.spec-item {
  font-size: 0.95rem;
  color: var(--text-grey);
}

.spec-item span {
  font-weight: 600;
  color: var(--text-white);
  margin-left: 6px;
}

/* AI Tool Wrapper */
.ai-tool-box {
  background: linear-gradient(135deg, rgba(197, 150, 26, 0.05), rgba(232, 104, 48, 0.05));
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(197, 150, 26, 0.05);
}

.ai-tool-title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-tool-input-group {
  margin-bottom: 16px;
}

.ai-tool-input-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-grey);
  margin-bottom: 6px;
}

.ai-tool-input {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-grey);
  border-radius: 6px;
  color: var(--text-white);
  padding: 10px 14px;
  font-size: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ai-tool-input:focus {
  border-color: var(--color-saffron);
}

.ai-tool-output {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-grey);
  font-size: 0.95rem;
}

.ai-tool-result {
  color: var(--color-saffron);
  font-weight: 700;
  margin-bottom: 6px;
}

.ai-tool-vastu {
  color: var(--text-grey);
  font-style: italic;
}

/* Dual Descriptions Side by Side */
.descriptions-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  border-top: 1px solid var(--border-grey);
  padding-top: 30px;
}

.desc-pane h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--color-gold);
}

.desc-pane.hindi {
  font-family: var(--font-devanagari);
}

/* ==========================================================================
   SECURE ADMIN DASHBOARD (Matching Screen 6)
   ========================================================================== */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.admin-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-grey);
  padding: 32px;
}

.admin-card-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--color-saffron);
  border-bottom: 1px solid var(--border-grey);
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.admin-form-group.full-width {
  grid-column: span 3;
}

.admin-form-group label {
  font-size: 0.9rem;
  color: var(--text-grey);
  margin-bottom: 8px;
  font-weight: 500;
}

.admin-input, .admin-select, .admin-textarea {
  background-color: var(--bg-input);
  border: 1px solid var(--border-grey);
  border-radius: 6px;
  color: var(--text-white);
  padding: 12px;
  font-size: 0.95rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.admin-input:focus, .admin-select:focus, .admin-textarea:focus {
  border-color: var(--color-saffron);
}

/* File Upload Box */
.drag-drop-box {
  border: 2px dashed var(--border-grey);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  background-color: rgba(35, 37, 42, 0.3);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  grid-column: span 3;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.drag-drop-box:hover, .drag-drop-box.dragover {
  border-color: var(--color-gold);
  background-color: rgba(197, 150, 26, 0.05);
}

.drag-drop-icon {
  font-size: 2.2rem;
  color: var(--color-gold);
}

/* Order Tracker Table */
.table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border-grey);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.orders-table th {
  background-color: var(--bg-input);
  color: var(--color-gold);
  padding: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-grey);
}

.orders-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-grey);
  color: var(--text-white);
}

.orders-table tr:hover {
  background-color: rgba(35, 37, 42, 0.4);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.pending {
  background-color: rgba(197, 150, 26, 0.15);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.status-badge.dispatched {
  background-color: rgba(232, 104, 48, 0.15);
  color: var(--color-saffron);
  border: 1px solid var(--color-saffron);
}

.status-badge.delivered {
  background-color: rgba(37, 211, 102, 0.15);
  color: var(--success-green);
  border: 1px solid var(--success-green);
}

/* ==========================================================================
   CART & CHECKOUT
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
}

.cart-items-list {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-grey);
  padding: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-grey);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.cart-item-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-grey);
  border-radius: 6px;
  padding: 4px 8px;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  font-weight: 700;
}

.cart-summary-box {
  background-color: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-grey);
  padding: 24px;
  height: fit-content;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.summary-total {
  font-size: 1.3rem;
  font-weight: 700;
  border-top: 1px solid var(--border-grey);
  padding-top: 16px;
  color: var(--color-gold);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
footer {
  background-color: #0c0d0f;
  border-top: 1px solid var(--border-grey);
  padding: 60px 24px 30px;
  margin-top: 80px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.2rem;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-grey);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-grey);
}

.footer-links a:hover {
  color: var(--color-saffron);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-grey);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-grey);
  font-size: 0.9rem;
}

/* Float WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 99;
  font-size: 1.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   CSS ANIMATIONS
   ========================================================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .catalog-layout, .product-detail-layout, .cart-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-form-group.full-width {
    grid-column: span 2;
  }
  
  .drag-drop-box {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .bundle-gallery {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .descriptions-split {
    grid-template-columns: 1fr;
  }
  
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-form-group.full-width {
    grid-column: span 1;
  }
  
  .drag-drop-box {
    grid-column: span 1;
  }
  
  .nav-menu {
    display: none; /* Mobile menu logic can be added */
  }
}
    :root {
      /* Night Mode Colors (Default) */
      --color-templedark: #121316;
      --color-templecard: #1c1d22;
      --color-templeinput: #23252a;
    }
    
    body.light-mode {
      /* Day Mode Colors (Ivory Mandir Theme) */
      --color-templedark: #FAF8F5; /* Warm soft ivory background */
      --color-templecard: #F5EFE6; /* Elegant warm card backing */
      --color-templeinput: #EAE3D2; /* Input fields light cream */
    }

    /* Day Mode CSS Overrides */
    body.light-mode {
      color: #000000 !important;
    }
    body.light-mode .text-white,
    body.light-mode .text-gray-100,
    body.light-mode .text-gray-200,
    body.light-mode .text-gray-300,
    body.light-mode .text-gray-400,
    body.light-mode .text-gray-500 {
      color: #000000 !important;
      font-weight: 700 !important; /* Convert light black/gray to dark black and bold */
    }
    body.light-mode .border-gray-800,
    body.light-mode .border-gray-855,
    body.light-mode .border-gray-850,
    body.light-mode .border-gray-900 {
      border-color: #E2D9CD !important;
    }
    body.light-mode .bg-black/90,
    body.light-mode .bg-black/60,
    body.light-mode .bg-black/40 {
      background-color: rgba(240, 233, 221, 0.8) !important;
    }
    body.light-mode .shadow-2xl,
    body.light-mode .shadow-xl {
      box-shadow: 0 15px 30px -10px rgba(45, 39, 33, 0.12) !important;
    }
    body.light-mode input,
    body.light-mode select,
    body.light-mode textarea {
      color: #000000 !important;
      font-weight: 700 !important;
      border-color: #E2D9CD !important;
    }
    body.light-mode .bg-saffron/10 {
      background-color: rgba(232, 104, 48, 0.08) !important;
    }
    body.light-mode .bg-emerald-500/10 {
      background-color: rgba(16, 185, 129, 0.08) !important;
    }
    body.light-mode .bg-gold/10 {
      background-color: rgba(197, 150, 26, 0.08) !important;
    }
    /* Day mode header link hover and typography adjustments */
    body.light-mode .text-gray-400:hover {
      color: #e86830 !important;
    }
    /* Language Selector Day Mode Custom Styling */
    body.light-mode .lang-pill-container {
      background-color: #ffffff !important;
      border-color: #E2D9CD !important;
      box-shadow: 0 4px 10px rgba(45, 39, 33, 0.05) !important;
    }
    body.light-mode .lang-option {
      color: #000000 !important;
      font-weight: 700 !important;
    }
    body.light-mode .lang-option.text-orange-500 {
      background-color: #e86830 !important;
      color: #ffffff !important;
      font-weight: 800 !important;
      box-shadow: 0 2px 5px rgba(232, 104, 48, 0.3) !important;
    }
    /* Day Mode Header Solid Override */
    body.light-mode header {
      background-color: #FAF8F5 !important;
      backdrop-filter: none !important;
      border-color: #E2D9CD !important;
    }
    /* Day Mode Footer Solid Override */
    body.light-mode footer {
      background-color: #F5EFE6 !important;
      border-color: #E2D9CD !important;
    }
    /* Hero section text always stays white */
    .hero-text-always-white {
      color: #ffffff !important;
      font-weight: inherit !important;
    }

/* ==========================================================================
   THEME VARIABLES
   ========================================================================== */
:root {
  --color-templedark: #121316;
  --color-templecard: #1c1d22;
  --color-templeinput: #23252a;
  --color-product-img-bg: #1a1b20;
}

body.light-mode {
  --color-templedark: #FAF8F5;
  --color-templecard: #F5EFE6;
  --color-templeinput: #EAE3D2;
  --color-product-img-bg: #f0ebe3;
}

/* Day Mode CSS Overrides */
body.light-mode {
  color: #1a1a1a !important;
}
body.light-mode .text-white,
body.light-mode .text-gray-100,
body.light-mode .text-gray-200,
body.light-mode .text-gray-300,
body.light-mode .text-gray-400,
body.light-mode .text-gray-500 {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}
body.light-mode .border-gray-800,
body.light-mode .border-gray-855,
body.light-mode .border-gray-850,
body.light-mode .border-gray-900 {
  border-color: #E2D9CD !important;
}
body.light-mode .shadow-2xl,
body.light-mode .shadow-xl {
  box-shadow: 0 15px 30px -10px rgba(45, 39, 33, 0.12) !important;
}
body.light-mode input,
body.light-mode select,
body.light-mode textarea {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  border-color: #E2D9CD !important;
}
body.light-mode .text-gray-400:hover {
  color: #e86830 !important;
}
/* Language Selector Day Mode */
body.light-mode .lang-pill-container {
  background-color: #ffffff !important;
  border-color: #E2D9CD !important;
  box-shadow: 0 4px 10px rgba(45, 39, 33, 0.05) !important;
}
body.light-mode .lang-option {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}
body.light-mode .lang-option.text-orange-500 {
  background-color: #e86830 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 5px rgba(232, 104, 48, 0.3) !important;
}
/* Day Mode Header */
body.light-mode header {
  background-color: #FAF8F5 !important;
  backdrop-filter: none !important;
  border-color: #E2D9CD !important;
}
/* Day Mode Footer */
body.light-mode footer {
  background-color: #F5EFE6 !important;
  border-color: #E2D9CD !important;
}
/* Hero section text always stays white */
.hero-text-always-white {
  color: #ffffff !important;
  font-weight: inherit !important;
}

/* ==========================================================================
   FAVORITE / WISHLIST ICON & BADGE — Always red across themes
   ========================================================================== */
header a[href="/wishlist.html"] {
  color: #ef4444 !important;
  transition: all 0.3s ease;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
header a[href="/wishlist.html"] i.fa-heart {
  font-size: 1.35rem !important; /* Make heart size bigger */
}
header a[href="/wishlist.html"]:hover {
  color: #dc2626 !important;
  transform: scale(1.1) !important;
}
body.light-mode header a[href="/wishlist.html"] {
  color: #ef4444 !important;
}
header a[href="/wishlist.html"] .wishlist-badge {
  font-size: 8px !important;
  font-weight: 800 !important;
  background-color: #ef4444 !important;
  color: #ffffff !important;
  min-width: 13px !important;
  height: 13px !important;
  padding: 0 !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 0px !important;
  right: -2px !important;
  border: 1px solid var(--color-templedark) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* ==========================================================================
   THEME-AWARE PRODUCT IMAGE BACKGROUNDS
   ========================================================================== */
.product-img-bg {
  background-color: var(--color-product-img-bg) !important;
  transition: background-color 0.3s ease;
}

/* ==========================================================================
   COMPACT BRAND LOGO — Saffron/Gold Om Badge & Elegant Typography
   ========================================================================== */
header .logo a {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  gap: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}
header .logo a i.fa-om {
  width: 30px !important;
  height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #e86830, #c5961a) !important;
  color: #ffffff !important;
  border-radius: 30% !important;
  font-size: 13px !important;
  box-shadow: 0 2px 8px rgba(232, 104, 48, 0.45) !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  flex-shrink: 0 !important;
}
header .logo a:hover i.fa-om {
  transform: rotate(360deg) scale(1.1) !important;
  box-shadow: 0 4px 12px rgba(232, 104, 48, 0.65) !important;
}
header .logo a span {
  font-family: var(--font-serif) !important;
  font-weight: 700 !important;
  letter-spacing: -0.2px !important;
  color: var(--text-white) !important;
}
header .logo a span span.text-saffron {
  color: #e86830 !important;
}
body.light-mode header .logo a span {
  color: #1a1a1a !important;
}
body.light-mode header .logo a span span.text-saffron {
  color: #e86830 !important;
}
@media (min-width: 640px) {
  header .logo a {
    font-size: 1.25rem !important;
  }
  header .logo a i.fa-om {
    width: 34px !important;
    height: 34px !important;
    font-size: 15px !important;
  }
}

/* ==========================================================================
   DAY/NIGHT TOGGLE SWITCH — Clean & Compact
   ========================================================================== */
body .theme-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 42px !important;
  height: 22px !important;
  background: linear-gradient(135deg, #1e2028, #2a2c34) !important;
  border: 1.5px solid #3a3b40 !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s !important;
  flex-shrink: 0 !important;
}
body .theme-toggle:hover {
  border-color: #555 !important;
  box-shadow: 0 0 8px rgba(232, 104, 48, 0.2) !important;
}
body.light-mode .theme-toggle {
  background: linear-gradient(135deg, #fff8f0, #ffe8d6) !important;
  border-color: #e86830 !important;
  box-shadow: 0 0 8px rgba(232, 104, 48, 0.15) !important;
}
body .theme-toggle .toggle-knob {
  position: absolute !important;
  left: 2px !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #e86830, #d45a22) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), background 0.35s !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25) !important;
}
body.light-mode .theme-toggle .toggle-knob {
  transform: translateX(20px) !important;
  background: linear-gradient(135deg, #e86830, #d45a22) !important;
}
body .theme-toggle .toggle-knob i {
  font-size: 8px !important;
  color: #ffffff !important;
}
body .theme-toggle .icon-moon { display: block !important; }
body .theme-toggle .icon-sun  { display: none !important;  }
body.light-mode .theme-toggle .icon-moon { display: none !important;  }
body.light-mode .theme-toggle .icon-sun  { display: block !important; }

/* Mobile Responsive Theme Toggle */
@media (max-width: 640px) {
  body .theme-toggle {
    width: 36px !important;
    height: 20px !important;
  }
  body .theme-toggle .toggle-knob {
    width: 14px !important;
    height: 14px !important;
    left: 2px !important;
  }
  body .theme-toggle .toggle-knob i {
    font-size: 7px !important;
  }
  body.light-mode .theme-toggle .toggle-knob {
    transform: translateX(16px) !important;
  }

  /* Mobile catalog card optimization */
  .pcp-image-wrap {
    aspect-ratio: 4 / 4.5 !important; /* Taller image covers more vertical space */
  }
  .pcp-title {
    font-size: 0.85rem !important; /* Smaller text size for compact title */
    line-height: 1.25 !important;
  }
  .pcp-meta {
    font-size: 9px !important;
    margin-bottom: 6px !important;
  }
}

/* Product details page description font size optimization */
#product-description {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}

/* ==========================================================================
   PREMIUM PRODUCT IMAGE FLOATING SHADOWS
   ========================================================================== */
#main-image-container {
  background-color: transparent !important;
  border-color: transparent !important;
  max-width: 420px !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#main-image-container img, 
#main-image-container video {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
  border-radius: 16px !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  transition: transform 0.3s ease !important;
}
body.light-mode #main-image-container img, 
body.light-mode #main-image-container video {
  box-shadow: 0 12px 32px rgba(45, 39, 33, 0.15) !important;
}

/* ==========================================================================
   THEME-AWARE BUTTONS (Quantity & Wishlist Detail)
   ========================================================================== */
/* Default / Dark Mode */
#qty-minus, #qty-plus {
  background-color: #1c1d22 !important;
  border-color: #3a3b40 !important;
  color: #ffffff !important;
}
#qty-minus:hover, #qty-plus:hover {
  background-color: #2a2c34 !important;
}
#wishlist-detail-btn {
  background-color: #1c1d22 !important;
  border-color: #3a3b40 !important;
  color: #9ca3af !important;
}
#wishlist-detail-btn:hover {
  background-color: #2a2c34 !important;
  color: #ffffff !important;
}

/* Day Mode / Light Mode */
body.light-mode #qty-minus, 
body.light-mode #qty-plus {
  background-color: #ffffff !important;
  border-color: #E2D9CD !important;
  color: #1a1a1a !important;
}
body.light-mode #qty-minus:hover, 
body.light-mode #qty-plus:hover {
  background-color: #f5efe6 !important;
}
body.light-mode #wishlist-detail-btn {
  background-color: #ffffff !important;
  border-color: #E2D9CD !important;
  color: #1a1a1a !important;
}
body.light-mode #wishlist-detail-btn:hover {
  background-color: #f5efe6 !important;
  color: #ef4444 !important;
}
body.light-mode #wishlist-detail-btn.text-red-500 {
  background-color: rgba(239, 68, 68, 0.08) !important;
  color: #ef4444 !important;
}

/* Floating Wishlist Button styling on product cards */
.wishlist-btn.absolute {
  background-color: rgba(12, 11, 14, 0.18) !important; /* Very transparent */
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #d1d5db !important;
  transition: all 0.3s ease !important;
}
.wishlist-btn.absolute:hover {
  background-color: rgba(239, 68, 68, 0.22) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #ef4444 !important;
  transform: scale(1.05) !important;
}
.wishlist-btn.absolute.text-red-500 {
  background-color: rgba(239, 68, 68, 0.3) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  color: #ef4444 !important;
}

/* Light mode adjustments */
body.light-mode .wishlist-btn.absolute {
  background-color: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: #374151 !important;
}
body.light-mode .wishlist-btn.absolute:hover {
  background-color: rgba(239, 68, 68, 0.15) !important;
  color: #ef4444 !important;
}
body.light-mode .wishlist-btn.absolute.text-red-500 {
  background-color: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
}

/* ==========================================================================
   🕉️ PREMIUM PRODUCT CARD REDESIGN — UNIQUE FROM COMPETITOR
   ========================================================================== */

/* ── Shimmer loading skeleton ── */
@keyframes shimmer {
  0%   { background-position: -700px 0; }
  100% { background-position: 700px 0; }
}
.shimmer-card {
  background: linear-gradient(90deg, #1c1d22 25%, #262830 50%, #1c1d22 75%);
  background-size: 700px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 1.25rem;
  min-height: 320px;
}

/* ── Divine glow ring keyframe ── */
@keyframes divineGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197,150,26,0); }
  50%       { box-shadow: 0 0 28px 4px rgba(197,150,26,0.28); }
}

/* ──────────────────────────────────────────────────────────────
   PREMIUM CATALOG CARD  (.product-card-premium)
────────────────────────────────────────────────────────────── */
.product-card-premium {
  position: relative;
  background: var(--bg-card, #1c1d22);
  border: 1px solid #2e313a;
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.35s ease;
}
.product-card-premium:hover {
  border-color: #c5961a;
  transform: translateY(-6px);
  animation: divineGlow 2.4s ease-in-out infinite;
}

/* Image wrapper */
.pcp-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #16171b;
}
.pcp-image-wrap img,
.pcp-image-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.5s cubic-bezier(0.25,0.8,0.25,1);
  will-change: transform;
}
.product-card-premium:hover .pcp-image-wrap img,
.product-card-premium:hover .pcp-image-wrap video {
  transform: scale(1.12);
}

/* Diagonal gradient scrim over bottom of image */
.pcp-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, transparent 50%, rgba(12,11,14,0.78) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Floating category badge on image (top-left) */
.pcp-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(12, 11, 14, 0.28); /* Highly transparent */
  backdrop-filter: blur(8px); /* Beautiful frosted glass */
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 150, 26, 0.45); /* Soft gold border */
  color: #c5961a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3.5px 10px;
  border-radius: 999px;
  line-height: 1.4;
}

/* Wishlist btn on image (top-right) */
.pcp-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 11, 14, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d1d5db;
  transition: background 0.25s, color 0.25s, transform 0.2s, border-color 0.25s;
  cursor: pointer;
  pointer-events: auto;
}
.pcp-wishlist-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
  transform: scale(1.12);
}
.pcp-wishlist-btn.text-red-500 {
  background: rgba(239, 68, 68, 0.35) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #ef4444 !important;
}

/* Authenticity ribbon (bottom-left, reveals on hover) */
.pcp-ribbon {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.product-card-premium:hover .pcp-ribbon { opacity: 1; transform: translateY(0); }

/* Card body */
.pcp-body {
  padding: 14px 16px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.pcp-title {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.3;
  transition: color 0.25s;
}
.product-card-premium:hover .pcp-title { color: #c5961a; }
.pcp-meta { font-size: 10px; color: #6b7280; margin-bottom: 8px; letter-spacing: 0.03em; }
.pcp-desc {
  display: none !important; /* Hide description on catalog cards as requested */
}
.pcp-cta { margin-top: auto; }
.pcp-cta button,
.wa-inquiry-btn,
#wishlist-grid .wa-inquiry-btn,
#related-products-grid .wa-inquiry-btn {
  overflow: hidden !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.pcp-cta button span,
.wa-inquiry-btn span,
#wishlist-grid .wa-inquiry-btn span,
#related-products-grid .wa-inquiry-btn span {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.2 !important;
  max-width: 100% !important;
}
.pcp-cta button i.fa-whatsapp,
.wa-inquiry-btn i.fa-whatsapp {
  flex-shrink: 0 !important;
}

/* Light mode */
body.light-mode .product-card-premium { background: #F5EFE6; border-color: #E2D9CD; }
body.light-mode .pcp-title { color: #1a1a1a; }
body.light-mode .product-card-premium:hover .pcp-title { color: #c5961a; }
body.light-mode .pcp-meta, body.light-mode .pcp-desc { color: #6b5e4a; }
body.light-mode .pcp-image-wrap { background: #ede7de; }
body.light-mode .pcp-category-badge { background: rgba(255, 251, 245, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: rgba(197,150,26,0.5); }
body.light-mode .pcp-wishlist-btn { background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-color: rgba(0,0,0,0.08); color: #374151; }

/* ──────────────────────────────────────────────────────────────
   SIZE CATEGORY CARDS  (.size-card-v2)
────────────────────────────────────────────────────────────── */
.size-card-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(145deg, #1c1d22 60%, #22242c 100%);
  border: 1px solid #2e313a;
  border-radius: 1.75rem;
  padding: 1.5rem 0.85rem 1.25rem;
  transition: border-color 0.35s, transform 0.35s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.35s;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}
.size-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(197,150,26,0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.size-card-v2:hover::before { opacity: 1; }
.size-card-v2:hover {
  border-color: #c5961a;
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 40px rgba(197,150,26,0.22), 0 0 0 1px rgba(197,150,26,0.2);
}
.size-card-v2 .sc-img-ring {
  width: 135px; height: 135px;
  border-radius: 50%;
  border: 3px solid rgba(197,150,26,0.4);
  overflow: hidden; margin-bottom: 14px;
  background: #16171b;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.size-card-v2:hover .sc-img-ring { border-color: #c5961a; box-shadow: 0 0 24px rgba(197,150,26,0.45); }
.size-card-v2 .sc-img-ring img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.size-card-v2:hover .sc-img-ring img { transform: scale(1.14); }
.size-card-v2 .sc-num { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #c5961a; margin-bottom: 4px; display: block; }
.size-card-v2 .sc-title { font-family: var(--font-serif,'Playfair Display',serif); font-size: 0.98rem; font-weight: 700; color: #ffffff; margin-bottom: 2px; line-height: 1.25; }
.size-card-v2 .sc-sub { font-size: 10.5px; color: #9ca3af; letter-spacing: 0.04em; }
@media (min-width: 768px) {
  .size-card-v2 .sc-img-ring { width: 165px; height: 165px; }
  .size-card-v2 .sc-title { font-size: 1.05rem; }
  .size-card-v2 .sc-sub { font-size: 11px; }
}
body.light-mode .size-card-v2 { background: linear-gradient(145deg, #F5EFE6 60%, #EDE7DE 100%); border-color: #E2D9CD; }
body.light-mode .size-card-v2 .sc-img-ring { background: #EDE7DE; }
body.light-mode .size-card-v2 .sc-title { color: #1a1a1a; }
body.light-mode .size-card-v2 .sc-sub { color: #6b5e4a; }

/* ──────────────────────────────────────────────────────────────
   SACRED PATTERN MOSAIC CARDS  (.pattern-card-mosaic)
────────────────────────────────────────────────────────────── */
.pattern-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: start;
}
@media (min-width: 768px) {
  .pattern-mosaic-grid { grid-template-columns: repeat(4, 1fr); }
}
.pattern-card-mosaic {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  cursor: pointer;
  background: #16171b;
  transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.4s;
}
.pattern-card-mosaic:nth-child(even) { margin-top: 1.5rem; }
.pattern-card-mosaic:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 48px rgba(197,150,26,0.22), 0 0 0 2px rgba(197,150,26,0.3);
  z-index: 2;
}
.pattern-card-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pattern-card-mosaic:hover img { transform: scale(1.08); }
.pattern-card-mosaic .pcm-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,7,10,0.88) 0%, rgba(8,7,10,0.3) 45%, transparent 75%);
  pointer-events: none; z-index: 1;
}
.pattern-card-mosaic .pcm-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 14px 14px; z-index: 2;
  transform: translateY(6px);
  transition: transform 0.35s ease;
}
.pattern-card-mosaic:hover .pcm-text { transform: translateY(0); }
.pattern-card-mosaic .pcm-title { font-family: var(--font-serif,'Playfair Display',serif); font-size: 0.88rem; font-weight: 700; color: #ffffff; line-height: 1.2; margin-bottom: 3px; display: block; }
.pattern-card-mosaic .pcm-sub { font-size: 9px; letter-spacing: 0.06em; color: rgba(197,150,26,0.85); text-transform: uppercase; font-weight: 600; }
.pattern-card-mosaic .pcm-dot {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 8px; height: 8px; border-radius: 50%;
  background: #c5961a; box-shadow: 0 0 8px rgba(197,150,26,0.8);
  animation: divineGlow 2s ease-in-out infinite;
}

/* ── Related products on product.html ── */
.related-card-v2 {
  background: var(--bg-card,#1c1d22); border: 1px solid #2e313a; border-radius: 1.25rem;
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.related-card-v2:hover { border-color: #c5961a; transform: translateY(-5px); box-shadow: 0 16px 40px rgba(197,150,26,0.15); }
.related-card-v2 .rc-img { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #16171b; }
.related-card-v2 .rc-img img, .related-card-v2 .rc-img video { width:100%; height:100%; object-fit:cover; transform:scale(1.04); transition:transform 0.5s ease; }
.related-card-v2:hover .rc-img img, .related-card-v2:hover .rc-img video { transform: scale(1.12); }
.related-card-v2 .rc-img::after { content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(8,7,10,0.55) 0%, transparent 60%); pointer-events:none; }
.related-card-v2 .rc-body { padding: 12px 14px 14px; flex-grow:1; display:flex; flex-direction:column; }
.related-card-v2 .rc-title { font-family:var(--font-serif,'Playfair Display',serif); font-size:0.92rem; font-weight:700; color:#fff; margin-bottom:2px; line-height:1.25; transition:color 0.25s; }
.related-card-v2:hover .rc-title { color: #c5961a; }
.related-card-v2 .rc-meta { font-size:10px; color:#6b7280; margin-bottom:10px; }
body.light-mode .related-card-v2 { background:#F5EFE6; border-color:#E2D9CD; }
body.light-mode .related-card-v2 .rc-title { color:#1a1a1a; }
body.light-mode .related-card-v2:hover .rc-title { color:#c5961a; }
body.light-mode .related-card-v2 .rc-meta { color:#6b5e4a; }
body.light-mode .related-card-v2 .rc-img { background:#EDE7DE; }

/* ── Horizontal thumbnail strip ── */
.thumb-strip { display:flex; flex-direction:row; gap:8px; overflow-x:auto; padding-bottom:4px; scrollbar-width:thin; scrollbar-color:#c5961a transparent; }
.thumb-strip::-webkit-scrollbar { height:4px; }
.thumb-strip::-webkit-scrollbar-thumb { background:#c5961a; border-radius:2px; }
.thumb-item { flex-shrink:0; width:64px; height:64px; border-radius:10px; overflow:hidden; border:2px solid #2e313a; cursor:pointer; background:#16171b; display:flex; align-items:center; justify-content:center; transition:border-color 0.25s, transform 0.2s; }
.thumb-item.active, .thumb-item:hover { border-color:#e86830; transform:scale(1.06); }
.thumb-item img, .thumb-item video { width:100%; height:100%; object-fit:cover; pointer-events:none; }
body.light-mode .thumb-item { background:#EDE7DE; border-color:#E2D9CD; }

/* ==========================================================================
   🕉️ PREMIUM MEGA-MENU DROPDOWN — completely different from competitor
   ========================================================================== */

/* Smooth slide-down animation */
@keyframes megaSlideDown {
  from { opacity: 0; transform: translateY(-8px) scaleY(0.96); }
  to   { opacity: 1; transform: translateY(0) scaleY(1); }
}

/* Wrapper */
.mega-menu-wrapper {
  position: relative;
}

/* Trigger button */
.mega-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s;
  white-space: nowrap;
}
.mega-trigger:hover,
.mega-menu-wrapper:hover .mega-trigger {
  color: #e86830;
}
.mega-trigger .mega-arrow {
  font-size: 10px;
  margin-top: 1px;
  transition: transform 0.3s ease;
}
.mega-menu-wrapper:hover .mega-arrow {
  transform: rotate(180deg);
}

/* The mega panel */
.mega-panel {
  position: absolute;
  left: -60px;
  top: calc(100% + 8px);
  width: 520px;
  background: #1a1b20;
  border: 1px solid rgba(197,150,26,0.18);
  border-radius: 1.25rem;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.6),
    0 0 0 1px rgba(197,150,26,0.06),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: visible; /* Changed from hidden to show the pseudo-bridge and dropdown borders properly */
  display: none;
  z-index: 100;
  transform-origin: top center;
}
/* Invisible hover bridge to prevent menu from closing when sliding cursor over the 8px gap */
.mega-panel::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
  z-index: 10;
}
.mega-menu-wrapper:hover .mega-panel {
  display: block;
  animation: megaSlideDown 0.25s cubic-bezier(0.25,0.8,0.25,1) forwards;
}

/* Header bar inside mega panel */
.mega-header {
  padding: 12px 18px 10px;
  border-bottom: 1px solid rgba(197,150,26,0.12);
  border-top-left-radius: 1.21rem;
  border-top-right-radius: 1.21rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega-header-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c5961a;
}
.mega-header-link {
  font-size: 9px;
  color: #6b7280;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.mega-header-link:hover { color: #e86830; }

/* 2-column grid for items */
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 10px 10px 8px;
  background: rgba(197,150,26,0.04);
}

/* Each menu item tile */
.mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.mega-item:hover {
  background: rgba(232,104,48,0.08);
  transform: translateX(3px);
}

/* Icon circle */
.mega-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(197,150,26,0.1);
  border: 1px solid rgba(197,150,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  font-size: 14px;
  color: #c5961a;
}
.mega-item:hover .mega-item-icon {
  background: rgba(232,104,48,0.15);
  border-color: rgba(232,104,48,0.4);
  color: #e86830;
}

/* Text block */
.mega-item-text {}
.mega-item-name {
  font-size: 12px;
  font-weight: 600;
  color: #e5e7eb;
  display: block;
  line-height: 1.2;
  transition: color 0.2s;
}
.mega-item:hover .mega-item-name { color: #e86830; }
.mega-item-sub {
  font-size: 9px;
  color: #6b7280;
  display: block;
  margin-top: 1px;
  letter-spacing: 0.02em;
}

/* Badge (NEW / POPULAR) */
.mega-badge {
  margin-left: auto;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  flex-shrink: 0;
}
.mega-badge-gold {
  background: rgba(197,150,26,0.15);
  color: #c5961a;
  border: 1px solid rgba(197,150,26,0.3);
}
.mega-badge-saffron {
  background: rgba(232,104,48,0.15);
  color: #e86830;
  border: 1px solid rgba(232,104,48,0.3);
}

/* Bottom CTA banner */
.mega-footer {
  margin: 0 10px 10px;
  background: linear-gradient(135deg, rgba(232,104,48,0.12) 0%, rgba(197,150,26,0.10) 100%);
  border: 1px solid rgba(197,150,26,0.2);
  border-radius: 0.875rem;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  transition: background 0.25s;
}
.mega-footer:hover {
  background: linear-gradient(135deg, rgba(232,104,48,0.2) 0%, rgba(197,150,26,0.18) 100%);
}
.mega-footer-text {
  font-size: 10px;
  font-weight: 700;
  color: #c5961a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-footer-text i { font-size: 11px; }
.mega-footer-arrow {
  font-size: 9px;
  color: #e86830;
  background: rgba(232,104,48,0.15);
  border: 1px solid rgba(232,104,48,0.3);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.mega-footer:hover .mega-footer-arrow { transform: translateX(3px); }

/* Light mode overrides */
body.light-mode .mega-panel {
  background: #FAF8F5;
  border-color: rgba(197,150,26,0.25);
  box-shadow: 0 24px 64px rgba(0,0,0,0.15), 0 0 0 1px rgba(197,150,26,0.1);
}
body.light-mode .mega-header { border-color: rgba(197,150,26,0.18); }
body.light-mode .mega-item-name { color: #1a1a1a; }
body.light-mode .mega-item:hover { background: rgba(232,104,48,0.06); }
body.light-mode .mega-item-sub { color: #9c8e7a; }
body.light-mode .mega-grid { background: rgba(197,150,26,0.03); }
body.light-mode .mega-footer { background: linear-gradient(135deg, rgba(232,104,48,0.08) 0%, rgba(197,150,26,0.07) 100%); }

/* -------------------------------------------------------
   HOMEPAGE NEW LAYOUT � Scroll Rows, Grid, Skeleton
-------------------------------------------------------- */

/* Horizontal scroll track */
.hp-scroll-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,104,48,0.25) transparent;
}
.hp-scroll-track:active { cursor: grabbing; }
.hp-scroll-track::-webkit-scrollbar { height: 4px; }
.hp-scroll-track::-webkit-scrollbar-track { background: transparent; }
.hp-scroll-track::-webkit-scrollbar-thumb { background: rgba(232,104,48,0.25); border-radius: 2px; }

/* Cards inside scroll row � fixed width */
.hp-scroll-track .product-card-premium,
.hp-compact {
  flex: 0 0 220px !important;
  scroll-snap-align: start;
  width: 220px !important;
  min-width: 220px !important;
}
@media (max-width: 640px) {
  .hp-scroll-track .product-card-premium,
  .hp-compact {
    flex: 0 0 72vw !important;
    min-width: 72vw !important;
    max-width: 72vw !important;
  }
}

/* Scroll arrow buttons */
.hp-scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-templecard, #1a1208);
  border: 1px solid rgba(232,104,48,0.25);
  color: #e86830;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hp-scroll-arrow:hover {
  background: rgba(232,104,48,0.15);
  border-color: #e86830;
  box-shadow: 0 4px 18px rgba(232,104,48,0.2);
}
.hp-arr-left  { left:  -18px; }
.hp-arr-right { right: -18px; }
@media (max-width: 640px) {
  .hp-scroll-arrow { display: none; }
}

/* Loading / empty states inside rows */
.hp-row-loading,
.hp-row-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100%;
  height: 160px;
  color: #5a4a35;
  font-size: 13px;
}

/* Skeleton loaders for main grid */
@keyframes hp-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.hp-skeleton { background: var(--color-templecard, #1a1208); border: 1px solid rgba(232,104,48,0.08); }
.hp-skel-bg {
  background: linear-gradient(90deg, #1a1208 25%, #261a0c 50%, #1a1208 75%);
  background-size: 1200px 100%;
  animation: hp-shimmer 1.6s infinite;
}
.hp-skel-line {
  background: linear-gradient(90deg, #1a1208 25%, #261a0c 50%, #1a1208 75%);
  background-size: 1200px 100%;
  animation: hp-shimmer 1.6s infinite;
}

/* Load More button: flex-display override since Tailwind hidden is used */
#hp-load-more-wrap:not(.hidden) { display: flex !important; }


/* ── SCROLL ROW: Force exactly 3 cards visible (override) ── */
.hp-scroll-track .product-card-premium,
.hp-scroll-track .hp-compact {
  flex: 0 0 calc(33.333% - 10px) !important;
  min-width: calc(33.333% - 10px) !important;
  max-width: calc(33.333% - 10px) !important;
}
@media (max-width: 900px) {
  .hp-scroll-track .product-card-premium,
  .hp-scroll-track .hp-compact {
    flex: 0 0 calc(50% - 8px) !important;
    min-width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }
}
@media (max-width: 600px) {
  .hp-scroll-track .product-card-premium,
  .hp-scroll-track .hp-compact {
    flex: 0 0 75vw !important;
    min-width: 75vw !important;
    max-width: 75vw !important;
  }
}
