/* ==========================================================================
   MDee's Fast Food & Pizza - Stylesheet
   Pure Flat Architecture, Solid Color Blocking
   Strict Zero Tolerance: No soft shadows, no decorative glows
   ========================================================================== */

/* --------------------------------------------------------------------------
   Google Fonts: Lilita One (Display) & DM Sans (Body)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Lilita+One&display=swap');

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (The Six Root Color Variables)
   -------------------------------------------------------------------------- */
:root {
  /* The Six Flat Solid Colors */
  --blue: #0A5BC4;
  --yellow: #FFC72C;
  --white: #FFFFFF;
  --ink: #0B1B33;
  --cream: #FFF8E7;
  --green: #11733C;

  /* Typography */
  --font-display: 'Lilita One', Impact, 'Arial Black', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --text-base-size: 17px;
  --line-height-body: 1.55;
  --line-height-display: 0.95;

  /* Display Type Scale */
  --display-xl: clamp(2.75rem, 7vw, 5.5rem);
  --display-lg: clamp(2.25rem, 5vw, 4rem);
  --display-md: clamp(1.75rem, 3.5vw, 2.75rem);
  --display-sm: clamp(1.25rem, 2.5vw, 1.875rem);

  /* Layout & Spacing */
  --max-width: 1200px;
  --gutter-mobile: 24px;
  --gutter-desktop: 24px;
  --section-spacing-mobile: 56px;
  --section-spacing-desktop: 96px;

  /* Structural Borders (Max 8px radius) */
  --border-width: 2px;
  --border-ink: 2px solid var(--ink);
  --border-white: 2px solid var(--white);
  --border-blue: 2px solid var(--blue);
  --radius-sharp: 0px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Elements
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  font-size: var(--text-base-size);
  line-height: var(--line-height-body);
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--line-height-body);
  overflow-x: hidden;
  max-width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Accessible Visible Focus Outlines (3px Solid Ink or White)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.site-header :focus-visible,
.food-ticker :focus-visible,
.deals-section :focus-visible,
.story-section :focus-visible,
.site-footer :focus-visible,
.bg-blue :focus-visible,
.bg-ink :focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. Typography Utilities
   -------------------------------------------------------------------------- */
.display-xl {
  font-family: var(--font-display);
  font-size: var(--display-xl);
  line-height: var(--line-height-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: var(--display-lg);
  line-height: var(--line-height-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.display-md {
  font-family: var(--font-display);
  font-size: var(--display-md);
  line-height: var(--line-height-display);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}

.display-sm {
  font-family: var(--font-display);
  font-size: var(--display-sm);
  line-height: var(--line-height-display);
  text-transform: uppercase;
}

.body-large {
  font-size: 1.176rem;
  line-height: 1.5;
}

.body-regular {
  font-size: 1rem;
  line-height: var(--line-height-body);
}

.body-small {
  font-size: 0.882rem;
  line-height: 1.45;
}

.text-bold {
  font-weight: 700;
}

.text-uppercase {
  text-transform: uppercase;
}

/* Price Tags (Solid yellow rectangle with ink text, mirrors printed menu) */
.price-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  background-color: var(--yellow);
  color: var(--ink);
  border: var(--border-ink);
  padding: 6px 14px;
  border-radius: var(--radius-sharp);
  white-space: nowrap;
}

.price-tag-lg {
  font-size: 1.75rem;
  padding: 8px 18px;
}

/* --------------------------------------------------------------------------
   5. Buttons (Rectangular, 2px solid border, 14px 28px padding, Lilita One)
   Instant fill swap on hover.
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border: var(--border-ink);
  border-radius: var(--radius-sharp);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: none;
}

/* Primary: Yellow fill with Ink text */
.btn-primary {
  background-color: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--ink);
  color: var(--yellow);
}

/* Secondary (on light backgrounds): Transparent fill with 2px ink border */
.btn-secondary {
  background-color: transparent;
  color: var(--ink);
  border: var(--border-ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--ink);
  color: var(--white);
}

/* Secondary (on blue backgrounds): Transparent fill with 2px white border */
.btn-secondary-white {
  background-color: transparent;
  color: var(--white);
  border: var(--border-white);
}

.btn-secondary-white:hover,
.btn-secondary-white:focus-visible {
  background-color: var(--white);
  color: var(--blue);
}

/* Primary Button with Blue Fill & White Text (For Hero) */
.btn-blue {
  background-color: var(--blue);
  color: var(--white);
  border: var(--border-ink);
}

.btn-blue:hover,
.btn-blue:focus-visible {
  background-color: var(--ink);
  color: var(--yellow);
}

/* Compact button variant for tight spaces */
.btn-compact {
  padding: 10px 18px;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   6. Large Solid Color Blocks
   -------------------------------------------------------------------------- */
.bg-blue {
  background-color: var(--blue);
  color: var(--white);
}

.bg-yellow {
  background-color: var(--yellow);
  color: var(--ink);
}

.bg-cream {
  background-color: var(--cream);
  color: var(--ink);
}

.bg-white {
  background-color: var(--white);
  color: var(--ink);
}

.bg-ink {
  background-color: var(--ink);
  color: var(--white);
}

.bg-blue a:not(.btn),
.bg-blue .highlight-text {
  color: var(--yellow);
}

.bg-blue .subdued-text {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   7. Layout: 12-Column Grid, Container & Section Spacing
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
}

.section-spacing {
  padding-top: var(--section-spacing-mobile);
  padding-bottom: var(--section-spacing-mobile);
  border-bottom: var(--border-ink);
}

.bg-blue.section-spacing {
  border-bottom: var(--border-ink);
}

@media (min-width: 768px) {
  .section-spacing {
    padding-top: var(--section-spacing-desktop);
    padding-bottom: var(--section-spacing-desktop);
  }
}

/* 12-Column Grid System */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter-mobile);
}

