/* ============================================================
   Laddu Gopal Dress — Premium Design System
   Divine Devotional E-Commerce
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:           #FDFAF5;
  --bg-warm:      #F7F0E6;
  --white:        #FFFFFF;
  --maroon:       #8B2252;
  --maroon-dark:  #6B1840;
  --maroon-light: #B0456F;
  --gold:         #C9A84C;
  --gold-light:   #E8D080;
  --gold-dark:    #9E7A2A;
  --saffron:      #E87722;
  --saffron-light:#FF9940;
  --text:         #1A1A2E;
  --text-muted:   #6B6B7A;
  --text-light:   #9B9BAA;
  --border:       #E8E0D0;
  --shadow:       rgba(139, 34, 82, 0.08);
  --shadow-gold:  rgba(201, 168, 76, 0.2);
  --success:      #16A34A;
  --error:        #DC2626;
  --warning:      #D97706;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Transitions */
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--maroon-dark); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--text);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--maroon);
  text-align: center;
  margin-bottom: var(--space-4);
}
.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: var(--space-20) 0; }
.section-lg { padding: var(--space-24) 0; }

/* ─── Grid ──────────────────────────────────────────────────── */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(139, 34, 82, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, #4D102E 100%);
  box-shadow: 0 6px 24px rgba(139, 34, 82, 0.35);
  transform: translateY(-1px);
  color: #fff;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-dark) 0%, #7A5D1A 100%); transform: translateY(-1px); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-outline:hover { background: var(--maroon); color: #fff; }
.btn-outline-gold { background: transparent; color: var(--gold-dark); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-warm); color: var(--text); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 250, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 72px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--maroon), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow-gold);
}
.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.1;
}
.site-logo .logo-tagline { font-size: 0.65rem; color: var(--gold-dark); letter-spacing: 0.1em; text-transform: uppercase; }
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: var(--space-4);
  flex-shrink: 0;
}
.main-nav a {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--maroon); background: rgba(139,34,82,0.06); }
.header-actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; flex-shrink: 0; }
.header-search-form {
  display: flex;
  align-items: center;
  background: var(--bg-warm);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition);
  width: 240px;
  position: relative;
}
.header-search-form:focus-within { border-color: var(--maroon); }
.header-search-form input {
  flex: 1;
  border: none;
  background: none;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  outline: none;
  color: var(--text);
}
.header-search-form button { padding: 0.5rem 0.875rem; color: var(--maroon); background: none; border: none; }
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
  text-decoration: none;
}
.icon-btn:hover { background: rgba(139,34,82,0.08); color: var(--maroon); }
.icon-btn .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--maroon);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; transition: background var(--transition); }
.hamburger:hover { background: rgba(139,34,82,0.08); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ─── Mobile Nav ────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}
.mobile-nav.open { display: flex; }
.mobile-nav-overlay { flex: 1; background: rgba(0,0,0,0.5); }
.mobile-nav-panel {
  width: 300px;
  background: var(--white);
  padding: var(--space-8) var(--space-6);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation: slideInRight 0.3s ease;
}
.mobile-nav-panel a { display: block; padding: var(--space-3) 0; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav-panel a:last-child { border-bottom: none; }

/* ─── Mobile Bottom Nav ─────────────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--space-2) 0 env(safe-area-inset-bottom, 0);
}
.mobile-bottom-nav ul {
  display: flex;
  list-style: none;
  justify-content: space-around;
}
.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
  position: relative;
  text-decoration: none;
}
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--maroon); }
.mobile-bottom-nav svg { width: 22px; height: 22px; }
.mobile-bottom-nav .badge { position:absolute; top:2px; right:8px; background:var(--maroon); color:#fff; font-size:0.6rem; min-width:16px; height:16px; border-radius:8px; display:flex; align-items:center; justify-content:center; }

/* ─── Hero Section ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2D0A1A 0%, #5A1535 40%, #8B2252 70%, #C9A84C 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M30 30c0-11 9-20 20-20V0C22.4 0 0 22.4 0 50h10c0-11 9-20 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-10);
  align-items: center;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-12) 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold-light);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 560px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-trust-item { display: flex; align-items: center; gap: var(--space-2); color: rgba(255,255,255,0.8); font-size: 0.875rem; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-img-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-halo-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.25) 0%, rgba(201,168,76,0.05) 60%, transparent 80%);
  border: 1.5px dashed rgba(201,168,76,0.4);
  animation: rotateHalo 30s linear infinite;
  pointer-events: none;
}
@keyframes rotateHalo { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-img-wrapper .hero-product-img {
  width: 340px;
  height: 340px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
  animation: float 4s ease-in-out infinite;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(201,168,76,0.35);
  padding: 12px;
}
.hero-badge-pill {
  position: absolute;
  bottom: -15px;
  background: rgba(45, 10, 26, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--gold);
  color: #fff;
  padding: 0.45rem 1.25rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 3;
}

/* ─── Product Cards ─────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: 0 2px 12px var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow), 0 4px 16px var(--shadow-gold);
}
.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-warm);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-new     { background: var(--saffron); color: #fff; }
.badge-sale    { background: var(--maroon); color: #fff; }
.badge-popular { background: var(--gold); color: #fff; }
.badge-sold-out{ background: var(--text-muted); color: #fff; }
.product-card-actions {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; }
.card-icon-btn {
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}
.card-icon-btn:hover { background: var(--maroon); color: #fff; transform: scale(1.1); }
.card-icon-btn.wishlisted { background: var(--maroon); color: #fff; }
.product-card-body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-size { font-size: 0.8rem; color: var(--text-muted); }
.product-rating { display: flex; align-items: center; gap: var(--space-2); }
.stars { display: flex; gap: 1px; }
.star { color: var(--gold); font-size: 0.85rem; line-height: 1; }
.star.empty { color: var(--border); }
.rating-count { font-size: 0.78rem; color: var(--text-muted); }
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: auto;
}
.price-current { font-size: 1.2rem; font-weight: 700; color: var(--maroon); }
.price-mrp { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; }
.price-discount { font-size: 0.78rem; font-weight: 700; color: var(--success); }
.product-card-footer { padding: 0 var(--space-4) var(--space-4); display: flex; gap: var(--space-2); }
.product-card-footer .btn { flex: 1; font-size: 0.85rem; padding: 0.6rem 1rem; }

/* ─── Why Choose Section ────────────────────────────────────── */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}
.why-choose-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition-slow);
}
.why-choose-card:hover { border-color: var(--gold); box-shadow: 0 8px 32px var(--shadow-gold); transform: translateY(-4px); }
.why-choose-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(139,34,82,0.08), rgba(201,168,76,0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--maroon);
}
.why-choose-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: var(--space-2); }
.why-choose-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Size Guide ────────────────────────────────────────────── */
.size-guide-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 20px var(--shadow); }
.size-guide-table th { background: var(--maroon); color: #fff; padding: var(--space-3) var(--space-4); text-align: left; font-weight: 600; font-size: 0.9rem; }
.size-guide-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.size-guide-table tr:last-child td { border-bottom: none; }
.size-guide-table tr:hover td { background: var(--bg-warm); }

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-6); }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  pointer-events: none;
}
.testimonial-text { font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); margin-bottom: var(--space-6); position: relative; z-index: 1; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--maroon); }
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-location { font-size: 0.8rem; color: var(--text-muted); }

