/* ================================================================
   KITHTHA GRAND — Main Stylesheet
   style.css
================================================================ */

/* ── CSS Variables ── */
:root {
  --red:         #8B2500;
  --red-dark:    #6B1A00;
  --red-light:   #A83010;
  --gold:        #C8900A;
  --gold-light:  #F0B429;
  --gold-pale:   #FDE68A;
  --cream:       #FDF3E3;
  --cream-dark:  #F0E0C0;
  --cream-deep:  #E8D0A0;
  --brown:       #3D1C02;
  --brown-light: #6B3A1F;
  --green:       #2A5C3F;
  --green-light: #3D7A58;
  --white:       #FFFFFF;
  --black:       #0A0502;

  --font-head:   'Cinzel Decorative', serif;
  --font-sub:    'Cinzel', serif;
  --font-body:   'IM Fell English', serif;

  --shadow-sm:   0 2px 8px rgba(61,28,2,0.12);
  --shadow-md:   0 8px 24px rgba(61,28,2,0.18);
  --shadow-lg:   0 20px 60px rgba(61,28,2,0.25);
  --shadow-gold: 0 8px 32px rgba(200,144,10,0.3);

  --radius:      12px;
  --radius-lg:   24px;

  --transition:  0.35s 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(--cream);
  color: var(--brown);
  overflow-x: hidden;
  cursor: none; /* custom cursor */
}
body.loading { overflow: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font-family: var(--font-body); }
input, select { font-family: var(--font-body); }

/* ── Custom Cursor ── */
.custom-cursor {
  position: fixed;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: multiply;
}
.cursor-trail {
  position: fixed;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.2s, height 0.2s;
}
body:has(a:hover) .custom-cursor,
body:has(button:hover) .custom-cursor { width: 28px; height: 28px; background: var(--gold); }

/* ── Loading Screen ── */
.loading-screen {
  position: fixed; inset: 0;
  background: var(--brown);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  overflow: hidden;
}
.loading-inner { text-align: center; position: relative; z-index: 2; }
.loading-emblem {
  position: relative;
  width: 120px; height: 120px;
  margin: 0 auto 24px;
}
.emblem-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(200,144,10,0.4);
  animation: spinRing 4s linear infinite;
}
.emblem-ring.ring-2 {
  inset: 10px;
  border-color: rgba(200,144,10,0.25);
  animation: spinRing 6s linear infinite reverse;
}
.emblem-center {
  position: absolute; inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red) 0%, var(--red-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}
.loading-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.loading-sub {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  color: var(--cream-dark);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.loading-bar-wrap {
  width: 240px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  margin: 0 auto 16px;
  overflow: hidden;
}
.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  animation: loadBar 2s ease forwards;
}
.loading-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(240,224,192,0.6);
  letter-spacing: 0.1em;
}
/* Floating particles */
.particle {
  position: absolute;
  left: var(--x); top: var(--y);
  font-size: calc(1.4rem * var(--s));
  opacity: 0;
  animation: floatParticle var(--d) ease-in-out infinite;
  animation-delay: calc(var(--d) * -0.5);
  pointer-events: none;
}

