:root {
  --brand: #1d4ed8;
  --brand-dark: #1538a8;
  --accent: #f97316;
  --bg: #f5f8ff;
  --card: #ffffff;
  --text: #16203a;
  --muted: #647089;
  --border: #dde5f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.site-header {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: white;
  padding: 24px 20px;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.brand-name {
  font-size: 21px;
  font-weight: 700;
}

.tagline {
  margin: 6px 0 0;
  opacity: 0.9;
  font-size: 14px;
}

.hours-line {
  margin: 4px 0 0;
  opacity: 0.75;
  font-size: 12px;
  font-style: italic;
}

.page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 800px) {
  .page {
    grid-template-columns: 2fr 1fr;
    align-items: flex-start;
  }
}

h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-dark);
  margin: 0 0 12px;
  font-weight: 700;
}

.section-spacer { margin-top: 26px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.06);
}

.product-name {
  font-weight: 700;
  font-size: 15px;
}

.product-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
}

.add-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.add-btn:hover { background: #c2570c; }

.basket-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  position: sticky;
  top: 16px;
  height: fit-content;
}

.basket-items { min-height: 40px; margin-bottom: 12px; }
.empty-basket { color: var(--muted); font-size: 14px; }

.basket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.basket-row button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
}

.basket-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 0;
  border-top: 2px solid var(--border);
  margin-top: 6px;
}

.slot-picker {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slot-picker label { font-size: 13px; color: var(--muted); }

.slot-picker input,
.slot-picker select {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.checkout-btn {
  width: 100%;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.checkout-btn:disabled { background: #b7c4e6; cursor: not-allowed; }
.checkout-btn:not(:disabled):hover { background: var(--brand-dark); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.overlay.hidden { display: none; }

.confirmation-box {
  background: white;
  border-radius: 14px;
  padding: 24px;
  max-width: 380px;
  text-align: center;
}

.confirmation-box h3 { margin-top: 0; color: var(--brand-dark); }
.confirmation-box p { color: var(--muted); font-size: 14px; line-height: 1.5; }

.site-nav {
  margin-top: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
}

.site-nav a.active { background: rgba(255,255,255,0.92); color: var(--brand-dark); }

.stats-bar {
  background: var(--text);
  color: white;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 24px 20px;
  flex-wrap: wrap;
}

.stat-block { text-align: center; }
.stat-num { display: block; font-size: 26px; font-weight: 800; color: var(--accent); }
.stat-label { display: block; font-size: 12px; opacity: 0.85; margin-top: 4px; }

.banner-hero {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.banner-hero h1 { font-size: 30px; margin: 0 0 14px; }
.banner-hero p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 26px; }

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
}

.cta-btn:hover { background: #c2570c; }

.feed-page {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-tile {
  height: 280px;
  background: linear-gradient(135deg, #dde8ff, #c2d4ff);
  border: 1px dashed var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 10px;
}

.page-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-style: italic;
  margin-top: 10px;
}

.cta-contact {
  max-width: 500px;
  margin: 0 auto;
  padding: 70px 20px;
  text-align: center;
}

.cta-contact h1 { font-size: 24px; margin: 0 0 12px; }
.cta-contact p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }

.site-footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.site-footer a { color: var(--brand); font-weight: 600; text-decoration: none; }