/* ─── FAQ Section ───────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition);
  gap: var(--space-4);
}
.faq-question:hover { background: var(--bg-warm); }
.faq-question.open { color: var(--maroon); background: rgba(139,34,82,0.04); }
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all var(--transition); }
.faq-question.open .faq-icon { background: var(--maroon); border-color: var(--maroon); color: #fff; transform: rotate(45deg); }
.faq-answer { padding: 0 var(--space-6) var(--space-4); color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; display: none; }
.faq-answer.open { display: block; }

/* ─── Form Elements ─────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--space-1); }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.form-label span.req { color: var(--error); }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(139,34,82,0.1); }
.form-control::placeholder { color: var(--text-light); }
.form-control.error { border-color: var(--error); }
.form-error { font-size: 0.8rem; color: var(--error); }
.form-hint  { font-size: 0.8rem; color: var(--text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ─── Cart ──────────────────────────────────────────────────── */
.cart-table-wrapper { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cart-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.cart-table th { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 2px solid var(--border); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.cart-table td { padding: var(--space-4); border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: var(--space-4); }
.cart-product-image { width: 80px; height: 80px; border-radius: var(--radius); object-fit: cover; background: var(--bg-warm); flex-shrink: 0; }
.cart-mobile-price { display: none; }
.qty-control { 
  display: inline-flex; 
  align-items: center; 
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
}
.qty-control .qty-btn { 
  width: 30px; 
  height: 30px; 
  border: none; 
  border-radius: 4px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
  transition: all var(--transition); 
  background: var(--bg-warm); 
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
}
.qty-control .qty-btn:hover { 
  background: var(--maroon); 
  color: #fff; 
}
.qty-control .qty-input { 
  width: 38px; 
  height: 30px;
  text-align: center; 
  border: none; 
  font-size: 0.95rem; 
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
}

/* ─── Product Page Quantity Selector ────────────────────────── */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  height: 50px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 3px 4px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
  user-select: none;
  box-sizing: border-box;
}
.quantity-selector:hover {
  border-color: var(--gold);
}
.quantity-selector:focus-within {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(139, 34, 82, 0.12);
}
.quantity-selector .qty-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border: none;
  border-radius: calc(var(--radius) - 4px);
  color: var(--maroon);
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
.quantity-selector .qty-btn:hover {
  background: var(--maroon);
  color: #fff;
  transform: translateY(-1px);
}
.quantity-selector .qty-btn:active {
  transform: scale(0.95);
}
.quantity-selector .qty-input {
  width: 52px;
  height: 42px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
  outline: none;
  -moz-appearance: textfield;
  padding: 0;
}
.quantity-selector .qty-input::-webkit-outer-spin-button,
.quantity-selector .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


/* ─── In-Card Quantity Stepper ───────────────────────────────── */
.card-qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--maroon);
  border-radius: 6px;
  overflow: hidden;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(139, 34, 82, 0.25);
  animation: stepperFadeIn 0.2s ease;
}
@keyframes stepperFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.card-qty-btn {
  background: transparent;
  color: #fff;
  border: none;
  width: 34px;
  height: 32px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.15s ease, transform 0.1s ease;
  user-select: none;
  line-height: 1;
}
.card-qty-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}
.card-qty-btn:active {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0.9);
}
.card-qty-val {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 26px;
  text-align: center;
  user-select: none;
}

