/* ============================================================
   MADHU HOMEMADE MASALA - Main Design System
   Premium Indian Homemade Food Brand
   ============================================================ */

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

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Brand Colors */
  --forest-green: #183D25;
  --deep-green: #102B1B;
  --cream: #FFF9ED;
  --warm-beige: #E9D9BD;
  --turmeric-yellow: #DCA52B;
  --spice-brown: #684329;
  --accent-red: #8C2525;

  /* Semantic Colors */
  --primary: #183D25;
  --primary-dark: #102B1B;
  --primary-light: #2a5e3b;
  --secondary: #DCA52B;
  --secondary-dark: #b8891e;
  --background: #FFF9ED;
  --surface: #FFFFFF;
  --surface-alt: #FDF6E8;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-light: #888888;
  --text-on-primary: #FFF9ED;
  --text-on-secondary: #1a1a1a;
  --border: #e0d5c3;
  --border-light: #f0e8d8;
  --success: #28a745;
  --error: #dc3545;
  --warning: #DCA52B;
  --info: #17a2b8;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --font-button: 'Poppins', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 12px 36px rgba(0,0,0,0.15);
  --shadow-inner: inset 0 2px 4px rgba(0,0,0,0.06);
  --shadow-card: 0 2px 8px rgba(24,61,37,0.08);
  --shadow-card-hover: 0 8px 24px rgba(24,61,37,0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Container */
  --container-max: 1200px;
  --container-padding: 1rem;

  /* Z-index layers */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-drawer: 400;
  --z-modal-backdrop: 500;
  --z-modal: 600;
  --z-toast: 700;
  --z-tooltip: 800;

  /* Header heights */
  --topbar-height: 36px;
  --header-height: 70px;
  --nav-height: 48px;
}

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
}

::selection {
  background-color: var(--turmeric-yellow);
  color: var(--deep-green);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
}

h2 {
  font-size: var(--text-xl);
  font-weight: 600;
}

h3 {
  font-size: var(--text-lg);
  font-weight: 600;
}

h4 {
  font-size: var(--text-md);
  font-weight: 600;
}

h5 {
  font-size: var(--text-base);
  font-weight: 600;
}

h6 {
  font-size: var(--text-sm);
  font-weight: 600;
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.text-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
  display: block;
}

.text-lead {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

.text-small {
  font-size: var(--text-sm);
}

.text-xs {
  font-size: var(--text-xs);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary-color { color: var(--primary) !important; }
.text-secondary-color { color: var(--secondary) !important; }
.text-muted { color: var(--text-light) !important; }
.text-white { color: #fff !important; }
.text-success { color: var(--success) !important; }
.text-error { color: var(--error) !important; }
.text-warning { color: var(--warning) !important; }
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* Responsive Typography */
@media (min-width: 768px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }
  h4 { font-size: var(--text-lg); }
}

@media (min-width: 1025px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-fluid {
  width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-padding {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }
}

@media (min-width: 1025px) {
  .section-padding {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--space-md) * -0.5);
  margin-right: calc(var(--space-md) * -0.5);
}

.col {
  flex: 1;
  padding-left: calc(var(--space-md) * 0.5);
  padding-right: calc(var(--space-md) * 0.5);
}

.col-auto { flex: 0 0 auto; width: auto; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
}

@media (min-width: 1025px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
}

/* Grid */
.grid {
  display: grid;
  gap: var(--space-md);
}

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

/* Utility layout */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

@media (min-width: 768px) {
  .d-md-flex { display: flex; }
  .d-md-block { display: block; }
  .d-md-none { display: none; }
}
@media (min-width: 1025px) {
  .d-lg-flex { display: flex; }
  .d-lg-block { display: block; }
  .d-lg-none { display: none; }
}

/* Spacing utilities */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.w-100 { width: 100%; }
.position-relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-button);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary Button */
.btn-primary {
  background-color: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  background-color: #0d1f13;
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-on-secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--text-on-secondary);
  box-shadow: var(--shadow-md);
}

/* Outline Buttons */
.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-on-primary);
}

.btn-outline-secondary {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary);
  color: var(--text-on-secondary);
}

.btn-outline-light {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--primary);
}

/* Accent Button */
.btn-accent {
  background-color: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
}

.btn-accent:hover {
  background-color: #721e1e;
  border-color: #721e1e;
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: transparent;
}

.btn-ghost:hover {
  background-color: rgba(24,61,37,0.08);
}

/* Icon Button */
.btn-icon {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon.btn-sm {
  width: 36px;
  height: 36px;
  min-height: 36px;
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  min-height: 36px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 1rem 2rem;
  min-height: 56px;
  font-size: var(--text-base);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Loading State */
.btn.loading {
  color: transparent !important;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-secondary.loading::after,
.btn-outline.loading::after {
  border-color: rgba(0,0,0,0.2);
  border-top-color: var(--primary);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background-color: var(--deep-green);
  color: rgba(255,255,255,0.85);
  font-size: var(--text-xs);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.top-bar-left i {
  color: var(--secondary);
  margin-right: 4px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-xs);
}

.top-bar a:hover {
  color: var(--secondary);
}

.free-delivery-msg {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.free-delivery-msg i {
  color: var(--secondary);
}

@media (max-width: 767px) {
  .top-bar-left > span:not(.free-delivery-msg),
  .top-bar-right {
    display: none;
  }
  .top-bar {
    text-align: center;
  }
  .top-bar .container {
    justify-content: center;
  }
}

/* ============================================================
   MAIN HEADER
   ============================================================ */
.main-header {
  background-color: var(--cream);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: var(--z-sticky);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  line-height: 1.1;
}

.brand-logo-tagline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--spice-brown);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 2px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
}

@media (min-width: 768px) {
  .brand-logo-name {
    font-size: 1.8rem;
  }
  .brand-logo-tagline {
    font-size: 0.65rem;
    letter-spacing: 2.5px;
  }
  .brand-logo-img {
    height: 56px;
  }
}

/* Search Bar */
.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: none;
}

.header-search.active {
  display: block;
}

@media (min-width: 768px) {
  .header-search {
    display: block;
  }
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24,61,37,0.1);
}

