/* ==============================================
   AL-BARAKAH FRESH MARKET — style.css
   Production-ready static stylesheet
   ============================================== */

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

/* ── CSS Variables ── */
:root {
  --primary:        hsl(130, 53%, 23%);
  --primary-hover:  hsl(130, 53%, 18%);
  --primary-light:  hsl(130, 53%, 95%);
  --primary-fg:     #fff;
  --secondary:      hsl(38, 66%, 48%);
  --secondary-hover:hsl(38, 66%, 40%);
  --secondary-light:hsl(38, 66%, 92%);
  --secondary-fg:   hsl(0, 0%, 10%);
  --bg:             hsl(0, 0%, 99%);
  --fg:             hsl(0, 0%, 10%);
  --card:           hsl(0, 0%, 100%);
  --border:         hsl(0, 0%, 90%);
  --muted:          hsl(0, 0%, 96%);
  --muted-fg:       hsl(0, 0%, 45%);
  --destructive:    hsl(0, 72%, 51%);
  --green-success:  #16a34a;
  --radius:         0.5rem;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:      0 8px 24px rgba(0,0,0,.12);
  --shadow-xl:      0 16px 40px rgba(0,0,0,.14);
  --transition:     all .25s ease;
  --font-sans:      'Inter', sans-serif;
  --font-serif:     'Playfair Display', serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; outline: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-serif); line-height: 1.2; }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-fg); }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 9999px; font-weight: 600;
  font-size: .9375rem; transition: var(--transition); cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); border: 2px solid transparent; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--secondary); color: var(--secondary-fg); border: 2px solid transparent; }
.btn-secondary:hover { background: var(--secondary-hover); }
.btn-outline {
  background: transparent; color: var(--fg);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: .875rem 2rem; font-size: 1rem; height: 3.5rem; }
