
/* LXF-456 candidate klusprofile-at; source lxf-cart-layout.css. */
html.lxf-ui-rollout{--lxf-ui-accent:#e30613;--lxf-ui-on-accent:#fff;}
/* LXF-329 / LXF-330. LXF-only include, after the shared theme. */
@media (min-width: 768px) {
  html.lxf-ui-rollout body #header > .container,
  html.lxf-ui-rollout body .content-wrapper.container,
  html.lxf-ui-rollout body .breadcrumbs-wrapper > .breadcrumbs {
    width: calc(100% - 80px);
    max-width: 1920px !important;
    margin-inline: auto;
    padding-inline: 0;
  }
  html.lxf-ui-rollout body .container.breadcrumbs-wrapper { padding-inline: 0; }
  html.lxf-ui-rollout body .breadcrumbs.navigation-home-icon-wrapper::before { left: 0; }
  html.lxf-ui-rollout body #navigation .navigation-in > .menu-level-1 { justify-content: flex-start; }
  html.lxf-ui-rollout body #navigation .navigation-in > .menu-level-1 > li:first-child > a { padding-left: 0 !important; }
  /* The checkout hides search, but the old theme leaves a wrapped login column. */
  html.lxf-ui-rollout body.ordering-process #header .header-top {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  html.lxf-ui-rollout body.ordering-process #header .header-top > .site-name-wrapper { flex: 1 1 auto; }
  html.lxf-ui-rollout body.ordering-process #header .header-top > .search { display: none; }
  html.lxf-ui-rollout body.ordering-process #header .header-top > .navigation-buttons {
    display: flex;
    flex: 0 0 120px;
    width: 120px;
    margin-left: auto;
    align-items: center;
    justify-content: flex-end;
  }
  html.lxf-ui-rollout body.ordering-process #header .top-nav-button-login { height: 88px; }
}
/* The live menu has a 0.7s delay followed by a 1.5s fade. */
html.lxf-ui-rollout body #navigation .navigation-in.menu { opacity: 1; animation: none; }
html.lxf-ui-rollout body.ordering-process #dmx-google-reviews-panel { display: none !important; }
html.lxf-ui-rollout body.ordering-process .cart-empty { padding-block: 24px 48px; }
html.lxf-ui-rollout body.ordering-process .cart-empty > .cart-row { padding-bottom: 32px; }
html.lxf-ui-rollout body.ordering-process .cart-empty .cart-heading { font-size: clamp(24px, 2.4vw, 32px); padding-top: 136px; }
html.lxf-ui-rollout body.ordering-process .cart-empty .cart-heading::before,
html.lxf-ui-rollout body.ordering-process .cart-empty .cart-heading::after { top: 0; }
html.lxf-ui-rollout body.ordering-process .lxf-cart-return { text-align: center; margin-top: 24px; }
html.lxf-ui-rollout body.ordering-process .lxf-cart-return a.btn.btn-conversion { background-color: var(--lxf-ui-accent) !important; border-color: var(--lxf-ui-accent) !important; color: var(--lxf-ui-on-accent) !important; border-radius: 6px; }
html.lxf-ui-rollout body.ordering-process .lxf-cart-return .btn:hover { background: var(--lxf-ui-accent); border-color: var(--lxf-ui-accent); }
html.lxf-ui-rollout body.ordering-process .empty-cart-boxes { padding-top: 28px; }
html.lxf-ui-rollout body.ordering-process .empty-cart-boxes h3 { font-size: 21px; text-transform: none; margin-bottom: 20px; }
html.lxf-ui-rollout body.ordering-process .empty-cart-boxes ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
html.lxf-ui-rollout body.ordering-process .empty-cart-boxes ul li { width: auto; padding: 0; }
html.lxf-ui-rollout body.ordering-process .empty-cart-boxes ul li a { min-height: 64px; height: 100%; padding: 14px 16px; border-radius: 6px; }
html.lxf-ui-rollout body.ordering-process .empty-cart-boxes ul li a::before { display: none; }
html.lxf-ui-rollout body.ordering-process .cart-table .remove-item { min-width: 44px; min-height: 44px; }
@media (max-width: 767px) {
  /* Match Classic's fresh mobile checkout after a desktop-to-mobile resize.
     Its relocated currency control otherwise overlaps login and overflows. */
  html.lxf-ui-rollout body.ordering-process #header .navigation-buttons > .dropdown { display: none !important; }
  html.lxf-ui-rollout body.ordering-process #header { position: relative; }
  html.lxf-ui-rollout body.ordering-process #header .navigation-buttons {
    position: absolute;
    /* Classic places the mobile logo in the preceding 54px top bar. */
    top: -54px;
    right: 0;
    width: 120px;
    height: 54px;
    margin: 0;
  }
  html.lxf-ui-rollout body.ordering-process #header .navigation-buttons .top-nav-button-login {
    display: flex !important;
    position: absolute;
    right: 12px;
    top: 0;
    width: auto;
    min-width: 100px;
    height: 54px;
    padding: 0;
    align-items: center;
    gap: 8px;
    animation: none;
    opacity: 1;
  }
  html.lxf-ui-rollout body.ordering-process #header .top-nav-button-login::before { font-size: 22px; margin: 0; }
  html.lxf-ui-rollout body.ordering-process .empty-cart-boxes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.lxf-ui-rollout body.ordering-process .empty-cart-boxes ul li a { font-size: 14px; }
  html.lxf-ui-rollout body.ordering-process .cart-empty .cart-heading { padding-top: 136px; }
  html.lxf-ui-rollout body.ordering-process .cart-empty > .cart-row { padding-bottom: 24px; }
}