/* ─── Product Page Stepper (+ / - Button) ───────────────────── */
.product-page-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  border-radius: var(--radius);
  padding: 4px;
  box-shadow: 0 4px 16px rgba(139, 34, 82, 0.25);
  box-sizing: border-box;
  animation: stepperFadeIn 0.2s ease;
  user-select: none;
}

.product-page-stepper .product-stepper-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  width: 48px;
  height: 42px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 4px);
  transition: all 0.15s ease;
  line-height: 1;
  flex-shrink: 0;
}

.product-page-stepper .product-stepper-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.06);
}

.product-page-stepper .product-stepper-btn:active {
  transform: scale(0.92);
}

.product-page-stepper .product-stepper-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.product-page-stepper .product-stepper-val {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  user-select: none;
}

.product-page-stepper .stepper-val-num {
  font-size: 1.35rem;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.product-page-stepper .stepper-val-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

/* ─── Cart Summary ──────────────────────────────────────────── */
.order-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--border);
  position: sticky;
  top: 90px;
}
.order-summary h3 { font-size: 1.25rem; margin-bottom: var(--space-4); color: var(--maroon); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.summary-row:last-of-type { border-bottom: none; }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) 0; font-weight: 700; font-size: 1.15rem; border-top: 2px solid var(--maroon); margin-top: var(--space-2); color: var(--maroon); }
.coupon-form { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.coupon-form input { flex: 1; }

/* ─── Alerts / Toasts ───────────────────────────────────────── */
.alert {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius);
  border-left: 4px solid;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.alert-success { background: #F0FDF4; border-color: var(--success); color: #166534; }
.alert-error   { background: #FEF2F2; border-color: var(--error); color: #991B1B; }
.alert-warning { background: #FFFBEB; border-color: var(--warning); color: #92400E; }
.alert-info    { background: #EFF6FF; border-color: #3B82F6; color: #1E40AF; }

.toast-container { position: fixed; top: 90px; right: var(--space-4); z-index: 9999; display: flex; flex-direction: column; gap: var(--space-2); pointer-events: none; }
.toast {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-6);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-left: 4px solid var(--maroon);
  min-width: 280px;
  max-width: 360px;
  pointer-events: all;
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 3.7s forwards;
}
.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--error); }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(180deg, #1A0A12 0%, #0D0508 100%);
  color: rgba(255,255,255,0.7);
  padding: var(--space-20) 0 var(--space-8);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-12); }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-tagline { color: var(--gold); }
.footer-brand p { margin-top: var(--space-4); font-size: 0.875rem; line-height: 1.7; }
.footer-col h5 { color: var(--gold); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 1rem; transition: all var(--transition); }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-6); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); font-size: 0.8rem; }
.footer-bottom .trust-badges { display: flex; gap: var(--space-4); align-items: center; flex-wrap: wrap; }
.footer-bottom .trust-badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; white-space: nowrap; color: rgba(255,255,255,0.8); }