.btn-sm { padding: .5rem 1rem; font-size: .8125rem; }
.btn-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: inline-flex;
  align-items: center; justify-content: center; transition: var(--transition);
  background: var(--primary); color: var(--primary-fg);
}
.btn-icon:hover { background: var(--primary-hover); }
.btn-icon.out-of-stock { background: var(--muted); color: var(--muted-fg); cursor: not-allowed; }
.btn-icon.added { background: var(--green-success); }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .25rem .625rem; border-radius: .25rem;
}
.badge-primary { background: var(--primary); color: var(--primary-fg); }
.badge-secondary { background: var(--secondary); color: var(--secondary-fg); }
.badge-dark { background: var(--fg); color: #fff; }
.badge-success { background: rgba(22,163,74,.12); color: #15803d; border: 1px solid rgba(22,163,74,.25); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: var(--transition);
  padding: 1.25rem 0;
  background: rgba(252,252,252,.5);
  backdrop-filter: blur(8px);
}
.navbar.scrolled {
  background: rgba(252,252,252,.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.navbar-brand { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.brand-logo {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem;
  transition: var(--transition);
}
.brand-logo:hover { transform: scale(1.05); }
.brand-name {
  font-family: var(--font-serif); font-weight: 700; font-size: 1.1875rem;
  line-height: 1.2;
}
.brand-name span { color: var(--primary); font-style: italic; font-weight: 400; }
.navbar-nav {
  display: flex; align-items: center; gap: 1.5rem;
}
.navbar-nav a {
  font-size: .875rem; font-weight: 500; color: var(--muted-fg);
  transition: var(--transition);
}
.navbar-nav a:hover { color: var(--primary); }
.navbar-nav a.active { color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.search-bar {
  position: relative; display: none;
}
@media(min-width:900px){ .search-bar { display: block; } }
.search-bar input {
  padding: .5rem 1rem .5rem 2.25rem;
  background: rgba(0,0,0,.04); border: 1px solid var(--border);
  border-radius: 9999px; font-size: .875rem; color: var(--fg); width: 14rem;
  transition: var(--transition);
}
.search-bar input:focus { width: 18rem; border-color: var(--primary); background: #fff; }
.search-bar .icon-search { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted-fg); pointer-events: none; }
.btn-cart {
  position: relative; width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  border: 1.5px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-cart:hover { border-color: var(--primary); color: var(--primary); }
.cart-badge {
  position: absolute; top: -.35rem; right: -.35rem;
  background: var(--secondary); color: var(--secondary-fg);
  font-size: .625rem; font-weight: 700;
  min-width: 1.25rem; height: 1.25rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
  display: none;
}
.cart-badge.show { display: flex; }
.btn-menu {
  width: 2.5rem; height: 2.5rem; border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-menu:hover { background: var(--muted); }
@media(min-width:1024px){ .btn-menu { display: none; } .navbar-nav { display: flex; } }
@media(max-width:1023px){ .navbar-nav { display: none; } }

/* Mobile Overlay */
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--bg); flex-direction: column;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
}
.mobile-nav { padding: 1rem 1.5rem; }
.mobile-nav a {
  display: block; padding: .875rem .5rem;
  font-size: 1.125rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  padding-top: 5rem; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(252,252,252,.95) 0%, rgba(252,252,252,.8) 50%, rgba(252,252,252,.25) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 42rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem .875rem; border-radius: 9999px;
  background: rgba(44, 107, 62, .1); border: 1px solid rgba(44, 107, 62, .25);
  color: var(--primary); font-size: .875rem; font-weight: 500; margin-bottom: 1rem;
}
.hero-headline-wrap {
  min-height: 7rem; display: flex; flex-direction: column; justify-content: flex-end; margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700; line-height: 1.1; color: var(--fg);
  opacity: 0; transform: translateY(1rem);
  transition: opacity .5s ease, transform .5s ease;
  position: absolute;
}
.hero-headline.active { opacity: 1; transform: translateY(0); }
.hero-headline.exit { opacity: 0; transform: translateY(-1rem); }
.hero-subtitle {
  font-size: 1.125rem; color: var(--muted-fg); max-width: 36rem; margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-float {
  position: absolute; z-index: 2; background: var(--card);
  border: 1px solid var(--border); border-radius: 1rem;
  padding: 1rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .875rem;
  cursor: pointer; transition: var(--transition);
}
.hero-float:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.hero-float-1 { top: 35%; right: 8%; }
.hero-float-2 { bottom: 25%; right: 22%; }
.hero-float img {
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  object-fit: cover; border: 2px solid rgba(44,107,62,.15);
  flex-shrink: 0;
}
.hero-float-icon {
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: rgba(200, 130, 26, .15); color: var(--secondary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-float p { font-weight: 700; font-size: .875rem; }
.hero-float span { font-size: .75rem; color: var(--muted-fg); }
@media(max-width:900px){ .hero-float { display: none; } }

/* ============================================================
   CATEGORY NAV
   ============================================================ */
.category-nav {
  padding: 3rem 0; background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.category-nav p.label {
  text-align: center; font-size: .75rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-fg); margin-bottom: 1.5rem;
}
.category-scroll {
  display: flex; overflow-x: auto; gap: 1.25rem;
  padding: .5rem .5rem 1rem;
  justify-content: flex-start;
}
@media(min-width:700px){ .category-scroll { justify-content: center; } }
.category-item {
  display: flex; flex-direction: column; align-items: center; gap: .625rem;
  min-width: 5.5rem; cursor: pointer; transition: var(--transition);
}
.category-item:hover { transform: translateY(-4px) scale(1.04); }
.category-icon {
  width: 4rem; height: 4rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.category-item:hover .category-icon { box-shadow: var(--shadow-md); border-color: rgba(44,107,62,.3); }
.category-item span { font-size: .8125rem; font-weight: 500; color: var(--muted-fg); text-align: center; transition: var(--transition); }
.category-item:hover span { color: var(--primary); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: 3rem; }
.section-tag {
  display: inline-block; padding: .375rem 1rem; border-radius: 9999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-tag.green { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(44,107,62,.2); }
.section-tag.amber { background: var(--secondary-light); color: var(--secondary-hover); border: 1px solid rgba(200,130,26,.2); }
.section-title { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; color: var(--fg); margin-bottom: .75rem; }
.section-subtitle { font-size: 1.0625rem; color: var(--muted-fg); max-width: 40rem; }
.section-header-flex { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--card); border-radius: 1.25rem;
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  transition: var(--transition); cursor: default;
}
.product-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.product-img-wrap {
  position: relative; aspect-ratio: 1/1;
  background: rgba(0,0,0,.02); padding: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.1); }
.product-tags { position: absolute; top: .75rem; left: .75rem; display: flex; flex-direction: column; gap: .375rem; z-index: 1; }
.product-quick-view {
  position: absolute; inset: 0; background: rgba(0,0,0,.18); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s ease; z-index: 2;
}
.product-card:hover .product-quick-view { opacity: 1; }
.product-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-rating { display: flex; align-items: center; gap: .25rem; font-size: .875rem; margin-bottom: .5rem; }
.product-rating .star { color: var(--secondary); font-size: .875rem; }
.product-rating .count { color: var(--muted-fg); }
.product-name { font-family: var(--font-sans); font-weight: 600; font-size: 1rem; line-height: 1.4; margin-bottom: auto; }
.product-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 1rem; }
.product-price { font-size: 1.5rem; font-weight: 700; }
.product-price-orig { font-size: .875rem; color: var(--muted-fg); text-decoration: line-through; }
.product-unit { font-size: .75rem; color: var(--muted-fg); }
.product-out-of-stock { font-size: .75rem; color: var(--destructive); font-weight: 600; margin-top: .625rem; }
.sale-badge {
  position: absolute; top: .75rem; right: .75rem;
  font-size: .75rem; font-weight: 800; color: var(--destructive);
  background: rgba(220,38,38,.1); border: 1px solid rgba(220,38,38,.2);
  padding: .2rem .5rem; border-radius: .375rem;
}

/* ============================================================
   HALAL MEAT SHOWCASE
   ============================================================ */
.meat-section {
  position: relative; padding: 6rem 0; overflow: hidden;
}
.meat-bg { position: absolute; inset: 0; z-index: 0; }
.meat-bg img { width: 100%; height: 100%; object-fit: cover; }
.meat-bg::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,.7); backdrop-filter: blur(1px); }
.meat-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media(min-width:900px){ .meat-inner { grid-template-columns: 1fr 1fr; } }
.meat-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.125rem; border-radius: 9999px;
  background: rgba(44,107,62,.18); border: 1px solid rgba(44,107,62,.4);
  color: #fff; font-size: .875rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.meat-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: #fff; margin-bottom: 1.5rem; line-height: 1.1; }
.meat-title em { color: hsl(130,53%,55%); font-style: italic; }
.meat-desc { color: rgba(255,255,255,.8); font-size: 1.0625rem; max-width: 34rem; margin-bottom: 2rem; line-height: 1.7; }
.meat-features { margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: .875rem; }
.meat-feature { display: flex; align-items: center; gap: .75rem; }
.meat-feature-dot { width: 1.5rem; height: 1.5rem; border-radius: 9999px; background: rgba(44,107,62,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.meat-feature-dot span { width: .5rem; height: .5rem; border-radius: 9999px; background: hsl(130,53%,55%); }
.meat-feature p { color: rgba(255,255,255,.9); font-weight: 500; }
.meat-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.meat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.meat-card {
  background: rgba(255,255,255,.08); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 1.25rem;
  padding: 1rem; overflow: hidden; transition: var(--transition); cursor: pointer;
}
.meat-card:hover { background: rgba(255,255,255,.16); }
.meat-col-2 { padding-top: 3rem; }
.meat-card-img { aspect-ratio: 4/3; border-radius: .75rem; overflow: hidden; margin-bottom: .75rem; position: relative; }
.meat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.meat-card:hover .meat-card-img img { transform: scale(1.1); }
.meat-card h4 { color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: .9375rem; }
.meat-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.meat-card-price { color: hsl(130,53%,55%); font-weight: 700; font-size: .875rem; }
.meat-card .btn-icon-sm {
  width: 1.75rem; height: 1.75rem; border-radius: 9999px;
  background: rgba(44,107,62,.5); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
}
.meat-card .btn-icon-sm:hover { background: var(--primary); }
.meat-card .btn-icon-sm.added { background: var(--green-success); }

/* ============================================================
   WEEKLY DEALS
   ============================================================ */
.deals-section { padding: 5rem 0; background: var(--bg); }
.deals-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 3rem;
}
.deal-card {
  position: relative; background: var(--card); border-radius: 1.25rem;
  border: 1px solid var(--border); overflow: hidden;
  transition: var(--transition);
}
.deal-card:hover { box-shadow: var(--shadow-xl); }
.deal-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--muted); position: relative; display: flex; align-items: center; justify-content: center; }
.deal-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 1.25rem; transition: transform .5s ease; }
.deal-card:hover .deal-card-img img { transform: scale(1.08); }
.deal-discount {
  position: absolute; top: .75rem; right: .75rem;
  font-size: .875rem; font-weight: 800; color: var(--destructive);
  background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.2);
  padding: .2rem .625rem; border-radius: .375rem;
}
.deal-body { padding: 1.25rem; }
.deal-tag { margin-bottom: .75rem; }
.deal-name { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; margin-bottom: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-desc { font-size: .8125rem; color: var(--muted-fg); margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-prices { display: flex; align-items: baseline; gap: .625rem; margin-bottom: 1rem; }
.deal-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.deal-orig { font-size: .9375rem; color: var(--muted-fg); text-decoration: line-through; }
.deal-unit { font-size: .75rem; color: var(--muted-fg); }
.deal-countdown {
  background: var(--muted); border-radius: .75rem; padding: .625rem .875rem;
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  font-size: .8125rem;
}
.countdown-digits { display: flex; align-items: center; gap: .25rem; font-family: monospace; font-weight: 700; font-size: .875rem; }
.countdown-seg { background: var(--card); border: 1px solid var(--border); border-radius: .25rem; padding: .15rem .4rem; }
.deal-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1rem; border-radius: .75rem; font-weight: 600; font-size: .9rem;
  background: var(--primary); color: #fff; transition: var(--transition);
}
.deal-btn:hover { background: var(--primary-hover); }
.deal-btn.added { background: var(--green-success); }
.loyalty-banner {
  background: linear-gradient(135deg, var(--primary), hsl(130,53%,30%));
  border-radius: 1.25rem; padding: 2.5rem 3rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.loyalty-text h3 { font-size: 1.75rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.loyalty-text p { color: rgba(255,255,255,.8); max-width: 34rem; font-size: 1rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section { padding: 5rem 0; background: var(--muted); }
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media(min-width:900px){ .about-grid { grid-template-columns: 1fr 1fr; } }
.about-img { border-radius: 1.5rem; overflow: hidden; aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.about-stat { background: var(--card); border-radius: 1rem; padding: 1.25rem; border: 1px solid var(--border); }
.about-stat .num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--primary); }
.about-stat p { font-size: .8125rem; color: var(--muted-fg); font-weight: 500; }

/* ============================================================
   DELIVERY
   ============================================================ */
.delivery-section { padding: 5rem 0; background: var(--bg); }
.delivery-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.delivery-card {
  background: var(--card); border-radius: 1.25rem; padding: 1.75rem;
  border: 1px solid var(--border); transition: var(--transition); text-align: center;
}
.delivery-card:hover { box-shadow: var(--shadow-md); border-color: rgba(44,107,62,.25); transform: translateY(-3px); }
.delivery-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.delivery-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.delivery-card p { font-size: .875rem; color: var(--muted-fg); line-height: 1.6; }

/* ============================================================
   RECIPE
   ============================================================ */
.recipe-section { padding: 5rem 0; background: var(--muted); }
.recipe-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.recipe-card {
  background: var(--card); border-radius: 1.25rem; overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition); cursor: pointer;
}
.recipe-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.recipe-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.recipe-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.recipe-card:hover .recipe-img img { transform: scale(1.1); }
.recipe-tags { position: absolute; top: .75rem; left: .75rem; display: flex; flex-wrap: wrap; gap: .375rem; }
.recipe-tag-pill { font-size: .625rem; font-weight: 700; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); color: #fff; border-radius: .25rem; padding: .2rem .5rem; }
.recipe-gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.recipe-cuisine { position: absolute; bottom: .75rem; left: .75rem; font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.9); }
.recipe-body { padding: 1.25rem; }
.recipe-body h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; margin-bottom: .75rem; line-height: 1.4; transition: var(--transition); }
.recipe-card:hover .recipe-body h3 { color: var(--primary); }
.recipe-meta { display: flex; align-items: center; gap: 1rem; font-size: .8125rem; color: var(--muted-fg); }
.recipe-meta span { display: flex; align-items: center; gap: .375rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 5rem 0; background: var(--bg); }
.testimonials-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.testimonial-card {
  background: var(--card); border-radius: 1.25rem; padding: 1.75rem;
  border: 1px solid var(--border); transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--secondary); font-size: 1rem; margin-bottom: .875rem; }
.testimonial-text { font-size: .9375rem; color: var(--fg); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 2.75rem; height: 2.75rem; border-radius: 9999px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: .9375rem; }
.testimonial-location { font-size: .8125rem; color: var(--muted-fg); }

/* ============================================================
   STORE LOCATIONS
   ============================================================ */
.locations-section { padding: 5rem 0; background: var(--muted); }
.locations-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-bottom: 3rem; }
.location-card {
  background: var(--card); border-radius: 1.25rem; padding: 1.75rem;
  border: 1px solid var(--border); transition: var(--transition);
}
.location-card:hover { box-shadow: var(--shadow-md); }
.location-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.location-name { font-family: var(--font-sans); font-weight: 700; font-size: 1rem; }
.location-status { font-size: .75rem; font-weight: 700; padding: .25rem .625rem; border-radius: 9999px; }
.status-open { background: rgba(22,163,74,.12); color: #16a34a; }
.status-closed { background: rgba(220,38,38,.1); color: var(--destructive); }
.location-addr { font-size: .875rem; color: var(--muted-fg); margin-bottom: .75rem; line-height: 1.6; }
.location-hours { font-size: .8125rem; color: var(--muted-fg); display: flex; flex-direction: column; gap: .25rem; }
.location-hours span { font-weight: 600; color: var(--fg); }
.map-embed { border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 350px; border: none; display: block; }

/* ============================================================
   CONTACT / NEWSLETTER
   ============================================================ */
.contact-section { padding: 5rem 0; background: var(--bg); }
.contact-grid { display: grid; gap: 3rem; }
@media(min-width:900px){ .contact-grid { grid-template-columns: 1fr 1fr; } }
.newsletter-box {
  background: linear-gradient(135deg, var(--primary), hsl(130,53%,30%));
  border-radius: 1.5rem; padding: 2.5rem;
}
.newsletter-box h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.newsletter-box p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; font-size: .9375rem; }
.newsletter-form { display: flex; flex-direction: column; gap: .75rem; }
@media(min-width:500px){ .newsletter-form { flex-direction: row; } }
.newsletter-input {
  flex: 1; padding: .875rem 1.25rem; border-radius: 9999px;
  border: none; background: rgba(255,255,255,.15); color: #fff;
  font-size: .9375rem; outline: none;
  backdrop-filter: blur(4px);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-input:focus { background: rgba(255,255,255,.22); }
.contact-form-box { background: var(--card); border-radius: 1.5rem; padding: 2.5rem; border: 1px solid var(--border); }
.contact-form-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.125rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .375rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: .75rem 1rem; border-radius: .75rem;
  border: 1px solid var(--border); background: var(--bg); font-size: .9375rem; color: var(--fg);
  transition: var(--transition);
}
.form-input:focus, .form-textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(44,107,62,.1); }
.form-textarea { resize: vertical; min-height: 7rem; }
.form-submit { width: 100%; margin-top: .5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--fg); color: rgba(255,255,255,.75); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-bottom: 3rem; }
.footer-brand { grid-column: span 2; }
.footer-brand-name { font-family: var(--font-serif); color: #fff; font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; }
.footer-brand-name span { color: hsl(130,53%,55%); font-style: italic; font-weight: 400; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 20rem; color: rgba(255,255,255,.55); margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: .75rem; }
.footer-social {
  width: 2.25rem; height: 2.25rem; border-radius: .5rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: var(--transition);
  font-size: .875rem; font-weight: 700;
}
.footer-social:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: .9375rem; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: .8125rem; color: rgba(255,255,255,.4);
}
.footer-badges { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-badge {
  font-size: .7rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: .25rem; padding: .2rem .5rem; color: rgba(255,255,255,.6); font-weight: 500;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 3.25rem; height: 3.25rem; border-radius: 9999px;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.5); font-size: 1.5rem;
  transition: var(--transition); animation: pulse 2s infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 16px rgba(37,211,102,.5), 0 0 0 10px rgba(37,211,102,.0); }
}

