/*
Theme Name: Indian Mallu Bazaar
Theme URI: https://indianmallubazaar.com
Author: thajudheen
Author URI: https://indianmallubazaar.com
Description: Premium, fast, and authentic WordPress & WooCommerce theme for Indian Mallu Bazaar grocery shop in Kaunas, Lithuania. Includes interactive grocery catalog, live search, WhatsApp ordering, customizer options, and responsive layouts.
Version: 1.3.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indian-mallu-bazaar
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready, grocery, food-and-drink
*/

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
  --background: 96 32% 97%;
  --foreground: 150 35% 12%;
  --card: 0 0% 100%;
  --card-foreground: 150 35% 12%;
  --popover: 0 0% 100%;
  --popover-foreground: 150 35% 12%;
  --primary: 145 58% 28%;
  --primary-foreground: 96 40% 98%;
  --secondary: 92 30% 90%;
  --secondary-foreground: 150 34% 16%;
  --muted: 96 22% 93%;
  --muted-foreground: 150 12% 38%;
  --accent: 24 95% 52%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 72% 45%;
  --destructive-foreground: 0 0% 98%;
  --border: 100 20% 86%;
  --input: 100 20% 86%;
  --ring: 145 58% 28%;
  --radius: 0.9rem;
  --saffron: 24 95% 52%;
  --ink: 150 40% 10%;
  --leaf: 145 55% 32%;

  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  font-family: var(--font-body);
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

/* ==========================================================================
   Theme Gradients & Backgrounds
   ========================================================================== */
.brand-gradient {
  background: linear-gradient(135deg, hsl(145 58% 28%) 0%, hsl(145 50% 36%) 45%, hsl(24 95% 52%) 100%);
}

.grain-overlay {
  background-image: radial-gradient(hsl(var(--ink) / 0.18) 1px, transparent 1px);
  background-size: 4px 4px;
}

/* ==========================================================================
   Marquee Animation
   ========================================================================== */
.marquee-container {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  background-color: hsl(var(--saffron));
  color: #ffffff;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2.5rem;
  padding: 0.85rem 0;
  animation: imb-marquee 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.6;
}

@keyframes imb-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* ==========================================================================
   Scroll Reveal Animations (Failsafe & Smooth)
   ========================================================================== */
.reveal-init {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 769px) {
  .reveal-init:not(.reveal-visible) {
    opacity: 0;
    transform: translateY(20px);
  }
}

.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.imb-container {
  width: 100%;
  max-width: 90rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.imb-container-narrow {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.imb-main {
  flex: 1 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
}

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

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.95rem 1.75rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.35);
  color: hsl(var(--primary-foreground));
}

.btn-saffron {
  background-color: hsl(var(--saffron));
  color: #ffffff;
  padding: 0.95rem 1.75rem;
}
.btn-saffron:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px hsl(var(--saffron) / 0.35);
  color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: hsl(var(--primary));
  padding: 0.95rem 1.75rem;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  color: hsl(var(--primary));
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  padding: 0.95rem 1.75rem;
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.7);
  background-color: hsl(var(--background) / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.announcement-bar {
  color: #ffffff;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  max-width: 70%;
}

.brand-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 0.2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid hsl(var(--border) / 0.6);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .brand-logo-img {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.25rem;
  }
}

.brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3.8vw, 1.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: hsl(var(--primary));
  line-height: 1.1;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .brand-title {
    font-size: 1.3rem;
  }
}

.brand-title .saffron-text {
  color: hsl(var(--saffron));
}

.brand-sub {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
  margin-top: 0.1rem;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .brand-sub {
    display: none;
  }
}

.main-nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .main-nav-desktop {
    display: flex;
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .main-nav-desktop {
    gap: 2rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.8);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active, .current-menu-item > a {
  color: hsl(var(--primary));
}

.mobile-actions-wrap,
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .mobile-actions-wrap,
  .mobile-menu-btn {
    display: none !important;
  }
}

.mobile-menu-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: transparent;
  cursor: pointer;
  color: hsl(var(--foreground));
  touch-action: manipulation;
}

