/* RP design fix 2 (2026-11-29): one contact header; cache-busting filename. */
html body.cms-id-6 .rp-contact-native-bar,
html body.cms-id-6 #rp-contact-native-bar { display: none !important; }
html body.cms-id-6 div#rp-contact-header,
html body.cms-id-6 #rp-contact-header.rp-contact-header-shell,
html body.cms-id-6 div.rp-contact-header-shell { display: block !important; visibility: visible !important; }
html body.cms-id-6 #header,
html body.cms-id-6 #header.rp-contact-theme-header-hidden,
html body.cms-id-6 #header.rp-original-header-hidden { display: none !important; }

/* 8. Rūšiavimo sąrašas: visą pavadinimą rodyti. */
#js-product-list-top .products-sort-order,
.products-sort-order,
.products-sort-order .select-title {
  min-width: 16.5em;
  max-width: 100%;
}
#js-product-list-top .select-title-name,
.products-sort-order .select-title-name,
.products-sort-order .select-title span {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  max-width: none !important;
  width: auto !important;
  display: inline !important;
}

/* 9. Planšetės paieškos laukas: vietos rezervas neturi būti kertamas. */
@media (min-width: 768px) and (max-width: 1199px) {
  #header .search-widget,
  #search_widget,
  #desktop-header .col-search,
  #desktop-header form.search-widget {
    min-width: 280px;
    flex: 1 1 280px;
  }
  #search_widget input[type="text"],
  form.search-widget input[type="text"],
  #desktop-header input[name="s"],
  input#search_query_top {
    font-size: 13px !important;
    min-width: 220px;
  }
}

/* 11. Tuščias filtro ikonos kvadratas. */
.filter-button i:empty::before,
#search_filter_toggler i:empty::before,
.ok-icon:empty::before,
.js-search-filters-clear-all i:empty::before,
.facet .facet-title .collapse-icons .add:empty::before,
button.btn-filter:empty::before,
.filters-heading .filter-icon:empty::before {
  content: "\f0b0";
  font-family: FontAwesome, "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
}
#search_filters .facet .facet-title,
.amazzing-filter-box .af-title { min-height: 0; }

/* 12. Kontaktų žemėlapio juosta nelimpa prie ekrano slenkant. */
body.cms-id-6 .gm-style .gm-style-cc,
body.cms-id-6 .gm-style .gmnoprint,
body.cms-id-6 iframe[src*="google.com/maps"],
body.cms-id-6 .iqitcontactpage-map,
body.cms-id-6 [class*="google-map"],
body.cms-id-6 .elementor-widget-google_maps,
body.cms-id-6 .rp-map-bar,
body.cms-id-6 .gm-fullscreen-control {
  position: relative !important;
  bottom: auto !important;
}

/* 14. Mobilus Katalogas turi būti virš antraštės, ne po ja. */
#rp-contact-header,
.rp-contact-header-shell,
.rp-home-2026 {
  overflow: visible !important;
  z-index: 1200;
}
#rp-catalog-panel,
.rp-catalog-panel,
.rp-module-catalog-panel,
#rp-contact-catalog-panel {
  z-index: 1210 !important;
  position: absolute;
}

/* 15. Vidinių puslapių mobilus meniu: apačios tarpas nuo valdiklio, logotipas neturi būti kertamas. */
#mobile_menu,
#mobile_top_menu_wrapper,
.mobile-menu,
.js-menu-container {
  padding-bottom: 120px;
}
#mobile_menu .logo,
#mobile_menu img.logo,
#mobile-header img.logo {
  object-fit: contain !important;
  max-height: 44px !important;
}
#mobile_menu .js-modal-close,
#mobile_menu .close,
.mobile-menu-close,
#mobile-menu-toggler.close,
button.close-menu {
  display: block !important;
  visibility: visible !important;
}