.col-12 { grid-column: span 12; }
.col-11 { grid-column: span 12; }
.col-10 { grid-column: span 12; }
.col-9  { grid-column: span 12; }
.col-8  { grid-column: span 12; }
.col-7  { grid-column: span 12; }
.col-6  { grid-column: span 12; }
.col-5  { grid-column: span 12; }
.col-4  { grid-column: span 12; }
.col-3  { grid-column: span 12; }
.col-2  { grid-column: span 12; }
.col-1  { grid-column: span 12; }

@media (min-width: 768px) {
  .col-md-12 { grid-column: span 12; }
  .col-md-11 { grid-column: span 11; }
  .col-md-10 { grid-column: span 10; }
  .col-md-9  { grid-column: span 9; }
  .col-md-8  { grid-column: span 8; }
  .col-md-7  { grid-column: span 7; }
  .col-md-6  { grid-column: span 6; }
  .col-md-5  { grid-column: span 5; }
  .col-md-4  { grid-column: span 4; }
  .col-md-3  { grid-column: span 3; }
  .col-md-2  { grid-column: span 2; }
  .col-md-1  { grid-column: span 1; }
}

@media (min-width: 1024px) {
  .col-lg-12 { grid-column: span 12; }
  .col-lg-11 { grid-column: span 11; }
  .col-lg-10 { grid-column: span 10; }
  .col-lg-9  { grid-column: span 9; }
  .col-lg-8  { grid-column: span 8; }
  .col-lg-7  { grid-column: span 7; }
  .col-lg-6  { grid-column: span 6; }
  .col-lg-5  { grid-column: span 5; }
  .col-lg-4  { grid-column: span 4; }
  .col-lg-3  { grid-column: span 3; }
  .col-lg-2  { grid-column: span 2; }
  .col-lg-1  { grid-column: span 1; }
}

/* --------------------------------------------------------------------------
   8. Site Header (Solid Blue Bar, 72px tall, Sticky, 2px Solid Ink Bottom)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 72px;
  background-color: var(--blue);
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.header-nav {
  display: none;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav-link {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

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

.header-cta-btn {
  display: none;
}

.nav-toggle-btn {
  display: inline-flex;
}

@media (min-width: 992px) {
  .header-nav {
    display: flex;
  }

  .header-cta-btn {
    display: inline-flex;
  }

  .nav-toggle-btn {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   9. Mobile Full-Screen Solid Blue Menu Panel
   -------------------------------------------------------------------------- */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--blue);
  z-index: 2000;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-panel.is-open {
  display: flex;
}

.mobile-nav-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
  border-bottom: 2px solid var(--ink);
  background-color: var(--blue);
  flex-shrink: 0;
}

.mobile-nav-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px var(--gutter-mobile);
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 0;
  border-bottom: 2px solid var(--white);
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

.mobile-nav-footer {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-footer .btn {
  width: 100%;
}

.mobile-locations-tagline {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow);
  line-height: 1.4;
  text-align: center;
}

/* --------------------------------------------------------------------------
   10. Hero Section (Two Halves, Poster-like, Mobile Responsive)
   -------------------------------------------------------------------------- */