.mobile-nav-drawer {
  display: none;
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  padding: 1rem 0 1.5rem;
}

.mobile-nav-drawer.is-open {
  display: block;
}

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

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.85);
  border-bottom: 1px solid hsl(var(--border) / 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3.75rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(var(--ink) / 0.95) 0%, hsl(var(--ink) / 0.8) 50%, hsl(var(--ink) / 0.4) 100%);
}

.hero-content {
  position: relative;
  max-width: 42rem;
  padding: 0;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-logo-badge {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #ffffff;
  object-fit: contain;
  padding: 0.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

@media (min-width: 640px) {
  .hero-logo-badge {
    width: 4.25rem;
    height: 4.25rem;
  }
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-subtitle {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   Section: Stats & Introduction
   ========================================================================== */
.section-stats {
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

.stats-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.15;
}

@media (min-width: 640px) {
  .stats-heading {
    font-size: 3rem;
  }
}

.stats-subtext {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.stats-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .stats-numbers {
    border-top: none;
    border-left: 1px solid hsl(var(--border));
    padding-top: 0;
    padding-left: 2.5rem;
  }
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: hsl(var(--primary));
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Section: 4 Pillars
   ========================================================================== */
.pillars-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  padding-bottom: 1rem;
}

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

@media (min-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 1rem 1.25rem;
}

.pillar-icon-box {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  flex-shrink: 0;
}

.pillar-title {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Bento Aisles Showcase
   ========================================================================== */
.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 14rem;
  }
  .bento-card-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 22rem;
  }
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  background-color: #000;
  cursor: pointer;
  min-height: 14rem;
  display: block;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.bento-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: #ffffff;
}

.bento-card-large .bento-card-content {
  padding: 2rem;
}

.bento-tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.75);
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  margin-top: 0.35rem;
}

.bento-card-large .bento-title {
  font-size: 2rem;
}

.bento-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 22rem;
}

/* ==========================================================================
   Trust Strip
   ========================================================================== */
.trust-strip {
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  margin: 4rem 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

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

@media (min-width: 640px) {
  .trust-item {
    flex-direction: row;
    align-items: center;
  }
}

.trust-icon-box {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--saffron));
  color: #ffffff;
  flex-shrink: 0;
}

.trust-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .trust-title {
    max-width: 20rem;
    min-width: 12rem;
    flex-basis: 35%;
    flex-shrink: 0;
  }
}

.trust-desc {
  color: hsl(var(--muted-foreground));
  flex: 1;
}

/* ==========================================================================
   Product Cards & Grid
   ========================================================================== */
.products-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 820px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1.35rem;
  border: 1px solid hsl(var(--border) / 0.8);
  background-color: hsl(var(--card));
  padding: 1.15rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.product-image-box {
  position: relative;
  border-radius: 1.1rem;
  background-color: hsl(var(--secondary) / 0.35);
  overflow: hidden;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin-bottom: 1.15rem;
}

.product-thumb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.product-thumb-img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.08));
  transition: transform 0.35s ease;
}

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

.product-tag-floating {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px hsl(var(--primary) / 0.3);
  z-index: 2;
}

.product-stock-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #166534;
  border: 1px solid rgba(22, 101, 52, 0.15);
  z-index: 2;
}

.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  display: inline-block;
}