/* ─── WhatsApp Float ────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: var(--space-6);
  z-index: 800;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover { background: #128C7E; color: #fff; transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ─── Order Tracking Timeline ───────────────────────────────── */
.tracking-timeline { display: flex; flex-direction: column; gap: 0; }
.tracking-step { display: flex; gap: var(--space-4); position: relative; }
.tracking-step::before { content: ''; position: absolute; left: 19px; top: 40px; width: 2px; height: calc(100% - 8px); background: var(--border); }
.tracking-step:last-child::before { display: none; }
.tracking-step.done::before { background: var(--success); }
.step-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--border); border: 3px solid var(--white); display: flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; z-index: 1; font-size: 1rem; }
.tracking-step.done .step-icon { background: var(--success); color: #fff; }
.tracking-step.current .step-icon { background: var(--maroon); color: #fff; box-shadow: 0 0 0 4px rgba(139,34,82,0.2); }
.step-content { padding-bottom: var(--space-8); }
.step-label { font-weight: 600; font-size: 0.95rem; }
.step-date { font-size: 0.8rem; color: var(--text-muted); }
.step-note { font-size: 0.85rem; color: var(--text-muted); }

/* ─── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: var(--space-2); font-size: 0.85rem; color: var(--text-muted); padding: var(--space-3) 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--maroon); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* ─── Pagination ────────────────────────────────────────────── */
.pagination { display: flex; gap: var(--space-2); justify-content: center; list-style: none; flex-wrap: wrap; }
.page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition);
  text-decoration: none;
}
.page-item .page-link:hover, .page-item.active .page-link {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

/* ─── Product Detail ────────────────────────────────────────── */
.product-gallery { display: grid; grid-template-columns: 80px 1fr; gap: var(--space-3); }
.gallery-thumbs { display: flex; flex-direction: column; gap: var(--space-2); }
.gallery-thumb {
  width: 78px;
  height: 78px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  background: var(--bg-warm);
}
.gallery-thumb.active { border-color: var(--maroon); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
  aspect-ratio: 1;
  position: relative;
  cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-info-sticky { position: sticky; top: 90px; }
.variant-selector { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.variant-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  min-width: 76px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
  color: var(--text);
  text-align: center;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.variant-btn:hover { border-color: var(--maroon); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(139,34,82,0.12); }
.variant-btn.active {
  border-color: var(--maroon);
  background: linear-gradient(135deg, #FFF5F7 0%, #FFF0F4 100%);
  color: var(--maroon);
  box-shadow: 0 0 0 1px var(--maroon), 0 4px 12px rgba(139,34,82,0.18);
}
.variant-btn .variant-btn-name { font-weight: 700; font-size: 0.92rem; line-height: 1.2; }
.variant-btn.active .variant-btn-name { color: var(--maroon); }
.variant-btn .variant-btn-price { font-size: 0.8rem; font-weight: 600; color: var(--maroon); margin-top: 2px; }
.variant-btn.active .variant-btn-price { color: var(--maroon-dark); }
.variant-btn .variant-btn-height { font-size: 0.68rem; color: #888; margin-top: 1px; }
.variant-btn.active .variant-btn-height { color: rgba(139,34,82,0.8); }
.variant-btn.out-of-stock { opacity: 0.45; cursor: not-allowed; background: #f9fafb; border-color: #e5e7eb; }
.sticky-buy {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--space-3) var(--space-4);
  padding-bottom: env(safe-area-inset-bottom, 12px);
}
.stock-badge { display: inline-flex; align-items: center; gap: var(--space-1); font-size: 0.8rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: var(--radius-xl); }
.in-stock { background: #F0FDF4; color: var(--success); }
.low-stock { background: #FFFBEB; color: var(--warning); }
.out-stock { background: #FEF2F2; color: var(--error); }
/* ─── Pincode & Delivery Checker ───────────────────────────── */
.pincode-card {
  background: var(--white);
  border: 1.5px solid #F1E5D8;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  box-shadow: 0 2px 10px rgba(92, 14, 30, 0.03);
  transition: border-color var(--transition);
}
.pincode-card:focus-within {
  border-color: var(--maroon);
}
.pincode-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}
.pincode-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.pincode-change-btn {
  font-size: 0.8rem;
  color: var(--maroon);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  padding: 0;
}
.pincode-change-btn:hover {
  color: var(--maroon-dark);
}
.pincode-checker {
  display: flex;
  gap: var(--space-2);
}
.pincode-checker input {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.pincode-checker .btn {
  padding: 0.5rem 1.25rem;
  font-weight: 600;
}
.pincode-result-box {
  margin-top: var(--space-3);
  font-size: 0.86rem;
  line-height: 1.5;
}
.pincode-success-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  padding: var(--space-3);
  color: #166534;
}
.pincode-delivery-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 700;
  color: #14532D;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.pincode-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 0.82rem;
  color: #166534;
  padding-top: 6px;
  border-top: 1px dashed rgba(22, 101, 52, 0.2);
}
.pincode-cod-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #DCFCE7;
  color: #15803D;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
}
.pincode-cod-badge.prepaid {
  background: #FEF3C7;
  color: #B45309;
}
.pincode-error-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: var(--space-3);
  color: #991B1B;
}
.pincode-loading-box {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: var(--space-2) 0;
}

/* ─── Search Bar Autocomplete ───────────────────────────────── */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 100;
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
}
.search-result-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); transition: background var(--transition); text-decoration: none; color: var(--text); }
.search-result-item:hover { background: var(--bg-warm); }
.search-result-img { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; background: var(--bg-warm); flex-shrink: 0; }
.search-result-name { font-size: 0.875rem; font-weight: 500; }
.search-result-price { font-size: 0.8rem; color: var(--maroon); font-weight: 600; }

/* ─── Account Pages ─────────────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: var(--space-8); align-items: start; min-height: calc(100vh - 350px); }
.account-sidebar { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; position: sticky; top: 90px; }
.account-sidebar-header { background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); color: #fff; padding: var(--space-6); }
.account-sidebar nav a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--transition);
}
.account-sidebar nav a:hover, .account-sidebar nav a.active { color: var(--maroon); background: rgba(139,34,82,0.05); border-left-color: var(--maroon); }

/* ─── Quick View Modal ──────────────────────────────────────── */
[hidden] { display: none !important; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: fadeIn 0.2s ease;
}
.modal-overlay.open, .modal-overlay:not([hidden]) {
  display: flex;
}
.modal-overlay[hidden] {
  display: none !important;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.25s ease;
  position: relative;
}
.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--border); }