.search-form input {
  flex: 1;
  border: none;
  padding: 0.6rem 1rem;
  font-size: var(--text-sm);
  background: transparent;
  outline: none;
  color: var(--text-primary);
}

.search-form input::placeholder {
  color: var(--text-light);
}

.search-form button {
  background: var(--primary);
  color: var(--cream);
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
}

.search-form button:hover {
  background: var(--primary-dark);
}

/* Search Suggestions */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 4px;
  z-index: var(--z-dropdown);
  display: none;
  max-height: 360px;
  overflow-y: auto;
}

.search-suggestions.active {
  display: block;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid var(--border-light);
}

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

.search-suggestion-item:hover {
  background-color: var(--surface-alt);
}

.search-suggestion-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.search-suggestion-item .suggestion-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
}

.search-suggestion-item .suggestion-price {
  font-size: var(--text-xs);
  color: var(--primary);
  font-weight: 600;
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-icon-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 1.2rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.header-icon-btn:hover {
  background-color: rgba(24,61,37,0.08);
  color: var(--primary);
}

.header-icon-btn .icon-label {
  font-size: 0.6rem;
  font-weight: 500;
  display: none;
}

@media (min-width: 1025px) {
  .header-icon-btn {
    width: auto;
    height: auto;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-md);
    gap: 2px;
  }
  .header-icon-btn .icon-label {
    display: block;
  }
}

.icon-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--accent-red);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

@media (min-width: 1025px) {
  .icon-badge {
    top: -2px;
    right: -4px;
  }
}

.icon-badge:empty {
  display: none;
}

/* Mobile search toggle */
.search-toggle-mobile {
  display: flex;
}

@media (min-width: 768px) {
  .search-toggle-mobile {
    display: none;
  }
}

/* Mobile search overlay */
.mobile-search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: var(--cream);
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
}

.mobile-search-overlay.active {
  display: block;
}

.mobile-search-overlay .search-form {
  max-width: 100%;
}

.mobile-search-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 1.2rem;
  color: var(--text-primary);
}

/* Hamburger Menu */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  z-index: calc(var(--z-drawer) + 1);
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 1px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1025px) {
  .hamburger-btn {
    display: none;
  }
}

/* Account Dropdown */
.account-dropdown-wrap {
  position: relative;
}

.account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: var(--space-sm) 0;
  z-index: var(--z-dropdown);
  display: none;
  margin-top: 8px;
}

.account-dropdown.active {
  display: block;
}

.account-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 16px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}

.account-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6rem 1rem;
  font-size: var(--text-sm);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.account-dropdown a:hover {
  background-color: var(--surface-alt);
  color: var(--primary);
}

.account-dropdown a i {
  width: 18px;
  text-align: center;
  color: var(--text-light);
}

.account-dropdown hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: var(--space-xs) 0;
}

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.nav-bar {
  background-color: var(--primary);
  display: none;
}

@media (min-width: 1025px) {
  .nav-bar {
    display: block;
  }
}

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.85rem 1rem;
  color: rgba(255,255,255,0.9);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
  background-color: rgba(255,255,255,0.05);
}

.nav-link i.fa-chevron-down {
  font-size: 0.6rem;
  transition: transform var(--transition-fast);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--space-sm) 0;
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--transition-fast);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.25rem;
  color: var(--text-primary);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.nav-dropdown a:hover {
  background-color: var(--surface-alt);
  color: var(--primary);
  padding-left: 1.5rem;
}

/* Sticky Header */
.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  animation: slideDown 0.3s ease;
}

.site-header.sticky .top-bar {
  display: none;
}

.site-header.sticky .main-header {
  box-shadow: var(--shadow-md);
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-placeholder {
  display: none;
}

.site-header.sticky + .header-placeholder {
  display: block;
}

/* ============================================================
   MOBILE NAVIGATION DRAWER
   ============================================================ */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-drawer);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--surface);
  z-index: calc(var(--z-drawer) + 1);
  transition: left var(--transition-normal);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
  background: var(--cream);
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: background var(--transition-fast);
}

.mobile-nav-close:hover {
  background: rgba(0,0,0,0.05);
}

.mobile-nav-body {
  flex: 1;
  padding: var(--space-md) 0;
  overflow-y: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--space-lg);
  color: var(--text-primary);
  font-size: var(--text-base);
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  background-color: var(--surface-alt);
  color: var(--primary);
}

.mobile-nav-link i {
  font-size: var(--text-sm);
  color: var(--text-light);
  transition: transform var(--transition-fast);
}

.mobile-nav-link.expanded i {
  transform: rotate(180deg);
}

.mobile-nav-submenu {
  display: none;
  background: var(--surface-alt);
}

.mobile-nav-submenu.open {
  display: block;
}

.mobile-nav-submenu a {
  display: block;
  padding: 0.65rem var(--space-lg);
  padding-left: calc(var(--space-lg) + var(--space-md));
  color: var(--text-secondary);
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-submenu a:hover {
  color: var(--primary);
}

.mobile-nav-account {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-light);
  background: var(--cream);
}

.mobile-nav-account .btn {
  width: 100%;
  margin-bottom: var(--space-sm);
}

.mobile-nav-user {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.mobile-nav-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.mobile-nav-user-name {
  font-weight: 600;
  font-size: var(--text-sm);
}

.mobile-nav-user-email {
  font-size: var(--text-xs);
  color: var(--text-light);
}

.mobile-nav-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-light);
  font-size: var(--text-xs);
  color: var(--text-light);
}

.mobile-nav-footer a {
  color: var(--text-secondary);
}

.mobile-nav-footer .contact-line {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.mobile-nav-footer .contact-line i {
  color: var(--primary);
  width: 16px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--cream) 0%, #f5edd8 100%);
  padding: var(--space-2xl) 0;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220,165,43,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
}

.hero-text {
  max-width: 600px;
}

