/* ==========================================================================
   PETALS COUTURES — MODERN E-COMMERCE DESIGN SYSTEM
   Authentic South Indian Flavors, Traditional Masalas & Handcrafted Combos
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Color Palette */
  --primary: #15803d;
  /* Deep Culinary Green */
  --primary-hover: #166534;
  --primary-light: #ecfdf5;
  --primary-glow: rgba(22, 101, 52, 0.2);

  --accent-gold: #f59e0b;
  /* Saffron Gold */
  --accent-orange: #ea580c;
  /* Turmeric/Spice Orange */
  --accent-light: #fffbeb;

  --danger: #ef4444;
  --danger-light: #fef2f2;
  --success: #10b981;
  --info: #0284c7;

  /* Neutrals */
  --bg-page: #f9fbf9;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f2;
  --text-main: #19241e;
  --text-muted: #5f7467;
  --text-light: #8e9f94;
  --border-light: #e5ece7;
  --border-focus: #22c55e;

  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(22, 45, 30, 0.05);
  --shadow-md: 0 8px 24px rgba(22, 45, 30, 0.08);
  --shadow-lg: 0 16px 36px rgba(22, 45, 30, 0.12);
  --shadow-glow: 0 10px 25px -5px rgba(21, 128, 61, 0.25);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}
.brand-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0 !important;
}

/* Common Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: #fff;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-gold {
  background: var(--accent-light);
  color: #b45309;
}

.badge-orange {
  background: #ffedd5;
  color: #c2410c;
}

.badge-danger {
  background: var(--danger-light);
  color: var(--danger);
}

.badge-success {
  background: #dcfce7;
  color: #15803d;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #166534, #15803d, #ea580c);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.top-announcement.announcement-hidden {
  display: none !important;
}

/* Background Themes */
.top-announcement[data-bg-theme="gradient-amber"] {
  background: linear-gradient(90deg, #b45309, #d97706, #f59e0b) !important;
}

.top-announcement[data-bg-theme="gradient-maroon"] {
  background: linear-gradient(90deg, #881337, #9f1239, #be123c) !important;
}

.top-announcement[data-bg-theme="gradient-dark"] {
  background: linear-gradient(90deg, #0f172a, #1e293b, #334155) !important;
}

/* Marquee / Scrolling Ticker Mode */
.top-announcement.announcement-scrolling {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  padding: 8px 0 !important;
}

.announcement-marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ikMarqueeScroll 28s linear infinite;
  will-change: transform;
}

.top-announcement.announcement-scrolling:hover .announcement-marquee-track {
  animation-play-state: paused;
}

.announcement-marquee-item {
  display: inline-block;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
}

.announcement-marquee-divider {
  opacity: 0.6;
  font-size: 10px;
  padding: 0 4px;
}

@keyframes ikMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.top-announcement strong {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
}

.top-announcement .admin-link {
  color: #fef08a;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 10px;
  cursor: pointer;
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.site-navbar .nav-container,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
  max-width: 1536px;
  width: 100%;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0 !important;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-image {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand-text h1 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--primary-hover);
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
}

.brand-text span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-orange);
  margin-top: 3px;
  white-space: nowrap;
  line-height: 1;
}

/* ============================================================
   HOME HERO BANNER SECTION
   ============================================================ */
.home-hero-section {
  background: linear-gradient(135deg, #1a4731 0%, #15803d 45%, #1e6b38 100%);
  padding: 60px 0 60px;
  position: relative;
  overflow: hidden;
}

.home-hero-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.home-hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.home-hero-container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* LEFT */
.home-hero-left {
  color: #ffffff;
}

.home-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.95);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
}

.home-hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 8px;
}

.home-hero-highlight {
  font-style: italic;
  color: #fbbf24;
  display: block;
}

.home-hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 16px 0 28px;
}

.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.home-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f59e0b;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.home-hero-btn-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.home-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}

.home-hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

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

.home-hero-trust-item {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* RIGHT — Product Card */
.home-hero-right {
  display: flex;
  justify-content: center;
}

.home-hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 28px 24px 24px;
  text-align: center;
  color: #ffffff;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.home-hero-card-badge {
  display: inline-block;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.home-hero-card-media {
  margin-bottom: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-media-box {
  width: 100%;
  height: 185px;
  border-radius: 14px;
  background: #ffffff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.home-hero-media-box:hover {
  transform: scale(1.02);
}

.home-hero-img,
.home-hero-card-media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  border-radius: 8px;
}

.home-hero-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.3;
}

.home-hero-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 16px;
  line-height: 1.5;
}

