/* ==========================================================================
   Live SIPO data — status strip, hours, menu, signature dishes
   Uses the brand tokens declared in style.css
   ========================================================================== */

/* ---------- Status strip ---------- */
.status-strip {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--maroon);
  color: var(--cream);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  padding: 9px 16px;
  transition: background .3s ease;
}
.status-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: var(--wrap);
  margin-inline: auto;
}
.status-strip-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: currentColor;
}
.status-strip.is-open        { background: #12692f; }
.status-strip.is-open  .status-strip-dot {
  background: #6ee787;
  box-shadow: 0 0 0 0 rgba(110, 231, 135, .7);
  animation: stripPulse 2.4s ease-out infinite;
}
.status-strip.is-closed      { background: var(--maroon); }
.status-strip.is-closed .status-strip-dot { background: #ff8a80; }
.status-strip.is-error       { background: #4a4a4a; }
.status-strip.is-error .status-strip-dot  { background: #d4d4d4; }

@keyframes stripPulse {
  to { box-shadow: 0 0 0 9px rgba(110, 231, 135, 0); }
}

/* Both bars stay pinned: the strip holds the very top, and the header
   sticks directly beneath it. --strip-h is measured in statusManager.js
   so a wrapped line on narrow screens never hides the nav behind it. */
.has-status-strip .site-header { top: var(--strip-h, 0px); }

/* ---------- Page shell for menu / contact ---------- */
.page-head {
  background: var(--maroon);
  color: var(--cream);
  padding-block: 54px 46px;
  text-align: center;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: 51px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.019em;
}
.page-head p {
  margin-top: 12px;
  font-size: 18px;
  opacity: .92;
}

/* ---------- Opening hours ---------- */
.api-hours {
  display: grid;
  gap: 2px;
  text-align: left;
}
.hours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 15.5px;
  line-height: 1.4;
}
.hours-row:nth-child(odd) { background: rgba(0, 0, 0, .05); }
.hours-day  { font-weight: 700; }
.hours-day em { font-style: normal; font-weight: 400; opacity: .7; }
.hours-time { text-align: right; font-variant-numeric: tabular-nums; }
.hours-row.is-today   { background: rgba(224, 39, 35, .12); }
.hours-row.is-closed .hours-time { opacity: .6; }

/* On the gold contact band the stripes need more contrast */
.contact .hours-row:nth-child(odd) { background: rgba(122, 34, 27, .09); }
.contact .hours-row.is-today       { background: rgba(122, 34, 27, .18); }

/* ---------- Signature dishes (home) ---------- */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.popular-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 6px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.popular-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .1);
}
.popular-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}
.popular-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--black);
}
.popular-desc {
  font-size: 14.5px;
  line-height: 1.4;
  color: rgba(0, 0, 0, .68);
  flex: 1;
}
.popular-price {
  font-size: 19px;
  font-weight: 900;
  color: var(--maroon);
}

/* ---------- Menu page ---------- */
.menu-section { background: var(--cream); padding-block: 40px 70px; }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 34px;
}
.menu-tab {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--maroon);
  background: transparent;
  border: 2px solid rgba(122, 34, 27, .25);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.menu-tab:hover { border-color: var(--maroon); }
.menu-tab.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--cream);
}

.menu-subhead {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--red);
  margin: 26px 0 10px;
}
.menu-subhead:first-child { margin-top: 0; }

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4px 40px;
}
.menu-item {
  padding: 15px 0;
  border-bottom: 1px dashed rgba(122, 34, 27, .22);
}
.menu-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.menu-item-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
}
.menu-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--maroon);
}
.menu-size {
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon);
}
.menu-size-name {
  font-weight: 400;
  opacity: .7;
  margin-right: 4px;
}
.menu-item-desc {
  margin-top: 5px;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(0, 0, 0, .66);
  max-width: 46ch;
}
.menu-empty {
  text-align: center;
  padding: 50px 20px;
  font-size: 17px;
  color: var(--maroon);
}
.menu-loading {
  text-align: center;
  padding: 50px 20px;
  color: var(--maroon);
  font-weight: 700;
}
.menu-note {
  margin-top: 34px;
  text-align: center;
  font-size: 14px;
  color: rgba(122, 34, 27, .75);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
  padding-block: 60px;
}
.contact-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--maroon);
  margin-bottom: 14px;
}
.contact-card p,
.contact-card li { font-size: 16px; line-height: 1.6; }
.contact-card a { color: var(--red); font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 0;
  border-radius: 6px;
  margin-top: 10px;
}

@media (max-width: 760px) {
  .page-head h1 { font-size: 34px; }
  .menu-list { grid-template-columns: minmax(0, 1fr); }
  .hours-row { font-size: 14.5px; }
  .status-strip { font-size: 13px; }
}