/* ─── Trust Strip ───────────────────────────────────────────── */
.trust-strip {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  color: #fff;
  padding: var(--space-3) 0;
}
.trust-strip-inner { display: flex; justify-content: center; align-items: center; gap: var(--space-8); flex-wrap: wrap; }
.trust-strip-item { display: flex; align-items: center; gap: var(--space-2); font-size: 0.8rem; font-weight: 500; white-space: nowrap; }

/* ─── Newsletter Strip ──────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, #F7F0E6, #FDF8F0);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-form { display: flex; gap: var(--space-3); max-width: 500px; margin: var(--space-6) auto 0; }
.newsletter-form input { flex: 1; }

/* ─── Animations ────────────────────────────────────────────── */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.7;transform:scale(1.05)} }
@keyframes spin { to{transform:rotate(360deg)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes fadeOut { from{opacity:1} to{opacity:0} }
@keyframes scaleIn { from{opacity:0;transform:scale(0.9)} to{opacity:1;transform:scale(1)} }
@keyframes slideInRight { from{transform:translateX(100%)} to{transform:translateX(0)} }
@keyframes whatsapp-pulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.4),0 0 0 0 rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 20px rgba(37,211,102,0.4),0 0 0 12px rgba(37,211,102,0)} }

/* ─── Skeleton Loader ───────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, #f0ebe0 25%, #fdf8f0 50%, #f0ebe0 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; border-radius: var(--radius); }
@keyframes skeleton-loading { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.skeleton-card { height: 320px; }
.skeleton-text { height: 16px; margin: 8px 0; }
.skeleton-text.sm { width: 60%; }
.skeleton-text.md { width: 80%; }

/* ─── Responsive ────────────────────────────────────────────── */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-4);
  border-radius: var(--radius);
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-8);
  align-items: start;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-8);
  align-items: start;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-8);
  align-items: start;
}