.hero-text .text-eyebrow {
  font-size: 0.7rem;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero-title span {
  color: var(--secondary);
}

.hero-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-image {
  position: relative;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius-lg);
}

/* Trust Strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.trust-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-3xl);
  }
}

@media (min-width: 1025px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
  .hero-text {
    flex: 1;
  }
  .hero-image {
    flex: 1;
  }
  .hero-buttons {
    justify-content: flex-start;
  }
  .hero-title {
    font-size: var(--text-4xl);
  }
  .hero-section {
    padding: var(--space-3xl) 0;
  }
  .trust-strip {
    justify-content: flex-start;
  }
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  display: block;
}

.section-header .text-eyebrow {
  display: block !important;
  width: 100%;
  text-align: center;
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--primary);
  margin-bottom: var(--space-sm);
  position: relative;
  display: block;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section-title.text-left::after {
  margin-left: 0;
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  max-width: 600px;
  margin: var(--space-sm) auto 0;
}

@media (min-width: 768px) {
  .section-title {
    font-size: var(--text-2xl);
  }
}

@media (min-width: 1025px) {
  .section-title {
    font-size: var(--text-3xl);
  }
}

/* Section Backgrounds */
.section-cream {
  background-color: var(--cream);
}

.section-white {
  background-color: var(--surface);
}

.section-green {
  background-color: var(--primary);
  color: #fff;
}

.section-green .section-title {
  color: #fff;
}

.section-green .section-subtitle {
  color: rgba(255,255,255,0.8);
}

.section-beige {
  background-color: var(--warm-beige);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 1025px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface-alt);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Product Badges */
.product-badges {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.product-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  line-height: 1.3;
}

.product-badge-bestseller {
  background: var(--primary);
  color: #fff;
}

.product-badge-new {
  background: var(--info);
  color: #fff;
}

.product-badge-featured {
  background: var(--secondary);
  color: var(--deep-green);
}

.product-badge-offer {
  background: var(--accent-red);
  color: #fff;
}

/* Discount Badge */
.discount-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

/* Wishlist Button on Card */
.product-wishlist-btn {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  font-size: 1rem;
  transition: all var(--transition-fast);
  z-index: 2;
  opacity: 0;
  transform: scale(0.8);
}

.product-card:hover .product-wishlist-btn {
  opacity: 1;
  transform: scale(1);
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  color: var(--accent-red);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.product-wishlist-btn.active {
  opacity: 1;
  transform: scale(1);
}

/* Product Card Body */
.product-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-category {
  font-size: var(--text-xs);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-name a {
  color: inherit;
  text-decoration: none;
}

.product-card-name a:hover {
  color: var(--primary);
}

.product-card-weight {
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--space-sm);
}

.rating-stars {
  display: flex;
  gap: 1px;
  color: var(--secondary);
  font-size: 0.75rem;
}

.rating-stars .empty {
  color: var(--border);
}

.rating-count {
  font-size: var(--text-xs);
  color: var(--text-light);
}

/* Price */
.product-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  margin-top: auto;
}

.price-current {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary);
}

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

.price-discount {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--success);
  background: rgba(40,167,69,0.1);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Add to Cart Button on Card */
.product-card .btn-add-cart {
  width: 100%;
  font-size: var(--text-sm);
  padding: 0.6rem;
  min-height: 42px;
  border-radius: var(--radius-md);
}

/* Quick View (optional) */
.product-quick-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: var(--space-sm);
  background: linear-gradient(transparent, rgba(0,0,0,0.3));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.product-card:hover .product-quick-actions {
  opacity: 1;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--surface-alt);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.category-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(transparent, rgba(16,43,27,0.85));
  color: #fff;
}

.category-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 4px;
}

.category-card-count {
  font-size: var(--text-xs);
  opacity: 0.8;
}