.home-hero-card-price {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.home-hero-card-btn {
  display: block;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.home-hero-card-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

/* Responsive hero */
@media (max-width: 900px) {
  .home-hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-hero-right {
    justify-content: center;
  }

  .home-hero-card {
    max-width: 100%;
  }

  .home-hero-media-box {
    height: 165px;
    padding: 8px;
  }

  .home-hero-headline {
    font-size: clamp(26px, 7vw, 38px);
  }
}

@media (max-width: 480px) {
  .home-hero-section {
    padding: 40px 0;
  }

  .home-hero-ctas {
    flex-direction: column;
  }

  .home-hero-btn-primary,
  .home-hero-btn-secondary {
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   HOME USP / TRUST FEATURES STRIP (Under Hero)
   ============================================================ */
.home-usp-strip {
  background: linear-gradient(180deg, #faf3ec 0%, #f6ece2 100%);
  border-top: 1px solid #ebdacf;
  border-bottom: 1px solid #ebdacf;
  padding: 16px 0;
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.home-usp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.home-usp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  transition: transform 0.2s ease;
}

.home-usp-item:hover {
  transform: translateY(-2px);
}

.home-usp-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(90, 50, 20, 0.06);
  border: 1px solid rgba(226, 212, 198, 0.6);
  flex-shrink: 0;
}

.home-usp-text {
  display: flex;
  flex-direction: column;
}

.home-usp-title {
  font-size: 14px;
  font-weight: 700;
  color: #432818;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  font-family: var(--font-main);
  letter-spacing: -0.01em;
}

.home-usp-desc {
  font-size: 12px;
  color: #7a6857;
  line-height: 1.25;
  margin: 2px 0 0;
  font-weight: 400;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .home-usp-strip {
    padding: 14px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
  }

  .home-usp-strip::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
  }

  .home-usp-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    width: max-content;
    min-width: 100%;
    padding-left: 20px;
    padding-right: 24px;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
  }

  .home-usp-item {
    flex: 0 0 auto;
    min-width: auto;
    scroll-snap-align: start;
    padding: 4px 0;
  }

  .home-usp-item:last-child {
    padding-right: 16px;
  }
}

/* Inline Search Bar — Hidden so ONLY the search icon button shows */
.nav-search {
  display: none !important;
}


/* Nav Search Icon Button */
.nav-search-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: var(--bg-subtle, #f8fafc);
  color: var(--text-main);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  padding: 0;
  text-decoration: none;
}

.nav-search-btn:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   SEARCH POPUP MODAL (Desktop & Mobile)
   ============================================================ */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.search-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transform: translateY(-15px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.open .search-modal-card {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.search-modal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main, #1e293b);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-modal-close {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-muted, #64748b);
  transition: background 0.15s ease, color 0.15s ease;
}

.search-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.search-modal-body {
  padding: 20px;
}

.search-modal-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle, #f8fafc);
  border: 2px solid var(--primary, #15803d);
  border-radius: 12px;
  padding: 6px 8px 6px 14px;
  box-shadow: 0 0 0 4px var(--primary-glow, rgba(21, 128, 61, 0.15));
}

.search-modal-input-row input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-main, #0f172a);
  outline: none;
  padding: 8px 0;
}

.search-modal-input-row input::placeholder {
  color: var(--text-muted, #94a3b8);
}

.search-modal-submit-btn {
  background: var(--primary, #15803d);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.search-modal-submit-btn:hover {
  background: var(--primary-hover, #166534);
}

.search-modal-suggestions {
  margin-top: 18px;
}

.search-modal-suggestions-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #64748b);
  margin-bottom: 8px;
  display: block;
}

.search-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-modal-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #f1f5f9;
  border: 1px solid var(--border-light, #e2e8f0);
  font-size: 13px;
  color: var(--text-main, #334155);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-modal-chip:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: var(--primary, #15803d);
}

/* Nav Navigation Links - Horizontally Scrollable Category Bar */
.main-nav-bar {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  margin: 0 10px;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.main-nav-bar::-webkit-scrollbar {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.nav-link {
  padding: 9px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dynamic Category & Subcategory Navigation Dropdown (Fixed positioning to prevent overflow clipping) */
.nav-item-dropdown {
  position: relative;
  list-style: none;
  flex-shrink: 0;
}

.nav-item-dropdown .nav-dropdown-menu {
  position: fixed;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.16), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
  padding: 8px 0 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s;
  z-index: 99999;
}

/* Bridge gap: lets cursor travel smoothly from link into menu without closing */
.nav-item-dropdown .nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -10px;
  right: -10px;
  height: 20px;
}

/* Open on hover, focus-within, or when .is-open class is active (click) */
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

/* Rotate arrow chevron when dropdown is open */
.nav-item-dropdown:hover .nav-link svg,
.nav-item-dropdown:focus-within .nav-link svg,
.nav-item-dropdown.is-open .nav-link svg,
.nav-item-dropdown:hover .nav-link .nav-arrow-icon,
.nav-item-dropdown:focus-within .nav-link .nav-arrow-icon,
.nav-item-dropdown.is-open .nav-link .nav-arrow-icon {
  transform: rotate(180deg) !important;
}

.nav-arrow-icon {
  display: inline-block;
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark, #1e293b);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  border-radius: 0;
  box-sizing: border-box;
}

.nav-dropdown-item:hover {
  background: var(--primary-light, #f0fdf4);
  color: var(--primary, #15803d);
  padding-left: 22px;
}

.nav-dropdown-item.active {
  background: var(--primary-light, #f0fdf4);
  color: var(--primary, #15803d);
  font-weight: 700;
  padding-left: 22px;
  border-left: 3px solid var(--primary, #15803d);
}

.nav-dropdown-item.view-all-sub {
  border-top: 1px solid var(--border-light, #f1f5f9);
  margin-top: 6px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--primary, #15803d);
}

.nav-dropdown-item.view-all-sub:hover {
  padding-left: 22px;
}

/* Mobile drawer subcategories styling */
.mobile-subcat-list {
  list-style: none;
  padding: 0 0 6px 36px;
  margin: 0;
}

.mobile-subcat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-muted, #64748b);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-subcat-item:hover,
.mobile-subcat-item.active {
  background: var(--primary-light, #f0fdf4);
  color: var(--primary, #15803d);
}

/* Nav Actions - Fixed on the right side */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0 !important;
  margin-left: auto;
  position: relative;
  z-index: 30;
}

.action-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  font-size: 20px;
  transition: var(--transition);
  flex-shrink: 0 !important;
}

.action-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* Responsive 'More' Categories Dropdown */
.nav-item-more {
  position: relative;
  flex-shrink: 0;
}

.nav-dropdown-more-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 260px;
  max-width: 340px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.16), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  margin-top: 4px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.2s;
  z-index: 9999;
}

.nav-dropdown-more-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -10px;
  right: -10px;
  height: 20px;
}

.nav-item-more:hover .nav-dropdown-more-menu,
.nav-item-more:focus-within .nav-dropdown-more-menu,
.nav-item-more.is-open .nav-dropdown-more-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.nav-more-cat-group {
  border-bottom: 1px solid var(--border-light, #f1f5f9);
  padding: 3px 0;
}

.nav-more-cat-group:last-child {
  border-bottom: none;
}

.nav-more-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-more-cat-title {
  display: block;
  font-weight: 700 !important;
  color: var(--primary, #15803d) !important;
  padding: 8px 18px 4px !important;
  font-size: 13.5px !important;
  letter-spacing: 0.2px;
}

.nav-more-sub-list {
  background: #f8fafc;
  padding: 4px 0 6px 14px;
  border-left: 2px solid var(--primary, #15803d);
  margin: 0 12px 6px 18px;
  border-radius: 0 0 8px 8px;
}

.nav-more-sub-list .nav-dropdown-item {
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 6px;
}

.badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-banner {
  background: linear-gradient(135deg, #0e4424 0%, #166534 50%, #15803d 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fef08a;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-title span {
  color: #fde047;
  font-style: italic;
}

.hero-description {
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 520px;
}

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

.hero-highlights {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.highlight-item .icon {
  font-size: 22px;
}

.hero-card-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.combo-visual-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  max-width: 380px;
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.combo-badge-floating {
  background: var(--accent-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.4);
}

.combo-img-large {
  font-size: 72px;
  margin-bottom: 12px;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3));
}

.combo-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.combo-price-tag {
  font-size: 26px;
  font-weight: 800;
  color: #fde047;
  margin-bottom: 16px;
}

/* ==========================================================================
   CATEGORIES SECTION
   ========================================================================== */
.section {
  padding: 50px 0;
}

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

.section-title-wrap h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 4px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 14px 14px 18px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.category-card:hover,
.category-card.active {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 14px 28px -6px rgba(184, 51, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.category-card-img-wrap {
  width: 100%;
  height: 125px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6px;
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

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

.category-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
  background: var(--primary);
  color: #fff;
}

.category-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.category-count {
  font-size: 12px;
  color: var(--text-light);
  background: var(--bg-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* ==========================================================================
   PRODUCT CARDS GRID & FILTERS
   ========================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

/* Catalog Sidebar Filter */
.catalog-sidebar {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-checkbox input {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Product Sort and Bar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  background: var(--bg-surface);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.toolbar-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.sort-select {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-main);
  background: var(--bg-surface);
  cursor: pointer;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.card-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
}

.card-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-light);
  transition: var(--transition);
  z-index: 5;
}

.card-wishlist-btn:hover,
.card-wishlist-btn.active {
  color: var(--danger);
  background: #fff;
  border-color: var(--danger);
}

.product-image-wrap {
  background: #f8fafc;
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 12px 14px 6px 14px;
}

.product-card-img,
.product-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  border-radius: 6px !important;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image-wrap img,
.product-card:hover .product-card-img {
  transform: scale(1.04);
}

.product-emoji-icon {
  font-size: 76px;
  transition: var(--transition);
}

.product-card:hover .product-emoji-icon {
  transform: scale(1.08);
}

.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.product-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.product-title:hover {
  color: var(--primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 12px;
}

.stars {
  color: var(--accent-gold);
}

.review-count {
  color: var(--text-light);
}

/* Weight Selector in Card */
.weight-selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.weight-pill {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.weight-pill.selected {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.price-original {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

/* ==========================================================================
   PRODUCT DETAIL VIEW (MODAL / PAGE)
   ========================================================================== */
.product-detail-view {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.detail-main-display {
  background: #f8fafc;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  padding: 20px;
  border: 1px solid var(--border-light);
}

.detail-main-display img,
.detail-product-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  border-radius: 8px !important;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-breadcrumbs {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.detail-breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.detail-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.detail-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.detail-stock-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.stock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
}

.qty-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: var(--bg-subtle);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.qty-input {
  width: 50px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-main);
}

/* ==========================================================================
   CART PAGE / DRAWER
   ========================================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 32px;
  align-items: start;
}

.cart-items-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.cart-item-row {
  border-bottom: 1px solid var(--border-light);
}

.cart-item-row td {
  padding: 20px 0;
  vertical-align: middle;
}

.cart-prod-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-prod-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.cart-prod-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
}

.cart-prod-meta {
  font-size: 13px;
  color: var(--text-light);
}

.cart-remove-btn {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 18px;
  padding: 6px;
  transition: var(--transition);
}

.cart-remove-btn:hover {
  transform: scale(1.15);
}

.cart-prod-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.cart-prod-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pack-badge {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
}

.cart-prod-mobile-price {
  display: none;
}

.cart-mobile-remove-btn {
  display: none;
}

.mobile-subtotal-tag {
  display: none;
}

.cart-actions-row {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-outline-danger {
  background: transparent;
  color: var(--danger);
  border: 1.5px solid #fee2e2;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-outline-danger:hover {
  background: #fef2f2;
  border-color: var(--danger);
  color: #b91c1c;
}

/* Clear Cart Confirmation Modal */
.clear-cart-modal-card {
  max-width: 400px;
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.clear-cart-modal-card .modal-icon {
  font-size: 46px;
  margin-bottom: 12px;
  line-height: 1;
}

.clear-cart-modal-card .modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.clear-cart-modal-card .modal-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.clear-cart-modal-card .modal-btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.clear-cart-modal-card .modal-btn-row .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 10px 16px;
}

/* Cart Summary Card */
.cart-summary-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  border-top: 2px dashed var(--border-light);
  padding-top: 16px;
  margin-top: 16px;
}

/* Coupon Box */
.coupon-box {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: var(--font-main);
  font-size: 13px;
  text-transform: uppercase;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ==========================================================================
   CHECKOUT & PAYMENT PAGE
   ========================================================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}

.checkout-step-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.checkout-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: var(--font-main);
  font-size: 14px;
  background: var(--bg-surface);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Payment Method Selection */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.payment-tab {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-surface);
}

.payment-tab:hover,
.payment-tab.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.payment-tab-icon {
  font-size: 26px;
  margin-bottom: 6px;
}

.payment-tab-title {
  font-size: 13px;
  font-weight: 700;
}

.payment-content-pane {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
}

/* UPI QR Simulation */
.upi-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.upi-qr-code {
  width: 180px;
  height: 180px;
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.upi-id-badge {
  font-family: monospace;
  background: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   ORDER CONFIRMATION MODAL & RECEIPT
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

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

.order-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  margin: 0 auto 18px;
}

.order-success-title {
  font-family: var(--font-serif);
  font-size: 26px;
  text-align: center;
  margin-bottom: 6px;
}

.order-success-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.receipt-summary-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

/* Tracking Stepper */
.tracking-stepper {
  display: flex;
  justify-content: space-between;
  margin: 24px 0;
  position: relative;
}

.tracking-stepper::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
}

.track-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.track-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-light);
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
}

.track-step.done .track-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.track-step.active .track-dot {
  border-color: var(--accent-orange);
  background: var(--accent-light);
  color: var(--accent-orange);
}

.track-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--text-main);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideToast 0.3s ease;
  min-width: 280px;
}

.toast.success {
  background: #166534;
  border-left: 4px solid #22c55e;
}

.toast.error {
  background: #991b1b;
  border-left: 4px solid #ef4444;
}

@keyframes slideToast {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #111e16;
  color: #d1ded6;
  padding: 60px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-logo {
  display: none !important;
}

.footer-brand-title,
.footer-brand h2,
.footer-brand h3 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.footer-brand-tagline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px 0;
}

.footer-brand p {
  color: #9eb5a7;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #9eb5a7;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #22c55e;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #799484;
  font-size: 13px;
}

/* ==========================================================================
   MOBILE LEFT DRAWER NAVIGATION
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active,
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: #ffffff;
  z-index: 99999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.mobile-menu-drawer.active,
.mobile-menu-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  background: var(--danger-light);
  color: var(--danger);
  border-color: var(--danger);
}

.mobile-drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.mobile-drawer-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin: 16px 8px 8px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-item .m-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

/* Quick Subcategory Filter Pills */
.subcat-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 16px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.subcat-pills-bar::-webkit-scrollbar {
  height: 4px;
}

.subcat-pills-bar::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

.subcat-pill {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.subcat-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.subcat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.25);
}

.btn-clear-filter {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* Festive Promo Box base styles */
.festive-promo-box {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* ===================== RESPONSIVE FESTIVE BANNER & BUTTONS ===================== */
.festive-banner-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.festive-banner-media-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(194, 65, 12, 0.16);
  background: #ea580c;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.festive-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transition: opacity 0.3s ease;
}

/* Desktop/Laptop Overlay Placement */
.festive-banner-buttons-desktop {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  flex-wrap: wrap;
  max-width: 50%;
  justify-content: flex-end;
}

.festive-banner-buttons-desktop.placement-center {
  right: auto;
  left: 50%;
  transform: translate(-50%, -50%);
  justify-content: center;
}

.festive-banner-buttons-desktop.placement-bottom {
  position: static;
  transform: none;
  margin-top: 14px;
  max-width: 100%;
  justify-content: center;
}

/* Mobile Action Bar: Hidden on desktop/laptop */
.festive-banner-buttons-mobile {
  display: none;
}

/* Festive Promo Box base styles (when text overlay mode is enabled) */
.festive-promo-box.has-custom-banner-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 200px;
  box-shadow: 0 10px 25px -5px rgba(194, 65, 12, 0.25);
  position: relative;
}

.festive-promo-box.no-text-overlay {
  justify-content: flex-end;
}

.festive-promo-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 2;
}

.btn-banner-solid-white {
  background: #ffffff !important;
  color: #c2410c !important;
  border: 2px solid #ffffff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 12px 22px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn-banner-solid-white:hover {
  background: #fff7ed !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
}

.btn-banner-solid-orange {
  background: #c2410c !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 12px 22px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-banner-solid-orange:hover {
  background: #9a3412 !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.btn-banner-outline-white {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 12px 22px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.2s ease, background 0.2s ease !important;
}

.btn-banner-outline-white:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-2px) scale(1.02);
}

.btn-banner-gold {
  background: linear-gradient(135deg, #fbbf24, #d97706) !important;
  color: #1e1e1e !important;
  border: 2px solid #fef3c7 !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  padding: 12px 22px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-banner-gold:hover {
  background: linear-gradient(135deg, #f59e0b, #b45309) !important;
  color: #000000 !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45) !important;
}

/* Cart table wrapper for responsive scroll */
.cart-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   DESKTOP & MOBILE MENU LOGIN BUTTON (WITH UPLOADED ICON)
   ========================================================================== */
.nav-login-btn,
.nav-google-btn,
#navAccountBtn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 10px;
  background: #ffffff;
  color: var(--text-main, #1e293b) !important;
  border: 1.5px solid var(--border-light, #e2e8f0);
  border-radius: 9999px;
  font-family: var(--font-main, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0 !important;
}

.nav-login-btn:hover,
.nav-google-btn:hover,
#navAccountBtn:hover {
  background: var(--primary-light, #f0fdf4);
  border-color: var(--primary, #15803d);
  color: var(--primary, #15803d) !important;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.16);
  transform: translateY(-1px);
}

.nav-user-icon-wrap,
.nav-google-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav-user-icon-wrap img,
.nav-user-upload-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.nav-user-icon-wrap svg,
.nav-user-fallback-svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke: currentColor;
}

.nav-login-label,
.nav-google-label {
  font-size: 13.5px;
  letter-spacing: -0.1px;
}

/* User Logged in State in Navbar */
.nav-login-btn.nav-user-logged,
.nav-google-btn.nav-user-logged,
#navAccountBtn.nav-user-logged {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534 !important;
  padding: 0 14px 0 8px;
}

.nav-login-btn.nav-user-logged:hover,
.nav-google-btn.nav-user-logged:hover,
#navAccountBtn.nav-user-logged:hover {
  background: #dcfce7;
  border-color: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.nav-user-avatar-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #15803d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-user-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop Visibility Defaults (Mobile header items hidden on desktop) */
.mobile-nav-left {
  display: none !important;
}

.brand-image-mobile {
  display: none !important;
}

.brand-image-desktop {
  display: block !important;
}

.cart-bag-svg {
  display: none !important;
}

.cart-emoji-fallback {
  display: inline !important;
}

/* Mobile Drawer Login Card (Inside Mobile Menu Button) */
.drawer-login-card,
.drawer-google-btn,
.drawer-login-btn {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 16px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  color: #1f2937 !important;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.drawer-login-card:hover,
.drawer-google-btn:hover,
.drawer-login-btn:hover,
.drawer-login-card:active,
.drawer-google-btn:active,
.drawer-login-btn:active {
  background: #f0fdf4;
  border-color: #15803d;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.16);
  transform: translateY(-1px);
}

.drawer-user-icon-box,
.drawer-google-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.drawer-user-icon-box img,
.drawer-user-upload-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.drawer-user-icon-box svg {
  width: 22px;
  height: 22px;
  display: block;
  stroke: #374151;
}

.drawer-login-text,
.drawer-google-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.drawer-login-text strong,
.drawer-google-text strong {
  font-size: 14.5px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.25;
}

.drawer-login-text small,
.drawer-google-text small {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.2;
}

.drawer-login-arrow,
.drawer-google-arrow {
  font-size: 20px;
  font-weight: 700;
  color: #94a3b8;
  margin-left: auto;
  flex-shrink: 0;
}

/* When logged in inside Drawer */
.drawer-login-card.drawer-user-logged,
.drawer-google-btn.drawer-user-logged {
  background: linear-gradient(135deg, #f0fdf4, #ffffff);
  border-color: #86efac;
}

.drawer-login-card.drawer-user-logged .drawer-login-text strong,
.drawer-google-btn.drawer-user-logged .drawer-google-text strong {
  color: #166534;
}

.drawer-user-avatar-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #15803d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.25);
}

.drawer-user-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   MOBILE CATALOG CATEGORY / SUBCATEGORY CHIP BAR
   ========================================================================== */


/* Hidden by default on desktop */
.mobile-cat-bar {
  display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 992px) {

  .hero-banner {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 24px;
  }

  .catalog-layout,
  .cart-layout,
  .product-detail-view {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Mobile Checkout: Order Summary displays below Delivery Address (Step 1) and above Select Payment Method (Step 2) */
  .checkout-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .checkout-forms-col,
  #checkoutForm {
    display: contents !important;
  }

  #checkoutStepAddress {
    order: 1 !important;
  }

  #checkoutSummaryCol {
    order: 2 !important;
  }

  #checkoutStepPayment {
    order: 3 !important;
  }

  .product-detail-view {
    padding: 24px 20px;
  }

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

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

  .footer-contact-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {

  /* ---- Mobile Category & Subcategory chip bar ---- */
  .mobile-cat-bar {
    display: block;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0 0;
    margin: 0 -14px;
    /* bleed to edges under container padding */
    position: sticky;
    top: 60px;
    /* below sticky navbar */
    z-index: 90;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .mobile-cat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 0 14px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-cat-row::-webkit-scrollbar {
    display: none;
  }

  .mobile-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-light);
    background: var(--bg-subtle);
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
  }

  .mobile-cat-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
  }

  .mobile-cat-chip.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(21, 128, 61, 0.3);
  }

  /* Subcategory row — appears beneath category row */
  .mobile-subcat-row {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 6px 14px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--border-light);
    background: var(--bg-subtle);
    animation: slideDown 0.2s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

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

  .mobile-subcat-row::-webkit-scrollbar {
    display: none;
  }

  .mobile-subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-light);
    background: #fff;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
  }

  .mobile-subcat-chip:hover {
    border-color: var(--accent-gold);
    color: #92400e;
    background: var(--accent-light);
  }

  .mobile-subcat-chip.active {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: #fff;
    border-color: var(--accent-orange);
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
  }

  /* Hide desktop sidebar (filters) on mobile */
  .catalog-sidebar-desktop {
    display: none !important;
  }

  /* Full-width product section when sidebar is gone */
  .catalog-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* ---- Prevent any horizontal body overflow */

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100%;
  }

  /* Precise mobile edge padding */
  .container {
    padding: 0 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Top announcement bar fit */
  .top-announcement {
    padding: 6px 10px;
    font-size: 11.5px;
    line-height: 1.35;
    text-align: center;
    word-break: break-word;
    display: block;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .top-announcement strong {
    padding: 1px 6px;
    font-size: 11px;
  }

  /* ===================================================  /* ============================================================
     MOBILE HEADER & NAVBAR ALIGNMENT
     Single Row Layout: [ ☰ Menu ]  [ 🥘 Ilampirai Kitchens ]  [ 🔍 Search ]
     (Cart and Wishlist are inside the Menu Drawer)
     ============================================================ */
  .site-navbar {
    padding: 0 !important;
  }

  .site-navbar .nav-container,
  .nav-container {
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 14px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  /* 1. Left Group (Hamburger + Search) */
  .mobile-nav-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    z-index: 2 !important;
  }

  .mobile-header-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #111827 !important;
    cursor: pointer !important;
    border-radius: 6px !important;
    transition: color 0.15s ease !important;
  }

  .mobile-header-btn:hover,
  .mobile-header-btn:active {
    color: var(--primary, #15803d) !important;
  }

  .mobile-header-btn svg {
    display: block !important;
    stroke: currentColor !important;
  }

  /* 2. Center Group (Brand Logo - Uploaded Round Logo in Navbar) */
  .site-navbar .brand-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 140px !important;
    height: 48px !important;
  }

  .site-navbar .brand-image-desktop,
  .site-navbar .brand-text {
    display: none !important;
  }

  .site-navbar .brand-image-mobile {
    display: block !important;
    height: 40px !important;
    width: auto !important;
    max-width: 125px !important;
    object-fit: contain !important;
  }

  /* Mobile Drawer Header Brand */
  .mobile-drawer-header .brand-logo {
    position: static !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    max-width: none !important;
    height: auto !important;
  }

  /* 3. Right Group (Login + Cart) */
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
    z-index: 2 !important;
  }

  /* Hide Desktop Search & Wishlist on Mobile Header */
  .desktop-search-btn,
  .nav-search-btn,
  .nav-wishlist-btn {
    display: none !important;
  }

  /* Mobile Login Button (Clean icon only) */
  .nav-login-btn,
  .nav-google-btn,
  #navAccountBtn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #111827 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-decoration: none !important;
  }

  .nav-login-btn:hover,
  .nav-login-btn:active,
  #navAccountBtn:hover,
  #navAccountBtn:active {
    background: transparent !important;
    color: var(--primary, #15803d) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .nav-login-label {
    display: none !important;
  }

  .nav-user-icon-wrap {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .nav-user-upload-icon {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
  }

  .nav-user-avatar-wrap {
    width: 26px !important;
    height: 26px !important;
  }

  /* Mobile Shopping Bag Button */
  .nav-cart-btn,
  .nav-actions a[href="cart.html"],
  .nav-actions a[href*="cart"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #111827 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
  }

  .nav-cart-btn:hover,
  .nav-cart-btn:active,
  .nav-actions a[href*="cart"]:hover {
    background: transparent !important;
    color: var(--primary, #15803d) !important;
  }

  .cart-bag-svg {
    display: block !important;
    stroke: currentColor !important;
    width: 22px !important;
    height: 22px !important;
  }

  .cart-emoji-fallback {
    display: none !important;
  }

  /* Cart Badge on Mobile Bag */
  .nav-cart-btn .badge-count,
  .nav-actions a[href*="cart"] .badge-count,
  #navCartCount,
  #headerCartBadge {
    position: absolute !important;
    top: -2px !important;
    right: -4px !important;
    background: var(--accent-orange, #ea580c) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    min-width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    border-radius: 999px !important;
    padding: 0 4px !important;
    border: 1.5px solid #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 4. Hide Inline Search Input Bar on Mobile */
  .nav-search {
    display: none !important;
  }

  /* 5. Hide Desktop Main Navbar Links on Mobile */
  .main-nav-bar,
  .nav-links {
    display: none !important;
  }

  /* Mobile Drawer Cart & Wishlist enhanced badges */
  .mobile-menu-drawer .badge-orange {
    background: var(--accent-orange, #ea580c) !important;
    color: #ffffff !important;
  }

  .mobile-menu-drawer .badge-gold {
    background: var(--accent-gold, #f59e0b) !important;
    color: #ffffff !important;
  }

  /* Hero Section */
  .hero-section {
    padding: 12px 0 20px;
  }

  .hero-banner {
    padding: 20px 14px;
    border-radius: var(--radius-md);
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-tag {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 18px;
    padding-top: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .highlight-item {
    flex-direction: column;
    font-size: 11px;
    gap: 2px;
    text-align: center;
    min-width: 0;
  }

  .highlight-item .icon {
    font-size: 18px;
  }

  .combo-visual-box {
    max-width: 100%;
    width: 100%;
    padding: 20px 14px;
    box-sizing: border-box;
  }

  .combo-title {
    font-size: 17px;
  }

  .combo-price-tag {
    font-size: 22px;
    margin-bottom: 12px;
  }

  /* Section Headers */
  .section {
    padding: 24px 0;
  }

  .section-header {
    margin-bottom: 16px;
    gap: 10px;
  }

  .section-title-wrap h2 {
    font-size: 20px;
    line-height: 1.25;
  }

  .section-title-wrap p {
    font-size: 13px;
  }

  /* Festive Promo Card on Mobile */
  .festive-banner-media-container {
    border-radius: 12px;
  }

  .festive-banner-img {
    border-radius: 12px;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .festive-banner-buttons-desktop {
    display: none !important;
  }

  .festive-banner-buttons-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
  }

  .festive-promo-box {
    padding: 22px 16px;
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .festive-promo-box.has-custom-banner-image {
    min-height: 180px;
    background-size: cover;
  }

  .festive-promo-box.no-text-overlay {
    align-items: center;
    justify-content: flex-end;
  }

  .festive-promo-box h2 {
    font-size: 20px !important;
    line-height: 1.25;
  }

  .festive-promo-box p {
    font-size: 13px !important;
  }

  .festive-promo-buttons {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .festive-promo-btn {
    width: 100% !important;
    text-align: center;
    justify-content: center;
    padding: 12px 18px !important;
    font-size: 14px !important;
    box-sizing: border-box;
  }

  /* 2-Column Mobile Products Grid (Guaranteed No Horizontal Blowout) */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .product-card {
    border-radius: var(--radius-sm);
    min-width: 0;
    overflow: hidden;
  }

  .product-image-wrap {
    height: 150px;
    padding: 8px;
  }

  .product-emoji-icon {
    font-size: 54px;
  }

  .product-content {
    padding: 10px 8px;
    min-width: 0;
  }

  .product-category-label {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .product-title {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
    word-break: break-word;
  }

  .product-rating {
    font-size: 11px;
    margin-bottom: 8px;
    gap: 4px;
  }

  .weight-selector-row {
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
  }

  .weight-pill {
    padding: 3px 6px;
    font-size: 11px;
    border-radius: 4px;
  }

  .product-card-footer {
    padding-top: 8px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .price-current {
    font-size: 16px;
  }

  .price-original {
    font-size: 11px;
  }

  .product-card-footer .btn {
    padding: 5px 10px;
    font-size: 12px;
  }

  /* Category Cards Grid */
  .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
    box-sizing: border-box;
  }

  .category-card {
    padding: 10px 8px 14px;
    gap: 8px;
    border-radius: var(--radius-sm);
    min-width: 0;
  }

  .category-card-img-wrap {
    height: 100px;
    padding: 5px;
    border-radius: 8px;
  }

  .category-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .category-name {
    font-size: 13px;
    text-align: center;
    word-break: break-word;
  }

  .category-count {
    font-size: 10.5px;
    padding: 1px 6px;
  }

  /* Product Details Page on Mobile */
  .product-detail-view {
    padding: 18px 14px;
    border-radius: var(--radius-md);
    gap: 20px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
  }

  .detail-main-display {
    height: 250px;
    padding: 12px;
    font-size: 76px;
    width: 100%;
  }

  .detail-title {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 8px;
    word-break: break-word;
  }

  .detail-desc {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .detail-cta-row {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px;
    width: 100%;
  }

  .detail-cta-row .qty-stepper {
    width: fit-content;
    align-self: flex-start;
  }

  .detail-cta-row .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 15px;
  }

  /* Cart Layout on Mobile */
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
  }

  .cart-items-card {
    padding: 16px 12px;
    border-radius: var(--radius-md);
    width: 100%;
    box-sizing: border-box;
  }

  .cart-summary-card {
    position: static;
    padding: 18px 14px;
    border-radius: var(--radius-md);
    width: 100%;
    box-sizing: border-box;
  }

  /* Mobile Cart Table Transformation */
  .cart-table-head,
  .cart-table thead,
  .desktop-only {
    display: none !important;
  }

  .cart-table-wrapper {
    overflow: visible;
  }

  .cart-table,
  .cart-table tbody {
    display: block;
    width: 100%;
  }

  .cart-item-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    width: 100%;
    box-sizing: border-box;
  }

  .cart-item-row td {
    padding: 0 !important;
    border: none !important;
  }

  .cart-col-product {
    display: block;
    width: 100%;
    padding-bottom: 10px !important;
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--border-light) !important;
  }

  .cart-prod-cell {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    position: relative;
  }

  .cart-prod-img {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    font-size: 24px;
    overflow: hidden;
  }

  .cart-prod-info {
    flex: 1;
    min-width: 0;
    padding-right: 32px;
  }

  .cart-prod-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 3px;
    word-break: break-word;
  }

  .cart-prod-title a {
    color: var(--text-main);
    text-decoration: none;
  }

  .cart-prod-meta {
    font-size: 11.5px;
    margin-bottom: 3px;
  }

  .cart-prod-mobile-price {
    display: block !important;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary);
  }

  .cart-mobile-remove-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
  }

  .cart-mobile-remove-btn:hover {
    background: #dc2626;
    color: #fff;
  }

  .cart-col-qty {
    display: flex;
    align-items: center;
  }

  .cart-table .qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: #fff;
    height: 32px !important;
    overflow: hidden;
  }

  .cart-table .qty-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 15px !important;
    background: var(--bg-subtle);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-weight: bold;
    padding: 0 !important;
  }

  .cart-table .qty-btn:active {
    background: var(--primary-light);
    color: var(--primary);
  }

  .cart-table .qty-input {
    width: 34px !important;
    height: 30px !important;
    text-align: center;
    font-size: 13px !important;
    font-weight: 700;
    border: none;
    background: #fff;
    color: var(--text-main);
    padding: 0 !important;
  }

  .cart-col-subtotal {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    text-align: right;
  }

  .mobile-subtotal-tag {
    display: inline !important;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
  }

  .cart-subtotal-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-hover);
  }

  .cart-actions-row {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
  }

  .cart-actions-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13.5px;
  }

  /* Checkout Layout on Mobile */
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
  }

  .checkout-step-card {
    padding: 16px 12px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .checkout-step-title {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .payment-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
  }

  .payment-tab {
    padding: 10px 6px;
    border-radius: var(--radius-sm);
  }

  .payment-tab-icon {
    font-size: 20px;
    margin-bottom: 3px;
  }

  .payment-tab-title {
    font-size: 11px;
  }

  .payment-content-pane {
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  .upi-qr-code {
    width: 130px;
    height: 130px;
  }

  .upi-id-badge {
    font-size: 11px;
    padding: 4px 8px;
    word-break: break-all;
    max-width: 100%;
  }

  .coupon-box {
    flex-direction: column;
    gap: 8px;
  }

  .coupon-box .btn {
    width: 100%;
  }

  /* Catalog Page Toolbar on Mobile */
  .catalog-layout {
    gap: 16px;
  }

  .catalog-sidebar {
    padding: 16px 14px;
    border-radius: var(--radius-sm);
    width: 100%;
    box-sizing: border-box;
  }

  .catalog-toolbar {
    padding: 12px 14px;
    margin-bottom: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .catalog-toolbar>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .sort-select {
    flex: 1;
    max-width: 200px;
    padding: 7px 10px;
    font-size: 13px;
  }

  /* Footer on Mobile: Explore Categories & Quick Links side by side */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

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

  .footer-contact-col {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-banner {
    padding: 16px 12px;
  }

  .products-grid {
    gap: 8px !important;
  }

  .categories-grid {
    gap: 8px !important;
  }

  .category-card-img-wrap {
    height: 90px;
    padding: 4px;
    border-radius: 8px;
  }

  .product-image-wrap {
    height: 135px;
    padding: 6px;
  }

  .product-emoji-icon {
    font-size: 46px;
  }

  .product-title {
    font-size: 12.5px;
  }

  .price-current {
    font-size: 15px;
  }

  .modal-card {
    padding: 20px 14px;
  }
}

/* ========================================================
   CUSTOMER REVIEWS & FEEDBACK SYSTEM STYLING
   ======================================================== */
.product-reviews-section {
  background: #fbf9f5;
  border-top: 1px solid var(--border-light);
  transition: padding 0.3s ease;
}

.product-reviews-section.collapsed {
  padding: 20px 0;
}

.product-reviews-section.expanded {
  padding: 40px 0 60px;
}

/* Slim Collapsed Review Bar */
.reviews-collapsed-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid #e5dfd3;
  border-radius: 14px;
  padding: 16px 24px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.reviews-collapsed-bar:hover {
  border-color: #0d5c3a;
  box-shadow: 0 6px 20px rgba(13, 92, 58, 0.08);
  transform: translateY(-1px);
}

.reviews-collapsed-bar:focus-visible {
  outline: 2px solid #0d5c3a;
  outline-offset: 2px;
}

.reviews-bar-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-bar-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px #fde68a;
}

.reviews-bar-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.reviews-bar-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reviews-bar-heading {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
}

.reviews-bar-rating-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #0d5c3a;
  background: #eef7f2;
  border: 1px solid #c2e5d1;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.reviews-bar-rating-badge.badge-empty {
  color: #64748b;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.reviews-bar-hint {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.reviews-bar-action {
  flex-shrink: 0;
  margin-left: 16px;
}

.reviews-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d5c3a;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(13, 92, 58, 0.2);
}

.reviews-toggle-btn:hover {
  background: #09472d;
  box-shadow: 0 4px 12px rgba(13, 92, 58, 0.3);
  transform: scale(1.02);
}

.reviews-toggle-btn .toggle-symbol {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.reviews-toggle-btn.active {
  background: #e2e8f0;
  color: #334155;
  box-shadow: none;
}

.reviews-toggle-btn.active:hover {
  background: #cbd5e1;
  color: #0f172a;
}

/* Expanded Content wrapper */
.reviews-expanded-content {
  margin-top: 24px;
  animation: fadeInReviews 0.3s ease;
}

@keyframes fadeInReviews {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

.reviews-header-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.reviews-title-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.reviews-title-wrap p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.reviews-header-close-btn-wrap {
  flex-shrink: 0;
}

.btn-reviews-collapse-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reviews-collapse-inline:hover {
  background: #f1f5f9;
  color: #1e293b;
  border-color: #94a3b8;
}

.btn-reviews-collapse-inline .symbol {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.verified-guarantee-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #d4ebd9;
  box-shadow: 0 2px 8px rgba(13, 92, 58, 0.06);
  padding: 10px 18px;
  border-radius: 999px;
}

.verified-guarantee-badge strong {
  display: block;
  font-size: 13px;
  color: #0d5c3a;
  line-height: 1.2;
}

.verified-guarantee-badge small {
  display: block;
  font-size: 11px;
  color: #557867;
}

/* Reviews Summary Card (★★★★★ 4.9 & verified reviews count) */
.reviews-summary-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 36px;
  align-items: center;
  margin-bottom: 32px;
}

.summary-left-col {
  text-align: center;
  border-right: 1px solid var(--border-light);
  padding-right: 28px;
}

.rating-big-number {
  font-size: 54px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.rating-big-stars {
  font-size: 22px;
  color: #f39c12;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.rating-verified-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

/* Empty state for reviews summary card when no reviews exist */
.reviews-summary-card.reviews-summary-card-empty {
  display: block;
  padding: 28px 32px;
}

.reviews-empty-summary-wrap {
  display: grid;
  grid-template-columns: 56px 1fr 320px;
  align-items: center;
  gap: 24px;
}

.empty-star-icon-box {
  width: 56px;
  height: 56px;
  background: #fef3c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.empty-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px 0;
}

.empty-summary-desc {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.empty-summary-guarantee {
  border-left: 1px solid var(--border-light);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 900px) {
  .reviews-empty-summary-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .empty-star-icon-box {
    margin: 0 auto;
  }

  .empty-summary-guarantee {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding-left: 0;
    padding-top: 16px;
  }
}

.rating-verified-meta span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.recommend-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fdf5e6;
  color: #a05a00;
  border: 1px solid #f8dfb6;
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-top: 14px;
}

/* Middle rating breakdown bars */
.summary-mid-col {
  border-right: 1px solid var(--border-light);
  padding-right: 28px;
}

.rating-bars-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.star-label {
  width: 32px;
  font-weight: 700;
  color: var(--text-main);
}

.rating-bar-track {
  flex: 1;
  height: 9px;
  background: #f0ede6;
  border-radius: 999px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.pct-label {
  width: 36px;
  text-align: right;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

/* Right trust column */
.summary-right-col .trust-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  font-size: 22px;
  line-height: 1;
}

.trust-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.3;
}

.trust-item small {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Write Review Container & Gate Cards */
.write-review-container {
  margin-bottom: 32px;
}

.review-gate-card {
  background: #fff;
  border: 1px dashed #d5d0c7;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.review-gate-card.not-purchased {
  border-color: #f1cf94;
  background: #fffdfa;
}

.gate-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f5f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.gate-icon-circle.info-icon {
  background: #fdf2dc;
}

.gate-text-content {
  flex: 1;
}

.gate-user-badge {
  display: inline-block;
  font-size: 11.5px;
  background: #eef7f2;
  color: #0d5c3a;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 6px;
}

.gate-text-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.gate-text-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.gate-action-wrap {
  flex-shrink: 0;
}

/* Submitted card */
.review-submitted-card {
  background: #f3faf6;
  border: 1px solid #bce6cf;
  border-radius: var(--radius-lg);
  padding: 22px 28px;
}

.submitted-badge-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.check-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0d5c3a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.submitted-badge-wrap h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0d5c3a;
  margin-bottom: 2px;
}

.submitted-badge-wrap p {
  font-size: 13px;
  color: #3b6d54;
  margin: 0;
}

.your-review-snippet {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border: 1px solid #c8e8d7;
}

/* Form Card */
.review-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 2px solid #e2dacd;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  padding: 28px 32px;
}

.review-form-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.verified-buyer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef7f2;
  border: 1px solid #c2e5d1;
  color: #0d5c3a;
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.verified-buyer-pill .pill-badge {
  font-weight: 800;
  background: #0d5c3a;
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.3px;
}

.review-form-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.review-form-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Star rating picker */
.review-star-picker-group {
  margin-bottom: 18px;
}

.star-rating-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.star-picker-btn {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #d8d3c9;
  cursor: pointer;
  padding: 0 2px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-picker-btn:hover,
.star-picker-btn.active {
  color: #f39c12;
}

.star-picker-btn:hover {
  transform: scale(1.15);
}

.star-picker-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-left: 12px;
}

.review-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

/* Reviews Controls Row */
.reviews-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.reviews-count-tag {
  font-size: 13.5px;
  color: var(--text-muted);
}

.reviews-count-tag strong {
  color: var(--text-main);
}

.reviews-filter-tools {
  display: flex;
  gap: 10px;
}

.review-filter-select {
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

/* Customer Reviews List & Cards */
.customer-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.customer-review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 24px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.customer-review-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d5c3a, #1b8a5a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.reviewer-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reviewer-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
}

.verified-purchase-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0d5c3a;
  background: #eef7f2;
  border: 1px solid #c2e5d1;
  padding: 2px 8px;
  border-radius: 999px;
}

.verified-purchase-badge .badge-icon {
  font-size: 11px;
  font-weight: 900;
}

.review-sub-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-light);
}

.review-pack-pill {
  background: #f5f2eb;
  color: var(--text-muted);
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.review-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-stars {
  font-size: 16px;
  color: #f39c12;
  letter-spacing: 1px;
}

.review-rating-score {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.review-headline {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.35;
}

.review-comment-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f2ede4;
  font-size: 12.5px;
}

.helpful-vote-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.helpful-prompt {
  color: var(--text-light);
  font-size: 12px;
}

.helpful-btn {
  background: #fdfbf7;
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.helpful-btn:hover {
  background: #f5f0e6;
  border-color: #d0c5b5;
}

.helpful-btn.voted {
  background: #eef7f2;
  border-color: #a3d9b8;
  color: #0d5c3a;
  cursor: default;
}

.authentic-tag {
  color: var(--text-light);
  font-size: 11.5px;
}

.empty-reviews-state {
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-medium);
}

.empty-reviews-state h4 {
  font-size: 17px;
  margin: 12px 0 6px;
}

.empty-reviews-state p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 16px;
}

/* Public Review Form styling */
.review-public-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.review-form-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 14px;
}

.form-textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.char-counter {
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 500;
}

/* Community / Home cook badge */
.community-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Pagination Bar: Previous and Next 2 reviews */
.reviews-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 12px;
  border: 1.5px solid #e7e2d8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.btn-review-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 42px;
}

.btn-review-nav:hover:not(:disabled) {
  background: #0d5c3a;
  color: #ffffff;
  border-color: #0d5c3a;
  box-shadow: 0 3px 10px rgba(13, 92, 58, 0.15);
}

.btn-review-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #94a3b8;
}

