/* Live hours pill in the header/nav bar */
.hours-wrap{position:relative;flex:1 1 auto;min-width:0;max-width:100%;margin-left:auto}
.hours-pill{
  display:inline-flex;align-items:center;gap:8px;
  min-height:48px;max-width:100%;
  padding:6px 12px;border-radius:999px;
  border:2px solid rgba(246,243,232,.55);
  background:rgba(0,0,0,.18);
  color:#f6f3e8;
  font-family:var(--body, "Archivo", system-ui, sans-serif);
  font-size:15px;font-weight:800;line-height:1.15;letter-spacing:0;
  text-align:left;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.hours-pill-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hours-dot{
  flex-shrink:0;width:10px;height:10px;border-radius:50%;
  background:#7dcf5a;box-shadow:0 0 0 0 rgba(125,207,90,.65);
}
.hours-pill.is-open .hours-dot{background:#7dcf5a;animation:hours-pulse 1.7s ease-out infinite}
.hours-pill.is-soon{
  color:#1d2417;background:#f2c230;border-color:#f2c230;
}
.hours-pill.is-soon .hours-dot{background:#8a5a00;animation:none}
.hours-pill.is-closed{color:#ffc9bc;border-color:rgba(255,201,188,.55)}
.hours-pill.is-closed .hours-dot{background:#e08a7a;animation:none}
@keyframes hours-pulse{
  0%{box-shadow:0 0 0 0 rgba(125,207,90,.65)}
  70%{box-shadow:0 0 0 8px rgba(125,207,90,0)}
  100%{box-shadow:0 0 0 0 rgba(125,207,90,0)}
}
@media (prefers-reduced-motion:reduce){
  .hours-pill.is-open .hours-dot{animation:none}
}
.hours-pill:focus-visible{outline:3px solid #f2c230;outline-offset:3px}
.hours-pill:active{transform:scale(.98)}

.hours-pop{
  position:absolute;top:calc(100% + 8px);right:0;left:auto;
  width:min(340px, calc(100vw - 24px));
  background:#f6f3e8;color:#1d2417;
  border-radius:16px;padding:14px 14px 12px;
  box-shadow:0 16px 40px rgba(29,36,23,.28);
  z-index:80;text-align:left;
}
.hours-pop[hidden]{display:none}
.hours-pop-status{font-weight:800;font-size:16px;margin:0 0 10px;color:#2f6b2a}
.hours-pop.is-soon .hours-pop-status{color:#8a5a00}
.hours-pop.is-closed .hours-pop-status{color:#9a3b2a}
.hours-week{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.hours-week li{
  display:flex;justify-content:space-between;gap:12px;
  min-height:36px;align-items:center;
  padding:4px 8px;border-radius:8px;
  font-size:15px;
}
.hours-week li.is-today{background:#2f6b2a;color:#f6f3e8;font-weight:800}
.hours-pop-actions{display:flex;gap:8px;margin-top:12px}
.hours-pop-actions a{
  flex:1;display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;border-radius:12px;font-weight:800;font-size:15px;
  text-decoration:none;
}
.hours-pop-actions a.dir{background:#2f6b2a;color:#f6f3e8}
.hours-pop-actions a.call{background:transparent;color:#1d2417;border:2px solid #1d2417}

/* Home relish header: cream on #2f6b2a (AA). Catering bar may be lighter relish with dark ink. */
header.top .hours-pill{color:#f6f3e8}
header.bar .hours-pill{
  color:#14180f;border-color:rgba(20,24,15,.35);background:rgba(255,255,255,.35);
}
header.bar .hours-pill.is-soon{color:#14180f;background:#f2c230;border-color:#f2c230}
header.bar .hours-pill.is-closed{color:#6b1d14;border-color:rgba(107,29,20,.4)}

@media (max-width:760px){
  .hours-wrap{flex:1 1 auto;min-width:0;max-width:100%;margin-left:0}
  .hours-pill{width:auto;flex:1 1 auto;flex-shrink:1;min-width:0;max-width:100%;min-height:44px;padding:6px 10px;font-size:13px;gap:6px}
  .hours-pop{
    position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;
    border-radius:20px 20px 0 0;
    padding:12px 18px calc(18px + env(safe-area-inset-bottom,0px));
    max-height:min(88vh, 640px);overflow:auto;z-index:80;
  }
}


/* hours-soon-fix */
/* Home header used cream text on every pill, which failed contrast once the
   Closing soon state switched the background to mustard. Ink on mustard is AA. */
header.top .hours-pill.is-soon{color:#1d2417}
/* On small screens, let the longer Closing soon label wrap instead of cutting off.
   Desktop keeps nowrap + ellipsis so the header stays one row. */
@media (max-width:760px){
  .hours-pill.is-soon{align-items:center;padding-top:6px;padding-bottom:6px}
  .hours-pill.is-soon .hours-pill-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.15}
}

/* Catering nav pill (shared across home & /catering/) */
.nav-cater-pill{
  position:relative;overflow:hidden;
  display:inline-flex;align-items:center;gap:7px;
  min-height:48px;padding:6px 13px;border-radius:999px;
  background:#1d2417;color:#f6f3e8 !important;
  border:2px solid #f2c230;
  font-weight:800;font-size:14px;text-decoration:none;white-space:nowrap;
  box-shadow:0 4px 12px rgba(29,36,23,.22);
  transition:transform .18s ease,box-shadow .18s ease;
}
.nav-cater-pill .cater-ico{flex-shrink:0;color:#f2c230}
.nav-cater-pill .nav-chip{
  background:#f2c230;color:#1d2417;border-radius:999px;
  padding:3px 7px;font-family:var(--mono,"DM Mono",monospace);
  font-size:11px;font-weight:700;letter-spacing:.04em;line-height:1;
}
.nav-cater-pill::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(105deg,transparent 35%,rgba(242,194,48,.32) 50%,transparent 65%);
  transform:translateX(-120%);transition:transform .55s ease;pointer-events:none;
}
.nav-cater-pill:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(242,194,48,.35)}
.nav-cater-pill:hover::after,.nav-cater-pill:focus-visible::after{transform:translateX(120%)}
.nav-cater-pill:active{transform:scale(.97)}
.nav-cater-pill:focus-visible{outline:3px solid #f2c230;outline-offset:3px}
.nav-cater-pill--menu{margin:6px 0;justify-content:flex-start;border-bottom:2px solid #f2c230 !important}
header.bar{position:sticky;top:0;z-index:50}
@media (prefers-reduced-motion:reduce){
  .nav-cater-pill,.nav-cater-pill::after{transition:none}
  .nav-cater-pill:hover::after{transform:none}
}

/* Prevent truncation on 390px: keep 14px legible text and wrap cleanly if tight */
@media (max-width:460px){
  header.top .wrap, header.bar .wrap{gap:4px;min-width:0;max-width:100%}
  header.top .logo .lw{font-size:22px}
  header.top .logo .lp{font-size:8.5px;padding:3px 7px;letter-spacing:.14em}
  header.top .btn-call, header.bar .btn-call{padding:8px 10px;font-size:13px;min-width:44px}
  .hours-pill{font-size:13px;padding:4px 8px;line-height:1.15;min-width:0}
  .hours-pill-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}

/* Areas we serve — styles for the header/footer links */
.nav-areas{white-space:nowrap}
.areas-foot-link{margin:12px 0 0;font:500 14px/1.6 var(--body);color:#e6ead8}
.areas-foot-link a{color:#f2c230;text-decoration:none;font-weight:700}
.areas-foot-link a:hover{text-decoration:underline}
@media (max-width:1180px){
  .top .links a.nav-areas{display:none}
}

/* Compact short label on phones; desktop keeps the full "Open now · closes …" line. */
.hours-pill-short{display:none}
@media (max-width:760px){
  .hours-pill-full{display:none}
  .hours-pill-short{display:inline}
  .hours-pill-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media (max-width:360px){
  .hours-pill{padding:4px 7px;font-size:12px;gap:5px;min-height:44px}
}

/* Hours panel chrome: close, address, mobile handle, backdrop */
.hours-backdrop{
  display:none;position:fixed;inset:0;z-index:79;
  background:transparent;
  -webkit-tap-highlight-color:transparent;
}
.hours-backdrop.show{display:block}
.hours-pop{z-index:80}
.hours-pop-handle{
  display:none;width:40px;height:4px;border-radius:99px;background:#c8c3b2;
  margin:0 auto 10px;
}
.hours-pop-close{
  position:absolute;top:10px;right:10px;
  width:44px;height:44px;min-width:44px;min-height:44px;padding:0;
  border:0;border-radius:50%;background:transparent;color:#1d2417;
  cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
}
.hours-pop-close:focus-visible{outline:3px solid #f2c230;outline-offset:2px}
.hours-pop-close svg{display:block}
.hours-pop-addr{margin:10px 0 0;font-size:15px;line-height:1.4}
.hours-pop-addr a{color:inherit;text-decoration:none;font-weight:700}
.hours-pop-addr a:hover{text-decoration:underline}
.hours-pop-addr a:focus-visible{outline:3px solid #f2c230;outline-offset:3px}
.hours-pop{padding-right:48px}
@media (max-width:760px){
  .hours-backdrop.show{background:rgba(29,36,23,.55)}
  .hours-pop-handle{display:block}
  .hours-pop{padding-top:14px}
}
@media (min-width:761px){
  .hours-pop{padding-top:16px}
}
body.hours-open{overflow:hidden}
@media (prefers-reduced-motion:reduce){
  .hours-pop{transition:none}
}

/* Keep the header in the viewport while body scroll is locked.
   overflow:hidden (hours-open / menu-open) unsticks position:sticky. */
body.hours-open header.top,
body.hours-open header.bar,
body.menu-open header.top,
body.menu-open header.bar{
  /* order/assets/app.css sets position:sticky !important on header.top */
  position:fixed !important;
  top:0 !important;
  left:0;
  right:0;
  width:100%;
}

/* Mobile header: keep the hamburger (and cart) fully visible and tappable
   at 360/375/390/414, including the longer Spanish "Abierto ahora" pill.
   The hours label is the item that may ellipsis; chrome stays 44px+. */
@media (max-width:760px){
  header.top .wrap, header.bar .wrap{min-width:0;max-width:100%;box-sizing:border-box}
  header.top, header.bar{overflow:visible}
  header.top .logo,
  header.top .lang-toggle,
  header.top .hdr-cart,
  header.top .menu-toggle,
  header.bar .logo,
  header.bar .btn-call,
  header.bar .menu-toggle{flex-shrink:0}
  header.top .menu-toggle,
  header.bar .menu-toggle{
    display:inline-flex;
    align-items:center;justify-content:center;
    width:44px;height:44px;min-width:44px;min-height:44px;
    box-sizing:border-box;
  }
  header.top .hdr-cart{
    flex-shrink:0;
    min-width:44px;min-height:44px;
    box-sizing:border-box;
  }
}
@media (max-width:414px){
  header.top .wrap, header.bar .wrap{gap:4px}
}