.hero-section {
  display: flex;
  flex-direction: column;
  background-color: var(--yellow);
  border-bottom: 2px solid var(--ink);
  padding: 36px var(--gutter-mobile) 40px;
}

.hero-content-block {
  background-color: var(--yellow);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .hero-content-block {
    display: contents;
  }

  .hero-title {
    order: 1;
    margin-bottom: 16px;
  }

  .hero-body-text {
    order: 2;
    margin-bottom: 24px;
  }

  .hero-photo-block {
    order: 3;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 28px;
    aspect-ratio: 1 / 1;
    border: 2px solid var(--ink);
    background-color: var(--yellow);
    overflow: hidden;
  }

  .hero-btn-group {
    order: 4;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .hero-section {
    flex-direction: row;
    min-height: calc(100vh - 72px);
    min-height: calc(100dvh - 72px);
    padding: 0;
  }

  .hero-content-block {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 64px 48px 64px max(24px, calc((100vw - 1200px) / 2 + 24px));
    border-right: 2px solid var(--ink);
  }

  .hero-photo-block {
    flex: 0 0 50%;
    max-width: 50%;
    height: auto;
    min-height: 100%;
    border: none;
    margin: 0;
    aspect-ratio: auto;
    background-color: var(--yellow);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.5vw, 7.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  word-break: break-word;
}

.hero-title-line {
  display: block;
}

.hero-body-text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 520px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .hero-body-text {
    font-size: 1.25rem;
  }
}

.hero-btn-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

@media (min-width: 600px) {
  .hero-btn-group {
    flex-direction: row;
    align-items: center;
    width: auto;
  }
}

@media (max-width: 599px) {
  .hero-btn-group .btn {
    width: 100%;
  }
}

.hero-photo-block {
  position: relative;
  background-color: var(--yellow);
  overflow: hidden;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --------------------------------------------------------------------------
   11. Hero Facts Strip (Thin Solid Blue Bar with 3 Plain Text Facts)
   -------------------------------------------------------------------------- */
.hero-facts-strip {
  background-color: var(--blue);
  color: var(--white);
  border-bottom: 2px solid var(--ink);
  padding: 16px 0;
}

.hero-facts-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  text-align: center;
}

.hero-fact-item {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  white-space: nowrap;
}

.hero-fact-divider {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--yellow);
  user-select: none;
}

/* --------------------------------------------------------------------------
   12. Food Text Ticker (Partake-Style, Under Hero Strip)
   56px tall, Solid Ink, Yellow display face, 40s pure CSS translateX
   -------------------------------------------------------------------------- */
.food-ticker {
  height: 56px;
  background-color: var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  user-select: none;
}

.food-ticker-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: max-content;
  white-space: nowrap;
  animation: foodTickerScroll 40s linear infinite;
  will-change: transform;
}

.food-ticker:hover .food-ticker-track {
  animation-play-state: paused;
}

.food-ticker-item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow);
  white-space: nowrap;
  padding: 0 16px;
}

.food-ticker-slash {
  display: inline-block;
  margin-left: 28px;
  color: var(--yellow);
  font-weight: 900;
}

@keyframes foodTickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .food-ticker-track {
    animation: none !important;
    transform: none !important;
  }
  .food-ticker {
    overflow-x: auto;
  }
}

/* --------------------------------------------------------------------------
   13. Deals Section (Solid Blue Background, 2-Column List)
   -------------------------------------------------------------------------- */
.deals-section {
  background-color: var(--blue);
  color: var(--white);
  border-bottom: 2px solid var(--ink);
}

.deals-header {
  margin-bottom: 48px;
}

.deals-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  display: block;
  margin-bottom: 8px;
}

.deals-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
}

.deals-grid-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .deals-grid-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.deals-category-group {
  margin-bottom: 40px;
}

.deals-category-group:last-child {
  margin-bottom: 0;
}

.deals-category-heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--yellow);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--white);
  margin-bottom: 0;
}

.deal-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 2px solid var(--white);
}

@media (min-width: 540px) {
  .deal-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
}

.deal-info {
  flex: 1;
}

.deal-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 6px;
}

.deal-contents {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--white);
}

.deal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.deal-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
  background-color: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 8px 14px;
  white-space: nowrap;
}

.btn-deal-add {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  background-color: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  transition: none;
  white-space: nowrap;
}

.btn-deal-add:hover,
.btn-deal-add:focus-visible {
  background-color: var(--ink);
  color: var(--white);
}