/* ── Page transition blur loader ── */
#kg-page-loader {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(253, 243, 227, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
#kg-page-loader.kg-visible {
  opacity: 1;
  pointer-events: all;
}
.kg-loader-ring {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(139, 37, 0, 0.12);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spinRing 0.72s linear infinite;
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}
.navbar.scrolled {
  background: rgba(253,243,227,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.nav-inner {
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--cream);
  transition: color var(--transition);
  flex-shrink: 0;
}
.nav-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: var(--transition);
}
.navbar.scrolled .nav-logo-img {
  mix-blend-mode: normal;
  filter: none;
}
.navbar.scrolled .nav-logo { color: var(--red); }
.logo-icon { font-size: 1.5rem; }
.nav-links {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.nav-link {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,243,227,0.85);
  padding: 8px 14px;
  border-radius: 99px;
  transition: color var(--transition), background var(--transition);
}
.navbar.scrolled .nav-link { color: var(--brown-light); }
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.navbar.scrolled .nav-link:hover { color: var(--red); background: rgba(139,37,0,0.08); }
.nav-actions {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.currency-select {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--cream);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: var(--font-sub);
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
}
.navbar.scrolled .currency-select {
  background: rgba(61,28,2,0.06);
  border-color: var(--cream-deep);
  color: var(--brown);
}
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--cream);
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}
.navbar.scrolled .icon-btn { color: var(--brown); background: rgba(61,28,2,0.06); }
.icon-btn:hover { background: rgba(200,144,10,0.2); color: var(--gold); }
.badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  background: var(--red);
  color: white;
  font-size: 0.65rem;
  font-family: var(--font-sub);
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--cream);
}
.badge:empty, .badge[data-count="0"] { display: none; }
.btn-auth {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: var(--red);
  color: white;
  border-radius: 99px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-auth:hover { background: var(--red-light); transform: translateY(-1px); }

/* ── Mobile Nav ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; padding: 4px;
}
.hamburger span {
  display: block; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--brown); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ── Mobile Overlay ── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,5,2,0.6);
  z-index: 998;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ── Mobile Drawer ── */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  height: 100dvh;
  width: 88%; max-width: 340px;
  background: var(--cream);
  z-index: 999;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: -16px 0 60px rgba(61,28,2,0.3);
}
.mobile-menu.open { transform: translateX(0); }
body.menu-open { overflow: hidden; }

.mob-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  background: var(--brown);
  border-bottom: 1px solid rgba(200,144,10,0.2);
  flex-shrink: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(200,144,10,0.03) 20px, rgba(200,144,10,0.03) 40px
  );
}
.mob-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mob-drawer-logo {
  height: 42px; width: auto;
  object-fit: contain;
  filter: brightness(1.8) saturate(0.7);
}
.mob-brand-name {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--gold-light);
  line-height: 1;
}
.mob-brand-tagline {
  font-family: var(--font-sub);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240,224,192,0.45);
  margin-top: 4px;
}
.mob-close-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(200,144,10,0.25);
  color: rgba(240,224,192,0.65);
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}
.mob-close-btn:hover { background: rgba(200,144,10,0.2); color: var(--gold-light); }

.mob-nav { flex: 1; padding: 12px; }
.mob-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mob-nav ul a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
  border-radius: 12px;
  transition: var(--transition);
}
.mob-nav ul a i {
  width: 20px;
  text-align: center;
  color: var(--gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.mob-nav ul a span { flex: 1; }
.mob-nav ul a:hover,
.mob-nav ul a.active { background: rgba(139,37,0,0.08); color: var(--red); }
.mob-nav ul a:hover i,
.mob-nav ul a.active i { color: var(--red); }

.mob-quick-actions {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--cream-dark);
  flex-shrink: 0;
}
.mob-action-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 13px 8px;
  font-family: var(--font-sub); font-size: 0.62rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brown-light);
  border-radius: 12px;
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
}
.mob-action-btn i { font-size: 1.15rem; color: var(--gold); }
.mob-action-btn:hover { background: rgba(139,37,0,0.06); color: var(--red); border-color: var(--red); }
.mob-action-btn:hover i { color: var(--red); }

.mob-drawer-footer {
  padding: 14px 14px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.mob-currency-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--brown-light);
}
.mob-currency-row i { color: var(--gold); }
.mob-currency-sel {
  margin-left: auto;
  padding: 7px 12px; border-radius: 8px;
  border: 1px solid var(--cream-dark);
  background: var(--cream); color: var(--brown);
  font-family: var(--font-sub); font-size: 0.78rem;
  outline: none;
}
.mob-auth-full {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px;
  background: var(--red);
  color: var(--cream);
  border-radius: 99px;
  font-family: var(--font-sub); font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(139,37,0,0.3);
}
.mob-auth-full:hover { background: var(--red-light); transform: translateY(-1px); }

/* ── Pages ── */
.page { display: none; }
.page.active { display: block; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: var(--red);
  color: var(--cream);
  border-radius: 99px;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(139,37,0,0.35);
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,37,0,0.45); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(253,243,227,0.5);
  border-radius: 99px;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-ghost:hover { background: rgba(253,243,227,0.12); border-color: var(--cream); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 99px;
  font-family: var(--font-sub);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--red); color: var(--cream); }
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--brown);
  border-radius: 99px;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(200,144,10,0.45); }

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ── Sections ── */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 16px;
}
.title-ornament {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 16px;
}
.title-ornament.left { justify-content: flex-start; }
.ornament-line {
  flex: 1; max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}
