/* Foodie WordPress Theme Storefront Styles — Build v1.0.12 */
:root {
  --foodie-accent: #59A618;
  --foodie-hero-bg: #F7B104;
}

.foodie-wp-wrapper {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #18181b;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.foodie-wp-wrapper * {
  box-sizing: border-box;
}

/* 1. TOP NAVIGATION BAR: Exact Logo & All Navigation Buttons */
.foodie-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4e4e7;
}
.foodie-brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}
.foodie-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--foodie-accent);
  letter-spacing: -0.5px;
  text-decoration: none;
  line-height: 1;
}
.foodie-badge-pill {
  font-size: 11px;
  font-weight: 700;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.foodie-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #52525b;
}
.foodie-nav-btn {
  background: none;
  border: none;
  padding: 6px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #52525b;
  cursor: pointer;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.foodie-nav-btn:hover, .foodie-nav-btn.active {
  color: #09090b;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.foodie-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.foodie-auth-btn {
  background: #ffffff;
  border: 1px solid #d4d4d8;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #18181b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.foodie-auth-btn:hover {
  background: #f4f4f5;
  border-color: #a1a1aa;
}
.foodie-logout-btn {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.foodie-cart-btn {
  background: #18181b;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.foodie-cart-btn:hover {
  background: #27272a;
}
.foodie-cart-count-badge {
  background: var(--foodie-accent);
  color: #fff;
  border-radius: 9999px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 800;
}

/* 2. SEARCH & CUSTOMER SUPPORT BAR */
.foodie-utility-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}
.foodie-search-box {
  display: flex;
  flex: 1;
  max-width: 520px;
}
.foodie-search-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  border: 1px solid #d4d4d8;
  border-right: none;
  background: #ffffff;
  outline: none;
}
.foodie-search-submit {
  background: var(--foodie-accent);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foodie-support-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.foodie-support-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #e4e4e7;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foodie-accent);
  font-size: 16px;
}
.foodie-support-info {
  font-size: 12px;
  line-height: 1.25;
}
.foodie-support-phone {
  font-weight: 700;
  color: #18181b;
  font-size: 13px;
  margin-top: 2px;
}

/* 3. HERO BANNER GRID (3 Columns: Main, Side Promos, Tall Promo) */
.foodie-hero-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
@media (max-width: 960px) {
  .foodie-hero-container {
    grid-template-columns: 1fr;
  }
}
.foodie-hero-main {
  background: var(--foodie-hero-bg);
  padding: 32px 28px;
  border-radius: 2px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}
.foodie-hero-badge {
  background: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  width: fit-content;
  margin-bottom: 12px;
}
.foodie-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.foodie-hero-desc {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.95;
  margin: 0 0 18px;
  max-width: 440px;
}
.foodie-hero-cta {
  background: #18181b;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 800;
  width: fit-content;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.foodie-promo-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.foodie-promo-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #18181b;
}
.foodie-promo-card p {
  font-size: 12px;
  color: #71717a;
  margin: 0 0 14px;
}
.foodie-promo-btn {
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #18181b;
  cursor: pointer;
  width: fit-content;
}
.foodie-promo-btn:hover {
  background: var(--foodie-accent);
  color: #fff;
  border-color: var(--foodie-accent);
}
.foodie-tall-card {
  background: #18181b;
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.foodie-tall-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
}

/* 4. CATEGORY PILLS BAR */
.foodie-cats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.foodie-cat-pill {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #52525b;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.15s;
}
.foodie-cat-pill:hover {
  border-color: #a1a1aa;
  color: #18181b;
}
.foodie-cat-pill.active {
  background: var(--foodie-accent);
  color: #ffffff;
  border-color: var(--foodie-accent);
}

/* 5. PRODUCT CARDS GRID */
.foodie-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.foodie-product-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.foodie-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}
.foodie-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f4f4f5;
}
.foodie-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.foodie-tag-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #18181b;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
}
.foodie-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.foodie-card-store {
  font-size: 11px;
  font-weight: 700;
  color: #d97706;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.foodie-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #18181b;
  margin: 0 0 6px;
}
.foodie-card-desc {
  font-size: 12px;
  color: #71717a;
  line-height: 1.4;
  margin: 0 0 12px;
  flex: 1;
}
.foodie-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #71717a;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f4f4f5;
}
.foodie-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.foodie-card-price {
  font-size: 18px;
  font-weight: 800;
  color: #18181b;
}
.foodie-card-oldprice {
  font-size: 13px;
  color: #a1a1aa;
  text-decoration: line-through;
}
.foodie-card-actions {
  display: flex;
  gap: 6px;
}
.foodie-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #d4d4d8;
  height: 36px;
}
.foodie-qty-btn {
  background: #f4f4f5;
  border: none;
  width: 28px;
  height: 100%;
  font-weight: 700;
  cursor: pointer;
}
.foodie-qty-val {
  width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
.foodie-add-btn {
  flex: 1;
  background: #ffffff;
  border: 1px solid #18181b;
  color: #18181b;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
  height: 36px;
  cursor: pointer;
  transition: all 0.15s;
}
.foodie-add-btn:hover {
  background: var(--foodie-accent);
  border-color: var(--foodie-accent);
  color: #ffffff;
}
.foodie-custom-btn {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 0 10px;
  height: 36px;
  cursor: pointer;
}

/* 6. MODALS & SIDE DRAWERS (Cart, Customizer, Tracker, Auth) */
.foodie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.foodie-modal-box {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.foodie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #71717a;
}
.foodie-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 24px rgba(0,0,0,0.2);
}
.foodie-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid #e4e4e7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.foodie-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}
.foodie-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid #e4e4e7;
  background: #fafafa;
}

/* 7. ALL SHOPS DIRECTORY & LIVE QUEUE VIEW ("Done, Ready for Pick Up") */
.foodie-shops-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.foodie-shop-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.foodie-shop-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f4f4f5;
}
.foodie-shop-status {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 2px;
}
.foodie-shop-status.open {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.foodie-queue-item {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.foodie-pickup-btn {
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 2px;
}
.foodie-pickup-btn:hover {
  background: #15803d;
}
.foodie-pickup-btn.done {
  background: #e4e4e7;
  color: #71717a;
  cursor: default;
}

/* 8. FOOTER */
.foodie-footer {
  border-top: 1px solid #e4e4e7;
  padding-top: 32px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 12px;
  color: #71717a;
}
.foodie-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.foodie-footer-phone {
  font-weight: 700;
  color: #18181b;
  font-size: 13px;
}