/* LXF-456 candidate klusprofile-at; source lxf-responsive.css. */
html.lxf-ui-rollout{--lxf-ui-accent:#e30613;--lxf-ui-on-accent:#fff;}
/* LXF-350: include only on lxf.cz, after lxf-readability.css. */
@media (max-width: 767px) {
  /* main.css .footer:last-of-type also matches the outer <footer>. */
  html.lxf-ui-rollout body:not(.ordering-process) #footer.footer {
    display: block;
    text-align: left;
  }
}

@media (max-width: 900px) {
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .profi-hero-square {
    aspect-ratio: auto;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .profi-hero-square .homepage-main {
    height: 380px;
    min-height: 0;
    aspect-ratio: auto;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .profi-hero-square .homepage-main img {
    object-position: center top;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-main {
    height: clamp(320px, 70vw, 420px);
    min-height: 0;
    aspect-ratio: auto;
  }
}

@media (max-width: 575px) {
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .profi-hero-square .homepage-main {
    height: 320px;
  }
}

/* LXF-456 candidate klusprofile-at; source lxf-polish.css. */
html.lxf-ui-rollout{--lxf-ui-accent:#e30613;--lxf-ui-on-accent:#fff;}
/* LXF only: component radii, persistent navigation and discoverable mobile content. */
:root.lxf-ui-rollout { --lxf-radius-control:4px; --lxf-radius-surface:8px; }
html.lxf-ui-rollout 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.lxf-ui-rollout 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.lxf-ui-rollout 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.lxf-ui-rollout body :is(.subcategories li a,.empty-cart-boxes li a) {border-radius:var(--lxf-radius-control) !important;}
html.lxf-ui-rollout body .siteCookies :is(.siteCookies__button,.siteCookies__link) {border-radius:var(--lxf-radius-control) !important;}
html.lxf-ui-rollout body .homepage-grid-systems img {border-radius:var(--lxf-radius-surface) !important;}
html.lxf-ui-rollout body :is(.top-navigation-bar,#header,#navigation,#footer) {border-radius:0 !important;}
html.lxf-ui-rollout body .homepage-grid-systems > * {min-width:0; max-width:100%;}
html.lxf-ui-rollout body .homepage-grid-systems .homepage-systems_p {width:100%;}
@media(min-width:901px) {
  html.lxf-ui-rollout body .homepage-grid-systems {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(min-width:1334px) {
  html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) .homepage-items {grid-template-columns:repeat(3,minmax(0,1fr));}
  html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) .homepage-item {min-height:0;}
}
/* Joined newsletter controls keep a continuous outer silhouette. */
html.lxf-ui-rollout body #newsletterWidget {border-radius:4px 0 0 4px !important;}
html.lxf-ui-rollout body .custom-footer__newsletter button[type=submit] {border-radius:0 4px 4px 0 !important;}
html.lxf-ui-rollout .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.lxf-ui-rollout body #navigation {transition:none !important;}
  /* The fixed navigation paints the full strip; do not leave a second one behind. */
  html.lxf-ui-rollout body.lxf-nav-fixed #header::after {visibility:hidden;}
  html.lxf-ui-rollout body.lxf-nav-fixed #header {position:relative; z-index:1000;}
  html.lxf-ui-rollout 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;
  }
  html.lxf-ui-rollout 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;
  }
  /* Native overflow lives next to navigation, not inside the fixed element. */
  html.lxf-ui-rollout body.lxf-nav-fixed #header .menu-helper {
    position:fixed; top:15px!important; right:max(40px,calc((100vw - 1600px)/2));
    z-index:1002;
  }
  html.lxf-ui-rollout body.lxf-nav-fixed:not(.submenu-visible):not(.menu-helper-visible) #navigation {overflow:hidden!important;}
  html.lxf-ui-rollout body.lxf-nav-fixed:not(.submenu-visible) #navigation .navigation-in {height:62px; overflow:hidden;}
  html.lxf-ui-rollout body.lxf-nav-fixed .menu-helper > ul {max-height:calc(100dvh - 62px); overflow-y:auto; overscroll-behavior:contain;}
}
html.lxf-ui-rollout .lxf-scroll-controls {display:flex; justify-content:flex-end; align-items:center; gap:12px; margin:10px 0 24px; color:#555;}
html.lxf-ui-rollout .lxf-scroll-controls[hidden] {display:none;}
html.lxf-ui-rollout .lxf-scroll-controls button {min-width:44px; min-height:44px; border:1px solid #ccc; background:#f5f5f5; color:#24242e; font-size:22px; cursor:pointer;}
html.lxf-ui-rollout .lxf-scroll-controls button:disabled {opacity:.35; cursor:default;}
html.lxf-ui-rollout .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.lxf-ui-rollout 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.lxf-ui-rollout body #header .search .dmx_search_toggle,
  html.lxf-ui-rollout body #header .search #dmx-google-reviews-badge,
  html.lxf-ui-rollout body #header .search::after {display:none !important;}
  html.lxf-ui-rollout 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.lxf-ui-rollout body #header .search #formSearchForm .query-input {font-size:16px; min-height:44px;}
  html.lxf-ui-rollout body #header .search #formSearchForm button[type=submit] {min-height:44px; min-width:44px;}
  html.lxf-ui-rollout body:not(.ordering-process) {padding-bottom:calc(48px + env(safe-area-inset-bottom,0px));}
  html.lxf-ui-rollout body #toggle-panel.sjednat_schuzku {height:auto; padding-bottom:env(safe-area-inset-bottom,0px);}
  html.lxf-ui-rollout body #toggle-panel.sjednat_schuzku a {display:flex; min-height:44px; align-items:center; justify-content:center;}
  html.lxf-ui-rollout body.navigation-window-visible #toggle-panel.sjednat_schuzku {display:none !important;}
  html.lxf-ui-rollout body #footer .footer :is(p,ul,li) {text-align:left !important;}
  html.lxf-ui-rollout 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.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) {grid-template-columns:minmax(0,1fr);}
  html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-main {height:420px; min-height:0;}
  html.lxf-ui-rollout body.type-index .homepage-grid .homepage-items,
  html.lxf-ui-rollout 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.lxf-ui-rollout body.type-index .homepage-grid .homepage-items .homepage-item,
  html.lxf-ui-rollout 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.lxf-ui-rollout body.type-index .homepage-grid .homepage-items,
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .homepage-items.profi-list {grid-template-columns:minmax(0,1fr) !important;}
  html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-main {height:320px;}
}

/* LXF-350: Google reviews never cover content without user interaction.
   The shared Datamixer widget may toggle is-open on load/refresh. Keep the
   LXF presentation independent of that timer; other shops keep their policy. */
html.lxf-ui-rollout #dmx-google-reviews-panel.dmx_gr {
  width:38px;
}
html.lxf-ui-rollout #dmx-google-reviews-panel.dmx_gr .dmx_gr__open {
  opacity:0; transform:translateX(-6px); pointer-events:none;
}
html.lxf-ui-rollout #dmx-google-reviews-panel.dmx_gr .dmx_gr__collapsed {
  opacity:1; transform:translateX(0); pointer-events:auto;
}
@media (hover:hover) and (pointer:fine) {
  html.lxf-ui-rollout #dmx-google-reviews-panel.dmx_gr:hover {width:240px;}
  html.lxf-ui-rollout #dmx-google-reviews-panel.dmx_gr:hover .dmx_gr__open {
    opacity:1; transform:translateX(0); pointer-events:auto;
  }
  html.lxf-ui-rollout #dmx-google-reviews-panel.dmx_gr:hover .dmx_gr__collapsed {
    opacity:0; transform:translateX(-6px); pointer-events:none;
  }
}
html.lxf-ui-rollout #dmx-google-reviews-panel.dmx_gr:focus-within {width:240px;}
html.lxf-ui-rollout #dmx-google-reviews-panel.dmx_gr:focus-within .dmx_gr__open {
  opacity:1; transform:translateX(0); pointer-events:auto;
}
html.lxf-ui-rollout #dmx-google-reviews-panel.dmx_gr:focus-within .dmx_gr__collapsed {
  opacity:0; transform:translateX(-6px); pointer-events:none;
}