.shop-filter-toggle {
  display: none;
}

@media (max-width: 1100px) {
  .header-search-form { width: 170px; }
  .main-nav { gap: var(--space-1); margin-left: var(--space-2); }
  .main-nav a { padding: 0.4rem 0.6rem; font-size: 0.85rem; }
}

@media (max-width: 960px) {
  .header-search-form { display: none; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 900px) {
  .shop-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }
  .shop-filter-sidebar {
    display: none;
    position: static !important;
  }
  .shop-filter-sidebar.open {
    display: block !important;
    margin-bottom: var(--space-6);
    animation: fadeIn 0.25s ease;
  }
  .shop-filter-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--space-4);
    font-weight: 600;
  }
}

@media (max-width: 768px) {
  .main-nav, .header-search-form { display: none; }
  .hamburger { display: flex; }
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 74px; }
  .whatsapp-float { bottom: 84px; right: 16px; width: 50px; height: 50px; }
  .section { padding: var(--space-8) 0; }
  .site-footer { padding-bottom: 80px; }
  

  /* Header mobile sizing */
  .site-header { padding: 4px 0; }
  .header-inner { height: 58px; gap: 6px; }
  .site-logo { max-width: 60%; gap: 6px; }
  .site-logo .logo-icon { width: 34px; height: 34px; font-size: 1.15rem; }
  .site-logo .logo-text { font-size: 1.02rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .site-logo .logo-tagline { display: none; }
  .header-actions { gap: 4px; }
  .icon-btn { width: 36px; height: 36px; }
  .hamburger { width: 36px; height: 36px; }

  /* Hero on mobile: idol on top, followed by heading, text, CTA buttons */
  .hero { min-height: auto; padding: 1.25rem 0 2rem; }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }
  .hero-visual {
    order: -1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0.25rem auto 0.75rem !important;
  }
  .hero-img-wrapper {
    width: 190px !important;
    height: 190px !important;
  }
  .hero-product-img {
    width: 170px !important;
    height: 170px !important;
  }
  .hero-halo-ring {
    width: 200px !important;
    height: 200px !important;
  }
  .hero-badge-pill {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
    bottom: -6px !important;
    white-space: nowrap;
  }
  .hero-content {
    padding: 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-eyebrow {
    margin-bottom: 0.5rem !important;
    font-size: 0.72rem !important;
    padding: 0.25rem 0.75rem !important;
  }
  .hero-content h1 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
    color: #fff !important;
  }
  .hero-content p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
    max-width: 360px !important;
    text-align: center !important;
  }
  .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    gap: 8px !important;
  }
  .hero-actions .btn {
    flex: 1 !important;
    padding: 0.65rem 0.75rem !important;
    font-size: 0.84rem !important;
    justify-content: center !important;
  }
  .hero-trust {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-top: 1rem !important;
    padding-top: 0.75rem !important;
    border-top: 1px solid rgba(255,255,255,0.15) !important;
  }
  .hero-trust-item {
    font-size: 0.74rem !important;
  }

  /* Universal grid collapse for mobile */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2.two-col-mobile { grid-template-columns: repeat(2, 1fr); }
  
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns:2fr 1fr"],
  div[style*="grid-template-columns: 3fr 2fr"],
  div[style*="grid-template-columns:3fr 2fr"],
  div[style*="grid-template-columns: 1.2fr 1fr"],
  div[style*="grid-template-columns:1.2fr 1fr"],
  div[style*="grid-template-columns: 240px 1fr"],
  div[style*="grid-template-columns:240px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }

  .product-gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-8) var(--space-4) !important;
    margin-bottom: var(--space-8) !important;
  }
  .footer-brand {
    grid-column: 1 / -1 !important;
    text-align: left;
  }
  .footer-col:last-child {
    grid-column: 1 / -1 !important;
  }
  .footer-col h5 {
    font-size: 0.78rem !important;
    margin-bottom: var(--space-3) !important;
  }
  .footer-col ul {
    gap: var(--space-2) !important;
  }
  .footer-col ul li a {
    font-size: 0.82rem !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: var(--space-4) !important;
    padding-top: var(--space-5) !important;
  }
  .footer-bottom p {
    order: 2 !important;
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.55) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }
  .footer-bottom .trust-badges {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
    max-width: 380px !important;
    gap: 8px !important;
    margin: 0 auto !important;
  }
  .footer-bottom .trust-badges span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 7px 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 6px !important;
    font-size: 0.74rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    white-space: nowrap !important;
  }
  .sticky-buy { display: block; }
  .product-info-sticky .btn-group { display: none; }
  .trust-strip-inner { gap: var(--space-3); justify-content: center; }
  .trust-strip-item { font-size: 0.75rem; }
  .hero-trust { flex-direction: column; gap: var(--space-2); align-items: center; }

  /* Mobile Cart Card Transformation */
  .cart-table-wrapper { overflow-x: visible !important; }
  .cart-table thead { display: none !important; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .cart-table tr {
    position: relative !important;
    padding: 12px !important;
    border-bottom: 1px solid var(--border) !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
    align-items: center !important;
  }
  .cart-col-product {
    grid-column: 1 / -1 !important;
    padding: 0 !important;
    border: none !important;
  }
  .cart-mobile-price {
    display: block !important;
  }
  .cart-col-price {
    display: none !important;
  }
  .cart-col-qty {
    grid-column: 1 / 2 !important;
    padding: 0 !important;
    border: none !important;
  }
  .cart-col-total {
    grid-column: 2 / 3 !important;
    padding: 0 !important;
    border: none !important;
    text-align: right !important;
    font-size: 1.1rem !important;
  }
  .cart-col-remove {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    padding: 0 !important;
    border: none !important;
  }
  .cart-product-image {
    width: 65px !important;
    height: 65px !important;
  }
}