/* ============================================================
   CART PANEL
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.45);
  display: none; opacity: 0; transition: opacity .3s ease;
}
.cart-overlay.open { display: block; opacity: 1; }
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
  width: min(420px, 100vw); background: var(--card);
  border-left: 1px solid var(--border); box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cart-panel.open { transform: translateX(0); }
.cart-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.cart-header h2 { font-family: var(--font-sans); font-weight: 700; font-size: 1.125rem; }
.cart-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; gap: 1rem; color: var(--muted-fg);
}
.cart-empty .icon { font-size: 3rem; opacity: .3; }
.cart-empty p { font-size: 1rem; font-weight: 600; }
.cart-empty small { font-size: .875rem; }
.cart-empty-shop { margin-top: .5rem; }
.cart-item {
  display: flex; gap: .875rem; padding: 1rem 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
}
.cart-item-img {
  width: 4.5rem; height: 4.5rem; border-radius: .75rem; background: var(--muted);
  flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: .375rem; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: .9375rem; line-height: 1.3; margin-bottom: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-meta { font-size: .75rem; color: var(--muted-fg); margin-bottom: .625rem; }
.cart-item-footer { display: flex; align-items: center; justify-content: space-between; }
.qty-control {
  display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: .75rem; overflow: hidden;
}
.qty-btn { width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; transition: var(--transition); }
.qty-btn:hover { background: var(--muted); }
.qty-num { width: 2rem; text-align: center; font-size: .875rem; font-weight: 600; }
.cart-item-price { font-weight: 700; font-size: 1rem; }
.cart-item-remove { font-size: .875rem; color: var(--muted-fg); padding: .25rem; border-radius: .375rem; transition: var(--transition); }
.cart-item-remove:hover { color: var(--destructive); background: rgba(220,38,38,.07); }
.cart-footer {
  padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); flex-shrink: 0;
  background: var(--card);
}
.cart-delivery-bar {
  background: var(--primary-light); border: 1px solid rgba(44,107,62,.2);
  border-radius: .75rem; padding: .625rem .875rem; margin-bottom: 1rem;
  font-size: .8125rem; color: var(--primary); font-weight: 500;
}
.cart-delivery-bar.free { background: rgba(22,163,74,.1); border-color: rgba(22,163,74,.2); color: #16a34a; }
.cart-promo { display: flex; gap: .5rem; margin-bottom: 1rem; }
.cart-promo input {
  flex: 1; padding: .625rem 1rem; border: 1px solid var(--border); border-radius: .75rem;
  font-size: .875rem; color: var(--fg); background: var(--bg);
}
.cart-promo input:focus { border-color: var(--primary); }
.cart-promo button {
  padding: .625rem 1.125rem; border-radius: .75rem; background: var(--muted);
  font-weight: 600; font-size: .875rem; border: 1px solid var(--border); transition: var(--transition);
}
.cart-promo button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.promo-applied { font-size: .8125rem; color: var(--green-success); font-weight: 600; margin-bottom: .75rem; display: flex; align-items: center; gap: .375rem; }
.promo-error { font-size: .8125rem; color: var(--destructive); margin-bottom: .75rem; }
.cart-totals { margin-bottom: 1rem; }
.cart-total-row { display: flex; justify-content: space-between; font-size: .875rem; margin-bottom: .5rem; }
.cart-total-row.grand { font-weight: 800; font-size: 1.0625rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.cart-checkout {
  width: 100%; padding: .875rem; border-radius: .875rem;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 1rem;
  transition: var(--transition);
}
.cart-checkout:hover { background: var(--primary-hover); }
.cart-payment { display: flex; justify-content: center; gap: .5rem; margin-top: .875rem; flex-wrap: wrap; }
.payment-badge { font-size: .7rem; background: var(--muted); border: 1px solid var(--border); border-radius: .25rem; padding: .2rem .5rem; color: var(--muted-fg); font-weight: 500; }

/* ============================================================
   MINI-CART TOAST
   ============================================================ */
