/* ============================================================
   style.css — Sanwariya Collection
   Theme: Royal Indian Festival — Deep Jewel Tones + Gold
   ============================================================ */

:root {
  --bg-deep: #0f0220;
  --bg-card: #1c0a35;
  --bg-surface: #2a1050;
  --bg-elevated: #fdf6ee;
  --gold-light: #f5d060;
  --gold-main: #e8a020;
  --gold-dark: #b8721a;
  --rose-main: #e8398a;
  --rose-light: #f472b6;
  --orange-main: #f07230;
  --text-light: #fdf6ee;
  --text-muted: #b8a9d0;
  --text-dark: #1a0533;
  --border-glow: rgba(245, 208, 96, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 24px rgba(232, 160, 32, 0.3);
  --radius-card: 16px;
  --radius-pill: 999px;
  --grad-gold: linear-gradient(135deg, #f5d060, #e8a020, #b8721a);
  --grad-hero: linear-gradient(135deg, #0f0220 0%, #2a1050 50%, #1a0533 100%);
  --grad-card: linear-gradient(160deg, #1c0a35 0%, #2a1050 100%);
  --grad-rose: linear-gradient(135deg, #e8398a, #f07230);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-deep);
  color: var(--text-light);
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(232, 57, 138, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(232, 160, 32, 0.06) 0%, transparent 60%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  background-image: radial-gradient(ellipse at center, rgba(42, 16, 80, 0.8) 0%, var(--bg-deep) 70%);
}

.loader-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-mandala {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: mandalaRotate 12s linear infinite;
  opacity: 0.5;
}

@keyframes mandalaRotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.loader-diya {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.diya-body {
  width: 60px;
  height: 28px;
  background: var(--grad-gold);
  border-radius: 0 0 50px 50px;
  position: relative;
  box-shadow: 0 0 20px rgba(232, 160, 32, 0.6);
}

.diya-body::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 12px;
  background: var(--gold-light);
  border-radius: 50%;
}

.diya-glow {
  position: absolute;
  bottom: 0;
  width: 80px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(232, 160, 32, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleX(1);
  }

  50% {
    opacity: 0.8;
    transform: scaleX(1.2);
  }
}

.diya-flame {
  position: relative;
  width: 20px;
  height: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 4px;
}

.flame {
  position: absolute;
  border-radius: 50% 50% 20% 20%;
  transform-origin: bottom center;
  animation: flicker 0.8s ease-in-out infinite alternate;
}

.f1 {
  width: 14px;
  height: 40px;
  background: linear-gradient(to top, #e8a020, #f5d060, #fff7e0);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(1px);
  animation-duration: 0.6s;
}

.f2 {
  width: 10px;
  height: 30px;
  background: linear-gradient(to top, #f07230, #f5c842, #fffde0);
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 0.8s;
  animation-delay: 0.1s;
}

.f3 {
  width: 5px;
  height: 18px;
  background: linear-gradient(to top, #fff, #ffe);
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation-duration: 0.5s;
  animation-delay: 0.2s;
}

@keyframes flicker {
  0% {
    transform: translateX(-50%) scaleX(1) scaleY(1) rotate(-2deg);
  }

  50% {
    transform: translateX(-50%) scaleX(0.9) scaleY(1.05) rotate(1deg);
  }

  100% {
    transform: translateX(-50%) scaleX(1.1) scaleY(0.95) rotate(-1deg);
  }
}

.loader-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.loader-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInOut 2s ease infinite;
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* ── SIDEBAR ── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border-glow);
  z-index: 999;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
}

.sidebar.open {
  width: 280px;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 20px;
  color: var(--text-muted);
  padding: 8px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}

.close-btn:hover {
  color: var(--gold-light);
  background: rgba(245, 208, 96, 0.1);
}

.sidebar-header {
  padding: 60px 24px 24px;
  border-bottom: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-avatar {
  width: 48px;
  height: 48px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.sidebar-username {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav {
  padding: 16px 0;
  flex: 1;
}

.sidebar-nav li a {
  display: block;
  padding: 14px 24px;
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  white-space: nowrap;
  border-left: 3px solid transparent;
}

.sidebar-nav li a:hover {
  background: rgba(245, 208, 96, 0.08);
  color: var(--gold-light);
  padding-left: 32px;
  border-left-color: var(--gold-main);
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-glow);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── NAVBAR ── */
#mainHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 2, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
}

#navBar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo-link {
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 8px rgba(232, 160, 32, 0.5));
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo-accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#searchBtn {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 208, 96, 0.2);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 16px;
  transition: border-color 0.2s, background 0.2s;
  max-width: 260px;
}

#searchBtn:focus-within {
  border-color: var(--gold-main);
  background: rgba(255, 255, 255, 0.1);
}

#searchProducts {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  font-size: 0.9rem;
  font-family: 'Nunito', sans-serif;
  width: 160px;
}

#searchProducts::placeholder {
  color: var(--text-muted);
}

#searchBtnIcon {
  width: 34px;
  height: 34px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}

#searchBtnIcon:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

#cartItem {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 208, 96, 0.2);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  font-family: 'Nunito', sans-serif;
  position: relative;
  transition: all 0.2s;
}

#cartItem:hover {
  background: rgba(245, 208, 96, 0.1);
  border-color: var(--gold-main);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.cart-icon {
  font-size: 1.1rem;
}

.cart-label {
  white-space: nowrap;
}

#cartItemCount {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--grad-rose);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  font-family: 'Baloo Bhai 2', sans-serif;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(232, 57, 138, 0.5);
  border: 2px solid var(--bg-deep);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(245, 208, 96, 0.1);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO ── */
.hero-section {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 80px 48px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 50%, rgba(232, 57, 138, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(232, 160, 32, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: slideUp 0.8s ease both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 160, 32, 0.15);
  border: 1px solid rgba(232, 160, 32, 0.4);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-light);
}

.hero-title em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--grad-gold);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-gold);
  font-family: 'Baloo Bhai 2', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 160, 32, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid rgba(245, 208, 96, 0.4);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
  font-family: 'Baloo Bhai 2', sans-serif;
}