.product-info-box {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.product-brand {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: hsl(var(--foreground));
  min-height: 2.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.2rem;
}

.product-name a {
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.product-price-row {
  margin-top: 0.85rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px dashed hsl(var(--border));
  padding-top: 0.85rem;
}

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: hsl(var(--primary));
  letter-spacing: -0.02em;
}

.product-unit {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

.product-actions-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.product-actions-row .btn {
  flex: 1;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  font-size: 0.825rem;
  border-radius: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
}

.product-actions-row .wa-btn {
  background-color: #25D366 !important;
  color: #ffffff !important;
  border: 1px solid #20bd5a !important;
}

.product-actions-row .wa-btn:hover {
  background-color: #20bd5a !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* ==========================================================================
   Aisle Directory List
   ========================================================================== */
.aisle-list {
  list-style: none;
  border-top: 1px solid hsl(var(--border));
  margin-top: 1.5rem;
}

.aisle-item-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.5rem;
  row-gap: 0.25rem;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid hsl(var(--border));
  transition: background-color 0.15s ease, padding-left 0.15s ease;
  border-radius: 0.5rem;
}

.aisle-item-link:hover {
  background-color: hsl(var(--secondary) / 0.5);
  padding-left: 1rem;
}

.aisle-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .aisle-name {
    font-size: 1.85rem;
  }
}

.aisle-item-link:hover .aisle-name {
  color: hsl(var(--primary));
}

.aisle-blurb {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.aisle-count {
  margin-left: auto;
  font-family: monospace;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */
.testimonial-section {
  background-color: hsl(var(--ink));
  color: #ffffff;
  padding: 6rem 0;
}

.star-rating {
  display: flex;
  gap: 0.25rem;
  color: hsl(var(--saffron));
}

.testimonial-quote {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .testimonial-quote {
    font-size: 2.5rem;
    line-height: 1.2;
  }
}

.testimonial-author {
  margin-top: 2rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner-box {
  border-radius: 1.6rem;
  padding: 3.5rem 2rem;
  color: #ffffff;
}

@media (min-width: 640px) {
  .cta-banner-box {
    padding: 3.5rem 3.5rem;
  }
}

.cta-banner-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  max-width: 38rem;
}

@media (min-width: 640px) {
  .cta-banner-heading {
    font-size: 3rem;
  }
}

/* ==========================================================================
   Shop Page Filter & Search
   ========================================================================== */
.page-header-strip {
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--secondary) / 0.5);
  padding: 4rem 0;
}

.shop-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .shop-filter-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background-color: transparent;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  background-color: hsl(var(--secondary));
}

.filter-btn.active {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.shop-search-form {
  margin: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .shop-search-form {
    width: auto;
  }
}

.search-input-wrap {
  position: relative;
  width: 100%;
}

@media (min-width: 1024px) {
  .search-input-wrap {
    width: 18rem;
  }
}

.search-input {
  width: 100%;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 0.75rem 2.25rem 0.75rem 2.75rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.search-clear-btn:hover {
  background-color: hsl(var(--primary));
  color: #fff;
}

/* Header Search Bar */
.header-search-form {
  margin: 0;
}

.header-search-wrap {
  position: relative;
  width: 12.5rem;
}

@media (max-width: 1100px) {
  .header-search-wrap {
    width: 9.5rem;
  }
}

.header-search-input {
  width: 100%;
  height: 2.35rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--secondary));
  color: hsl(var(--foreground));
  padding: 0 0.85rem 0 2.2rem;
  font-size: 0.8125rem;
  outline: none;
  transition: all 0.2s ease;
}

.header-search-input:focus {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--card));
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.header-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

/* Hero Search */
.hero-search-form {
  max-width: 32rem;
  margin-bottom: 0.5rem;
}

.hero-search-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  border-radius: 9999px;
}

.hero-search-input {
  width: 100%;
  height: 3.25rem;
  border-radius: 9999px;
  background-color: #ffffff;
  color: #1a1a1a;
  padding: 0 6.5rem 0 2.85rem;
  font-size: 0.95rem;
  border: 2px solid transparent;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-search-input:focus {
  border-color: hsl(var(--saffron));
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25);
}

.hero-search-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  border-radius: 9999px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Home Section 7 Grocery Search */
.grocery-search-strip {
  margin-bottom: 2rem;
  max-width: 34rem;
}

.grocery-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.grocery-search-inner .search-input {
  padding-right: 6.5rem;
}