.mini-cart-toast {
  position: fixed; top: 5rem; right: 1rem; z-index: 140;
  width: 20rem; background: var(--card); border: 1px solid var(--border);
  border-radius: 1.25rem; box-shadow: var(--shadow-xl); overflow: hidden;
  transform: translateX(120%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mini-cart-toast.show { transform: translateX(0); }
.mini-toast-header { padding: .875rem 1.125rem; background: rgba(44,107,62,.06); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.mini-toast-added { display: flex; align-items: center; gap: .5rem; color: var(--primary); font-weight: 600; font-size: .9375rem; }
.mini-toast-product { display: flex; align-items: center; gap: .75rem; padding: .875rem 1.125rem; border-bottom: 1px solid rgba(0,0,0,.05); }
.mini-toast-product img { width: 3.5rem; height: 3.5rem; object-fit: contain; border-radius: .625rem; background: var(--muted); padding: .25rem; flex-shrink: 0; }
.mini-toast-name { font-weight: 600; font-size: .875rem; line-height: 1.3; }
.mini-toast-price { color: var(--primary); font-weight: 700; font-size: .9375rem; }
.mini-toast-summary { padding: .75rem 1.125rem; background: var(--muted); display: flex; justify-content: space-between; align-items: center; font-size: .875rem; }
.mini-toast-actions { padding: .875rem 1.125rem; display: flex; flex-direction: column; gap: .5rem; }
.mini-toast-view { width: 100%; padding: .7rem; border-radius: .75rem; background: var(--primary); color: #fff; font-weight: 600; font-size: .9rem; display: flex; align-items: center; justify-content: center; gap: .375rem; transition: var(--transition); }
.mini-toast-view:hover { background: var(--primary-hover); }
.mini-toast-continue { width: 100%; padding: .6rem; border-radius: .75rem; border: 1px solid var(--border); font-weight: 500; font-size: .875rem; transition: var(--transition); }
.mini-toast-continue:hover { background: var(--muted); }

/* ============================================================
   QUICK VIEW MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card); border-radius: 1.5rem; max-width: 32rem; width: 100%;
  overflow: hidden; box-shadow: var(--shadow-xl); position: relative;
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity:0; transform: scale(.93); } to { opacity:1; transform: scale(1); } }
.modal-img { aspect-ratio: 16/9; overflow: hidden; background: var(--muted); display: flex; align-items: center; justify-content: center; }
.modal-img img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; }
.modal-close {
  position: absolute; top: .875rem; right: .875rem;
  width: 2rem; height: 2rem; border-radius: 9999px;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--muted-fg); transition: var(--transition);
}
.modal-close:hover { color: var(--fg); }
.modal-body { padding: 1.5rem; }
.modal-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.modal-title { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; }
.modal-desc { font-size: .9375rem; color: var(--muted-fg); line-height: 1.7; margin-bottom: 1.25rem; }
.modal-footer { display: flex; align-items: center; justify-content: space-between; }
.modal-price { font-size: 2rem; font-weight: 800; }
.modal-price span { font-size: .875rem; color: var(--muted-fg); font-weight: 400; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding: 8rem 0 4rem; background: linear-gradient(135deg, var(--primary-light), var(--bg));
  text-align: center;
}
.contact-hero h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 1rem; }
.contact-info-grid {
  display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-bottom: 4rem;
}
.contact-info-card {
  background: var(--card); border-radius: 1.25rem; padding: 2rem;
  border: 1px solid var(--border); text-align: center; transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-info-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.contact-info-card h3 { font-family: var(--font-sans); font-weight: 700; margin-bottom: .5rem; }
.contact-info-card p { font-size: .9375rem; color: var(--muted-fg); line-height: 1.6; }
.contact-full-form {
  background: var(--card); border-radius: 1.5rem; padding: 2.5rem;
  border: 1px solid var(--border); max-width: 600px; margin: 0 auto;
}
.form-row { display: grid; gap: 1rem; }
@media(min-width:580px){ .form-row { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp .5s ease forwards; }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media(max-width:768px) {
  .section { padding: 3.5rem 0; }
  .brand-name { display: none; }
  .loyalty-banner { padding: 1.75rem; }
  .hero-headline-wrap { min-height: 9rem; }
  .footer-brand { grid-column: span 1; }
}
@media(max-width:480px) {
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card .product-price { font-size: 1.125rem; }
}