.btn-secondary:hover {
  background: rgba(245, 208, 96, 0.1);
  border-color: var(--gold-main);
  transform: translateY(-2px);
}

.hero-image-wrap {
  position: relative;
  animation: slideUp 0.8s ease 0.2s both;
}

.hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.hero-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(232, 160, 32, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

/* ── SECTIONS COMMON ── */
.section-deals,
.section-categories,
.section-all-products,
.section-trust {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-main);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.2;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 1px solid rgba(245, 208, 96, 0.3);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.view-all-btn:hover {
  background: rgba(245, 208, 96, 0.1);
  border-color: var(--gold-main);
  transform: translateX(4px);
}

/* ── PRODUCT GRID & CARDS ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--grad-card);
  border: 1px solid rgba(245, 208, 96, 0.1);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(245, 208, 96, 0.2);
  border-color: rgba(245, 208, 96, 0.3);
}

.product-card .img-container {
  width: 100%;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 208, 96, 0.08);
}

.product-card .img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

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

.product-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 12px 14px 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  height: 52px;
}

.product-card .price-section {
  padding: 8px 14px 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.price {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-light);
}

.original-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.discount {
  background: rgba(232, 57, 138, 0.15);
  border: 1px solid rgba(232, 57, 138, 0.3);
  color: var(--rose-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

/* ── STOCK BADGES ── */
.stock-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
  letter-spacing: 0.3px;
  pointer-events: none;
}

.stock-out {
  background: rgba(239, 68, 68, 0.92);
  color: #fff;
}

.stock-last {
  background: rgba(234, 88, 12, 0.92);
  color: #fff;
  animation: pulse-badge 1.5s ease-in-out infinite;
}

