/* ================================
   MENU PAGE HEADER
   ================================ */
.menu-header {
  position: relative;
  padding: 100px 20px 60px;
  background-color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.menu-header .overline {
  color: var(--rosso);
}

.menu-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: var(--dark);
  margin: 12px 0 0 0;
}

.menu-header-accent {
  position: absolute;
  bottom: -20px;
  right: -40px;
  width: 180px;
  height: auto;
  opacity: 0.04;
}

/* ================================
   LUNCH SPECIAL BANNER
   ================================ */
.lunch-banner {
  background-color: var(--cream);
  color: var(--warm-gray);
}

.lunch-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}

.lunch-banner-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  margin: 0;
}

.lunch-banner-text strong {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  color: var(--rosso);
}

.lunch-banner-toggle {
  background: transparent;
  border: 1px solid var(--rosso);
  color: var(--rosso);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.lunch-banner-toggle:hover {
  background-color: rgba(146, 39, 33, 0.05);
}

.lunch-banner-details {
  background-color: var(--cream);
  padding: 24px 0;
}

.lunch-banner-details .container {
  padding: 0 20px;
}

.lunch-banner-details .menu-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(232, 226, 219, 0.6);
}

.lunch-banner-details .menu-items {
  gap: 0 40px;
}

.lunch-banner-details .menu-item-name {
  color: var(--dark);
  font-size: 15px;
}

.lunch-banner-details .prix-fixe-course {
  margin-bottom: 20px;
}

.lunch-banner-details .prix-fixe-course h3 {
  color: var(--rosso);
  margin-bottom: 8px;
}

/* ================================
   LEGAL NOTICES
   ================================ */
.menu-notices {
  background: var(--cream);
  padding: 16px 20px;
  border-bottom: 1px solid var(--light-gray);
  text-align: left;
}

.menu-notices p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--warm-gray);
  margin: 0;
}

.menu-notices p:first-child {
  margin-bottom: 8px;
}

.menu-notices a {
  color: var(--rosso);
  text-decoration: none;
}

.menu-notices a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .menu-notices {
    text-align: center;
  }
}

/* ================================
   STICKY CATEGORY TABS
   ================================ */
.menu-tabs {
  position: sticky;
  top: 72px;
  z-index: 80;
  background-color: var(--warm-white);
  border-bottom: 1px solid var(--light-gray);
}

.menu-tabs-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 20px;
}

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

.menu-tab {
  flex-shrink: 0;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--warm-gray);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.menu-tab:hover {
  color: var(--dark);
}

.menu-tab.active {
  color: var(--rosso);
  border-bottom-color: var(--rosso);
  font-weight: 600;
}

/* ================================
   MENU SECTIONS (shared)
   ================================ */
.menu-section {
  padding: 40px 20px;
}

.menu-section-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-gray);
}

.menu-section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--dark);
  margin: 0 0 4px 0;
}

.menu-section-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--warm-gray);
  margin: 0;
}

/* ================================
   PRIX-FIXE (Lunch Special + Drink subcategories)
   ================================ */
.prix-fixe-course {
  margin-bottom: 32px;
}

.prix-fixe-course h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--rosso);
  margin: 0 0 16px 0;
}

/* ================================
   MENU ITEMS (shared)
   ================================ */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(232, 226, 219, 0.6);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--dark);
}

/* ================================
   STANDARD MENU ITEMS (with prices)
   ================================ */
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

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

.menu-item-price {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--rosso);
  flex-shrink: 0;
  white-space: nowrap;
}

.menu-item-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.5;
  margin: 2px 0 0 0;
}

/* Tags row below dish name (Bible spec) */
.menu-item-tags {
  margin-top: 6px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ================================
   DIETARY BADGES
   ================================ */
.vegan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--verde);
  color: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
}

.spicy-badge {
  font-size: 14px;
  vertical-align: middle;
}

/* ================================
   HOUSE TAGS (Homemade, Fresh Baked, Sardinian)
   ================================ */
.tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.tag-homemade {
  background-color: rgba(243, 190, 0, 0.15);
  color: #4A3B00;
}

.tag-fresh-baked {
  background-color: rgba(146, 39, 33, 0.1);
  color: var(--rosso);
}

.tag-sardinian {
  background-color: rgba(0, 107, 143, 0.1);
  color: var(--blu);
}

.tag-handmade {
  background-color: rgba(243, 190, 0, 0.15);
  color: #4A3B00;
}

.tag-housemade {
  background-color: rgba(180, 80, 50, 0.12);
  color: #9E4A2F;
}

.tag-vegan {
  background-color: rgba(76, 175, 80, 0.12);
  color: #2E7D32;
}

.tag-spicy {
  background-color: rgba(211, 47, 47, 0.1);
  color: #D32F2F;
}

.tag-default {
  background-color: rgba(90, 83, 79, 0.1);
  color: var(--warm-gray);
}

/* ================================
   ADD-ONS ROW
   ================================ */
.menu-addons {
  margin-top: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--light-gray);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--warm-gray);
}

.menu-addons strong {
  color: var(--dark);
  font-weight: 600;
}

/* ================================
   SPECIALS CTA
   ================================ */
.specials-cta {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: 8px;
  text-align: center;
}

.specials-cta p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--warm-gray);
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.specials-cta a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--rosso);
  text-decoration: underline;
}

/* ================================
   DAILY SPECIALS (injected via JS)
   ================================ */
.special-badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: var(--blu);
  color: #FFFFFF;
  vertical-align: middle;
  margin-left: 4px;
}

.special-item {
  animation: specialFadeIn 300ms ease forwards;
}

@keyframes specialFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ================================
   MENU NOTE (surcharge, legend)
   ================================ */
.menu-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--cream);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.6;
  text-align: center;
}

/* ================================
   DESKTOP BREAKPOINT (768px+)
   ================================ */
@media (min-width: 768px) {
  .menu-header {
    padding: 130px 40px 80px;
  }

  .menu-section {
    padding: 60px 40px;
    max-width: 960px;
    margin: 0 auto;
  }

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

  .menu-section-header h2 {
    font-size: 28px;
  }

  .menu-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
  }

  .menu-item {
    padding: 16px 0;
  }

  .menu-item-name {
    font-size: 20px;
  }

  .lunch-banner .container {
    padding: 14px 40px;
  }

  .lunch-banner-courses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
  }

  .menu-tabs-scroll {
    padding: 0 40px;
    max-width: 960px;
    margin: 0 auto;
  }
}