@media (max-width: 767.98px) {
  .category-card-overlay {
    padding: 0.75rem 0.85rem;
    background: linear-gradient(transparent, rgba(16, 43, 27, 0.90) 68%);
  }
  .category-card-name {
    font-size: 0.94rem;
    line-height: 1.2;
    margin-bottom: 2px;
  }
  .category-card-count {
    font-size: 0.7rem;
  }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.form-label .required {
  color: var(--error);
  margin-left: 2px;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: var(--text-base);
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
  min-height: 48px;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24,61,37,0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-control:disabled,
.form-control[readonly] {
  background-color: var(--surface-alt);
  opacity: 0.7;
  cursor: not-allowed;
}

.form-control.is-invalid {
  border-color: var(--error);
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(220,53,69,0.15);
}

.form-control.is-valid {
  border-color: var(--success);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23555' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--error);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-error::before {
  content: '\f06a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.65rem;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-top: 4px;
}

/* State Searchable Autocomplete & Pincode */
.state-autocomplete-wrap {
  position: relative;
  width: 100%;
}

.state-autocomplete-input {
  padding-right: 2.25rem !important;
}

.state-autocomplete-icon {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light, #9ca3af);
  pointer-events: none;
  font-size: 0.75rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.state-autocomplete-wrap.open .state-autocomplete-icon {
  transform: translateY(-50%) rotate(180deg);
  color: var(--forest-green, #183D25);
}

.state-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

.state-autocomplete-dropdown::-webkit-scrollbar {
  width: 6px;
}

.state-autocomplete-dropdown::-webkit-scrollbar-track {
  background: #f8fafc;
}

.state-autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.state-autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.state-autocomplete-item {
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--text-dark, #1f2937);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.state-autocomplete-item:hover,
.state-autocomplete-item.active {
  background: #f0fdf4;
  color: var(--forest-green, #183D25);
  font-weight: 600;
}

.state-autocomplete-item.selected {
  background: #dcfce7;
  color: var(--forest-green, #183D25);
  font-weight: 700;
}

.state-autocomplete-item .state-item-pin {
  font-size: 0.7rem;
  color: #9ca3af;
  transition: color 0.15s ease;
}

.state-autocomplete-item:hover .state-item-pin,
.state-autocomplete-item.active .state-item-pin {
  color: var(--forest-green, #183D25);
}

.state-autocomplete-item .state-match {
  background: transparent;
  color: var(--warm-gold, #c59b27);
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
}

.state-autocomplete-empty {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}


/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 2px;
}

.form-check input[type="checkbox"] {
  border-radius: var(--radius-sm);
}

.form-check input[type="radio"] {
  border-radius: var(--radius-full);
}

.form-check input[type="checkbox"]:checked {
  background: var(--primary);
  border-color: var(--primary);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8l3 3 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.form-check input[type="radio"]:checked {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: inset 0 0 0 4px var(--primary);
}

.form-check-label {
  font-size: var(--text-sm);
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1.5;
}

/* Quantity Selector */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.quantity-selector .qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--surface);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.quantity-selector .qty-btn:hover {
  background: var(--surface-alt);
  color: var(--primary);
}

.quantity-selector .qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.quantity-selector .qty-input {
  width: 48px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface);
  outline: none;
  -moz-appearance: textfield;
}

.quantity-selector .qty-input::-webkit-outer-spin-button,
.quantity-selector .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  list-style: none;
  margin: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.5rem;
  margin-right: var(--space-xs);
  color: var(--text-light);
  opacity: 0.5;
}

.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--text-primary);
  font-weight: 500;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.65rem;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-xl);
  line-height: 1.3;
  white-space: nowrap;
}

.badge-green {
  background: rgba(40,167,69,0.12);
  color: var(--success);
}

.badge-yellow {
  background: rgba(220,165,43,0.15);
  color: #b8891e;
}

.badge-red {
  background: rgba(220,53,69,0.12);
  color: var(--error);
}

.badge-blue {
  background: rgba(23,162,184,0.12);
  color: var(--info);
}

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

.badge-secondary {
  background: var(--secondary);
  color: var(--deep-green);
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--warm-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: var(--text-lg);
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.testimonial-location {
  font-size: var(--text-xs);
  color: var(--text-light);
}

/* ============================================================
   FEATURE / TRUST ICONS
   ============================================================ */
.feature-card {
  text-align: center;
  padding: var(--space-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(24,61,37,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition-normal);
}

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

.feature-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--deep-green);
  color: rgba(255,255,255,0.8);
  padding-top: var(--space-3xl);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
}

.footer-logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.footer-logo-tagline {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-top: 2px;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--deep-green);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-links a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover::before {
  opacity: 1;
}

/* Footer Contact */
.footer-contact-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.footer-contact-item i {
  color: var(--secondary);
  width: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Newsletter */
.footer-newsletter {
  margin-top: var(--space-md);
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
  border-color: var(--secondary);
}

.newsletter-form button {
  padding: 0.65rem 1.25rem;
  background: var(--secondary);
  color: var(--deep-green);
  border: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--secondary-dark);
}

/* Footer Bottom */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.payment-icon {
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 380px;
  width: calc(100% - var(--space-2xl));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  animation: toastSlideIn 0.3s ease;
  position: relative;
}

.toast.removing {
  animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.toast-message {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.toast-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.7rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.toast-close:hover {
  background: rgba(0,0,0,0.05);
  color: var(--text-primary);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 0;
  height: 3px;
  border-radius: 0 0 var(--radius-md) 0;
  overflow: hidden;
}

.toast-progress-bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  animation: toastProgress linear forwards;
}

@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* Toast Types */
.toast-success {
  border-left-color: var(--success);
}
.toast-success .toast-icon {
  background: rgba(40,167,69,0.12);
  color: var(--success);
}
.toast-success .toast-progress-bar {
  background: var(--success);
}

.toast-error {
  border-left-color: var(--error);
}
.toast-error .toast-icon {
  background: rgba(220,53,69,0.12);
  color: var(--error);
}
.toast-error .toast-progress-bar {
  background: var(--error);
}

.toast-warning {
  border-left-color: var(--warning);
}
.toast-warning .toast-icon {
  background: rgba(220,165,43,0.12);
  color: var(--warning);
}
.toast-warning .toast-progress-bar {
  background: var(--warning);
}

.toast-info {
  border-left-color: var(--info);
}
.toast-info .toast-icon {
  background: rgba(23,162,184,0.12);
  color: var(--info);
}
.toast-info .toast-progress-bar {
  background: var(--info);
}

/* ============================================================
   LOADING STATES
   ============================================================ */

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0e8d8 25%, #f7f1e3 50%, #f0e8d8 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 14px;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-sm);
}

.skeleton-text:last-child {
  width: 60%;
}

.skeleton-title {
  height: 22px;
  margin-bottom: var(--space-md);
  width: 70%;
}

.skeleton-image {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
}

.skeleton-button {
  height: 42px;
  border-radius: var(--radius-md);
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.spinner-lg {
  width: 48px;
  height: 48px;
  border-width: 4px;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,249,237,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.loading-overlay .loading-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 2055;
  width: calc(100% - var(--space-2xl));
  max-width: 540px;
  height: auto;
  max-height: 90vh;
  overflow-y: auto;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal.active {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-sm { max-width: 400px; }
.modal-lg { max-width: 720px; }
.modal-xl { max-width: 960px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-light);
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(0,0,0,0.05);
  color: var(--text-primary);
}

.modal-body {
  padding: var(--space-lg);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

/* ============================================================
   FREE DELIVERY PROGRESS BAR
   ============================================================ */
.delivery-progress {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.delivery-progress-text {
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

.delivery-progress-text strong {
  color: var(--primary);
}

.delivery-progress-bar-wrap {
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.delivery-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--success));
  border-radius: 4px;
  transition: width var(--transition-slow);
  position: relative;
}

.delivery-progress-bar-fill.complete {
  background: var(--success);
}

.delivery-progress.achieved {
  border-color: var(--success);
  background: rgba(40,167,69,0.05);
}

.delivery-progress.achieved .delivery-progress-text {
  color: var(--success);
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-gallery {
  position: relative;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-alt);
  cursor: zoom-in;
  position: relative;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.product-main-image.zoomed img {
  transform: scale(2);
  cursor: zoom-out;
}

.product-thumbnails {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  overflow-x: auto;
}

.product-thumbnail {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: var(--primary);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Tabs */
.product-tabs {
  margin-top: var(--space-2xl);
}

.product-tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border-light);
  overflow-x: auto;
  gap: 0;
}

.product-tab-btn {
  padding: 0.75rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

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

.product-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.product-tab-content {
  display: none;
  padding: var(--space-lg) 0;
}

.product-tab-content.active {
  display: block;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(40,167,69,0.08);
  border-color: rgba(40,167,69,0.2);
  color: #1e7e34;
}

.alert-error {
  background: rgba(220,53,69,0.08);
  border-color: rgba(220,53,69,0.2);
  color: #c82333;
}

.alert-warning {
  background: rgba(220,165,43,0.1);
  border-color: rgba(220,165,43,0.3);
  color: #8a6e1b;
}

.alert-info {
  background: rgba(23,162,184,0.08);
  border-color: rgba(23,162,184,0.2);
  color: #117a8b;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--text-sm);
}

.table th {
  font-weight: 600;
  color: var(--text-primary);
  background: var(--surface-alt);
  white-space: nowrap;
}

.table tbody tr:hover {
  background-color: var(--surface-alt);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--space-lg) 0;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.pagination-link:hover {
  background: var(--surface-alt);
  color: var(--primary);
  border-color: var(--border);
}

.pagination-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   COOKIE CONSENT MANAGEMENT SYSTEM (DPDP ACT COMPLIANT)
   ============================================================ */
body.mhm-modal-open {
  overflow: hidden !important;
}

/* Bottom Floating Banner */
.mhm-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid rgba(220, 165, 43, 0.35);
  border-top: 4px solid var(--primary, #183D25);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(24, 61, 37, 0.16), 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1060;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  pointer-events: none;
}

.mhm-cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  body.has-sticky-bar .mhm-cookie-banner {
    bottom: 84px !important;
  }
}

@media (max-width: 576px) {
  .mhm-cookie-banner {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    border-radius: 14px;
  }
}

.mhm-cookie-banner-inner {
  padding: 1.25rem 1.5rem;
}

@media (max-width: 576px) {
  .mhm-cookie-banner-inner {
    padding: 1rem 1.15rem;
  }
}

.mhm-cookie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.mhm-cookie-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mhm-cookie-icon {
  font-size: 1.8rem;
  line-height: 1;
  display: inline-block;
}

.mhm-cookie-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary, #183D25);
  margin: 0;
  line-height: 1.25;
}

.mhm-cookie-subheading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

.mhm-cookie-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease;
}
.mhm-cookie-close-btn:hover {
  color: #111;
}

.mhm-cookie-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4A4A4A;
  margin: 0.5rem 0 1rem 0;
}

.mhm-cookie-link {
  color: var(--primary, #183D25);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.15s ease;
}
.mhm-cookie-link:hover {
  color: var(--secondary, #8C2B1D);
}

.mhm-cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* Equal visual prominence for Accept All and Reject All */
.mhm-btn-consent {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mhm-btn-reject {
  background: #F4F6F4 !important;
  color: var(--primary, #183D25) !important;
  border: 1.5px solid var(--primary, #183D25) !important;
}
.mhm-btn-reject:hover {
  background: #E6EBE6 !important;
  color: var(--primary-dark, #0E2416) !important;
}

.mhm-btn-manage {
  font-size: 0.85rem;
  padding: 0.55rem 0.85rem;
  color: #555555;
  text-decoration: underline;
  background: transparent;
  border: none;
  margin-left: auto;
}
.mhm-btn-manage:hover {
  color: var(--primary, #183D25);
}

@media (max-width: 576px) {
  .mhm-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .mhm-btn-manage {
    grid-column: span 2;
    margin-left: 0;
    text-align: center;
    padding-top: 0.25rem;
  }
}

/* ─── Manage Preferences Modal ────────────────────────────────────── */
.mhm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 36, 22, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1070;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mhm-modal-backdrop.active {
  opacity: 1;
}

.mhm-modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 94%;
  max-width: 680px;
  max-height: 88vh;
  z-index: 1080;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.mhm-modal-dialog.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.mhm-modal-content {
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow: hidden;
  border: 1px solid rgba(220, 165, 43, 0.3);
}

.mhm-modal-header {
  background: var(--primary, #183D25);
  color: #FFF9ED;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--accent, #DCA52B);
}

.mhm-modal-badge-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.mhm-modal-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

.mhm-modal-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.15rem 0 0 0;
}

.mhm-modal-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #FFF9ED;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mhm-modal-close:hover {
  opacity: 1;
}

.mhm-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.mhm-cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mhm-category-card {
  background: #FAF7F2;
  border: 1px solid #EBE5D8;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mhm-category-card:hover {
  border-color: #DCA52B;
  box-shadow: 0 4px 12px rgba(24, 61, 37, 0.05);
}

.mhm-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.mhm-category-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mhm-category-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary, #183D25);
  margin: 0;
}

.mhm-category-status {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}

.mhm-category-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #555555;
  margin: 0 0 0.5rem 0;
}

.mhm-category-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.mhm-meta-pill {
  font-size: 0.7rem;
  color: #666;
  background: #FFFFFF;
  border: 1px solid #E4DDD1;
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 500;
}

/* Custom iOS-style Switch Toggle */
.mhm-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin: 0;
}

.mhm-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.mhm-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #D1C9BE;
  transition: 0.25s;
  border-radius: 999px;
}

.mhm-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mhm-switch input:checked + .mhm-slider {
  background-color: var(--primary, #183D25);
}

.mhm-switch input:focus + .mhm-slider {
  box-shadow: 0 0 1px var(--primary, #183D25);
}

.mhm-switch input:checked + .mhm-slider:before {
  transform: translateX(20px);
}

.mhm-slider-disabled {
  cursor: not-allowed;
  background-color: #89A892 !important;
}

.mhm-slider-disabled:before {
  background-color: #FFFFFF !important;
}

.mhm-modal-footer {
  padding: 0.85rem 1.5rem;
  background: #FAF7F2;
  border-top: 1px solid #EBE5D8;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.mhm-modal-btn {
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
}

@media (max-width: 576px) {
  .mhm-modal-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .mhm-modal-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: var(--z-fixed);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-messages {
  position: fixed;
  top: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  width: calc(100% - var(--space-2xl));
  max-width: 500px;
}

.flash-message {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
  animation: flashSlideDown 0.3s ease;
  box-shadow: var(--shadow-lg);
}

@keyframes flashSlideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.flash-message-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash-message-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.flash-message-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.flash-message-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.flash-close {
  margin-left: auto;
  background: none;
  border: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.flash-close:hover {
  opacity: 1;
}

/* ============================================================
   CONFIRMATION DIALOG
   ============================================================ */
.confirm-dialog .modal-body {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.confirm-dialog .confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
}

.confirm-dialog .confirm-icon-warning {
  background: rgba(220,165,43,0.15);
  color: var(--warning);
}

.confirm-dialog .confirm-icon-danger {
  background: rgba(220,53,69,0.12);
  color: var(--error);
}

.confirm-dialog .confirm-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.confirm-dialog .confirm-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================================
   EMPTY STATES
   ============================================================ */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.empty-state-icon {
  font-size: 3rem;
  color: var(--border);
  margin-bottom: var(--space-lg);
}

.empty-state-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.empty-state-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

/* ============================================================
   CART PAGE STYLES
   ============================================================ */
.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-alt);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: var(--text-base);
}

.cart-item-name a {
  color: var(--text-primary);
}

.cart-item-name a:hover {
  color: var(--primary);
}

.cart-item-variant {
  font-size: var(--text-xs);
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.cart-item-remove {
  font-size: var(--text-xs);
  color: var(--error);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.cart-item-remove:hover {
  text-decoration: underline;
}

.cart-item-price {
  text-align: right;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .cart-item-image {
    width: 100px;
    height: 100px;
  }
}

/* Cart Summary */
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.cart-summary-row.total {
  border-top: 2px solid var(--primary);
  margin-top: var(--space-sm);
  padding-top: var(--space-md);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.cart-summary-row .savings {
  color: var(--success);
  font-weight: 600;
}

/* Coupon */
.coupon-form {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.coupon-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  text-transform: uppercase;
  outline: none;
}

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

.coupon-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(40,167,69,0.08);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
}

.coupon-applied-code {
  font-weight: 600;
  color: var(--success);
}

/* ============================================================
   LAZY LOAD
   ============================================================ */
img[data-src] {
  opacity: 0;
  transition: opacity var(--transition-normal);
}

img[data-src].loaded {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE VISIBILITY
   ============================================================ */
.hide-mobile {
  display: none !important;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block !important;
  }
  .show-mobile-only {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .hide-desktop {
    display: none !important;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .top-bar,
  .nav-bar,
  .site-footer,
  .back-to-top,
  .toast-container,
  .cookie-consent,
  .mobile-nav-drawer,
  .mobile-nav-overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .container {
    max-width: 100%;
  }

  a {
    color: #000;
  }
}


/* ============================================================
   MADHU EDITORIAL HERO (DEDICATED DESKTOP & MOBILE SCENES)
   ============================================================ */
.mhm-hero {
  position: relative;
  background-color: #FAF5EA;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mhm-hero-upper {
  position: relative;
  background-color: #FAF5EA;
  overflow: hidden;
}

.mhm-hero-backdrop {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 100%);
}

.mhm-hero-backdrop img {
  width: 100%;
  height: auto;
  display: block;
}

.mhm-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(250, 245, 234, 0.92) 0%,
    rgba(250, 245, 234, 0.72) 26%,
    rgba(250, 245, 234, 0.00) 46%
  );
}

.mhm-hero-seal {
  display: none;
}

.mhm-hero-container {
  position: relative;
  z-index: 2;
  padding-top: 1.5rem;
  padding-bottom: 0;
}

.mhm-hero-content {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.mhm-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  color: #36452E;
  margin-bottom: 0.45rem;
}

.mhm-hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.05rem, 8vw, 3.65rem);
  font-weight: 700;
  color: #1E241C;
  line-height: 1.07;
  margin-bottom: 0.55rem;
  letter-spacing: -0.015em;
}

.mhm-hero-headline-accent {
  display: block;
  color: #5C4326;
}

.mhm-hero-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.35rem auto 0.75rem;
  max-width: 190px;
}

.mhm-flourish-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 93, 40, 0.65), transparent);
}

.mhm-hero-sub {
  display: none;
  font-size: 0.92rem;
  color: #3B362E;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 1.15rem;
}

.mhm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.mhm-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #475825;
  color: #FFF9ED !important;
  border: 1.5px solid #475825;
  border-radius: 999px;
  padding: 0.68rem 1.55rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(45, 62, 24, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.mhm-btn-hero-primary:hover {
  background: #36451A;
  border-color: #36451A;
  transform: translateY(-1px);
}

.mhm-btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 249, 237, 0.86);
  color: #2E3D1C !important;
  border: 1.5px solid #475825;
  border-radius: 999px;
  padding: 0.68rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.mhm-btn-hero-secondary:hover {
  background: #FFF4DC;
}

.mhm-hero-badges {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  max-width: 440px;
  margin: 0 auto;
}

.mhm-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.32rem;
}

.mhm-badge-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 252, 245, 0.90);
  border: 1.5px solid #6E7B5B;
  color: #3E4F2F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(24, 61, 37, 0.08);
}