.title-ornament.left .ornament-line:last-child { background: linear-gradient(90deg, var(--gold-light), transparent); }
.ornament-icon { color: var(--gold); font-size: 0.8rem; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 120px 32px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(139,37,0,0.85) 0%, rgba(61,28,2,0.95) 60%, var(--black) 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(200,144,10,0.03) 40px,
      rgba(200,144,10,0.03) 80px
    );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
  margin-left: max(32px, calc((100vw - 1280px) / 2 + 32px));
}
.hero-eyebrow {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  margin-bottom: 24px;
  display: flex; flex-direction: column;
}
.title-line { color: var(--cream); display: block; }
.title-line.gold { color: var(--gold-light); }
.hero-desc {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(253,243,227,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex; align-items: center; gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253,243,227,0.6);
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(200,144,10,0.3);
}

/* Hero decoration */
.hero-deco {
  position: absolute;
  right: max(32px, calc((100vw - 1280px) / 2 + 32px));
  top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.deco-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(200,144,10,0.2);
}
.circle-1 { width: 100%; height: 100%; }
.circle-2 { width: 75%; height: 75%; border-style: dashed; }
.deco-spice-bowl {
  position: relative;
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
}
.bowl-glow {
  position: absolute; inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,144,10,0.15) 0%, transparent 70%);
}
.bowl-emoji { font-size: 5rem; filter: drop-shadow(0 0 30px rgba(200,144,10,0.5)); }
.orbit-item {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(61,28,2,0.8);
  border: 1px solid rgba(200,144,10,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  transform: rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle)));
  animation: orbitSpin 12s linear infinite;
  animation-delay: calc(var(--angle) / 360 * -12s);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(253,243,227,0.5);
  font-family: var(--font-sub); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  animation: scrollBob 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(200,144,10,0.6), transparent);
}

/* ── Marquee ── */
.marquee-strip {
  background: var(--red);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid var(--red-dark);
  border-bottom: 1px solid var(--red-dark);
}
.marquee-track {
  display: flex; align-items: center; gap: 32px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
}
.marquee-track span:nth-child(even) { color: var(--gold-light); }

/* ── Categories ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
/* ================================================================
   KITHTHA GRAND — Categories Section (Theme Matched)
   Replace the existing .categories-section and .cat-card rules
   in css/style.css
================================================================ */

/* ── Categories Section ── */
.categories-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.categories-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 100%, rgba(139,37,0,.06) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(200,144,10,.05) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Categories Grid ── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Category Card ── */
.cat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s ease;
  animation-delay: var(--delay, 0s);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Background layers */
.cat-bg-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--brown) 0%, var(--red-dark) 60%, #4a0e00 100%);
  transition: transform 0.5s ease;
}
.cat-bg-img.whole-spices  { background: linear-gradient(160deg, #4a0e00 0%, #8B2500 100%); }
.cat-bg-img.ground-spices { background: linear-gradient(160deg, #3D1C02 0%, #7A3010 100%); }
.cat-bg-img.spice-blends  { background: linear-gradient(160deg, #1a2a1a 0%, #2A5C3F 100%); }
.cat-bg-img.gift-sets     { background: linear-gradient(160deg, #1a1a2e 0%, #2a1a5e 100%); }

/* Pattern overlay */
.cat-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,.02) 20px,
    rgba(255,255,255,.02) 40px
  );
  pointer-events: none;
}
.cat-skeleton {
  aspect-ratio: 3/4;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--cream-dark) 25%, var(--cream-deep) 50%, var(--cream-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
/* Gold border */
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(200,144,10,.25);
  z-index: 3;
  transition: border-color 0.35s;
}
.cat-card:hover::before { border-color: rgba(200,144,10,.6); }

/* Decorative ring */
.cat-ring {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(200,144,10,.12);
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.35s;
}
.cat-ring::after {
  content: '';
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  border: 1px dashed rgba(200,144,10,.08);
}
.cat-card:hover .cat-ring {
  transform: scale(1.2) rotate(15deg);
  opacity: .7;
}

/* Emoji icon */
.cat-emoji {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}
.cat-card:hover .cat-emoji {
  transform: translateX(-50%) scale(1.08);
}

/* Bottom gradient */
.cat-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  z-index: 1;
}

/* Text content */
.cat-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}
.cat-eyebrow {
  font-family: var(--font-sub);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
  opacity: .85;
}
.cat-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 4px;
}
.cat-name-si {
  font-style: italic;
  font-size: .78rem;
  color: rgba(240,224,192,.5);
  margin-bottom: 12px;
}
.cat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-count {
  font-family: var(--font-sub);
  font-size: .65rem;
  letter-spacing: .1em;
  color: rgba(240,224,192,.45);
  text-transform: uppercase;
}
.cat-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200,144,10,.18);
  border: 1px solid rgba(200,144,10,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: .8rem;
  transition: background 0.3s, transform 0.3s;
}
.cat-card:hover .cat-arrow-btn {
  background: var(--gold);
  color: var(--brown);
  transform: translateX(3px);
}

/* Hover effects */
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(200,144,10,.2);
}
.cat-card:hover .cat-bg-img {
  transform: scale(1.04);
}