.btn-deal-add.is-added {
  background-color: var(--yellow);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   14. Full Menu Section (Cream Background, Sticky Tabs, S/M/L Pizza Prices)
   -------------------------------------------------------------------------- */
.menu-section {
  background-color: var(--cream);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}

.menu-header {
  margin-bottom: 32px;
}

.menu-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}

.menu-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--ink);
}

.menu-tabs-bar {
  position: sticky;
  top: 72px;
  z-index: 500;
  background-color: var(--cream);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 12px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  scrollbar-width: none;
}

.menu-tabs-bar::-webkit-scrollbar {
  display: none;
}

.menu-tabs-track {
  display: flex;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  padding: 0 var(--gutter);
}

.menu-tab-btn {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  background-color: var(--white);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: none;
  border-radius: 0;
}

.menu-tab-btn:hover,
.menu-tab-btn:focus-visible {
  background-color: var(--ink);
  color: var(--white);
}

.menu-tab-btn.is-active {
  background-color: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.menu-tab-btn.is-active:hover {
  background-color: var(--ink);
  color: var(--yellow);
}

.menu-category-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 36px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.menu-category-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.menu-category-count {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

.menu-item-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 2px solid var(--ink);
}

@media (min-width: 860px) {
  .menu-item-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

.menu-item-info {
  flex: 1;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}

.menu-item-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
}

.menu-item-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.pizza-sizes-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pizza-size-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--white);
  border: 2px solid var(--ink);
  padding: 4px 6px;
}

.pizza-size-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 4px;
}

.pizza-size-pill .price-tag {
  font-size: 1rem;
  padding: 4px 8px;
}

.pizza-size-pill .btn-deal-add {
  padding: 6px 12px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   15. Delivery Section (White Background, Two Columns, Plain 3-Step Line)
   -------------------------------------------------------------------------- */
.delivery-section {
  background-color: var(--white);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .delivery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.delivery-content {
  display: flex;
  flex-direction: column;
}

.delivery-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 32px;
}

.delivery-blocks-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.delivery-block {
  border-left: 4px solid var(--blue);
  padding-left: 18px;
}

.delivery-block-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}

.delivery-block-text {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

.delivery-photo-block {
  width: 100%;
  border: 2px solid var(--ink);
  background-color: var(--cream);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 580px;
}

.delivery-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.delivery-steps-strip {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .delivery-steps-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

.delivery-step-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.delivery-step-num {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 1;
  color: var(--blue);
  flex-shrink: 0;
}

.delivery-step-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   16. Branches Section (Solid Yellow Background, 3 Equal Columns)
   -------------------------------------------------------------------------- */
.branches-section {
  background-color: var(--yellow);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}

.branches-header {
  margin-bottom: 48px;
}

.branches-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}

.branches-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--ink);
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 992px) {
  .branches-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.branch-card {
  background-color: var(--white);
  border: 2px solid var(--ink);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.branch-card-body {
  margin-bottom: 24px;
}

.branch-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.branch-address {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
}

.branch-phone-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 18px;
  border-bottom: 2px solid transparent;
}

.branch-phone-link:hover,
.branch-phone-link:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.branch-hours-box {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}

.branch-hours-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 4px;
}

.branch-hours-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 12px;
}

/* Status Label (Solid Green or Ink) */
.branch-status-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border: 2px solid var(--ink);
}

.status-open {
  background-color: var(--green);
  color: var(--white);
}

.status-closed {
  background-color: var(--ink);
  color: var(--white);
}

.branch-card .btn-blue {
  width: 100%;
}

/* --------------------------------------------------------------------------
   17. Our Story Section (Solid Blue Background, Burrito Madre Style)
   -------------------------------------------------------------------------- */
.story-section {
  background-color: var(--blue);
  color: var(--white);
  border-bottom: 2px solid var(--ink);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.story-photo-block {
  width: 100%;
  border: 2px solid var(--white);
  background-color: var(--cream);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  max-height: 520px;
}

.story-gallery {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px;
  width: 100%;
}

.story-gallery-main {
  border: 2px solid var(--white);
  background-color: var(--ink);
  overflow: hidden;
  min-height: 380px;
}

.story-gallery-main .story-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.story-gallery-sub {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-gallery-item {
  border: 2px solid var(--white);
  background-color: var(--ink);
  overflow: hidden;
  flex: 1;
}

.story-gallery-item .story-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 576px) {
  .story-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .story-gallery-main {
    min-height: 280px;
    max-height: 340px;
  }
  .story-gallery-sub {
    flex-direction: row;
  }
  .story-gallery-item {
    aspect-ratio: 1 / 1;
  }
}

.story-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.story-content {
  display: flex;
  flex-direction: column;
}

.story-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
  display: block;
}