.mhm-badge-label {
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #2E3628;
}

.mhm-hero-mobile-stage {
  height: clamp(230px, 74vw, 480px);
}

.mhm-hero-trustbar {
  position: relative;
  z-index: 3;
  background: #3B4B28;
  border-top: 1px solid rgba(255, 249, 237, 0.14);
  padding: 0.68rem 0;
  overflow: hidden;
  width: 100%;
}

.mhm-trust-ticker-track {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.mhm-trust-ticker-inner {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: mhmTrustTicker 22s linear infinite;
}

.mhm-hero-trustbar:hover .mhm-trust-ticker-inner {
  animation-play-state: paused;
}

.mhm-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 2.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.9px;
  line-height: 1;
  text-transform: uppercase;
  color: #F2EAD9;
  white-space: nowrap;
  flex-shrink: 0;
}

.mhm-trust-pill i {
  font-size: 1.05rem;
  color: #DCE4C9;
  flex-shrink: 0;
  opacity: 0.92;
}

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

@media (prefers-reduced-motion: reduce) {
  .mhm-trust-ticker-inner {
    animation: none;
  }
}

@media (min-width: 768px) {
  .mhm-hero-mobile-stage {
    height: min(560px, 72vw);
  }
  .mhm-trust-pill {
    font-size: 0.76rem;
    padding-right: 3.25rem;
  }
}