@media (max-width: 640px) {
  /* 2-column e-commerce grid for mobile */
  .grid-auto, .grid-4, .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .product-card {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    background: #fff !important;
  }
  .product-card-badges {
    top: 6px !important;
    left: 6px !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
    max-width: 90% !important;
  }
  .badge-tag {
    padding: 2px 5px !important;
    font-size: 0.6rem !important;
    line-height: 1.1 !important;
    border-radius: 3px !important;
    font-weight: 700;
  }
  /* Show only 1 prominent badge on mobile cards so it NEVER covers the deity's face */
  .product-card-badges .badge-tag:nth-child(n+2) {
    display: none !important;
  }
  .product-card-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 8px 8px 4px !important;
  }
  .product-card-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 2.5em !important;
    margin-bottom: 2px !important;
  }
  .product-card-size {
    font-size: 0.7rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 4px !important;
  }
  .product-rating {
    margin-bottom: 4px !important;
    font-size: 0.72rem !important;
  }
  .product-card-body .product-price-row {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    margin-bottom: 6px !important;
  }
  .price-current {
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: var(--maroon) !important;
  }
  .price-mrp {
    font-size: 0.72rem !important;
    color: #888 !important;
  }
  .price-discount {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: var(--success) !important;
  }
  .product-card-footer {
    padding: 0 8px 8px !important;
    display: flex !important;
    gap: 0 !important;
  }
  .product-card-footer .add-to-cart-btn {
    width: 100% !important;
    padding: 7px 10px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    background: var(--maroon) !important;
    color: #fff !important;
    border: none !important;
  }
  /* Hide redundant "View" button on mobile because tapping image/title navigates to details */
  .product-card-footer a.btn-outline,
  .product-card-footer .btn-outline {
    display: none !important;
  }
  .product-card .product-quick-view-btn {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .site-header { padding: 8px 0; }
  .site-logo { gap: 8px; }
  .site-logo .logo-icon { width: 34px; height: 34px; font-size: 1.15rem; }
  .logo-text { font-size: 1.05rem; }
  .logo-tagline { font-size: 0.6rem; }
  .icon-btn { width: 36px; height: 36px; }
  
  .hero-content h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .section-subtitle {
    font-size: 0.84rem;
    margin-bottom: var(--space-4);
  }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-choose-grid { grid-template-columns: 1fr; }
  .modal-box {
    margin: 12px;
    max-height: 94vh;
  }
  .footer-grid { gap: var(--space-6) var(--space-3) !important; }
  .footer-bottom .trust-badges {
    max-width: 100% !important;
    gap: 6px !important;
  }
  .footer-bottom .trust-badges span {
    padding: 6px 8px !important;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 375px) {
  /* Specific fine-tuning for 375px (iPhone SE) */
  .container { padding: 0 10px; }
  .hero-content h1 { font-size: 1.55rem; }
  .hero-eyebrow { font-size: 0.75rem; padding: 4px 10px; }
  .hero-img-wrapper { width: 190px; height: 190px; }
  .hero-product-img { width: 170px; height: 170px; }
  .hero-halo-ring { width: 200px; height: 200px; }
  .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
  .product-card-title { font-size: 0.8rem !important; }
  .footer-bottom .trust-badges span {
    padding: 6px 4px !important;
    font-size: 0.68rem !important;
    gap: 4px !important;
  }
}

/* ─── Utility Classes ───────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-maroon { color: var(--maroon); }
.text-gold { color: var(--gold-dark); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.fw-bold { font-weight: 700; }
.fw-600 { font-weight: 600; }
.font-heading { font-family: var(--font-heading); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow { box-shadow: 0 4px 20px var(--shadow); }
.bg-white { background: var(--white); }
.bg-warm { background: var(--bg-warm); }
.border { border: 1px solid var(--border); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ─── Modern Devotional Auth UI ─────────────────────────────────── */
.auth-wrapper {
  min-height: calc(100vh - 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) 1rem var(--space-12);
  background: radial-gradient(circle at 50% 15%, #FFFDF9 0%, #F9F3EA 100%);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1.5px solid #F1E5D8;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 12px 40px rgba(92, 14, 30, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, var(--maroon), #D4AF37);
}
.auth-badge {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: #FFF7ED;
  border: 1.5px solid #FED7AA;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12);
}
.auth-title {
  font-family: var(--font-heading);
  color: var(--maroon);
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.auth-alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.25s ease;
}
.auth-alert.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}
.auth-alert.info {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
}
.auth-alert.success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}
.google-auth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #FFFFFF;
  color: #374151;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.google-auth-btn:hover:not(:disabled) {
  background: #F9FAFB;
  border-color: #D1D5DB;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.google-auth-btn:active:not(:disabled) {
  transform: translateY(0);
}
.google-auth-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  color: #9CA3AF;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E5E7EB;
}
.auth-divider span {
  padding: 0 12px;
}
.phone-input-group {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.phone-input-group:focus-within {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(139, 34, 82, 0.1);
}
.phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #F9FAFB;
  border-right: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}
.phone-input-group input {
  flex: 1;
  border: none;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  background: transparent;
}
.auth-otp-input {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  outline: none;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.auth-otp-input:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(139, 34, 82, 0.1);
}
.auth-trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #E5E7EB;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.auth-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.auth-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
}