.story-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
}

.story-copy {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 32px;
}

.story-founders-grid {
  border-top: 2px solid var(--white);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 560px) {
  .story-founders-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.founder-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--yellow);
}

.founder-role {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--white);
}

.founder-phone-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 6px;
  width: fit-content;
}

.founder-phone-link:hover,
.founder-phone-link:focus-visible {
  color: var(--yellow);
}

/* --------------------------------------------------------------------------
   18. Cart Drawer & Overlay (Solid White Panel, 2px Ink Left Border)
   -------------------------------------------------------------------------- */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--ink);
  opacity: 0.4;
  z-index: 2500;
  display: none;
}

.cart-overlay.is-open {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--white);
  color: var(--ink);
  border-left: 2px solid var(--ink);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
}

@media (max-width: 480px) {
  .cart-drawer {
    max-width: 100vw;
    border-left: none;
  }
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-header {
  height: 72px;
  padding: 0 24px;
  background-color: var(--white);
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.cart-close-btn {
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1;
  text-transform: uppercase;
  padding: 8px 16px;
  background-color: var(--white);
  color: var(--ink);
  border: 2px solid var(--ink);
  cursor: pointer;
  transition: none;
}

.cart-close-btn:hover,
.cart-close-btn:focus-visible {
  background-color: var(--ink);
  color: var(--white);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cart-type-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px;
  border: 2px solid var(--ink);
  background-color: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: none;
}

.cart-type-btn.is-active {
  background-color: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.cart-type-btn:hover:not(.is-active) {
  background-color: var(--ink);
  color: var(--white);
}

.cart-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.cart-select,
.cart-input,
.cart-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  background-color: var(--white);
  color: var(--ink);
  border-radius: 0;
  outline: none;
}

.cart-select:focus,
.cart-input:focus,
.cart-textarea:focus {
  border-color: var(--blue);
}

.cart-textarea {
  resize: vertical;
  min-height: 64px;
}

.cart-items-section {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty-msg {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
  padding: 12px 0;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream);
}

.cart-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-item-unit-price {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  border: 2px solid var(--ink);
  background-color: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: none;
}

.cart-qty-btn:hover {
  background-color: var(--ink);
  color: var(--white);
}

.cart-qty-num {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  min-width: 20px;
  text-align: center;
}

.cart-item-total {
  font-family: var(--font-display);
  font-size: 1rem;
  min-width: 70px;
  text-align: right;
  color: var(--ink);
}

.cart-footer {
  padding: 20px 24px;
  background-color: var(--white);
  border-top: 2px solid var(--ink);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-total-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--ink);
}

.cart-total-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}

.cart-error-msg {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  background-color: var(--yellow);
  border: 2px solid var(--ink);
  padding: 8px 12px;
  display: none;
}

.cart-error-msg.is-visible {
  display: block;
}

.cart-submit-btn {
  width: 100%;
}

/* Fixed Bottom Bar on Mobile (Flat yellow) */
.mobile-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background-color: var(--yellow);
  color: var(--ink);
  border-top: 2px solid var(--ink);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter-mobile);
  cursor: pointer;
}

.mobile-cart-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mobile-cart-action {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  padding: 8px 14px;
  background-color: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-cart-bar.is-visible {
    display: flex;
  }

  body.has-cart-bar {
    padding-bottom: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-drawer {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   19. Footer & "For restaurants" Section
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--ink);
  color: var(--white);
  border-top: 2px solid var(--ink);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  max-width: 380px;
}

.footer-brand-tagline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 12px;
}

.footer-brand-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--white);
  margin-top: 8px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 48px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow);
  margin-bottom: 14px;
}

.footer-heading-sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--white);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--yellow);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--white);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   20. Photo Placeholder System (Cream Box, Solid Ink Border)
   -------------------------------------------------------------------------- */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  color: var(--ink);
  border: var(--border-ink);
  padding: 24px;
  text-align: center;
  min-height: 240px;
  width: 100%;
}

.photo-placeholder .placeholder-filename {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  background-color: var(--white);
  color: var(--ink);
  border: var(--border-ink);
  padding: 6px 12px;
  margin-bottom: 8px;
  word-break: break-all;
}

.photo-placeholder .placeholder-dimensions {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   21. Scroll Reveal Animation (Opacity & Translate only)
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