@media (min-width: 1025px) {
  .mhm-hero-upper {
    min-height: clamp(580px, 76vh, 710px);
    display: flex;
    align-items: center;
    background-color: #FAF5EA;
  }
  .mhm-hero-backdrop {
    inset: 0;
    top: 0;
    left: auto;
    width: 100%;
    max-width: 1520px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 100%);
  }
  .mhm-hero-backdrop img {
    height: 100%;
    object-fit: cover;
    object-position: right 74%;
  }
  .mhm-hero-scrim {
    background: linear-gradient(
      90deg,
      rgba(250, 245, 234, 0.88) 0%,
      rgba(250, 245, 234, 0.68) 34%,
      rgba(250, 245, 234, 0.12) 52%,
      rgba(250, 245, 234, 0.00) 64%
    );
  }
  .mhm-hero-seal {
    display: block;
    position: absolute;
    top: 1.85rem;
    right: max(2rem, calc((100vw - var(--container-max)) / 2 + 1rem));
    z-index: 3;
    pointer-events: none;
  }
  .mhm-hero-container {
    padding-top: 2.75rem;
    padding-bottom: 2.15rem;
    flex: 1;
    display: flex;
    align-items: center;
  }
  .mhm-hero-content {
    text-align: left;
    margin: 0;
    max-width: 500px;
  }
  .mhm-hero-headline {
    font-size: clamp(2.65rem, 3.85vw, 3.65rem);
  }
  .mhm-hero-flourish {
    margin: 0.45rem 0 0.85rem;
    max-width: 220px;
  }
  .mhm-hero-sub {
    display: block;
    margin: 0 0 1.45rem;
    max-width: 440px;
    font-size: 0.98rem;
  }
  .mhm-hero-actions {
    justify-content: flex-start;
    margin-bottom: 1.55rem;
  }
  .mhm-hero-badges {
    display: grid;
    margin: 0;
    max-width: 460px;
    gap: 0.85rem;
  }
  .mhm-badge-circle {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }
  .mhm-badge-label {
    font-size: 0.66rem;
  }
  .mhm-hero-mobile-stage {
    display: none;
  }
}

