/* Osool Royal V12.8 — search/category display correctness.
   The V12.3 mobile layout used display:flex!important on every card.
   That unintentionally overrode the browser's [hidden] state after the
   existing filter JavaScript hid nonmatching cards. The following stronger
   selector restores the correct hide/show behavior on all screen sizes. */
.osrm11.osrm11-direct-menu .osrm11-grid .osrm11-card[hidden] {
  display: none !important;
}
/* Hide empty-state and weekly panel reliably even with third-party themes. */
.osrm11.osrm11-direct-menu .osrm11-empty[hidden],
.osrm11.osrm11-direct-menu .osrm11-weekdays[hidden] {
  display: none !important;
}
/* ONE clean border around the entire search field; never an inner box. */
.osrm11.osrm11-direct-menu label.osrm11-searchbox,
.osrm11.osrm11-direct-menu label.osrm11-searchbox:focus-within {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 51px !important;
  border: 1px solid #646946 !important;
  border-radius: 9px !important;
  background: #F4DEC6 !important;
  outline: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.osrm11.osrm11-direct-menu label.osrm11-searchbox input.osrm11-search,
.osrm11.osrm11-direct-menu label.osrm11-searchbox input.osrm11-search:focus,
.osrm11.osrm11-direct-menu label.osrm11-searchbox input.osrm11-search:focus-visible,
.osrm11.osrm11-direct-menu label.osrm11-searchbox input.osrm11-search:active {
  display: block !important;
  box-sizing: border-box !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 45px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  color: #646946 !important;
  caret-color: #646946 !important;
  text-align: right !important;
  direction: rtl !important;
}
.osrm11.osrm11-direct-menu label.osrm11-searchbox input.osrm11-search::-webkit-search-decoration,
.osrm11.osrm11-direct-menu label.osrm11-searchbox input.osrm11-search::-webkit-search-results-button,
.osrm11.osrm11-direct-menu label.osrm11-searchbox input.osrm11-search::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
}
/* Native mobile section dropdown is retained as a fallback, and buttons remain tappable. */
@media (max-width: 767px) {
  .osrm11.osrm11-direct-menu .osrm11-categories .osrm11-chip {
    touch-action: manipulation;
  }
  .osrm11.osrm11-direct-menu .osrm11-category-select {
    position: relative !important;
    z-index: 2 !important;
  }
}
