/* LXF only: component radii, persistent navigation and discoverable mobile content. */
:root { --lxf-radius-control:4px; --lxf-radius-surface:8px; }
html body :is(.btn,.clanek_tlac,.extended-banner-link,.form-control,.lxf-header-meeting,.top-nav-button,.siteCookies__button,.siteCookies__link,.lxf-scroll-controls button) {
  border-radius:var(--lxf-radius-control) !important;
}
/* Legacy CTA selector has unusually high specificity. */
html body .homepage_obal_bloku .homepage-grid-projekty .homepage-item-projekt .homepage-grid-projekty-text a.clanek_tlac.clanek_tlac {
  border-radius:var(--lxf-radius-control) !important;
}
html body :is(.carousel-inner,.homepage-main,.homepage-item,.homepage-item-projekt,.homepage-systems_p,.homepage-systems_media,.footer-banner,.siteCookies,.siteCookies__form,.modal-content) {
  border-radius:var(--lxf-radius-surface) !important;
}
html body :is(.subcategories li a,.empty-cart-boxes li a) {border-radius:var(--lxf-radius-control) !important;}
html body .siteCookies :is(.siteCookies__button,.siteCookies__link) {border-radius:var(--lxf-radius-control) !important;}
html body .homepage-grid-systems img {border-radius:var(--lxf-radius-surface) !important;}
html body :is(.top-navigation-bar,#header,#navigation,#footer) {border-radius:0 !important;}
html body .homepage-grid-systems > * {min-width:0; max-width:100%;}
html body .homepage-grid-systems .homepage-systems_p {width:100%;}
@media(min-width:901px) {
  html body .homepage-grid-systems {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(min-width:1334px) {
  html body.type-index .homepage-grid:not(.profi_komponenty) .homepage-items {grid-template-columns:repeat(3,minmax(0,1fr));}
  html body.type-index .homepage-grid:not(.profi_komponenty) .homepage-item {min-height:0;}
}
/* Joined newsletter controls keep a continuous outer silhouette. */
html body #newsletterWidget {border-radius:4px 0 0 4px !important;}
html body .custom-footer__newsletter button[type=submit] {border-radius:0 4px 4px 0 !important;}
.lxf-nav-placeholder {height:0; flex-basis:100%;}
@media(min-width:992px) {
  /* The legacy all-transition animates grid width/left when fixed is toggled. */
  html body #navigation {transition:none !important;}
  /* The fixed navigation paints the full strip; do not leave a second one behind. */
  body.lxf-nav-fixed #header::after {visibility:hidden;}
  body.lxf-nav-fixed #header {position:relative; z-index:1000;}
  body.lxf-nav-fixed #navigation {
    position:fixed !important; top:0 !important; left:0 !important; right:0 !important;
    width:100% !important; max-width:none !important; margin:0 !important;
    background:#f5f5f5; box-shadow:0 2px 8px #00000012; overflow:visible !important;
  }
  body.lxf-nav-fixed #navigation .navigation-in {
    position:relative !important; left:auto !important; top:0 !important;
    width:calc(100% - 80px); max-width:1600px; margin-inline:auto;
  }
}
.lxf-scroll-controls {display:flex; justify-content:flex-end; align-items:center; gap:12px; margin:10px 0 24px; color:#555;}
.lxf-scroll-controls[hidden] {display:none;}
.lxf-scroll-controls button {min-width:44px; min-height:44px; border:1px solid #ccc; background:#f5f5f5; color:#24242e; font-size:22px; cursor:pointer;}
.lxf-scroll-controls button:disabled {opacity:.35; cursor:default;}
.lxf-scroll-controls button:focus-visible {outline:2px solid #24242e; outline-offset:2px;}
@media(max-width:991px) {
  /* The side review tab must not cover navigation, product text or form fields. */
  html body #dmx-google-reviews-panel {display:none !important;}
}
@media(max-width:768px) {
  /* Keep search available instead of an empty row with a tiny toggle. */
  html body #header .search .dmx_search_toggle,
  html body #header .search #dmx-google-reviews-badge,
  html body #header .search::after {display:none !important;}
  html body #header .search #formSearchForm {
    display:block !important; flex:1 1 100% !important; width:100% !important;
    opacity:1 !important; pointer-events:auto !important; transform:none !important; transition:none !important;
  }
  html body #header .search #formSearchForm .query-input {font-size:16px; min-height:44px;}
  html body #header .search #formSearchForm button[type=submit] {min-height:44px; min-width:44px;}
  html body:not(.ordering-process) {padding-bottom:calc(48px + env(safe-area-inset-bottom,0px));}
  html body #toggle-panel.sjednat_schuzku {height:auto; padding-bottom:env(safe-area-inset-bottom,0px);}
  html body #toggle-panel.sjednat_schuzku a {display:flex; min-height:44px; align-items:center; justify-content:center;}
  html body.navigation-window-visible #toggle-panel.sjednat_schuzku {display:none !important;}
  html body #footer .footer :is(p,ul,li) {text-align:left !important;}
  html body #footer .footer ul {padding-left:0; list-style:none;}
}
/* Catalog choices remain visible in a grid instead of hidden nested scrolling. */
@media(max-width:1333px) {
  html body.type-index .homepage-grid:not(.profi_komponenty) {grid-template-columns:minmax(0,1fr);}
  html body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-main {height:420px; min-height:0;}
  html body.type-index .homepage-grid .homepage-items,
  html body.type-index .homepage-grid.profi_komponenty.profi-merged .homepage-items.profi-list {
    display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    height:auto !important; max-height:none !important; overflow:visible !important;
    width:100% !important; gap:12px !important; padding:0 !important;
  }
  html body.type-index .homepage-grid .homepage-items .homepage-item,
  html body.type-index .homepage-grid.profi_komponenty.profi-merged .homepage-items.profi-list .homepage-item {
    width:100% !important; max-width:none !important; min-width:0; min-height:0 !important;
    height:auto !important; aspect-ratio:1 / 1 !important;
  }
}
@media(max-width:575px) {
  html body.type-index .homepage-grid .homepage-items,
  html body.type-index .homepage-grid.profi_komponenty.profi-merged .homepage-items.profi-list {grid-template-columns:minmax(0,1fr) !important;}
  html body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-main {height:320px;}
}