/* ============================================================
   STICKY MOBILE FLOATING BARS (COMBO, CART, CHECKOUT, PRODUCT)
   ============================================================ */
.sticky-mobile-bar,
.sticky-atc-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 1050;
  animation: slideUpMobileBar 0.25s ease-out;
}

@keyframes slideUpMobileBar {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (min-width: 1025px) {
  .sticky-mobile-bar,
  .sticky-atc-bar {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  body.has-sticky-bar {
    padding-bottom: 76px !important;
  }
  body.has-sticky-bar .back-to-top {
    bottom: 82px !important;
  }
}

.sticky-bar-info,
.sticky-atc-info {
  min-width: 0;
  flex: 1;
}

.sticky-bar-title,
.sticky-atc-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.sticky-bar-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.sticky-bar-price,
.sticky-atc-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.25;
}

.sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.sticky-cart-btn {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-cream, #FFFDF8);
  color: var(--text-primary);
  font-size: 1rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.sticky-cart-btn:hover {
  background: #f0f0f0;
  color: var(--primary);
}

.sticky-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--tertiary, #C83227);
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #FFFFFF;
}

.sticky-cart-badge:empty {
  display: none !important;
}

/* Floating Quick Action Widget for Combo Page (Pill on Desktop/Tablet) */
.floating-quick-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .floating-quick-pill {
    display: none !important;
  }
}

/* ============================================================
   ACCOUNT LAYOUT & CHECKOUT & RECIPE STYLES
   ============================================================ */
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.account-layout > * {
  min-width: 0;
}

@media (min-width: 992px) {
  .account-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.account-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.account-sidebar-header {
  background: var(--forest-green);
  color: var(--cream);
  padding: 1.25rem;
}

.account-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 1.25rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.account-sidebar-nav a:hover,
.account-sidebar-nav a.active {
  background: var(--surface-alt);
  color: var(--forest-green);
  font-weight: 600;
}

@media (max-width: 991px) {
  .account-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }
  .account-sidebar-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.45rem;
    padding: 0.65rem 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .account-sidebar-nav::-webkit-scrollbar {
    display: none;
  }
  .account-sidebar-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }
  .account-sidebar-nav a.active {
    background: var(--forest-green);
    color: #fff;
    border-color: var(--forest-green);
  }
  .account-card {
    padding: 1rem;
  }
  section:has(.account-layout) {
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }
}

.mhm-mobile-order-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.9rem;
}

.mhm-mobile-order-actions {
  display: flex;
  gap: 0.45rem;
}

.mhm-mobile-order-actions .btn {
  flex: 1 1 0;
  justify-content: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.account-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

@media (max-width: 767px) {
  .account-card {
    padding: 1rem;
  }
}

.variant-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variant-pill {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.variant-pill.active,
.variant-pill:hover {
  border-color: var(--forest-green);
  background: rgba(24, 61, 37, 0.08);
  color: var(--forest-green);
  font-weight: 600;
}

.recipe-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition-normal);
}

.recipe-card:hover {
  transform: translateY(-4px);
}

.recipe-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-alt);
}

