/* Authorized directory controls only. Keep original inputs, actions and colors. */
body.rotezi-main.tourist-experience #descobrir > .discovery-head > .directory-heading[hidden]{display:none!important}
html:root:root body.rotezi-main.tourist-experience #descobrir > .discovery-head {
  width:100% !important;
  max-width:100%;
  min-width:0;
  height:auto !important;
  box-sizing:border-box;
}
body.rotezi-main.tourist-experience #descobrir > .discovery-head > .directory-controls-row {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  grid-column:1 / -1;
  gap:10px;
  width:min(100%,900px);
  min-width:0;
  max-width:100%;
  margin:0 auto;
  box-sizing:border-box;
}
body.rotezi-main.tourist-experience #descobrir .directory-controls-row > #directory-search {
  flex:1 1 260px;
  order:2;
  width:auto;
  min-width:64px;
  max-width:100%;
  min-height:46px;
  height:auto !important;
  transform:none !important;
  margin:0;
  box-sizing:border-box;
}
/* Flatten only this nonsemantic grouping; the region gets its own flex row. */
body.rotezi-main.tourist-experience #descobrir .directory-controls-row > #directory-view-control {
  display:contents;
}
body.rotezi-main.tourist-experience #descobrir .directory-controls-row .category-map-toggle {
  flex:0 0 auto;
  order:1;
  max-width:100%;
  box-sizing:border-box;
}
body.rotezi-main.tourist-experience #descobrir .directory-controls-row .category-map-toggle > button {
  min-height:44px;
  min-width:44px;
  box-sizing:border-box;
}
body.rotezi-main.tourist-experience #descobrir .directory-controls-row .category-map-region {
  flex:1 0 100%;
  order:4;
  justify-content:center;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
}
body.rotezi-main.tourist-experience #descobrir .directory-controls-row .category-map-region > select {
  min-width:0;
  max-width:100%;
  min-height:44px;
  box-sizing:border-box;
}
@media(max-width:760px) {
  body.rotezi-main.tourist-experience #descobrir > .discovery-head > .directory-controls-row {gap:6px;}
  body.rotezi-main.tourist-experience #descobrir .directory-controls-row > #directory-search {
    flex:1 1 0;
    padding-inline:8px;
    font-size:16px;
  }
  body.rotezi-main.tourist-experience #descobrir .directory-controls-row .category-map-toggle {gap:2px;padding:2px;}
  body.rotezi-main.tourist-experience #descobrir .directory-controls-row .category-map-toggle > button {
    padding:8px 7px;
    font-size:12px;
    line-height:1.2;
  }
}
