:root {
  --bg-cream: #fcf9f4;
  --bg-warm: #f5ede0;
  --card-bg: #ffffff;
  --deli-red: #991b1b;
  --deli-red-dark: #7f1d1d;
  --deli-gold: #b45309;
  --deli-gold-light: #fef3c7;
  --ink-dark: #1e293b;
  --ink-muted: #475569;
  --border-light: #e2d9c8;
  --shadow-sm: 0 2px 8px rgba(30, 41, 59, 0.06);
  --shadow-md: 0 10px 25px rgba(30, 41, 59, 0.09);
  --radius-md: 12px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-cream);
  color: var(--ink-dark);
  line-height: 1.6;
}

h1, h2, h3, .brand-title {
  font-family: Georgia, "Times New Roman", serif;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--deli-red-dark);
  color: #fef3c7;
  font-size: 0.875rem;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.2px;
}

/* Header & Navigation */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink-dark);
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--deli-red);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: Georgia, serif;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--deli-red);
}

.cart-btn {
  background: var(--deli-red);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease;
}

.cart-btn:hover {
  background: var(--deli-red-dark);
}

.cart-count {
  background: #fef3c7;
  color: var(--deli-red-dark);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-cream) 100%);
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--deli-gold-light);
  color: var(--deli-gold);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: #111827;
}

.hero p {
  font-size: 1.06rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-primary {
  background: var(--deli-red);
  color: #ffffff;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
}

.btn-primary:hover {
  background: var(--deli-red-dark);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink-dark);
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid var(--border-light);
  cursor: pointer;
  font-size: 0.98rem;
}

.btn-secondary:hover {
  border-color: var(--ink-muted);
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-md);
}

.hero-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.hero-caption {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Digital Deli Ticket Strip */
.ticket-strip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.ticket-display {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticket-number-box {
  background: #111827;
  color: #fbbf24;
  font-family: "Courier New", monospace;
  font-weight: 800;
  font-size: 1.55rem;
  padding: 8px 16px;
  border-radius: 8px;
  letter-spacing: 1px;
}

/* Section Headings */
.section {
  padding: 56px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--ink-muted);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-dark);
  transition: all 0.15s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--deli-red);
  color: #ffffff;
  border-color: var(--deli-red);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-warm);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.product-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-warm);
  color: var(--deli-gold);
}

.product-price {
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--deli-red);
}

.product-card h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.control-group {
  margin-bottom: 12px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-dark);
}

.pill-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.pill-opt {
  border: 1px solid var(--border-light);
  background: var(--bg-cream);
  padding: 6px 4px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.pill-opt.selected {
  background: var(--ink-dark);
  color: #ffffff;
  border-color: var(--ink-dark);
}

/* Slice Thickness Visual Bar */
.thickness-bar-wrap {
  background: var(--bg-warm);
  border-radius: 6px;
  padding: 6px 10px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.thickness-line {
  width: 64px;
  background: var(--deli-red);
  border-radius: 99px;
  transition: height 0.15s ease;
}

.note-input {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.86rem;
  margin-bottom: 14px;
}

.add-btn {
  width: 100%;
  background: var(--deli-red);
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 11px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.94rem;
}

.add-btn:hover {
  background: var(--deli-red-dark);
}

/* Team & Food Safety Showcase */
.showcase-section {
  background: var(--bg-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.showcase-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border-light);
}

.showcase-body {
  padding: 20px;
}

.showcase-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.showcase-body p {
  color: var(--ink-muted);
  font-size: 0.94rem;
}

/* Cart Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  display: none;
  z-index: 60;
}

.drawer-backdrop.open {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #ffffff;
  z-index: 70;
  box-shadow: -8px 0 28px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.22s ease;
}

.cart-drawer.open {
  right: 0;
}

.drawer-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink-muted);
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}

.cart-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.cart-item-meta {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 4px 0;
}

.remove-link {
  background: none;
  border: none;
  color: var(--deli-red);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.drawer-foot {
  padding: 18px 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-cream);
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Footer */
.site-footer {
  background: #1e293b;
  color: #e2e8f0;
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: 24px;
}

.site-footer h4 {
  color: #ffffff;
  margin-bottom: 10px;
}

.site-footer p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 18px;
  font-size: 0.84rem;
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 860px) {
  .hero-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