.grocery-search-submit {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  border-radius: 9999px;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.empty-state-box {
  margin-top: 4rem;
  border-radius: 1.2rem;
  border: 1px dashed hsl(var(--border));
  padding: 5rem 2rem;
  text-align: center;
}

/* ==========================================================================
   Timeline (Our Story)
   ========================================================================== */
.story-timeline {
  list-style: none;
  border-top: 1px solid hsl(var(--border));
}

.story-timeline-item {
  display: grid;
  gap: 0.75rem;
  border-bottom: 1px solid hsl(var(--border));
  padding: 2rem 0;
}

@media (min-width: 640px) {
  .story-timeline-item {
    grid-template-columns: 8rem 1fr;
    gap: 1.5rem;
  }
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: hsl(var(--primary));
}

@media (min-width: 640px) {
  .timeline-year {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   Contact Page & Form
   ========================================================================== */
.contact-layout {
  display: grid;
  gap: 3.5rem;
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-card-box {
  border-radius: 1.6rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 2rem;
}

@media (min-width: 640px) {
  .contact-card-box {
    padding: 2.5rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-control {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--background));
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-control:focus {
  border-color: hsl(var(--primary));
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-icon-box {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  flex-shrink: 0;
}

.form-success-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1.2rem;
  background-color: hsl(var(--secondary));
  padding: 2rem;
  margin-top: 2.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 6rem;
  background-color: hsl(var(--ink));
  color: hsl(var(--secondary));
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   WooCommerce Integration & Styling
   ========================================================================== */
.woocommerce .woocommerce-breadcrumb {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.woocommerce .woocommerce-breadcrumb a {
  color: hsl(var(--foreground) / 0.8);
}

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

/* Store Notices & Alerts */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  border-radius: 1rem !important;
  padding: 1rem 1.5rem 1rem 3rem !important;
  margin-bottom: 2rem !important;
  font-size: 0.95rem !important;
  position: relative !important;
  border-top: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
}

.woocommerce-message {
  background-color: hsl(var(--secondary)) !important;
  color: hsl(var(--secondary-foreground)) !important;
  border-left: 4px solid hsl(var(--primary)) !important;
}

.woocommerce-info {
  background-color: hsl(var(--secondary)) !important;
  color: hsl(var(--secondary-foreground)) !important;
  border-left: 4px solid hsl(var(--saffron)) !important;
}

.woocommerce-error {
  background-color: #fff0f0 !important;
  color: #991b1b !important;
  border-left: 4px solid #ef4444 !important;
}

.woocommerce-message .button,
.woocommerce-info .button {
  border-radius: 9999px !important;
  background-color: hsl(var(--primary)) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.85rem !important;
  float: right !important;
}

/* WooCommerce Product Loop */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 2.5rem 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  width: 100% !important;
  border-radius: 1.2rem !important;
  border: 1px solid hsl(var(--border)) !important;
  background-color: hsl(var(--card)) !important;
  padding: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06) !important;
}

.woocommerce ul.products li.product img {
  border-radius: 0.9rem !important;
  margin-bottom: 1rem !important;
  object-fit: cover !important;
  width: 100% !important;
  height: auto !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: hsl(var(--foreground)) !important;
  padding: 0 !important;
  margin: 0.5rem 0 !important;
}

.woocommerce ul.products li.product .price {
  font-family: var(--font-display) !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: hsl(var(--primary)) !important;
  margin: 0.5rem 0 1rem !important;
}

.woocommerce ul.products li.product .price del {
  font-size: 0.95rem !important;
  color: hsl(var(--muted-foreground)) !important;
  margin-right: 0.5rem !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  color: hsl(var(--primary)) !important;
}

.woocommerce ul.products li.product .button {
  border-radius: 9999px !important;
  background-color: hsl(var(--primary)) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.75rem 1.25rem !important;
  text-align: center !important;
  display: inline-block !important;
  margin-top: auto !important;
  transition: transform 0.15s ease, background-color 0.2s ease !important;
}

.woocommerce ul.products li.product .button:hover {
  background-color: hsl(var(--primary) / 0.9) !important;
  transform: translateY(-2px) !important;
}

.woocommerce span.onsale {
  background-color: hsl(var(--saffron)) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 0.35rem 0.75rem !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1 !important;
  top: 1rem !important;
  left: 1rem !important;
  right: auto !important;
}

/* Single Product Detail */
.woocommerce div.product {
  margin-top: 1.5rem !important;
}

.woocommerce div.product div.images {
  margin-bottom: 2.5rem !important;
}

.woocommerce div.product div.images img {
  border-radius: 1.4rem !important;
  border: 1px solid hsl(var(--border)) !important;
}

.woocommerce div.product .product_title {
  font-family: var(--font-display) !important;
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  color: hsl(var(--foreground)) !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-display) !important;
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: hsl(var(--primary)) !important;
  margin: 1rem 0 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: hsl(var(--muted-foreground)) !important;
  margin: 1.5rem 0 !important;
}

.woocommerce div.product form.cart {
  margin: 2rem 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  align-items: center !important;
}

.woocommerce div.product form.cart .quantity {
  margin-right: 0.5rem !important;
}

.woocommerce .quantity .qty {
  width: 4rem !important;
  height: 3rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid hsl(var(--border)) !important;
  background-color: hsl(var(--background)) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  border-radius: 9999px !important;
  background-color: hsl(var(--primary)) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 0.95rem 2rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, background-color 0.2s ease !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: hsl(var(--primary) / 0.9) !important;
  transform: translateY(-2px) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid hsl(var(--border)) !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 3rem 0 1.5rem !important;
  display: flex !important;
  gap: 1rem !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0.75rem 1rem !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: hsl(var(--muted-foreground)) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom: 3px solid hsl(var(--primary)) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: hsl(var(--primary)) !important;
}

/* Cart Page */
.woocommerce table.shop_table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 1.2rem !important;
  border: 1px solid hsl(var(--border)) !important;
  background-color: hsl(var(--card)) !important;
  overflow: hidden !important;
}

.woocommerce table.shop_table th {
  font-family: var(--font-display) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 1.25rem 1rem !important;
  background-color: hsl(var(--secondary) / 0.5) !important;
  border-bottom: 1px solid hsl(var(--border)) !important;
}

.woocommerce table.shop_table td {
  padding: 1.25rem 1rem !important;
  border-bottom: 1px solid hsl(var(--border) / 0.6) !important;
}

.woocommerce .cart-collaterals .cart_totals {
  border-radius: 1.2rem !important;
  border: 1px solid hsl(var(--border)) !important;
  background-color: hsl(var(--card)) !important;
  padding: 2rem !important;
  float: right !important;
  width: 100% !important;
  max-width: 28rem !important;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-family: var(--font-display) !important;
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  border-radius: 9999px !important;
  background-color: hsl(var(--saffron)) !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 1rem 2rem !important;
  display: block !important;
  text-align: center !important;
  margin-top: 1.5rem !important;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: hsl(var(--saffron) / 0.9) !important;
  transform: translateY(-2px) !important;
}

/* Checkout Page */
.woocommerce form.checkout {
  margin-top: 2rem !important;
}

.woocommerce #customer_details {
  margin-bottom: 3rem !important;
}

.woocommerce form.checkout h3 {
  font-family: var(--font-display) !important;
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce-checkout #order_review {
  border-radius: 1.4rem !important;
  border: 1px solid hsl(var(--border)) !important;
  background-color: hsl(var(--card)) !important;
  padding: 2rem !important;
}

.woocommerce #payment {
  background: transparent !important;
  border-radius: 1rem !important;
}