.recipe-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.payment-option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--surface);
  transition: all var(--transition-fast);
  margin-bottom: 0.75rem;
}

.payment-option-card.selected,
.payment-option-card:hover {
  border-color: var(--forest-green);
  background: rgba(24, 61, 37, 0.04);
}


/* ============================================================
   MOBILE MICRO-BREAKPOINT POLISH (320px - 480px)
   ============================================================ */
html {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 480px) {
  .main-header .container {
    gap: 0.35rem;
  }
  .brand-logo-img {
    height: 36px;
    width: 36px;
  }
  .brand-logo-name {
    font-size: 1.15rem;
  }
  .brand-logo-tagline {
    font-size: 0.5rem;
    letter-spacing: 1.4px;
  }
  .hamburger-btn,
  .header-icon-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .products-grid {
    gap: 0.65rem;
  }
  .product-card-body {
    padding: 0.7rem;
  }
  .product-card-name {
    font-size: 0.88rem;
  }
  .price-current {
    font-size: 1rem;
  }
  .product-card .btn-add-cart {
    font-size: 0.78rem;
    padding: 0.45rem 0.5rem;
    min-height: 38px;
  }
  .mhm-hero-badges {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    max-width: 100%;
  }
  .mhm-badge-circle {
    width: 36px;
    height: 36px;
    font-size: 0.84rem;
  }
  .mhm-badge-label {
    font-size: 0.54rem;
    letter-spacing: 0.2px;
  }
  .cart-item {
    flex-wrap: wrap;
  }
  .cart-item-price {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .main-header .container {
    gap: 0.25rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
  .brand-logo {
    gap: 0.35rem;
  }
  .brand-logo-img {
    width: 30px;
    height: 30px;
  }
  .brand-logo-name {
    font-size: 1rem;
  }
  .brand-logo-tagline {
    font-size: 0.43rem;
    letter-spacing: 0.8px;
  }
  .header-icons {
    gap: 0.1rem;
  }
  .hamburger-btn,
  .header-icon-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .mhm-badge-label {
    font-size: 0.5rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --container-max: 1320px;
  }
}

/* ============================================================
   REDESIGNED HOMEPAGE COMBO PACK CARDS
   ============================================================ */
.mhm-combo-card {
  background: var(--surface);
  color: var(--text-primary);
  border-radius: 20px;
  padding: 1.25rem;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(8, 25, 14, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.mhm-combo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(8, 25, 14, 0.3);
}

.mhm-combo-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 0.75rem;
  overflow: hidden;
}

.mhm-combo-media img {
  display: block;
  max-width: 100%;
  max-height: 230px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.mhm-combo-card:hover .mhm-combo-media img {
  transform: scale(1.04);
}

.mhm-combo-discount {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(140, 37, 37, 0.28);
}

.mhm-combo-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  min-width: 0;
}

.mhm-combo-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.mhm-combo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.mhm-combo-pill-bundle {
  background: var(--surface-alt);
  color: var(--spice-brown);
  border: 1px solid rgba(220, 165, 43, 0.45);
}

.mhm-combo-pill-veg {
  background: #EBF7EE;
  color: #1A6B35;
  border: 1px solid rgba(26, 107, 53, 0.2);
}

.mhm-combo-pill-nonveg {
  background: #FDF0EE;
  color: #9A2B24;
  border: 1px solid rgba(154, 43, 36, 0.2);
}

.mhm-combo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.mhm-combo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-green);
  margin: 0 0 0.55rem 0;
}

.mhm-combo-title a {
  color: inherit;
  text-decoration: none;
}

.mhm-combo-title a:hover {
  color: var(--spice-brown);
}

.mhm-combo-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.mhm-combo-specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mhm-combo-specs i {
  color: var(--turmeric-yellow);
  font-size: 0.78rem;
}

.mhm-combo-pricing {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
}

.mhm-combo-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mhm-combo-price-current {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--forest-green);
  line-height: 1.1;
}

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

.mhm-combo-save-pill {
  background: #1A6B35;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.mhm-combo-price-note {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.mhm-combo-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.mhm-combo-actions .btn {
  flex: 1 1 135px;
  justify-content: center;
}

@media (max-width: 575px) {
  .mhm-combo-card {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }
  .mhm-combo-media {
    height: 220px;
  }
  .mhm-combo-media img {
    max-height: 196px;
  }
  .mhm-combo-title {
    font-size: 1.3rem;
  }
  .mhm-combo-price-current {
    font-size: 1.45rem;
  }
}

/* ============================================================
   EXIT FEEDBACK MODAL OPTIONS (Cart / Checkout Go Back Prompt)
   ============================================================ */
.mhm-exit-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 43, 27, 0.58);
  backdrop-filter: blur(3px);
  z-index: 9990;
  display: none;
}

.mhm-exit-backdrop.active {
  display: block;
}

.mhm-exit-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  z-index: 9995;
  display: none;
}

.mhm-exit-modal.active {
  display: block;
}

.mhm-exit-modal .modal-header {
  padding: 0.9rem 1.25rem;
}

.mhm-exit-modal .modal-body {
  padding: 1rem 1.25rem;
}

.exit-reason-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.exit-reason-option:hover {
  border-color: var(--forest-green);
  background: var(--surface-alt);
}

.exit-reason-option.selected {
  border-color: var(--forest-green);
  background: #EFF7F1;
  font-weight: 500;
}

/* ============================================================
   MOBILE HORIZONTAL ROLLING TRACKS (Reviews & Kitchen Gallery)
   ============================================================ */
@media (min-width: 768px) {
  .mhm-roll-dup {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .mhm-mobile-roll {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-bottom: 0.35rem;
    gap: 0.85rem;
  }
  .mhm-mobile-roll::-webkit-scrollbar {
    display: none;
  }
  .mhm-mobile-roll > [class*="col-"] {
    flex: 0 0 84% !important;
    max-width: 84% !important;
    width: 84% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .mhm-mobile-roll-gallery > [class*="col-"] {
    flex: 0 0 64% !important;
    max-width: 64% !important;
    width: 64% !important;
  }
}