/* Active / click effect */
.cat-card:active { transform: translateY(-4px); }

/* Responsive */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-emoji { font-size: 2.8rem; }
  .cat-name { font-size: .95rem; }
}
/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img {
  width: 100%; aspect-ratio: 4/3;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: white;
  font-family: var(--font-sub); font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
}
.product-wish {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--brown-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  opacity: 0;
}
.product-card:hover .product-wish { opacity: 1; }
.product-wish:hover { color: var(--red); transform: scale(1.1); }
.product-info { padding: 20px; }
.product-cat {
  font-family: var(--font-sub); font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.product-name {
  font-family: var(--font-sub); font-size: 1rem;
  color: var(--brown); margin-bottom: 6px;
  line-height: 1.3;
}
.product-weight { font-size: 0.8rem; color: var(--brown-light); margin-bottom: 14px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price {
  font-family: var(--font-head); font-size: 1.15rem; color: var(--red);
}
.product-add {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--red); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
}
.product-add:hover { background: var(--red-light); transform: scale(1.1); }

/* Skeleton loaders */
.product-skeleton {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  overflow: hidden;
}
.product-skeleton::before {
  content: '';
  display: block;
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, var(--cream-dark) 25%, var(--cream-deep) 50%, var(--cream-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.product-skeleton::after {
  content: '';
  display: block;
  height: 100px;
  margin: 16px;
  background: linear-gradient(90deg, var(--cream-dark) 25%, var(--cream-deep) 50%, var(--cream-dark) 75%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: shimmer 1.5s infinite 0.2s;
}

/* ── Why Section ── */
.why-section { background: var(--brown); position: relative; overflow: hidden; }
.why-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(139,37,0,0.3) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(200,144,10,0.1) 0%, transparent 50%);
}
.why-section .section-eyebrow { color: var(--gold-light); }
.why-section .section-title { color: var(--cream); }
.why-section .ornament-line { background: linear-gradient(90deg, transparent, var(--gold)); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.why-card {
  padding: 36px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,144,10,0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  animation-delay: var(--delay, 0s);
}
.why-card:hover { background: rgba(200,144,10,0.1); transform: translateY(-4px); border-color: rgba(200,144,10,0.4); }
.why-icon { font-size: 2.5rem; margin-bottom: 20px; }
.why-card h3 { font-family: var(--font-sub); font-size: 1rem; color: var(--gold-light); margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: rgba(240,224,192,0.75); line-height: 1.7; }

/* ── Story Section ── */
.story-section { background: var(--cream); }
.story-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-img-frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--cream-dark);
  position: relative;
}
.story-img-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.story-img-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--brown-light); font-style: italic;
}
.story-img-placeholder span { font-size: 4rem; }
.story-img-placeholder p { text-align: center; font-size: 0.9rem; line-height: 1.5; }
.story-text .section-title { text-align: left; font-size: clamp(1.5rem, 3vw, 2rem); margin: 12px 0; }
.story-para { font-size: 1rem; line-height: 1.85; color: var(--brown-light); margin-bottom: 20px; font-style: italic; }