.woocommerce #payment ul.payment_methods {
  border-bottom: 1px solid hsl(var(--border)) !important;
  padding-bottom: 1.5rem !important;
}

.woocommerce #payment #place_order {
  border-radius: 9999px !important;
  background-color: hsl(var(--primary)) !important;
  color: #ffffff !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  padding: 1rem 2.5rem !important;
  width: 100% !important;
  margin-top: 1.5rem !important;
}

.woocommerce #payment #place_order:hover {
  background-color: hsl(var(--primary) / 0.9) !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   Comprehensive Responsive & Mobile Polish
   ========================================================================== */

/* Universal Overflow & Viewport Handling */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

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

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Fluid Container Padding */
.imb-container,
.imb-container-narrow {
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* Fluid Typography */
.hero-title {
  font-size: clamp(2.25rem, 7.5vw, 4.5rem) !important;
  line-height: 1.05 !important;
  word-break: break-word;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.8vw, 1.25rem) !important;
  line-height: 1.6 !important;
}

.stats-heading {
  font-size: clamp(1.85rem, 5.5vw, 3rem) !important;
  line-height: 1.15 !important;
}

.cta-banner-heading {
  font-size: clamp(1.75rem, 5vw, 2.75rem) !important;
}

/* Mobile Hero Enhancements */
@media (max-width: 640px) {
  .hero-section {
    min-height: auto !important;
    padding: 2.75rem 0 2.25rem !important;
  }
  .hero-content {
    padding: 0 !important;
  }
  .hero-badge-wrap {
    gap: 0.65rem;
    margin-bottom: 0.85rem;
  }
  .hero-logo-badge {
    width: 3.25rem;
    height: 3.25rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.925rem;
    min-height: 44px;
  }
}

