/* Scoped discovery UI: no changes to the restaurant management panel. */
.restaurant-explorer { max-width: 1200px; margin: 0 auto; padding: 20px 20px 40px; color: #172033; }
.explorer-heading { margin-bottom: 16px; }
.explorer-heading h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 750; line-height: 1.18; letter-spacing: -.035em; }
.explorer-heading p { margin-top: 8px; color: #64748b; font-size: 14px; }
.explorer-heading .explorer-eyebrow { color: #2563eb; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 8px; }
.explorer-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.explorer-search label { min-width: 0; flex: 1 1 180px; }
.explorer-search input, .explorer-search select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: white; font-size: 16px; color: #334155; }
.explorer-search .explorer-zone-select { flex: 0 1 240px; }
.explorer-button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 44px; padding: 9px 14px; background: white; color: #334155; border: 1px solid #dbe2eb; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; cursor: pointer; }
.explorer-button:hover { border-color: #93b4f3; background: #eff6ff; color: #1d4ed8; }
.explorer-button--primary { color: white; background: #2563eb; border-color: #2563eb; }
.explorer-button--primary:hover { color: white; background: #1d4ed8; }
.restaurant-explorer :is(a, button, input, select, summary):focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.explorer-zones { display: flex; overflow-x: auto; gap: 8px; padding: 2px 2px 8px; margin-bottom: 6px; scrollbar-width: thin; }
.explorer-zones a { white-space: nowrap; flex-shrink: 0; }
.explorer-zones .is-selected, .explorer-view-switch [aria-pressed="true"] { color: #1d4ed8; border-color: #bfdbfe; background: #eaf2ff; }
.explorer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 12px 0 16px; }
.explorer-view-switch { display: flex; gap: 4px; }
.restaurant-explorer [hidden] { display: none !important; }
.explorer-results-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 12px; }
.explorer-results-heading h2 { font-size: 18px; font-weight: 700; }
.explorer-results-heading p { font-size: 13px; color: #64748b; }
.explorer-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.explorer-cards [data-featured-campaign] { grid-column: 1 / -1; }
.restaurant-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; background: white; border: 1px solid #dbe2eb; border-radius: 20px; box-shadow: 0 3px 12px #0f172a04; }
.restaurant-card[data-has-menu-today="1"] { border-color: #bfdbfe; }
.restaurant-card__heading { display: flex; align-items: flex-start; gap: 12px; }
.restaurant-card__photo { width: 64px; height: 64px; object-fit: cover; border-radius: 13px; background: #eff6ff; }
.restaurant-card__heading > a { flex-shrink: 0; }
.restaurant-card__identity { flex: 1; min-width: 0; }
.restaurant-card__identity h3 { font-size: 17px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.restaurant-card__identity h3 a:hover { color: #2563eb; }
.restaurant-card__status { color: #64748b; font-size: 11px; font-weight: 600; margin-bottom: 5px; }
.restaurant-card__status.is-available { color: #1d4ed8; }
.restaurant-card__location { font-size: 13px; color: #64748b; margin-top: 4px; overflow-wrap: anywhere; }
.restaurant-card__price { flex: 0 0 88px; text-align: right; }
.restaurant-card__price strong { display: block; font-size: 20px; line-height: 1.3; font-weight: 750; color: #1d4ed8; white-space: nowrap; }
.restaurant-card__price span { display: block; margin-top: 2px; color: #64748b; font-size: 11px; }
.restaurant-card__details { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #64748b; font-size: 12px; margin: 12px 0; }
.restaurant-card__details:empty { display: none; }
.restaurant-card__dishes { margin: 6px 0; padding: 12px; background: #f4f8ff; border-radius: 14px; min-width: 0; }
.restaurant-card__dishes-title { margin: 0 0 12px; font-size: 16px; line-height: 1.5; font-weight: 700; color: #1d4ed8; }
.restaurant-card__dishes-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 18px; line-height: 1.6; }
.restaurant-card__dishes-text.menu-dishes { white-space: normal; }
.restaurant-card__dishes > .restaurant-card__location { margin-top: 12px; }
.restaurant-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.restaurant-card__actions .explorer-button { flex: 1; padding: 9px 10px; font-size: 13px; }
.restaurant-card__actions .explorer-button--directions { flex: 0 0 44px; }
.explorer-button--directions span { display: none; }
.explorer-map { margin: 20px 0; border: 1px solid #dbe2eb; border-radius: 20px; overflow: hidden; background: white; }
.explorer-map > h2 { padding: 12px 16px; font-weight: 700; }
.explorer-map #cafeterias-map-container { height: min(62dvh, 560px); min-height: 300px; }
.explorer-filter-row { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px; }
.explorer-filters { flex: 1; min-width: 150px; }
.explorer-filters summary { cursor: pointer; font-size: 14px; font-weight: 600; padding: 12px; }
.explorer-filters__options { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
.explorer-filters__note { font-size: 12px; color: #64748b; margin: 8px 0; }
.explorer-empty { padding: 28px 20px; background: white; border: 1px dashed #cbd5e1; border-radius: 18px; grid-column: 1 / -1; }
.explorer-empty h3 { font-weight: 700; }
.explorer-empty p { margin: 8px 0 16px; color: #64748b; }
#restaurant-results, #mapa-zonas { scroll-margin-top: 110px; }
@media (max-width: 767px) {
  .restaurant-explorer { padding: 16px 14px 32px; }
  .explorer-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .explorer-heading p { font-size: 13px; }
  .explorer-search { margin: 12px 0; }
  .explorer-search .explorer-zone-select { order: 2; flex: 1 1 100%; }
  .explorer-toolbar .explorer-button { font-size: 13px; padding: 9px 11px; }
  .restaurant-card { padding: 14px; border-radius: 17px; }
  .restaurant-card__heading { gap: 10px; }
  .restaurant-card__photo { width: 48px; height: 48px; }
  .restaurant-card__identity h3 { font-size: 16px; }
  .restaurant-card__price { flex-basis: 78px; }
  .restaurant-card__price strong { font-size: 18px; }
}