/* ── Loyalty Banner ── */
.loyalty-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 56px 0;
  position: relative; overflow: hidden;
}
.loyalty-banner::before {
  content: '⭐⭐⭐';
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  font-size: 8rem; opacity: 0.05;
  pointer-events: none;
}
.loyalty-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.loyalty-icon { font-size: 3rem; flex-shrink: 0; }
.loyalty-text { flex: 1; min-width: 200px; }
.loyalty-text h3 { font-family: var(--font-sub); font-size: 1.2rem; color: var(--cream); margin-bottom: 8px; }
.loyalty-text p { font-size: 0.88rem; color: rgba(253,243,227,0.75); }

/* ── Footer ── */
.footer {
  background: var(--brown); color: var(--cream-dark);
  padding-top: 80px; padding-bottom: 0;
  position: relative; overflow: hidden;
}
.footer-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: repeating-linear-gradient(
    45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%
  );
  background-size: 20px 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(200,144,10,0.15);
  position: relative;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 1.1rem;
  color: var(--gold-light); margin-bottom: 16px;
}
.footer-logo span:first-child { font-size: 1.4rem; }
.footer-tagline {
  font-style: italic; font-size: 0.9rem;
  line-height: 1.6; color: rgba(240,224,192,0.6);
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(200,144,10,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: rgba(240,224,192,0.6);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(200,144,10,0.1); }
.footer-col h4 {
  font-family: var(--font-sub); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a {
  font-size: 0.88rem; color: rgba(240,224,192,0.65);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col a:hover { color: var(--cream); }
.footer-col li i { color: var(--gold); width: 14px; }
.newsletter {
  display: flex; margin-top: 20px;
  border: 1px solid rgba(200,144,10,0.25); border-radius: 99px; overflow: hidden;
}
.newsletter-input {
  flex: 1; padding: 10px 16px;
  background: transparent; border: none; outline: none;
  color: var(--cream); font-size: 0.82rem;
}
.newsletter-input::placeholder { color: rgba(240,224,192,0.4); }
.newsletter-btn {
  padding: 10px 18px; background: var(--gold); color: var(--brown);
  font-size: 1rem; font-weight: 700; transition: var(--transition);
}
.newsletter-btn:hover { background: var(--gold-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  font-size: 0.78rem; color: rgba(240,224,192,0.4);
}
.footer-payments { display: flex; gap: 12px; font-size: 1.6rem; color: rgba(240,224,192,0.3); }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  color: white; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900; transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.whatsapp-tooltip {
  position: absolute; right: 70px;
  background: var(--brown); color: var(--cream);
  font-family: var(--font-sub); font-size: 0.75rem;
  padding: 8px 14px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: var(--transition); transform: translateX(8px);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ── Toast ── */
.toast-container {
  position: fixed; bottom: 96px; right: 28px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 9000;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--brown);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold);
  font-size: 0.88rem;
  animation: toastIn 0.35s ease forwards;
  max-width: 300px;
}
.toast.success { border-color: #22c55e; }
.toast.error   { border-color: var(--red); }
.toast.fadeout { animation: toastOut 0.35s ease forwards; }

/* ── Reveal Animations ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Section CTA ── */
.section-cta { text-align: center; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-deco { display: none; }
  .story-container { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .currency-select,
  .nav-actions .icon-btn:not(.cart-btn),
  .btn-auth { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 14px; gap: 0; justify-content: flex-start; align-items: center; }
  .nav-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
  .cart-btn { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
  .nav-logo-text { display: block; }
  .nav-logo-main {
    display: block;
    font-family: var(--font-head);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .nav-logo { gap: 8px; }
  .nav-logo-img { height: 38px; }
  .section { padding: 60px 0; }
  .hero { padding: 96px 20px 52px; }
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { max-width: 100%; }
  .loyalty-inner { flex-direction: column; text-align: center; gap: 20px; }
  .loyalty-btn { width: 100%; justify-content: center; }
  /* Hero — center everything on mobile */
  .hero-content { margin-left: 0; text-align: center; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.1; }
  .hero-desc { font-size: 0.88rem; margin-bottom: 28px; }
  .hero-actions { gap: 12px; margin-bottom: 36px; flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .stat-num { font-size: 1.45rem; }
  .stat-divider { height: 26px; }
  /* Section headings */
  .section-title { font-size: clamp(1.35rem, 5.5vw, 1.85rem); }
  .section-sub { font-size: 0.88rem; }
  /* Why section */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why-card { padding: 22px 16px; }
  .why-icon { font-size: 2rem; margin-bottom: 12px; }
  .why-card h3 { font-size: 0.88rem; }
  .why-card p { font-size: 0.82rem; }
  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* Product cards */
  .product-card .product-info { padding: 12px; }
  .product-card .product-name { font-size: .84rem; }
  /* Cursor off */
  body { cursor: auto; }
  .custom-cursor, .cursor-trail { display: none; }
}
@media (max-width: 480px) {
  .hero { padding: 88px 16px 52px; }
  .hero-title { font-size: clamp(2rem, 10vw, 2.6rem); }
  .hero-eyebrow { font-size: 0.6rem; }
  .hero-stats { padding-bottom: 8px; }
  .stat-divider { display: none; }
  .stat { min-width: 72px; }
  .stat-num { font-size: 1.3rem; }
  /* Categories */
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card { padding: 24px 16px; }
  .cat-emoji { font-size: 2.6rem; }
  .cat-name { font-size: .9rem; }
  /* Why section single column */
  .why-grid { grid-template-columns: 1fr; gap: 10px; }
  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card .product-name { font-size: .82rem; }
  .product-card .product-price { font-size: .9rem; }
  .product-card .product-img { height: 140px; }
  /* Section */
  .section { padding: 48px 0; }
  .section-title { font-size: clamp(1.25rem, 7vw, 1.6rem); }
  /* Footer */
  .footer-links { display: none; }
  .footer-social { justify-content: center; }
  /* Scroll indicator hide on mobile */
  .scroll-indicator { display: none; }
}
/* Select/button touch fix — cursor:none breaks nothing on touch but keep pointer */
select, input[type="text"], input[type="email"],
input[type="number"], input[type="password"] { cursor: pointer; touch-action: manipulation; }
button { touch-action: manipulation; }

/* ── Music Now Playing ── */
#music-now-playing {
  position: fixed;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 14px;
  background: rgba(15,5,1,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(200,144,10,0.4);
  border-radius: 40px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  z-index: 8000;
  cursor: default;
}
#music-now-playing.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mnp-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.mnp-bars span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  animation: mnpBar 0.7s ease-in-out infinite alternate;
}
.mnp-bars span:nth-child(1) { height: 5px;  animation-delay: 0s;    }
.mnp-bars span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.mnp-bars span:nth-child(3) { height: 8px;  animation-delay: 0.3s;  }
.mnp-bars span:nth-child(4) { height: 14px; animation-delay: 0.45s; }
@keyframes mnpBar {
  from { transform: scaleY(0.25); }
  to   { transform: scaleY(1); }
}
.mnp-bars span { transform-origin: bottom; }
.mnp-text {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  color: var(--gold-light);
  white-space: nowrap;
}
.mnp-toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(200,144,10,0.18);
  border: 1px solid rgba(200,144,10,0.35);
  cursor: pointer;
  color: var(--gold);
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  touch-action: manipulation;
  flex-shrink: 0;
  margin-left: 2px;
}
.mnp-toggle:hover { background: rgba(200,144,10,0.32); transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) {
  .mnp-bars span { animation: none !important; height: 8px !important; transform: none !important; }
}
@media (max-width: 480px) {
  #music-now-playing { bottom: 16px; left: 14px; padding: 7px 10px 7px 12px; gap: 8px; }
  .mnp-text { font-size: 0.62rem; }
  .mnp-toggle { width: 24px; height: 24px; font-size: 0.55rem; }
}

/* ── Mobile Drawer Z-Index Fix ── */
@media (max-width: 768px) {
  .mobile-menu {
    z-index: 1001;
  }
  .mobile-overlay {
    z-index: 1000;
  }
  .navbar {
    z-index: 999;
  }
}