/* Announcement Bar on Mobile */
@media (max-width: 600px) {
  .announcement-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
    padding: 0.35rem 0;
  }
  .announcement-text {
    font-size: 0.75rem;
    line-height: 1.35;
  }
  .phone-top-link {
    font-size: 0.75rem;
  }
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  transition: max-height 0.3s ease, opacity 0.25s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mobile-nav-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  padding: 0.85rem 0;
  touch-action: manipulation;
}

/* Responsive Stats & Numbers */
@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .stats-numbers {
    border-top: 1px solid hsl(var(--border)) !important;
    border-left: none !important;
    padding-top: 1.5rem !important;
    padding-left: 0 !important;
    gap: 1rem !important;
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: clamp(1.6rem, 6vw, 2.25rem) !important;
  }
  .stat-label {
    font-size: 0.7rem !important;
  }
}

/* Responsive Pillars */
@media (max-width: 639px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }
  .pillar-card {
    padding: 0.85rem 0.75rem !important;
    gap: 0.6rem !important;
    border-radius: 0.85rem !important;
  }
  .pillar-icon-box {
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-radius: 0.6rem !important;
  }
  .pillar-title {
    font-size: 0.825rem !important;
    line-height: 1.25 !important;
  }
}

@media (max-width: 360px) {
  .pillars-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Responsive Bento Grid */
@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    padding-top: 1.5rem !important;
  }
  .bento-card-large {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    min-height: 16rem !important;
  }
  .bento-card {
    min-height: 12.5rem !important;
    border-radius: 1.15rem !important;
  }
  .bento-card-content {
    padding: 1.25rem !important;
  }
  .bento-card-large .bento-title {
    font-size: 1.5rem !important;
  }
}

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

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .product-card {
    padding: 1.25rem !important;
    border-radius: 1.15rem !important;
  }
  .product-name {
    font-size: 1.15rem !important;
  }
  .product-actions-row {
    flex-direction: row;
    gap: 0.5rem;
  }
  .product-actions-row .btn {
    min-height: 44px;
    touch-action: manipulation;
  }
}

/* Aisle List on Mobile */
@media (max-width: 640px) {
  .aisle-item-link {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    padding: 1.25rem 0 !important;
  }
  .aisle-name {
    font-size: 1.15rem !important;
    width: 100% !important;
  }
  .aisle-count {
    align-self: flex-start !important;
  }
}

/* Category Filter Pills (Horizontal swipe on phone) */
#imb-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  #imb-category-filters {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  #imb-category-filters::-webkit-scrollbar {
    display: none;
  }
  #imb-category-filters .filter-btn {
    white-space: nowrap !important;
    flex-shrink: 0;
    min-height: 42px;
    padding: 0.5rem 1rem !important;
  }
}

/* WooCommerce Mobile Responsive Overrides */
@media (max-width: 768px) {
  .woocommerce table.shop_table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .woocommerce .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 2rem !important;
    padding: 1.5rem !important;
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    float: none !important;
    width: 100% !important;
  }
  .woocommerce form.checkout {
    display: flex;
    flex-direction: column;
  }
  .woocommerce-checkout #order_review {
    padding: 1.5rem !important;
  }
}

/* Safe Area Insets for iOS Home Indicator and Notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }
  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}


