/* ==========================================================================
   TasteLokal — Main Stylesheet
   Inspired by competer.in layout. Brand: navy + saffron orange.
   ========================================================================== */

/* ---------- Design tokens (competer.in inspired) ---------- */
:root {
  --navy: #0d2149;
  --navy-dark: #081633;
  --navy-light: #1a2747;
  --teal: #0d9488;          /* primary CTA — competer-style */
  --teal-dark: #0f766e;
  --teal-light: #14b8a6;
  --teal-bg: #ccfbf1;
  --orange: #f57e1c;        /* accent for highlights/badges */
  --orange-dark: #d96b0e;
  --saffron: #ff9933;
  --maroon: #8b1d3f;
  --green: #27ae60;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-light: #f3f4f6;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --text: #111827;
  --text-muted: #6b7280;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 24px rgba(0,0,0,0.08);
  --radius: 8px;
  --radius-lg: 12px;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --container: 1240px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; margin: 0 0 12px; color: var(--navy); }
h1 { font-size: 38px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
a { color: var(--teal); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  border: 2px solid transparent;
  transition: all .2s;
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ---------- Announcement bar ---------- */
.announcement-bar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.announcement-bar .divider { opacity: .4; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px 16px;
}
.header-logo .logo-text {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 22px;
  color: var(--navy);
}
.logo-mark { font-size: 28px; }
.logo-name .accent { color: var(--teal); }

.header-search .search-form {
  display: flex;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  transition: border-color .15s;
}
.header-search .search-form:focus-within { border-color: var(--teal); background: #fff; }
.header-search .search-field {
  flex: 1; padding: 11px 14px; border: 0; background: transparent; font-size: 14px; outline: none;
}
.header-search .search-button {
  padding: 0 18px; background: var(--navy); color: #fff; border: 0; font-size: 16px;
}

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-action {
  display: flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 500; font-size: 14px;
  position: relative;
}
.header-action:hover { color: var(--teal); }
.action-icon { font-size: 20px; }
.cart-link { position: relative; }
.header-cart-count {
  background: var(--teal); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  position: absolute; top: -6px; right: -10px;
}

/* Primary nav */
.primary-nav { background: var(--navy); }
.primary-menu {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.primary-menu li { position: relative; }
.primary-menu a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  border-radius: 4px;
}
.primary-menu a:hover { background: var(--navy-light); color: #fff; }
.primary-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px;
  z-index: 10;
}
.primary-menu li:hover > .dropdown-menu { display: block; }
.primary-menu .dropdown-menu a { color: var(--navy); padding: 10px 14px; }
.primary-menu .dropdown-menu a:hover { background: var(--bg-soft); color: var(--teal); }

/* Secondary nav */
.secondary-nav { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.secondary-menu {
  display: flex; gap: 8px; flex-wrap: wrap; overflow-x: auto; padding: 8px 0;
}
.secondary-menu a {
  display: inline-block; padding: 6px 14px; font-size: 13px; color: var(--navy);
  border: 1px solid var(--border); border-radius: 999px; background: #fff; font-weight: 500;
  white-space: nowrap;
}
.secondary-menu a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ---------- Hero (competer-style, clean white) ---------- */
.hero {
  background: #fff;
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.hero-eyebrow {
  display: inline-block;
  background: var(--teal-bg);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .8px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-title {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--navy);
  line-height: 1.1;
  font-family: var(--font-body);
}
.hero-title .accent { color: var(--teal); }
.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 16px;
}
.hero-search {
  display: flex;
  max-width: 560px;
  margin: 0 auto 18px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.hero-search input {
  flex: 1; padding: 14px 18px; border: 0; font-size: 15px; outline: none;
}
.hero-search button {
  padding: 0 28px; background: var(--teal); color: #fff; border: 0; font-weight: 600;
}
.hero-search button:hover { background: var(--teal-dark); }
.hero-shortcuts {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px;
}
.shortcut {
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--navy);
}
.shortcut:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 24px; max-width: 720px; margin: 0 auto;
}
.hero-stats li { text-align: center; }
.hero-stats strong { display: block; font-size: 26px; color: var(--navy); }
.hero-stats span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg-soft); padding: 24px 0; border-bottom: 1px solid var(--border); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-icon { font-size: 32px; }
.trust-item strong { display: block; color: var(--navy); font-size: 14px; }
.trust-item span { font-size: 12px; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.bg-light { background: var(--bg-soft); }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.section-head.center { display: block; text-align: center; }
.section-title { font-family: var(--font-display); font-size: 32px; margin: 0; color: var(--navy); }
.section-sub { color: var(--text-muted); margin: 6px 0 0; font-size: 14px; }
.view-all { color: var(--teal); font-weight: 600; font-size: 14px; }

/* ---------- States grid ---------- */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.state-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--navy);
  position: relative;
  transition: all .2s;
}
.state-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.state-card.active { border-color: var(--teal); background: linear-gradient(180deg, #fff 0%, #fff7ed 100%); }
.state-card.coming-soon { opacity: .65; }
.state-icon { font-size: 38px; }
.state-name { font-weight: 600; font-size: 14px; }
.state-badge {
  font-size: 10px; background: var(--navy); color: #fff;
  padding: 2px 8px; border-radius: 999px; text-transform: uppercase; font-weight: 600;
}

/* ---------- Banner feature ---------- */
.banner-feature { padding: 24px 0; }
.banner-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr 200px;
  align-items: center;
  gap: 24px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.banner-eyebrow { color: var(--orange-light); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
.banner-title { color: #fff; font-family: var(--font-display); font-size: 36px; margin: 0 0 12px; }
.banner-desc { color: rgba(255,255,255,.85); margin: 0 0 20px; max-width: 540px; }
.banner-visual { text-align: center; }
.banner-emoji { font-size: 120px; opacity: .9; }

/* ---------- Product grid (WooCommerce) ---------- */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.products li.product, ul.products li.product-card { width: 100% !important; margin: 0 !important; padding: 0 !important; }
.product-card-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all .2s;
  display: flex; flex-direction: column;
  height: 100%;
}
.product-card-inner:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--orange-light); }
.product-card-image {
  display: block; background: var(--bg-soft);
  aspect-ratio: 1 / 1; overflow: hidden;
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card-inner:hover .product-card-image img { transform: scale(1.05); }
.product-card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card-title h3 { font-size: 14px; color: var(--navy); margin: 0; min-height: 38px; line-height: 1.35; }
.product-card-rating { font-size: 12px; color: var(--text-muted); display: flex; gap: 6px; }
.product-card-rating .stars { color: var(--teal); font-weight: 600; }
.product-card-rating.muted .stars { color: var(--text-muted); }
.product-card-price { font-size: 16px; font-weight: 700; color: var(--navy); }
.product-card-price del { color: var(--text-muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
.product-card-price ins { text-decoration: none; color: var(--navy); }
.product-card-origin { font-size: 12px; color: var(--text-muted); }
.product-card .onsale, span.onsale {
  position: absolute; top: 10px; right: 10px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 11px;
  padding: 4px 8px; border-radius: 4px; z-index: 2;
  min-height: auto; min-width: auto; line-height: 1;
}
.add_to_cart_button, .product-card .button {
  display: block !important;
  width: 100%;
  margin-top: auto !important;
  padding: 10px !important;
  background: var(--teal) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
  text-decoration: none;
}
.add_to_cart_button:hover, .product-card .button:hover { background: var(--teal-dark) !important; color: #fff !important; }

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  color: var(--navy);
  transition: all .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.cat-icon { font-size: 40px; }
.cat-name { font-weight: 600; font-size: 15px; }
.cat-count { font-size: 12px; color: var(--teal); font-weight: 600; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; text-align: center;
}
.why-icon { font-size: 38px; margin-bottom: 8px; }
.why-card h3 { color: var(--navy); margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 13px; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px;
  position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: 4px; right: 16px; font-size: 70px;
  color: var(--teal); opacity: .25; font-family: var(--font-display); line-height: 1;
}
.testimonial p { color: var(--text); margin: 0 0 14px; font-style: italic; }
.t-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.t-meta strong { color: var(--navy); }
.t-rating { color: var(--teal); }

/* ---------- Newsletter ---------- */
.newsletter-section { padding: 48px 0; background: var(--bg-soft); }
.newsletter-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--maroon) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 40px;
  text-align: center;
}
.newsletter-card h2 { color: #fff; font-family: var(--font-display); }
.newsletter-card p { color: rgba(255,255,255,.85); margin-bottom: 20px; }
.newsletter-form {
  display: flex; max-width: 480px; margin: 0 auto; gap: 8px;
  background: #fff; border-radius: var(--radius); overflow: hidden; padding: 4px;
}
.newsletter-form input {
  flex: 1; padding: 12px 16px; border: 0; font-size: 14px; outline: none;
}
.newsletter-form button {
  padding: 12px 24px; background: var(--teal); color: #fff; border: 0;
  border-radius: 6px; font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); margin-top: 40px; }
.footer-top { padding: 56px 0 32px; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 32px;
}
.footer-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.footer-tagline { color: var(--orange-light); margin: 0 0 12px; font-weight: 500; }
.footer-desc { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.65); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; font-size: 16px;
}
.footer-social a:hover { background: var(--teal); }
.footer-widget-title { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 14px; }
.footer-links li, .footer-contact li { margin-bottom: 8px; font-size: 13px; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--orange-light); }
.footer-payments {
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
}
.footer-payments .container { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.payments-label { font-size: 13px; color: rgba(255,255,255,.65); }
.payment-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.payment-icons span {
  background: rgba(255,255,255,.08); padding: 6px 12px; border-radius: 4px; font-size: 12px; color: #fff;
}
.footer-bottom { padding: 18px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.6); }
.footer-bottom .footer-trust { margin-top: 6px; color: rgba(255,255,255,.5); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); z-index: 999;
}
.whatsapp-float:hover { background: #1ebe57; color: #fff; transform: scale(1.05); }

/* ---------- Free delivery banner ---------- */
.free-delivery-banner {
  background: linear-gradient(90deg, #fff7ed, #ffedd5);
  border: 1px dashed var(--teal);
  color: var(--navy);
  padding: 10px 16px; border-radius: var(--radius); font-size: 14px; text-align: center;
  margin: 16px 0;
}
.free-delivery-banner.success { background: #dcfce7; border-color: var(--green); color: #065f46; }

/* ---------- Page / Shop ---------- */
.page-content { padding: 40px 0; }
.page-header { margin-bottom: 24px; }
.page-title { font-family: var(--font-display); font-size: 32px; }

.shop-wrap .woocommerce-result-count { color: var(--text-muted); font-size: 13px; }
.shop-wrap .woocommerce-ordering select {
  padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
}

/* Single product */
.single-product div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.single-product div.product .product_title { font-family: var(--font-display); color: var(--navy); }
.single-product .price { font-size: 28px; color: var(--navy); font-weight: 700; }
.single-product .price del { color: var(--text-muted); font-size: 18px; font-weight: 400; }
.single-product .single_add_to_cart_button {
  background: var(--teal) !important; color: #fff !important;
  padding: 14px 32px !important; font-weight: 700 !important;
  border-radius: var(--radius) !important; border: 0 !important;
}
.single-product .single_add_to_cart_button:hover { background: var(--teal-dark) !important; }
.single-product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 24px; }

/* ---------- Trusted Sellers / Partners strip ---------- */
.partners-section {
  background: var(--bg-soft);
  padding: 36px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.partners-head { text-align: center; margin-bottom: 22px; }
.partners-head h3 { font-size: 14px; color: var(--text-muted); letter-spacing: 1.5px; font-weight: 600; text-transform: uppercase; margin: 0; }
.partners-strip {
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; align-items: center;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  min-width: 180px;
  justify-content: center;
}
.partner-card .partner-icon { font-size: 22px; }
.partner-card .partner-name { display: block; }
.partner-card .partner-loc { font-size: 11px; color: var(--text-muted); font-weight: 400; }

/* ---------- TasteLokal Difference (comparison) ---------- */
.diff-section { padding: 56px 0; background: #fff; }
.diff-table-wrap { max-width: 900px; margin: 24px auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.diff-table { width: 100%; border-collapse: collapse; background: #fff; }
.diff-table thead th {
  background: var(--navy); color: #fff; padding: 16px 14px; text-align: center;
  font-size: 14px; font-weight: 600;
}
.diff-table thead th.featured-col { background: var(--teal); position: relative; }
.diff-table thead th.featured-col::before {
  content: '⭐ RECOMMENDED'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-size: 10px; padding: 3px 10px;
  border-radius: 999px; font-weight: 700; letter-spacing: 1px;
}
.diff-table tbody td {
  padding: 14px; text-align: center; border-bottom: 1px solid var(--border-light); font-size: 14px;
}
.diff-table tbody td:first-child { text-align: left; font-weight: 600; color: var(--navy); background: var(--bg-soft); }
.diff-table tbody td.yes { color: var(--green); font-weight: 700; }
.diff-table tbody td.no { color: #ef4444; }
.diff-table tbody td.maybe { color: var(--text-muted); }
.diff-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Carousel with arrows ---------- */
.carousel-wrap { position: relative; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5;
  font-size: 18px; color: var(--navy);
  transition: all .15s;
}
.carousel-arrow:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.carousel-arrow.prev { left: -16px; }
.carousel-arrow.next { right: -16px; }
@media (max-width: 768px) { .carousel-arrow { display: none; } }

/* ---------- Hamburger menu (mobile) ---------- */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--navy);
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1;
}
.menu-toggle:focus { outline: 2px solid var(--teal); }
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}
.mobile-overlay.open { display: block; }

/* ===================================================================
   RESPONSIVE — tablet ≤1024px
   =================================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 14px; }

  /* Header: logo | search-toggle | actions */
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .header-search {
    grid-column: 1 / -1;
    order: 3;
  }

  /* Smaller logo */
  .header-logo .logo-text { font-size: 20px; }
  .logo-mark { font-size: 24px; }

  .trust-strip .container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-grid, .category-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: 1fr 1fr; }
  ul.products { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .banner-card { grid-template-columns: 1fr; padding: 28px 22px; }
  .banner-emoji { font-size: 80px; }
  .single-product div.product { grid-template-columns: 1fr; }
}

/* ===================================================================
   RESPONSIVE — mobile ≤768px
   =================================================================== */
@media (max-width: 768px) {
  /* Show hamburger, hide primary nav by default */
  .menu-toggle { display: inline-flex; align-items: center; }
  .primary-nav {
    position: fixed;
    top: 0; left: -85%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--navy);
    z-index: 1000;
    overflow-y: auto;
    transition: left .3s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,0.2);
  }
  .primary-nav.open { left: 0; }
  .primary-nav::before {
    content: '🍯 TasteLokal Menu';
    display: block;
    padding: 18px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    background: var(--navy-dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .primary-nav .container { padding: 0; max-width: 100%; }
  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .primary-menu li { width: 100%; }
  .primary-menu a {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 14px 20px;
    border-radius: 0;
    font-size: 15px;
  }
  .primary-menu .dropdown-menu {
    display: block;
    position: static;
    background: rgba(0,0,0,0.25);
    box-shadow: none;
    padding: 0;
  }
  .primary-menu .dropdown-menu a { color: rgba(255,255,255,0.85); padding: 10px 20px 10px 36px; font-size: 13px; }
  .primary-menu .dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--orange-light); }

  /* Secondary nav: horizontal scroll, looks like chips */
  .secondary-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .secondary-menu::-webkit-scrollbar { display: none; }
  .secondary-menu li { flex: 0 0 auto; }

  /* Header: 3 col -> logo + search-icon + actions (hamburger on left) */
  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 10px 14px;
    gap: 8px;
  }
  .header-logo { order: 2; text-align: center; }
  .header-logo .logo-text { justify-content: center; font-size: 18px; }
  .logo-mark { font-size: 22px; }
  .menu-toggle { order: 1; }
  .header-actions { order: 3; gap: 12px; }
  .header-action .action-text { display: none; }
  .action-icon { font-size: 22px; }
  .header-search {
    grid-column: 1 / -1;
    order: 4;
    margin-top: 6px;
  }
  .header-search .search-field { padding: 9px 12px; font-size: 14px; }
  .header-search .search-button { padding: 0 14px; font-size: 14px; }

  /* Hero */
  .hero { padding: 32px 0 28px; }
  .hero-eyebrow { font-size: 10px; padding: 4px 10px; }
  .hero-title { font-size: 26px; line-height: 1.2; }
  .hero-subtitle { font-size: 14px; margin-bottom: 18px; padding: 0 8px; }
  .hero-search { margin-bottom: 14px; }
  .hero-search input { padding: 12px 14px; font-size: 14px; }
  .hero-search button { padding: 0 18px; font-size: 14px; }
  .hero-shortcuts { gap: 6px; margin-bottom: 20px; }
  .shortcut { font-size: 12px; padding: 5px 10px; }
  .hero-stats { gap: 14px; padding-top: 16px; }
  .hero-stats strong { font-size: 18px; }
  .hero-stats span { font-size: 10px; }

  /* Sections */
  .section { padding: 32px 0; }
  .section-title { font-size: 22px; }
  .section-head { margin-bottom: 18px; align-items: center; }
  .view-all { font-size: 12px; }

  /* Trust strip — 2 cols, smaller */
  .trust-strip { padding: 16px 0; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-icon { font-size: 24px; }
  .trust-item strong { font-size: 13px; }
  .trust-item span { font-size: 11px; }

  /* Announcement bar */
  .announcement-bar { font-size: 11px; padding: 6px 0; }
  .announcement-bar .container { gap: 10px; }

  /* States grid */
  .states-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .state-card { padding: 14px 8px; }
  .state-icon { font-size: 30px; }
  .state-name { font-size: 12px; }

  /* Banner card */
  .banner-card { padding: 22px 18px; text-align: center; }
  .banner-title { font-size: 24px; }
  .banner-desc { font-size: 13px; }
  .banner-emoji { font-size: 70px; }

  /* Product grid — 2 cols on mobile */
  ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .product-card-title h3 { font-size: 13px; min-height: 34px; line-height: 1.3; }
  .product-card-price { font-size: 14px; }
  .product-card-price del { font-size: 12px; }
  .product-card-body { padding: 10px; gap: 4px; }
  .product-card-rating { font-size: 11px; }
  .product-card-origin { font-size: 11px; }
  .add_to_cart_button, .product-card .button { padding: 8px !important; font-size: 12px !important; }

  /* Category grid — 2 cols */
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { padding: 16px 10px; }
  .cat-icon { font-size: 30px; }
  .cat-name { font-size: 13px; }
  .cat-count { font-size: 11px; }

  /* Why grid — 2 cols */
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why-card { padding: 18px 14px; }
  .why-icon { font-size: 30px; }
  .why-card h3 { font-size: 15px; }
  .why-card p { font-size: 12px; }

  /* Testimonials — single col */
  .testimonials { grid-template-columns: 1fr; gap: 12px; }
  .testimonial { padding: 18px; }

  /* Newsletter */
  .newsletter-section { padding: 30px 0; }
  .newsletter-card { padding: 24px 18px; }
  .newsletter-card h2 { font-size: 22px; }
  .newsletter-form { flex-direction: column; gap: 8px; background: transparent; padding: 0; }
  .newsletter-form input { border-radius: var(--radius); padding: 12px 14px; background: #fff; }
  .newsletter-form button { width: 100%; padding: 12px; border-radius: var(--radius); }

  /* Footer */
  .footer-top { padding: 32px 0 20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .footer-widget-title { font-size: 13px; margin-bottom: 10px; }
  .footer-links li, .footer-contact li { font-size: 12px; }
  .footer-payments .container { gap: 8px; justify-content: flex-start; }
  .payment-icons { gap: 6px; }
  .payment-icons span { font-size: 10px; padding: 4px 8px; }

  /* WhatsApp float */
  .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 18px; right: 18px; }

  /* Single product on mobile */
  .single-product div.product { grid-template-columns: 1fr; gap: 20px; }
  .single-product .price { font-size: 22px; }
}

/* ===================================================================
   RESPONSIVE — small mobile ≤420px
   =================================================================== */
@media (max-width: 420px) {
  .hero-title { font-size: 22px; }
  .section-title { font-size: 18px; }
  .hero-stats { gap: 10px; }
  .hero-stats li { min-width: 60px; }
  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-emoji { font-size: 60px; }
  ul.products { gap: 8px; }
  .product-card-title h3 { font-size: 12px; }
}