.btn-review-nav .arrow {
  font-size: 15px;
  font-weight: 900;
}

.reviews-page-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.reviews-page-badge {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
}

.reviews-page-sub {
  font-size: 12px;
  color: #64748b;
}

/* Bottom Collapse Row */
.reviews-bottom-collapse-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed #e2dacd;
}

.reviews-bottom-collapse-row .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
}

/* Mobile responsive for reviews */
@media (max-width: 900px) {
  .reviews-summary-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
  }

  .summary-left-col,
  .summary-mid-col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
  }

  .review-gate-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .gate-action-wrap {
    width: 100%;
  }

  .gate-action-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .product-reviews-section.collapsed {
    padding: 14px 0;
  }

  .product-reviews-section.expanded {
    padding: 24px 0 40px;
  }

  .reviews-collapsed-bar {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .reviews-bar-main {
    gap: 10px;
  }

  .reviews-bar-badge-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .reviews-bar-heading {
    font-size: 15px;
  }

  .reviews-bar-rating-badge {
    font-size: 11px;
    padding: 2px 6px;
  }

  .reviews-bar-hint {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .reviews-toggle-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .reviews-toggle-btn .toggle-text {
    display: none;
  }

  .review-form-card {
    padding: 18px 14px;
  }

  .review-form-top-row {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .customer-review-card {
    padding: 16px 14px;
  }

  .review-card-header {
    flex-direction: column;
    gap: 10px;
  }

  .review-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .reviews-controls-row {
    flex-direction: column;
    align-items: stretch;
  }

  .reviews-filter-tools {
    flex-direction: column;
  }

  .reviews-pagination-bar {
    padding: 12px 10px;
    gap: 8px;
  }

  .btn-review-nav {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 38px;
  }

  .reviews-page-badge {
    font-size: 12px;
  }

  .reviews-page-sub {
    font-size: 10.5px;
  }
}

/* ============================================================
   CUSTOMER REVIEWS & GALLERY HORIZONTAL CAROUSELS & MODALS
   ============================================================ */
.carousel-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light, #e2e8f0);
  background: #ffffff;
  color: var(--text-main, #1e293b);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.carousel-nav-btn:hover {
  background: var(--primary, #15803d);
  color: #ffffff;
  border-color: var(--primary, #15803d);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.25);
}

.carousel-nav-btn:active {
  transform: translateY(0);
}

/* Reviews Carousel Track */
.reviews-carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reviews-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Individual Review Card */
.review-carousel-card {
  flex: 0 0 350px;
  max-width: 350px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-light, #e5ece7);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(22, 45, 30, 0.05);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.review-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(22, 45, 30, 0.1);
  border-color: rgba(21, 128, 61, 0.35);
}

.review-card-stars {
  font-size: 18px;
  color: #f59e0b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-card-headline {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main, #19241e);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-snippet {
  font-size: 14px;
  color: var(--text-muted, #5f7467);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: italic;
}

.review-card-thumb-wrap {
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  height: 130px;
  background: #f1f5f2;
}

.review-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light, #eef2ef);
  padding-top: 14px;
  margin-top: auto;
}

.review-card-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main, #19241e);
}

.review-card-product-tag {
  font-size: 11.5px;
  color: var(--primary, #15803d);
  font-weight: 600;
  background: var(--primary-light, #ecfdf5);
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Gallery Carousel Track */
.gallery-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Gallery Item Card */
.gallery-carousel-card {
  flex: 0 0 280px;
  max-width: 280px;
  height: 280px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(20, 40, 30, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #111;
}

.gallery-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(20, 40, 30, 0.16);
}

.gallery-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.gallery-zoom-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0.9;
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-carousel-card:hover .gallery-zoom-badge {
  transform: scale(1.1);
  background: rgba(21, 128, 61, 0.85);
}

.gallery-card-caption {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-author {
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modals (Review Modal & Gallery Lightbox) */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.custom-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.custom-modal-card {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox-card {
  max-width: 760px;
  background: #0f172a;
  color: #ffffff;
  overflow: hidden;
  border-radius: 20px;
}

@keyframes modalPopIn {
  from {
    transform: scale(0.94) translateY(12px);
    opacity: 0;
  }

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

.custom-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  color: #334155;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.gallery-lightbox-card .custom-modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.custom-modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.16);
  transform: rotate(90deg);
}

.gallery-lightbox-card .custom-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.modal-nav-prev {
  left: 14px;
}

.modal-nav-next {
  right: 14px;
}

/* Mobile responsive carousel widths */
@media (max-width: 768px) {
  .review-carousel-card {
    flex: 0 0 290px;
    max-width: 290px;
    padding: 18px;
  }

  .gallery-carousel-card {
    flex: 0 0 230px;
    max-width: 230px;
    height: 230px;
  }
}

/* ========================================================
   FOOTER CONTACT & SOCIAL MEDIA SECTION
   ======================================================== */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c9dbcf;
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

a.footer-contact-item:hover {
  color: #fbbf24;
}

.footer-contact-item .contact-icon {
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item .contact-text {
  color: #d1ded6;
  font-size: 13px;
}

a.footer-contact-item .contact-text {
  color: #ffffff;
  font-size: 14px;
}

.footer-social-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8da496;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.social-btn svg {
  display: block;
  transition: transform 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.social-btn:hover svg {
  transform: scale(1.1);
}

.social-btn.btn-youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
}

.social-btn.btn-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: #d6249f;
  color: #ffffff;
}

.social-btn.btn-threads:hover {
  background: #000000;
  border-color: #ffffff;
  color: #ffffff;
}

.social-btn.btn-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

/* ==========================================================================
   CATALOG PAGINATION (Mobile & Desktop Responsive)
   ========================================================================== */
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 20px;
  padding: 16px 0;
  width: 100%;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #166534;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.22s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  user-select: none;
}

.pagination-btn:hover:not(:disabled):not(.disabled) {
  background: #166534;
  color: #ffffff;
  border-color: #166534;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
}

.pagination-btn:active:not(:disabled):not(.disabled) {
  transform: translateY(0);
}

.pagination-btn:disabled,
.pagination-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
  box-shadow: none;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.pagination-page-btn:hover:not(.active) {
  border-color: #166534;
  color: #166534;
  background: #f0fdf4;
  transform: translateY(-1px);
}

.pagination-page-btn.active {
  background: linear-gradient(135deg, #166534 0%, #15803d 100%);
  color: #ffffff;
  border-color: #166534;
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.3);
}

/* Mobile Pagination Optimizations (Max Width: 768px) */
@media (max-width: 768px) {
  .catalog-pagination {
    margin: 24px 0 14px;
    padding: 12px 0 8px;
    gap: 8px;
    justify-content: center;
  }

  .pagination-btn {
    padding: 9px 14px;
    font-size: 13px;
    border-radius: 9999px;
  }

  .pagination-pages {
    gap: 6px;
  }

  .pagination-page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    border-radius: 8px;
  }
}

@media (max-width: 380px) {
  .catalog-pagination {
    gap: 5px;
  }
  .pagination-btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  .pagination-page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
  }
}