/* LXF-456 candidate klusprofile-at; source lxf-homepage-footer.css. */
html.lxf-ui-rollout{--lxf-ui-accent:#e30613;--lxf-ui-on-accent:#fff;}
/* LXF-356: approved benefits and footer layout, LXF only. */
html.lxf-ui-rollout body.type-index .footer-banners {
 display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px;
 width:100%; max-width:none; margin:32px 0 48px; min-height:0;
}
html.lxf-ui-rollout body.type-index .footer-banners .footer-banner {
 width:auto; max-width:none; min-width:0; padding:0; margin:0; float:none;
 border:1px solid #dedede; border-radius:8px; background:#fafafa;
}
html.lxf-ui-rollout body.type-index .footer-banners .footer-banner > a {
 display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start;
 gap:20px; padding:28px; height:100%; color:#24242e; text-decoration:none;
 border-radius:8px; transition:background-color .15s;
}
html.lxf-ui-rollout body.type-index .footer-banners .footer-banner > a:is(:hover,:focus-visible) {background:#eee; color:#24242e;}
html.lxf-ui-rollout body.type-index .footer-banners .footer-banner > a:focus-visible {outline:2px solid #24242e; outline-offset:3px;}
html.lxf-ui-rollout body.type-index .footer-banners .footer-banner img {
 position:static; width:48px; height:48px; max-width:48px; object-fit:contain; margin:0;
}
html.lxf-ui-rollout body.type-index .footer-banners .extended-banner-texts {
 display:flex; flex-direction:column; align-items:flex-start; flex:1; width:100%; height:auto; gap:20px;
}
html.lxf-ui-rollout body.type-index .footer-banners .extended-banner-text {position:static; width:100%; color:#444;}
html.lxf-ui-rollout body.type-index .footer-banners h2 {font-size:20px; line-height:1.3; font-weight:700; color:#24242e; margin:0 0 12px;}
html.lxf-ui-rollout body.type-index .footer-banners .baner_sluzby {list-style:disc; margin:0; padding:0 0 0 18px;}
html.lxf-ui-rollout body.type-index .footer-banners .baner_sluzby li {font-size:16px; line-height:1.5; font-weight:400; margin:0 0 6px; padding:0; color:#444;}
html.lxf-ui-rollout body.type-index .footer-banners .extended-banner-link {
 position:static; transform:none; display:inline-flex; align-items:center; min-height:44px;
 padding:10px 16px; margin:auto 0 0; background:#e7e7e7; color:#24242e; border:1px solid #d5d5d5;
 border-radius:4px; font-size:14px; line-height:20px; font-weight:700; text-transform:none; box-shadow:none;
}
html.lxf-ui-rollout body.type-index .footer-banners .extended-banner-link::before {display:none;}
/* Only one outer gutter. Never repeat calc(width-gutter) on nested wrappers. */
html.lxf-ui-rollout body:not(.ordering-process) #footer {background:#f6f6f6; color:#444;}
html.lxf-ui-rollout body:not(.ordering-process) #footer > .footer-rows,
html.lxf-ui-rollout body:not(.ordering-process) #footer > .footer-bottom {width:calc(100% - 80px); max-width:1600px !important; margin-inline:auto; padding-inline:0;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .custom-footer {width:100%; max-width:none; padding:0; display:block;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .custom-footer__banner9,
html.lxf-ui-rollout body:not(.ordering-process) #footer .custom-footer__banner9 > .banner,
html.lxf-ui-rollout body:not(.ordering-process) #footer .custom-footer__banner9 .banner-wrapper {width:100%; max-width:none; padding:0; margin:0;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .banner-wrapper .footer-kontejner {
 display:grid; grid-template-columns:1.1fr 1fr 1.1fr; gap:56px; width:100%; max-width:none;
 margin:0; transform:none; padding:56px 0 40px; text-align:left;
}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner > .footer {
 display:block; min-width:0; width:100%; float:none; margin:0; padding:0; text-align:left;
}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner h6 {font-size:16px; line-height:1.4; font-weight:700; color:#24242e; margin:0 0 20px !important; letter-spacing:.03em;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner ul {list-style:none; margin:0; padding:0; color:#444;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner ul li {
 color:#444; font-size:15px !important; line-height:1.6; font-weight:400;
 margin:0 0 8px; padding:0; overflow-wrap:anywhere;
}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner ul li::before {display:none;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner a {font-size:15px !important; color:#333 !important; text-decoration:underline; text-underline-offset:3px; transition:none;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner a:is(:hover,:focus-visible) {color:#111 !important; background:#e7e7e7;}
html.lxf-ui-rollout body:not(.ordering-process) #footer a:focus-visible {outline:2px solid #24242e; outline-offset:3px;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer_mena {font-size:14px; font-weight:700; color:#444; margin:20px 0 8px;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner-loga {
 display:flex !important; flex-wrap:wrap; align-items:center; justify-content:flex-start;
 gap:20px; width:100% !important; margin:0 !important; padding:24px 0; border-block:1px solid #ddd;
}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner-loga > * {margin:0;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner-loga img {max-width:90px; max-height:40px; width:auto; height:auto; object-fit:contain; margin:0;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .ours_eshops {position:static; top:auto; display:flex; flex-wrap:wrap; gap:24px; align-items:center; margin:0; width:100%; padding:24px 0;}
html.lxf-ui-rollout body:not(.ordering-process) #footer .ours_eshops img {max-width:90px; max-height:32px; width:auto; height:auto;}
html.lxf-ui-rollout body:not(.ordering-process) #footer > .footer-bottom {display:flex; flex-wrap:wrap; justify-content:space-between; gap:20px; padding-block:24px; border-top:1px solid #ddd;}
@media(max-width:1199px) {
 html.lxf-ui-rollout body.type-index .footer-banners {gap:16px;}
 html.lxf-ui-rollout body.type-index .footer-banners .footer-banner > a {padding:20px;}
 html.lxf-ui-rollout body:not(.ordering-process) #footer .banner-wrapper .footer-kontejner {gap:32px;}
}
@media(max-width:991px) {
 html.lxf-ui-rollout body.type-index .footer-banners {grid-template-columns:1fr;}
 html.lxf-ui-rollout body.type-index .footer-banners .footer-banner > a {flex-direction:row; gap:20px;}
 html.lxf-ui-rollout body:not(.ordering-process) #footer > .footer-rows,html.lxf-ui-rollout body:not(.ordering-process) #footer > .footer-bottom {width:calc(100% - 40px);}
 html.lxf-ui-rollout body:not(.ordering-process) #footer .banner-wrapper .footer-kontejner {grid-template-columns:repeat(2,minmax(0,1fr));}
 html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner > .footer:last-child {grid-column:1/-1;}
}
@media(max-width:575px) {
 html.lxf-ui-rollout body:not(.ordering-process) #footer .banner-wrapper .footer-kontejner {grid-template-columns:minmax(0,1fr); padding-top:32px; gap:32px;}
 html.lxf-ui-rollout body.type-index .footer-banners .footer-banner > a {padding:20px 16px; gap:16px;}
 html.lxf-ui-rollout body.type-index .footer-banners .footer-banner img {width:36px; height:36px; flex:none;}
 html.lxf-ui-rollout body.type-index .footer-banners h2 {font-size:18px;}
}
/* Shared legacy h6 uses !important; explicit component override retains AA contrast. */
html.lxf-ui-rollout body:not(.ordering-process) #footer .footer-kontejner h6 {color:#24242e !important;}

@media(max-width:575px){html.lxf-ui-rollout body.type-index .footer-banners {width:calc(100% - 40px); margin-inline:auto;}}

/* Service navigation stays above the original photo composition. */
html.lxf-ui-rollout .welcome .lxf-scroll-controls {display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:0;background:none;border:0;}
html.lxf-ui-rollout .welcome .lxf-scroll-controls h2 {flex:1;margin:0;font-size:24px;line-height:1.3;color:#24242e;}
html.lxf-ui-rollout .welcome .lxf-scroll-controls button[hidden] {display:none;}

/* LXF-456 candidate klusprofile-at; source lxf-homepage-layout.css. */
html.lxf-ui-rollout{--lxf-ui-accent:#e30613;--lxf-ui-on-accent:#fff;}
/* LXF-350 / LXF-356. LXF homepage only, load after existing overlays.
   Layout/interaction ownership only: no font, icon or source-image changes. */
html.lxf-ui-rollout body.type-index .homepage-grid {
  min-width: 0;
}
/* Six photographic categories form real rows, not four flattened banners. */
html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty .homepage-items {
  display: grid !important;
  gap: 12px !important;
  padding: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  min-width: 0;
}
html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty .homepage-items .homepage-item {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 0 !important;
  max-height: none;
  height: auto !important;
  aspect-ratio: 1 !important;
}
html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty .homepage-item img {
  object-fit: contain;
}
/* Keep the logos inside the image at hover as well. */
html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty :is(.homepage-item,.homepage-main):hover img {
  transform: none;
}
html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty .homepage-main img {
  object-fit: contain;
  object-position: center top;
}
@media (width > 1333px) {
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty {
    grid-template-columns: minmax(0,1fr) minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);
    gap: 12px;
    align-items: stretch;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty > .homepage-items {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty > .homepage-items ~ .homepage-items {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (min-width: 1200px) and (max-width: 1333px) {
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged {
    grid-template-columns: minmax(0,3fr) minmax(0,2fr) !important;
    align-items: stretch;
    gap: 12px !important;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .homepage-items.profi-list {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    width: 100% !important;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .profi-hero-square {
    width: 100%; max-width: none; aspect-ratio: auto;
    grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px;
    align-self: stretch;
  }
}
html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty .homepage-main {
  min-width: 0;
  min-height: 0;
  background: #202020;
}
@media (width < 1200px) {
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged {
    grid-template-columns: minmax(0,1fr) !important;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .homepage-items.profi-list {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .profi-hero-square {
    width: min(100%,600px); max-width: none; aspect-ratio: auto;
    justify-self: center; margin-inline: auto;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .profi-hero-square .homepage-main {
    height: auto; min-height: 400px; aspect-ratio: 1 / 2;
  }
}
@media (max-width: 575px) {
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .homepage-items.profi-list {
    grid-template-columns: minmax(0,1fr) !important;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .profi-hero-square {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .profi-hero-square .homepage-main {
    min-height: 430px; aspect-ratio: auto;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty .homepage-main .homepage-content {
    padding-inline: 12px !important;
  }
}
/* Accessory images retain their complete square composition. Labels take their
   own space so a narrow card never puts text over the product. */
html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) {
  grid-template-columns: minmax(0,2fr) minmax(0,3fr);
  align-items: stretch;
}
html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-items {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 12px !important;
}
html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) .homepage-item {
  width: 100% !important; max-width: none !important; min-width: 0;
  height: auto !important; min-height: 0 !important; aspect-ratio: auto !important;
  display: flex; flex-direction: column;
  padding-bottom: 16px !important;
}
html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) .homepage-item > a {
  position: relative; inset: auto; display: block; aspect-ratio: 1;
}
html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) .homepage-item img {
  display: block; object-fit: contain;
}
html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) .homepage-item > :is(h3,p) {
  position: static; margin: 8px 12px 0;
}
html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-main {
  height: auto; min-height: 420px;
}
html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-main .homepage-content {
  background: linear-gradient(180deg, transparent, rgba(20,20,20,.52) 35%, rgba(20,20,20,.82));
}
@media (width < 1200px) {
  html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) {
    grid-template-columns: minmax(0,1fr);
  }
  html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-main {
    height: 420px; min-height: 0;
  }
}
@media (max-width: 575px) {
  html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-items {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  html.lxf-ui-rollout body.type-index .homepage-grid:not(.profi_komponenty) > .homepage-main {
    height: 360px;
  }
}
html.lxf-ui-rollout body.type-index .lxf-scroll-controls[hidden] { display: none !important; }
html.lxf-ui-rollout body.type-index :is(.homepage-grid-projekty,.homepage-systems_l_seznam,.homepage-systems_imgs) {
  scroll-padding-inline: 4px;
}
html.lxf-ui-rollout body.type-index :is(.homepage-grid-projekty,.homepage-systems_l_seznam,.homepage-systems_imgs):focus-visible {
  outline: 2px solid #24242e; outline-offset: 4px;
}

html.lxf-ui-rollout body.type-index .homepage-systems_l_seznam h4:focus-visible {
  outline: 2px solid #24242e; outline-offset: 4px;
}
html.lxf-ui-rollout body.type-index .homepage-systems_l_seznam h4[role="button"] {
  min-height: 44px; display: flex; align-items: center;
}
html.lxf-ui-rollout body.type-index .homepage-systems_media > .lxf-scroll-controls { grid-area: photo-controls; }
@media (max-width: 900px) {
  html.lxf-ui-rollout body.type-index .homepage-grid-systems {
    grid-template-areas: "title" "list" "main" "photo-controls" "thumbs" "cta" !important;
  }
}

@media (min-width: 480px) and (max-width: 575px) {
  html.lxf-ui-rollout body.type-index .homepage-grid.profi_komponenty.profi-merged .homepage-items.profi-list {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

html.lxf-ui-rollout body.type-index .lxf-system-photo-controls button {
  width: auto; min-width: 44px; min-height: 44px; padding-inline: 12px;
}