.stock-low {
  background: rgba(202, 138, 4, 0.92);
  color: #fff;
}

.stock-ok {
  background: rgba(22, 163, 74, 0.85);
  color: #fff;
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

/* ── Out-of-stock card overlay ── */
.card-oos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 2, 32, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  pointer-events: none;
}

.card-oos-overlay span {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: rgba(239, 68, 68, 0.85);
  padding: 5px 14px;
  border-radius: 999px;
}

.product-card-oos {
  opacity: 0.75;
}

.product-card-oos:hover {
  cursor: not-allowed;
}

/* ── Stock badge on product detail page ── */
.stock-badge-wrap {
  margin-bottom: 12px;
}

.stock-badge-wrap .stock-badge {
  position: static;
  display: inline-flex;
  font-size: 0.82rem;
  padding: 5px 14px;
}

/* ── CATEGORY GRID ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--grad-card);
  border: 1px solid rgba(245, 208, 96, 0.1);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(245, 208, 96, 0.3);
}

.category-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.06);
}

.category-info {
  padding: 16px 16px 8px;
}

.category-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.category-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.category-arrow {
  padding: 8px 16px 16px;
  font-size: 1.2rem;
  color: var(--gold-main);
  transition: transform 0.2s;
}

.category-card:hover .category-arrow {
  transform: translateX(6px);
}

/* ── TRUST SECTION ── */
.section-trust {
  border-top: 1px solid var(--border-glow);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.trust-card {
  background: var(--grad-card);
  border: 1px solid rgba(245, 208, 96, 0.1);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 208, 96, 0.25);
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.trust-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.trust-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-glow);
  margin-top: 60px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
}

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

.footer-links ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: var(--gold-light);
}

.footer-contact a {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  transition: color 0.2s;
  line-height: 1.7;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-glow);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── BOOKING MODAL ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 208, 96, 0.1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--text-muted);
  font-size: 18px;
  padding: 6px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
  color: var(--gold-light);
  background: rgba(245, 208, 96, 0.1);
}

.modal-header {
  margin-bottom: 16px;
}

.modal-success-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  animation: bounceIn 0.5s ease 0.3s both;
}

@keyframes bounceIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.modal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
}

.modal-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 16px auto;
  border-radius: 12px;
  border: 1px solid var(--border-glow);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
}

.modal-product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}

.modal-quantity {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.modal-timer {
  background: rgba(232, 160, 32, 0.1);
  border: 1px solid rgba(232, 160, 32, 0.25);
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.timer-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timer-value {
  font-family: 'Baloo Bhai 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-light);
}

/* Modal actions — single column, WhatsApp first */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
  cursor: pointer;
  width: 100%;
}

.btn-shop {
  background: var(--grad-gold);
  color: var(--text-dark);
}

.btn-shop:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-bookings {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 208, 96, 0.2);
  color: var(--gold-light);
}

.btn-bookings:hover {
  background: rgba(245, 208, 96, 0.1);
  transform: translateY(-2px);
}

/* WhatsApp button */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #25d366;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  width: 100%;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    text-align: center;
    min-height: auto;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-image-wrap {
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  #navBar {
    padding: 12px 16px;
  }

  #searchBtn {
    max-width: 180px;
  }

  #searchProducts {
    width: 100px;
    font-size: 0.85rem;
  }

  .cart-label {
    display: none;
  }

  .hero-section {
    padding: 32px 16px;
  }

  .section-deals,
  .section-categories,
  .section-all-products,
  .section-trust {
    padding: 40px 16px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-title {
    font-size: 1.8rem;
  }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* ── FOCUS & ACCESSIBILITY ── */
:focus-visible {
  outline: 2px solid var(--gold-main);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── SELECTION ── */
::selection {
  background: rgba(232, 160, 32, 0.3);
  color: var(--text-light);
}