/* =====================================
   GLOBAL LIGHT THEME
   ===================================== */

:root {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Make footer sit at bottom and content fill the middle */
html,
body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #000000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1 0 auto;
}

/* =====================================
	 HEADER & FRONT/BACK TOGGLE
	 ===================================== */

.site-header {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.brand-title {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f01e2c;
}

.brand-tagline {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: #333333;
}

.menu-toggle {
  display: inline-flex;
  align-self: flex-start;
  background-color: #f7f7f7;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid #dddddd;
}

.tab-button {
  border: none;
  background: transparent;
  color: #111111;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tab-button.active {
  background-color: #f0f0f0;
  color: #000000;
}

/* =====================================
	 PAGE & PANELS
	 ===================================== */

.page {
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
}

/* =====================================
	 CARDS
	 ===================================== */

.card {
  background: #ffffff;
  color: #111111;
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #e0e0e0;
}

/* =====================================
	 HEADINGS
	 ===================================== */

.section-heading {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: #000000;
  font-weight: 800;
}

.family-heading {
  margin-top: 1.1rem;
}

.step-title {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: #000000;
  font-weight: 900;
}

.fried-section .fried-baskets-heading {
  margin-top: 0.9rem;
}

/* =====================================
	 TABLES
	 ===================================== */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #111111;
}

th,
td {
  padding: 0.4rem 0;
}

th {
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid #cccccc;
}

td {
  border-bottom: 1px dashed #e0e0e0;
}

.align-right {
  text-align: right;
}

.seafood-table tbody tr:last-child td,
.full-orders-table tbody tr:last-child td,
.drinks-table tbody tr:last-child td {
  border-bottom: none;
}

/* =====================================
	 DISCLAIMERS
	 ===================================== */

.disclaimer {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: #555555;
  font-style: italic;
}

.inline-warning {
  display: block;
  font-size: 0.7rem;
  margin-top: 0.15rem;
  color: #7a3b00;
  background-color: #fff5d7;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.note-small {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #444444;
}

/* =====================================
	 BASIC LISTS & SPICE ICONS
	 ===================================== */

.spice-list,
.basic-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spice-row,
.basic-list li {
  padding: 0.25rem 0;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.spice-label {
  margin-right: 0.4rem;
  flex: 0 0 22%;
}

.spice-icons {
  display: inline-flex;
  justify-content: flex-start;
  padding-top: 0.3rem;
}

.spice-icons i {
  font-size: 0.8rem;
  color: #f01e2c;
  margin-left: 0.18rem;
}

/* =====================================
	 BADGES
	 ===================================== */

.most-popular-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffeb3b, #ff9800);
  color: #2b1b00;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffeb3b, #ff9800);
  color: #2b1b00;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =====================================
	 COMBOS
	 ===================================== */

.combos {
  margin-top: 1rem;
}

.combo-card {
  border-radius: 0.6rem;
  padding: 0.75rem 0.8rem;
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.combo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.combo-title {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  display: inline-block;
  background: #000000;
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: 0.25rem;
  border: 2px solid #000000;
  white-space: nowrap;
}

.combo-price-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.combo-price {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111111;
}

.combo-description {
  margin: 0.4rem 0 0.3rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #222222;
}

.combo-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  align-items: baseline;
  margin-top: 0.1rem;
}

.combo-weight,
.combo-serves {
  margin: 0;
  font-size: 0.78rem;
  color: #333333;
}

/* =====================================
	 FULL ORDERS
	 ===================================== */

.full-orders {
  margin-top: 0.9rem;
}

.full-orders .image-and-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

/* =====================================
	 ADD-INS
	 ===================================== */

.addins-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: #111111;
}

.addins-list li {
  display: flex;
  align-items: center;
  padding: 0.2rem 0;
}

.item-name {
  white-space: nowrap;
}

.item-dots {
  flex: 1;
  border-bottom: 1px dotted #bbbbbb;
  margin: 0 0.3rem;
}

.item-price {
  white-space: nowrap;
}

.subsection-label {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000000;
  font-weight: 700;
}

.sub-item {
  padding-left: 0.75rem;
  font-size: 0.83rem;
}

.policy-note {
  font-size: 0.78rem;
  color: #333333;
}

/* =====================================
	 FOOTER
	 ===================================== */

.site-footer {
  text-align: center;
  padding: 0.8rem;
  font-size: 0.75rem;
  color: #555555;
  border-top: 1px solid #e3e3e3;
  background: #ffffff;
}

/* =====================================
	 FRONT LAYOUT (MOBILE FIRST)
	 ===================================== */

.front-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* =====================================
	 BACK LAYOUT (MOBILE)
	 ===================================== */

.back-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.back-left-column,
.back-right-column {
  display: contents;
}

.drinks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem 0.75rem;
  margin-top: 0.35rem;
}

.drink-item {
  font-size: 0.85rem;
  color: #111111;
}

/* =====================================
	 SMALL-PHONE TWEAKS (OPTIONAL)
	 ===================================== */

@media (max-width: 390px) {
  .combo-header {
    gap: 0.3rem;
  }

  .combo-title {
    font-size: 0.85rem;
    padding: 0.15rem 0.45rem;
    white-space: nowrap;
  }

  .promo-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    white-space: nowrap;
  }
}

/* =====================================
	 MOBILE COMBO HEADER LAYOUT
	 (PRICE TOP-RIGHT, CHIP UNDER PRICE)
	 ===================================== */

@media (max-width: 480px) {
  .combo-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.4rem;
  }

  /* Right side: price + chip stacked vertically */
  .combo-price-area {
    display: flex;
    flex-direction: column; /* price row 1, chip row 2 */
    align-items: flex-end; /* align both to the right edge */
    gap: 0.15rem;
  }

  .combo-price {
    font-size: 0.9rem;
  }

  .promo-badge {
    font-size: 0.7rem;
    padding: 0.12rem 0.45rem;
    white-space: nowrap; /* keep on one line as much as possible */
    line-height: 1.2;
    text-align: right;
  }
  .spice-label {
    flex: 0 0 30%; /* a bit more width for "Extra Spicy" */
    white-space: nowrap; /* don't let it break onto two lines */
  }

  .spice-icons {
    margin-left: 0.5rem; /* slightly smaller push so we don't steal too much space */
  }
}

/* =====================================
	 DESKTOP LAYOUT
	 ===================================== */

@media (min-width: 900px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .front-layout {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr;
    grid-template-areas:
      "step1 addins"
      "step2 addins"
      "step3 combos";
    gap: 1.25rem;
    align-items: start;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .step-1 {
    grid-area: step1;
  }

  .step-2 {
    grid-area: step2;
  }

  .step-3 {
    grid-area: step3;
    padding-bottom: 0.7rem;
  }

  .addins {
    grid-area: addins;
  }

  .combos {
    grid-area: combos;
    margin-top: 0;
  }

  .card {
    padding: 1.1rem 1.2rem;
  }

  /* Reset chili margin so desktop stays where you liked it */
  .spice-icons {
    margin-left: 0;
  }

  /* BACK DESKTOP GRID */
  .back-layout {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr;
    gap: 1.25rem;
    align-items: start;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .back-left-column,
  .back-right-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  /* Desktop order: Extra -> Drinks -> Beer */
  .extra-dishes-section {
    order: 1;
  }

  .drinks-section {
    order: 2;
  }

  .beer-section {
    order: 3;
  }

  .drinks-grid {
    grid-template-columns: 1fr 1fr;
  }

  .beer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================
	 MOBILE SAFETY NET (NO SIDEWAYS SCROLL)
	 ===================================== */

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  .page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
}
