/* remove default css */

/* ==========================================================
   PRINT-SPORT horizontal category facets v2
   Uses native ps_facetedsearch URLs/AJAX, presentation only.
   ========================================================== */
.ps-horizontal-facets{margin:18px 0 26px;clear:both}
.ps-horizontal-facets #search_filters{background:#fff;border:1px solid #e4e7ea;border-radius:8px;padding:18px 18px 10px;box-shadow:0 3px 14px rgba(20,30,40,.05);margin:0}
.ps-horizontal-facets #search_filters>.title_block{display:none!important}
.ps-horizontal-facets #search_filters .block_content{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start}
.ps-horizontal-facets #search_filters .facet-block{flex:1 1 260px;min-width:220px;margin:0;padding:0 14px 12px;border:0;border-right:1px solid #edf0f2}
.ps-horizontal-facets #search_filters .facet-block:last-child{border-right:0}
.ps-horizontal-facets #search_filters .facet-title{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.02em;color:#171b20;margin:0 0 11px}
.ps-horizontal-facets #search_filters .facet-block>ul{display:flex!important;flex-wrap:wrap;gap:7px;margin:0;padding:0;max-height:none!important;overflow:visible!important}
.ps-horizontal-facets #search_filters .facet-block>ul>li{display:block;margin:0;padding:0;width:auto}
.ps-horizontal-facets #search_filters .facet-label{display:block;margin:0}
.ps-horizontal-facets #search_filters .custom-control{display:block;min-height:0;padding:0;margin:0}
.ps-horizontal-facets #search_filters .custom-control-input{position:absolute;opacity:0;pointer-events:none}
.ps-horizontal-facets #search_filters .ps-facet-buttons .custom-control-label,
.ps-horizontal-facets #search_filters .ps-facet-buttons .facet-label>a{display:flex;align-items:center;justify-content:center;min-width:48px;height:38px;padding:0 13px;border:1px solid #dce1e5;border-radius:5px;background:#fff;color:#20252a!important;font-size:13px;font-weight:600;text-decoration:none;transition:.15s ease;white-space:nowrap}
.ps-horizontal-facets #search_filters .ps-facet-buttons .facet-label:hover .custom-control-label,
.ps-horizontal-facets #search_filters .ps-facet-buttons .facet-label:hover>a{border-color:#c31625;color:#c31625!important}
.ps-horizontal-facets #search_filters .ps-facet-buttons .facet-label.active .custom-control-label,
.ps-horizontal-facets #search_filters .ps-facet-buttons .facet-label.active>a{background:#c31625;border-color:#c31625;color:#fff!important;box-shadow:0 2px 7px rgba(195,22,37,.18)}
.ps-horizontal-facets #search_filters .magnitude{margin-left:4px;font-size:11px;opacity:.62;font-weight:400}
/* Color tiles: square, same visual language as size buttons. */
.ps-horizontal-facets #search_filters .ps-facet-colors>ul{gap:9px}
.ps-horizontal-facets #search_filters .ps-facet-colors li{width:42px;height:42px}
.ps-horizontal-facets #search_filters .ps-facet-colors .custom-control{width:42px;height:42px}
.ps-horizontal-facets #search_filters .ps-facet-colors .color{display:block!important;width:38px!important;height:38px!important;border-radius:5px!important;border:3px solid #fff!important;box-shadow:0 0 0 1px #d7dce0!important;margin:2px!important;cursor:pointer;transition:.15s ease}
.ps-horizontal-facets #search_filters .ps-facet-colors .facet-label:hover .color{box-shadow:0 0 0 2px #8d969e!important}
.ps-horizontal-facets #search_filters .ps-facet-colors .facet-label.active .color{box-shadow:0 0 0 2px #c31625!important}
.ps-horizontal-facets #search_filters .ps-facet-colors .tip{display:none!important}
/* Dropdowns/sliders still remain usable when configured in Faceted Search. */
.ps-horizontal-facets #search_filters .custom-select{height:38px;border-radius:5px;border-color:#dce1e5;font-size:13px}
.ps-horizontal-facets #search_filters .faceted-slider{min-width:220px}
/* Existing selected-filter block directly under horizontal panel. */
#active-filters .active_filters{margin:0 0 18px;padding:10px 14px;border:1px solid #edf0f2;border-radius:6px;background:#fafbfc}
#active-filters .filter-block{border-radius:18px;padding:6px 10px;margin:3px 5px 3px 0;background:#eef1f3;color:#24292e}
@media (max-width:991px){
 .ps-horizontal-facets{display:none}
 /* Mobile keeps the theme's native off-canvas filter button. */
}
@media (min-width:992px){
 body#category #left-column{display:none!important}
 body#category #content-wrapper{flex:0 0 100%!important;max-width:100%!important}
}


/* ==========================================================
   PRINT-SPORT horizontal facets v2.2
   Selectors follow the real rendered DOM from the category.
   ========================================================== */
@media (min-width: 992px) {

  /* PRO KOHO first, VELIKOST second */
  body#category #ps-horizontal-facets #search_filters .block_content {
    display: flex !important;
    align-items: stretch !important;
  }
  body#category #ps-horizontal-facets .ps-facet-audience { order: 1 !important; flex: 0 0 34%; }
  body#category #ps-horizontal-facets .ps-facet-size { order: 2 !important; flex: 1 1 66%; }

  body#category #ps-horizontal-facets #search_filters {
    padding: 17px 22px 15px !important;
    border: 1px solid #e1e5e8 !important;
    border-radius: 7px !important;
    box-shadow: 0 3px 12px rgba(20,30,40,.045) !important;
  }

  body#category #ps-horizontal-facets .facet-block {
    min-width: 0 !important;
    padding: 2px 28px 4px !important;
  }
  body#category #ps-horizontal-facets .ps-facet-audience {
    padding-left: 5px !important;
    border-right: 1px solid #e8ecef !important;
  }
  body#category #ps-horizontal-facets .ps-facet-size {
    border-right: 0 !important;
  }

  body#category #ps-horizontal-facets .facet-title {
    margin-bottom: 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase;
  }

  body#category #ps-horizontal-facets .facet-block > ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body#category #ps-horizontal-facets .facet-block > ul > li {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide the native checkbox itself. */
  body#category #ps-horizontal-facets .facet-label .custom-control-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* The theme draws a second checkbox through custom-control-label pseudo-elements.
     Disable those too. */
  body#category #ps-horizontal-facets .facet-label .custom-control-label::before,
  body#category #ps-horizontal-facets .facet-label .custom-control-label::after {
    display: none !important;
    content: none !important;
  }

  body#category #ps-horizontal-facets .facet-label .custom-control,
  body#category #ps-horizontal-facets .facet-label {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
  }

  /* Whole link becomes the clickable tile. */
  body#category #ps-horizontal-facets .facet-label a.custom-control-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 58px !important;
    height: 38px !important;
    padding: 0 15px !important;
    margin: 0 !important;
    border: 1px solid #d7dde2 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #252a2f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }
  body#category #ps-horizontal-facets .ps-facet-audience .facet-label a.custom-control-label {
    min-width: 105px !important;
  }
  body#category #ps-horizontal-facets .facet-label a.custom-control-label:hover {
    border-color: #bd1622 !important;
    color: #bd1622 !important;
    background: #fffafa !important;
  }

  /* Selected value – support both native checked input and theme's active class. */
  body#category #ps-horizontal-facets .facet-label input:checked + a.custom-control-label,
  body#category #ps-horizontal-facets .facet-label.active a.custom-control-label {
    position: relative !important;
    padding-left: 30px !important;
    border-color: #bd1622 !important;
    background: #bd1622 !important;
    color: #fff !important;
  }
  body#category #ps-horizontal-facets .facet-label input:checked + a.custom-control-label::before,
  body#category #ps-horizontal-facets .facet-label.active a.custom-control-label::before {
    display: block !important;
    content: "✓" !important;
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* Active-filter row below the panel */
  body#category #js-active-search-filters.ps-active-filter-bar {
    display: flex !important;
    align-items: center !important;
    min-height: 42px !important;
    margin: 9px 0 18px !important;
    padding: 6px 12px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #f5f6f7 !important;
  }
  body#category #js-active-search-filters .ps-active-filter-title {
    flex: 0 0 auto;
    margin-right: 10px;
    color: #252a2f;
    font-size: 13px;
    font-weight: 600;
  }
  body#category #js-active-search-filters .active-filter-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body#category #js-active-search-filters .filter-block {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  body#category #js-active-search-filters .ps-active-filter-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-height: 30px !important;
    padding: 5px 12px !important;
    border-radius: 16px !important;
    background: #f7dfe2 !important;
    color: #b71423 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }
  body#category #js-active-search-filters .ps-chip-x {
    font-size: 16px;
    line-height: 1;
  }
  body#category #js-active-search-filters .ps-clear-all {
    margin-left: auto !important;
    padding-left: 18px !important;
    color: #bd1622 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }
}


/* ==========================================================
   PRINT-SPORT horizontal facets v2.3
   Desktop layout correction only: Pro koho + Velikost in one row.
   ========================================================== */
@media (min-width: 992px) {
  body#category #ps-horizontal-facets #search_filters .block_content {
    display: grid !important;
    grid-template-columns: minmax(300px, 35%) minmax(0, 65%) !important;
    align-items: start !important;
    gap: 0 !important;
  }

  body#category #ps-horizontal-facets .ps-facet-audience {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 2px 28px 4px 5px !important;
    border-right: 1px solid #e8ecef !important;
  }

  body#category #ps-horizontal-facets .ps-facet-size {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 2px 5px 4px 28px !important;
    border-right: 0 !important;
  }

  body#category #ps-horizontal-facets .facet-block > ul {
    align-content: flex-start !important;
  }

  body#category #ps-horizontal-facets {
    margin-bottom: 10px !important;
  }

  body#category #ps-horizontal-facets #search_filters {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
}


/* ==========================================================
   PRINT-SPORT dress navigation v2.4
   Dedicated navigation hook; does NOT use displayLeftColumn.
   ========================================================== */
@media (min-width: 992px) {
  body#category .ps-dress-layout {
    display: grid;
    grid-template-columns: 220px minmax(0,1fr);
    gap: 24px;
    align-items: start;
  }

  body#category .ps-dress-nav {
    border: 1px solid #e1e5e8;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
  }

  body#category .ps-dress-nav-title {
    padding: 15px 17px;
    border-bottom: 1px solid #eceff1;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #222;
  }

  body#category .ps-dress-nav-content {
    padding: 8px 0 12px;
  }

  body#category .ps-dress-nav-content:empty:after {
    content: "Menu připojíme v administraci";
    display: block;
    padding: 12px 17px;
    color: #8a8f94;
    font-size: 12px;
  }

  body#category .ps-dress-nav-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body#category .ps-dress-nav-content li {
    margin: 0;
    padding: 0;
  }

  body#category .ps-dress-nav-content a {
    position: relative;
    display: block;
    padding: 9px 17px;
    color: #34383c;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
  }

  body#category .ps-dress-nav-content a:hover {
    color: #bd1622;
    background: #fafafa;
  }

  body#category .ps-dress-nav-content .current > a,
  body#category .ps-dress-nav-content .active > a,
  body#category .ps-dress-nav-content a.current {
    color: #bd1622;
    font-weight: 700;
    background: #fff7f7;
  }

  body#category .ps-dress-nav-content .current > a:before,
  body#category .ps-dress-nav-content .active > a:before,
  body#category .ps-dress-nav-content a.current:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 3px;
    background: #bd1622;
  }

  body#category .ps-dress-nav-content ul ul a {
    padding-left: 29px;
    font-size: 12.5px;
  }

  body#category .ps-dress-main {
    min-width: 0;
  }

  /* v2.3 filter remains unchanged inside the right-hand area. */
  body#category .ps-dress-main #ps-horizontal-facets {
    margin-top: 0 !important;
  }
}

@media (max-width: 991.98px) {
  body#category .ps-dress-layout {
    display: block;
  }
  body#category .ps-dress-nav {
    display: none;
  }
}


/* ==========================================================
   PRINT-SPORT category layout v2.5
   Top: navigation left + category intro/banner right.
   Below: Elementor/category content -> facets -> products.
   ========================================================== */
@media (min-width: 992px) {
  body#category .ps-category-top-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
  }

  body#category .ps-category-top-layout .ps-dress-nav {
    display: block;
    min-height: 100%;
    border: 1px solid #e1e5e8;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
  }

  body#category .ps-category-top-layout .ps-dress-nav-title {
    padding: 15px 17px;
    border-bottom: 1px solid #eceff1;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content {
    padding: 8px 0 14px;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content:empty:after {
    content: "Menu připojíme v administraci";
    display: block;
    padding: 12px 17px;
    color: #8a8f94;
    font-size: 12px;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content a {
    position: relative;
    display: block;
    padding: 9px 17px;
    color: #34383c;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content a:hover {
    color: #bd1622;
    background: #fafafa;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content .current > a,
  body#category .ps-category-top-layout .ps-dress-nav-content .active > a,
  body#category .ps-category-top-layout .ps-dress-nav-content a.current {
    color: #bd1622;
    font-weight: 700;
    background: #fff7f7;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content .current > a:before,
  body#category .ps-category-top-layout .ps-dress-nav-content .active > a:before,
  body#category .ps-category-top-layout .ps-dress-nav-content a.current:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 3px;
    background: #bd1622;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content ul ul a {
    padding-left: 29px;
    font-size: 12.5px;
  }

  body#category .ps-category-intro {
    min-width: 0;
    min-height: 190px;
  }

  /* Let a category image/banner fill the right-hand intro area cleanly. */
  body#category .ps-category-intro img {
    max-width: 100%;
    height: auto;
  }

  body#category .ps-category-builder-content:empty {
    display: none;
  }

  body#category .ps-category-builder-content {
    margin-bottom: 22px;
  }

  /* Facets are full-width below the whole top row. */
  body#category #ps-horizontal-facets {
    width: 100%;
    margin-top: 0 !important;
  }
}

@media (max-width: 991.98px) {
  body#category .ps-category-top-layout {
    display: block;
    margin-bottom: 18px;
  }

  body#category .ps-category-top-layout .ps-dress-nav {
    display: none;
  }

  body#category .ps-category-builder-content:empty {
    display: none;
  }
}


/* ==========================================================
   PRINT-SPORT category navigation v2.6
   Simple generic menu. Hook output may use:
   .ps-nav-section-title
   ul / li / a
   .current or .active on the current category.
   ========================================================== */
@media (min-width: 992px) {
  body#category .ps-category-top-layout .ps-dress-nav-content {
    padding: 0 0 14px !important;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content:empty:after {
    content: "Navigace kategorie";
    display: block;
    padding: 15px 17px;
    color: #222;
    font-size: 15px;
    font-weight: 700;
  }

  body#category .ps-nav-section-title,
  body#category .ps-category-top-layout .ps-dress-nav-content > h2,
  body#category .ps-category-top-layout .ps-dress-nav-content > h3 {
    margin: 0 !important;
    padding: 15px 17px !important;
    border-bottom: 1px solid #eceff1 !important;
    color: #222 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content > ul {
    padding-top: 8px !important;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content a {
    position: relative !important;
    display: block !important;
    padding: 9px 17px !important;
    color: #34383c !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content a:hover {
    color: #bd1622 !important;
    background: #fafafa !important;
  }

  /* Current/main selected category */
  body#category .ps-category-top-layout .ps-dress-nav-content li.current > a,
  body#category .ps-category-top-layout .ps-dress-nav-content li.active > a,
  body#category .ps-category-top-layout .ps-dress-nav-content a.current,
  body#category .ps-category-top-layout .ps-dress-nav-content a.active {
    color: #bd1622 !important;
    background: #fff7f7 !important;
    font-weight: 700 !important;
  }

  body#category .ps-category-top-layout .ps-dress-nav-content li.current > a:before,
  body#category .ps-category-top-layout .ps-dress-nav-content li.active > a:before,
  body#category .ps-category-top-layout .ps-dress-nav-content a.current:before,
  body#category .ps-category-top-layout .ps-dress-nav-content a.active:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 5px !important;
    bottom: 5px !important;
    width: 3px !important;
    background: #bd1622 !important;
  }
}


/* ==========================================================
   PRINT-SPORT complete category navigation v2.8
   Always shows all main sections + exactly one child level.
   ========================================================== */
@media (min-width: 992px) {
  body#category .ps-category-nav-menu--complete .ps-nav-section {
    border-bottom: 1px solid #eceff1;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-section:last-child {
    border-bottom: 0;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-section-title {
    position: relative;
    display: block;
    margin: 0 !important;
    padding: 13px 17px !important;
    border-bottom: 0 !important;
    color: #24272a !important;
    background: #f7f8f9 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-section-title:hover {
    color: #bd1622 !important;
    background: #f4f4f4 !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-section-title.active {
    color: #fff !important;
    background: #bd1622 !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-list {
    margin: 0 !important;
    padding: 6px 0 8px !important;
    list-style: none !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-list li a {
    padding: 7px 17px 7px 22px !important;
    font-size: 12.5px !important;
    line-height: 1.3 !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-list li.active > a,
  body#category .ps-category-nav-menu--complete .ps-nav-list li.current > a {
    color: #bd1622 !important;
    background: #fff7f7 !important;
    font-weight: 700 !important;
  }
}


/* ==========================================================
   PRINT-SPORT v2.9 — compact category menu + dynamic collections
   ========================================================== */
@media (min-width: 992px) {
  /* Remove the previous "boxed section header" feeling. */
  body#category .ps-category-nav-menu--complete .ps-nav-section {
    border-bottom: 0 !important;
    padding: 0 0 14px !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-section + .ps-nav-section {
    padding-top: 9px !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-section-title,
  body#category .ps-category-nav-menu--complete .ps-nav-section-title.active {
    display: block !important;
    margin: 0 !important;
    padding: 5px 17px 7px !important;
    border: 0 !important;
    background: transparent !important;
    color: #292d31 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-list {
    margin: 0 !important;
    padding: 0 !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-list li {
    margin: 0 !important;
    padding: 0 !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-list li a {
    position: relative !important;
    padding: 5px 17px 5px 22px !important;
    color: #555b61 !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-list li a:hover {
    color: #bd1622 !important;
    background: #fafafa !important;
  }

  /* ONLY selected child category is red and gets the left stripe. */
  body#category .ps-category-nav-menu--complete .ps-nav-list li.active > a,
  body#category .ps-category-nav-menu--complete .ps-nav-list li.current > a {
    color: #bd1622 !important;
    background: #fff7f7 !important;
    font-weight: 700 !important;
  }

  body#category .ps-category-nav-menu--complete .ps-nav-list li.active > a:before,
  body#category .ps-category-nav-menu--complete .ps-nav-list li.current > a:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    bottom: 2px !important;
    width: 3px !important;
    background: #bd1622 !important;
  }

  /* Main category itself is never painted red. */
  body#category .ps-category-nav-menu--complete .ps-nav-section-title:before {
    display: none !important;
  }
}

/* Dynamic PrestaShop category previews / collections */
body#category .ps-dynamic-collections {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 24px;
}

body#category .ps-collection-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e1e5e8;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0,0,0,.05);
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease;
}

body#category .ps-collection-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.09);
}

body#category .ps-collection-image {
  display: flex;
  height: 165px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

body#category .ps-collection-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body#category .ps-collection-placeholder {
  width: 100%;
  height: 100%;
  background: #f5f6f7;
}

body#category .ps-collection-name {
  display: block;
  padding: 10px 8px;
  background: #b71921;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  body#category .ps-dynamic-collections {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body#category .ps-dynamic-collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body#category .ps-collection-image {
    height: 135px;
  }
}
\n\n/* ==========================================================\n   PRINT-SPORT v3.0 — collections inside the right intro column\n   ========================================================== */\nbody#category .ps-category-top-layout {\n  align-items: stretch !important;\n}\nbody#category .ps-category-intro {\n  min-width: 0;\n}\nbody#category .ps-category-collections-content:empty {\n  display: none;\n}\nbody#category .ps-category-collections-content .ps-dynamic-collections {\n  margin-top: 18px;\n  margin-bottom: 22px;\n}\n@media (min-width: 1200px) {\n  body#category .ps-category-collections-content .ps-dynamic-collections {\n    grid-template-columns: repeat(5, minmax(0, 1fr));\n  }\n  body#category .ps-category-collections-content .ps-collection-image {\n    height: 180px;\n  }\n}\n@media (min-width: 992px) and (max-width: 1199.98px) {\n  body#category .ps-category-collections-content .ps-dynamic-collections {\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n  }\n}\n\n\n/* PRINT-SPORT v3.1 — larger category collection images */\nbody#category .ps-collection-image {\n  height: 185px !important;\n  padding: 6px 8px 3px !important;\n}\nbody#category .ps-collection-image img {\n  width: 100% !important;\n  height: 100% !important;\n  max-width: none !important;\n  max-height: none !important;\n  object-fit: contain !important;\n}\n@media (max-width: 767.98px) {\n  body#category .ps-collection-image {\n    height: 150px !important;\n  }\n}\n
/* ==========================================================
   PRINT-SPORT v3.2 — dynamic category hero + stronger menu headings
   ========================================================== */

/* Main category groups in the left navigation are deliberately stronger
   than their child links. Active child styling remains unchanged. */
body#category .ps-category-nav-menu--complete .ps-nav-section-title,
body#category .ps-category-nav-menu--complete .ps-nav-section-title.active {
  font-weight: 800 !important;
  color: #202326 !important;
}

/* Universal category hero. The image sits on a white island, so source
   photos with a white background blend into the composition naturally. */
body#category .ps-category-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, .82fr);
  min-height: 275px;
  overflow: hidden;
  margin: 0 0 20px;
  border: 1px solid #e7e9eb;
  border-radius: 10px;
  background: linear-gradient(115deg, #f4f5f6 0%, #f7f7f8 58%, #fff 58%, #fff 100%);
  box-shadow: 0 3px 14px rgba(0,0,0,.045);
}

body#category .ps-category-hero:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: #bd1622;
}

body#category .ps-category-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 30px 30px 28px 36px;
}

body#category .ps-category-hero-kicker {
  display: block;
  margin: 0 0 8px;
  color: #bd1622;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .11em;
  text-transform: uppercase;
}

body#category .ps-category-hero-title {
  margin: 0 0 13px !important;
  color: #17191b !important;
  font-size: clamp(29px, 2.5vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -.025em;
}

body#category .ps-category-hero-description {
  max-width: 650px;
  color: #555b60;
  font-size: 14px;
  line-height: 1.55;
}

body#category .ps-category-hero-description p:last-child {
  margin-bottom: 0;
}

body#category .ps-category-hero-scroll {
  align-self: flex-start;
  margin-top: 17px;
  color: #bd1622 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .025em;
  text-decoration: none !important;
  text-transform: uppercase;
}

body#category .ps-category-hero-scroll span {
  display: inline-block;
  margin-left: 5px;
  transition: transform .15s ease;
}

body#category .ps-category-hero-scroll:hover span {
  transform: translateY(2px);
}

body#category .ps-category-hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 18px 22px 18px 8px;
}

body#category .ps-category-hero-image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 235px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50% 10px 10px 50%;
  background: #fff;
}

body#category .ps-category-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body#category .ps-category-hero-shape {
  position: absolute;
  display: block;
  pointer-events: none;
}

body#category .ps-category-hero-shape--one {
  right: 4%;
  top: -46px;
  width: 185px;
  height: 185px;
  border: 1px solid rgba(189,22,34,.13);
  border-radius: 50%;
}

body#category .ps-category-hero-shape--two {
  right: 58%;
  bottom: -60px;
  width: 145px;
  height: 145px;
  border-radius: 26px;
  background: rgba(189,22,34,.045);
  transform: rotate(28deg);
}

body#category .ps-category-hero--no-image {
  grid-template-columns: 1fr;
  min-height: 220px;
  background: linear-gradient(115deg, #f4f5f6 0%, #fafafa 100%);
}

body#category .ps-category-hero--no-image .ps-category-hero-copy {
  max-width: 850px;
}

/* The old category-header styles must not reserve space around our hero. */
body#category .ps-category-intro > .ps-category-hero + .ps-category-collections-content {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  body#category .ps-category-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(210px, .9fr);
    min-height: 245px;
  }
  body#category .ps-category-hero-copy {
    padding: 25px 22px 24px 28px;
  }
  body#category .ps-category-hero-image-wrap {
    height: 205px;
  }
}

@media (max-width: 767.98px) {
  body#category .ps-category-hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: #f5f6f7;
  }
  body#category .ps-category-hero-copy {
    order: 2;
    padding: 22px 20px 24px 24px;
  }
  body#category .ps-category-hero-title {
    font-size: 30px !important;
  }
  body#category .ps-category-hero-visual {
    order: 1;
    height: 220px;
    padding: 12px 14px 0 18px;
    background: #fff;
  }
  body#category .ps-category-hero-image-wrap {
    height: 205px;
    border-radius: 8px;
  }
}


/* ==========================================================
   PRINT-SPORT v3.3 — hero image, compact facets, bold menu groups
   ========================================================== */
@media (min-width: 992px) {
  /* Make the source category image a real visual focus. */
  body#category .ps-category-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  }
  body#category .ps-category-hero-visual {
    padding: 8px 14px 8px 0 !important;
  }
  body#category .ps-category-hero-image-wrap {
    height: 255px !important;
    overflow: visible !important;
  }
  body#category .ps-category-hero-image {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    object-fit: contain !important;
  }

  /* Facets: same controls, less empty vertical space. */
  body#category #ps-horizontal-facets {
    margin-top: 12px !important;
    margin-bottom: 8px !important;
  }
  body#category #ps-horizontal-facets #search_filters {
    padding-top: 10px !important;
    padding-bottom: 8px !important;
  }
  body#category #ps-horizontal-facets .ps-facet-audience,
  body#category #ps-horizontal-facets .ps-facet-size {
    padding-top: 0 !important;
    padding-bottom: 2px !important;
  }
  body#category #ps-horizontal-facets .facet-title {
    margin-bottom: 7px !important;
  }

  /* Main navigation groups: visibly bold, child links stay regular. */
  body#category aside.ps-dress-nav .ps-category-nav-menu--complete a.ps-nav-section-title,
  body#category aside.ps-dress-nav .ps-category-nav-menu--complete a.ps-nav-section-title.active {
    font-family: inherit !important;
    font-weight: 800 !important;
    color: #1f2327 !important;
  }
  body#category aside.ps-dress-nav .ps-category-nav-menu--complete .ps-nav-list > li > a {
    font-weight: 400 !important;
  }
  body#category aside.ps-dress-nav .ps-category-nav-menu--complete .ps-nav-list > li.active > a,
  body#category aside.ps-dress-nav .ps-category-nav-menu--complete .ps-nav-list > li.current > a {
    font-weight: 700 !important;
  }
}

/* ==========================================================
   PRINT-SPORT v3.3.2 — larger category hero product image
   The category image itself contains generous white margins,
   so zoom the raster inside the existing white hero area.
   ========================================================== */
@media (min-width: 992px) {
  body#category .ps-category-hero-image-wrap {
    overflow: hidden !important;
  }
  body#category .ps-category-hero-image {
    transform: scale(2.65);
    transform-origin: center center;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  body#category .ps-category-hero-image-wrap {
    overflow: hidden !important;
  }
  body#category .ps-category-hero-image {
    transform: scale(2.25);
    transform-origin: center center;
  }
}

@media (max-width: 767.98px) {
  body#category .ps-category-hero-image-wrap {
    overflow: hidden !important;
  }
  body#category .ps-category-hero-image {
    transform: scale(1.65);
    transform-origin: center center;
  }
}

/* ==========================================================
   PRINT-SPORT v3.5 — branded facets + robust mobile category UI
   ========================================================== */
:root {
  --ps-brand-red: #bd1622;
  --ps-facet-bg: #f4f5f6;
  --ps-facet-border: #bd1622;
}

/* Facet panel: light grey field, white controls, PRINT-SPORT dark red. */
body#category #ps-horizontal-facets #search_filters {
  background: var(--ps-facet-bg) !important;
  border-color: #e0e3e6 !important;
}
body#category #ps-horizontal-facets .facet-title {
  color: var(--ps-brand-red) !important;
  font-weight: 800 !important;
}
body#category #ps-horizontal-facets .ps-facet-buttons .facet-label a,
body#category #ps-horizontal-facets .ps-facet-buttons .facet-label a.custom-control-label,
body#category #ps-horizontal-facets .ps-facet-buttons .custom-control-label {
  background: #fff !important;
  border-color: var(--ps-facet-border) !important;
  color: var(--ps-brand-red) !important;
}
body#category #ps-horizontal-facets .ps-facet-buttons .facet-label:hover a,
body#category #ps-horizontal-facets .ps-facet-buttons .facet-label:hover a.custom-control-label {
  background: #fffafa !important;
  border-color: var(--ps-brand-red) !important;
  color: var(--ps-brand-red) !important;
}
body#category #ps-horizontal-facets .ps-facet-buttons .facet-label.active a,
body#category #ps-horizontal-facets .ps-facet-buttons .facet-label.active a.custom-control-label,
body#category #ps-horizontal-facets .ps-facet-buttons .facet-label input:checked + a.custom-control-label {
  background: var(--ps-brand-red) !important;
  border-color: var(--ps-brand-red) !important;
  color: #fff !important;
}

/* Mobile/tablet: previous versions intentionally hid the custom navigation
   and horizontal facets below 992px. v3.5 keeps the same UI responsive. */
@media (max-width: 991.98px) {
  body#category .ps-category-top-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }

  /* Category navigation becomes a compact, scrollable card instead of disappearing. */
  body#category .ps-category-top-layout .ps-dress-nav,
  body#category .ps-dress-nav {
    display: block !important;
    width: 100% !important;
    border: 1px solid #e1e5e8 !important;
    border-radius: 7px !important;
    background: #fff !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  body#category .ps-category-nav-menu--complete {
    display: flex !important;
    min-width: max-content !important;
    padding: 6px 8px !important;
    gap: 8px !important;
  }
  body#category .ps-category-nav-menu--complete .ps-nav-section {
    min-width: 155px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body#category .ps-category-nav-menu--complete .ps-nav-section-title,
  body#category .ps-category-nav-menu--complete .ps-nav-section-title.active {
    display: block !important;
    padding: 7px 10px !important;
    color: #202326 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
  }
  body#category .ps-category-nav-menu--complete .ps-nav-list {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  body#category .ps-category-nav-menu--complete .ps-nav-list li a {
    position: relative !important;
    display: block !important;
    padding: 6px 10px 6px 13px !important;
    color: #555b61 !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }
  body#category .ps-category-nav-menu--complete .ps-nav-list li.active > a,
  body#category .ps-category-nav-menu--complete .ps-nav-list li.current > a {
    color: var(--ps-brand-red) !important;
    background: #fff7f7 !important;
    font-weight: 700 !important;
  }
  body#category .ps-category-nav-menu--complete .ps-nav-list li.active > a:before,
  body#category .ps-category-nav-menu--complete .ps-nav-list li.current > a:before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    bottom: 3px !important;
    width: 3px !important;
    background: var(--ps-brand-red) !important;
  }

  /* Hero: explicit responsive rules for Chrome/Android. */
  body#category .ps-category-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 38%) !important;
    min-height: 220px !important;
    margin-bottom: 14px !important;
  }
  body#category .ps-category-hero-copy {
    order: initial !important;
    padding: 20px 18px 20px 24px !important;
  }
  body#category .ps-category-hero-title {
    font-size: 29px !important;
  }
  body#category .ps-category-hero-description {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  body#category .ps-category-hero-visual {
    order: initial !important;
    height: auto !important;
    min-height: 220px !important;
    padding: 8px !important;
    background: #fff !important;
    overflow: hidden !important;
  }
  body#category .ps-category-hero-image-wrap {
    width: 100% !important;
    height: 205px !important;
    overflow: hidden !important;
    border-radius: 50% 8px 8px 50% !important;
  }

  /* Horizontal facets remain visible on mobile instead of falling back to
     a missing left-column/off-canvas presentation. */
  body#category #ps-horizontal-facets,
  body#category .ps-horizontal-facets {
    display: block !important;
    width: 100% !important;
    margin: 10px 0 12px !important;
  }
  body#category #ps-horizontal-facets #search_filters {
    display: block !important;
    padding: 11px 12px !important;
    background: var(--ps-facet-bg) !important;
    border: 1px solid #e0e3e6 !important;
    border-radius: 7px !important;
  }
  body#category #ps-horizontal-facets #search_filters .block_content {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  body#category #ps-horizontal-facets .facet-block {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 9px !important;
    border: 0 !important;
    border-bottom: 1px solid #dde1e4 !important;
  }
  body#category #ps-horizontal-facets .facet-block:last-child {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }
  body#category #ps-horizontal-facets .facet-block > .title.hidden-md-up {
    display: none !important;
  }
  body#category #ps-horizontal-facets .facet-block > .facet-title.hidden-sm-down {
    display: block !important;
    margin: 0 0 7px !important;
    color: var(--ps-brand-red) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }
  body#category #ps-horizontal-facets .facet-block > ul.collapse,
  body#category #ps-horizontal-facets .facet-block > ul.collapse.in,
  body#category #ps-horizontal-facets .facet-block > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1px 1px 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }
  body#category #ps-horizontal-facets .facet-block > ul > li {
    flex: 0 0 auto !important;
  }
  body#category #ps-horizontal-facets .ps-facet-buttons .facet-label a,
  body#category #ps-horizontal-facets .ps-facet-buttons .facet-label a.custom-control-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 54px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid var(--ps-brand-red) !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: var(--ps-brand-red) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 575.98px) {
  body#category .ps-category-hero {
    display: flex !important;
    flex-direction: column !important;
  }
  body#category .ps-category-hero-visual {
    order: 1 !important;
    min-height: 170px !important;
    height: 170px !important;
    padding: 6px 12px 0 !important;
  }
  body#category .ps-category-hero-copy {
    order: 2 !important;
    padding: 18px 18px 20px 22px !important;
  }
  body#category .ps-category-hero-image-wrap {
    height: 165px !important;
    border-radius: 8px !important;
  }
  body#category .ps-category-hero-image {
    transform: scale(1.75) !important;
  }
  body#category .ps-category-hero-title {
    font-size: 27px !important;
  }
  body#category .ps-category-hero-scroll {
    margin-top: 12px !important;
  }
}

/* ==========================================================
   PRINT-SPORT v3.6 — desktop facet layout + cleaner phone UI
   ========================================================== */

/* Toggle exists only for phones; desktop/tablet keeps the original 2-column panel. */
body#category .ps-mobile-facets-toggle,
body#category .ps-mobile-facets-toggle-label {
  display: none;
}

@media (min-width: 992px) {
  /* Restore the original PRINT-SPORT layout: PRO KOHO left, VELIKOST right. */
  body#category #ps-horizontal-facets #search_filters .block_content.ps-facets-content {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  body#category #ps-horizontal-facets .ps-facet-audience {
    order: 1 !important;
    flex: 0 0 34% !important;
  }
  body#category #ps-horizontal-facets .ps-facet-size {
    order: 2 !important;
    flex: 1 1 66% !important;
  }
}

@media (max-width: 767.98px) {
  /* The site's main hamburger navigation is enough on phones. */
  body#category .ps-category-top-layout .ps-dress-nav,
  body#category aside.ps-dress-nav,
  body#category .ps-dress-nav {
    display: none !important;
  }

  body#category .ps-category-top-layout {
    display: block !important;
    margin-bottom: 10px !important;
  }
  body#category .ps-category-intro {
    width: 100% !important;
  }

  /* Phone hero is text-only. */
  body#category .ps-category-hero {
    display: block !important;
    min-height: 0 !important;
    margin-bottom: 10px !important;
  }
  body#category .ps-category-hero-visual {
    display: none !important;
  }
  body#category .ps-category-hero-copy {
    width: 100% !important;
    padding: 17px 18px 16px 21px !important;
  }
  body#category .ps-category-hero-title {
    margin-bottom: 8px !important;
    font-size: 26px !important;
    line-height: 1.08 !important;
  }
  body#category .ps-category-hero-description {
    margin-bottom: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  body#category .ps-category-hero-scroll {
    display: none !important;
  }

  /* Collapsible facets, closed by default. */
  body#category #ps-horizontal-facets,
  body#category .ps-horizontal-facets {
    display: block !important;
    margin: 9px 0 12px !important;
  }
  body#category #ps-horizontal-facets #search_filters {
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--ps-facet-bg) !important;
    border: 1px solid #e0e3e6 !important;
    border-radius: 7px !important;
  }
  body#category .ps-mobile-facets-toggle {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  body#category .ps-mobile-facets-toggle-label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 15px !important;
    background: #f4f5f6 !important;
    color: var(--ps-brand-red) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: .025em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
  }
  body#category .ps-mobile-facets-toggle-icon {
    position: relative !important;
    width: 18px !important;
    height: 18px !important;
  }
  body#category .ps-mobile-facets-toggle-icon:before,
  body#category .ps-mobile-facets-toggle-icon:after {
    content: "" !important;
    position: absolute !important;
    left: 3px !important;
    top: 8px !important;
    width: 12px !important;
    height: 2px !important;
    background: var(--ps-brand-red) !important;
    transition: transform .18s ease !important;
  }
  body#category .ps-mobile-facets-toggle-icon:after {
    transform: rotate(90deg) !important;
  }
  body#category .ps-mobile-facets-toggle:checked + .ps-mobile-facets-toggle-label .ps-mobile-facets-toggle-icon:after {
    transform: rotate(0deg) !important;
  }
  body#category .ps-mobile-facets-toggle ~ .ps-facets-content {
    display: none !important;
  }
  body#category .ps-mobile-facets-toggle:checked ~ .ps-facets-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 10px 12px 12px !important;
    border-top: 1px solid #e0e3e6 !important;
  }
  body#category #ps-horizontal-facets .ps-facets-content .facet-block {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 0 10px !important;
    border: 0 !important;
    border-bottom: 1px solid #dde1e4 !important;
  }
  body#category #ps-horizontal-facets .ps-facets-content .facet-block:last-child {
    border-bottom: 0 !important;
    padding-bottom: 2px !important;
  }
  body#category #ps-horizontal-facets .facet-block > .title.hidden-md-up {
    display: none !important;
  }
  body#category #ps-horizontal-facets .facet-block > .facet-title.hidden-sm-down {
    display: block !important;
    margin: 0 0 7px !important;
    color: var(--ps-brand-red) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
  }
  body#category #ps-horizontal-facets .facet-block > ul.collapse,
  body#category #ps-horizontal-facets .facet-block > ul.collapse.in,
  body#category #ps-horizontal-facets .facet-block > ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
}

/* ==========================================================
   PRINT-SPORT v3.7 — clean facet buttons + reliable mobile drawer
   ========================================================== */

/* Button facets use the link itself as the visual control. Hide PrestaShop's
   native checkbox/radio UI so no empty squares/checkmarks appear above buttons. */
body#category #ps-horizontal-facets .ps-facet-buttons .facet-label > .custom-checkbox,
body#category #ps-horizontal-facets .ps-facet-buttons .facet-label > .custom-radio {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Keep the desktop panel compact and in the original two-column layout. */
@media (min-width: 768px) {
  body#category #ps-horizontal-facets #search_filters > .ps-mobile-facets-toggle,
  body#category #ps-horizontal-facets #search_filters > .ps-mobile-facets-toggle-label {
    display: none !important;
  }
  body#category #ps-horizontal-facets #search_filters > .ps-facets-content {
    display: flex !important;
  }
}

@media (max-width: 767.98px) {
  /* Closed is the real default state. These selectors deliberately outrank
     older responsive rules in the theme that force .block_content to flex. */
  body#category #ps-horizontal-facets #search_filters > input.ps-mobile-facets-toggle:not(:checked) ~ div.ps-facets-content.block_content {
    display: none !important;
  }
  body#category #ps-horizontal-facets #search_filters > input.ps-mobile-facets-toggle:checked ~ div.ps-facets-content.block_content {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 10px 12px 12px !important;
    border-top: 1px solid #e0e3e6 !important;
  }

  /* Mobile buttons wrap naturally in the opened drawer. */
  body#category #ps-horizontal-facets .ps-facet-buttons > ul,
  body#category #ps-horizontal-facets .ps-facet-buttons > ul.collapse,
  body#category #ps-horizontal-facets .ps-facet-buttons > ul.collapse.in {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    overflow: visible !important;
    padding: 0 !important;
  }
}


/* ==========================================================
   PRINT-SPORT v3.8 — final filter polish
   ========================================================== */

/* Never show ps_facetedsearch's own grey Clear all control inside our panel. */
body#category #ps-horizontal-facets #_desktop_search_filters_clear_all,
body#category #ps-horizontal-facets .clear-all-wrapper,
body#category #ps-horizontal-facets .js-search-filters-clear-all {
  display: none !important;
}

@media (max-width: 767.98px) {
  /* Our red FILTROVAT PRODUKTY drawer replaces the theme's second/native filter trigger. */
  body#category #search_filter_toggler,
  body#category .js-search-toggler,
  body#category .filter-button,
  body#category .products-selection .filter-button,
  body#category #_mobile_search_filters_clear_all {
    display: none !important;
  }

  /* Selected filters: compact branded card below sorting. */
  body#category #js-active-search-filters.ps-active-filter-bar,
  body#category #active-filters .active_filters {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    min-height: 0 !important;
    margin: 9px 0 14px !important;
    padding: 9px 11px !important;
    border: 1px solid #e2e5e8 !important;
    border-radius: 7px !important;
    background: #f5f6f7 !important;
    box-shadow: none !important;
  }
  body#category #js-active-search-filters .ps-active-filter-title,
  body#category #active-filters .active_filters > .active-filter-title {
    margin: 0 2px 0 0 !important;
    color: #555d64 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }
  body#category #js-active-search-filters .active-filter-list {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body#category #js-active-search-filters .filter-block,
  body#category #active-filters .filter-block {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  body#category #js-active-search-filters .ps-active-filter-chip,
  body#category #active-filters .filter-block a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 27px !important;
    margin: 0 !important;
    padding: 4px 9px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: #f7dfe2 !important;
    color: #b71423 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }
  body#category #js-active-search-filters .ps-chip-x {
    color: #b71423 !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }
  body#category #js-active-search-filters .ps-clear-all,
  body#category #active-filters .js-search-filters-clear-all {
    flex: 1 0 100% !important;
    width: auto !important;
    margin: 2px 0 0 !important;
    padding: 7px 0 0 !important;
    border: 0 !important;
    border-top: 1px solid #e1e4e7 !important;
    background: transparent !important;
    color: #bd1622 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-decoration: none !important;
  }
}


/* ==========================================================
   PRINT-SPORT v3.9.1 — definitive category hero image sizing
   Neutralizes legacy zoom rules from earlier category layouts.
   ========================================================== */
@media (min-width: 768px) {
  body#category .ps-category-hero-visual {
    overflow: hidden !important;
  }

  body#category .ps-category-hero-image-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 250px !important;
    min-height: 0 !important;
    max-height: 250px !important;
    overflow: hidden !important;
  }

  body#category .ps-category-hero-image-wrap > img.ps-category-hero-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 250px !important;
    max-height: 250px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    scale: 1 !important;
    zoom: 1 !important;
  }
}


/* PRINT-SPORT v4.0: two-column category hero + independent full-width Elementor row. */
body#category .ps-category-elementor-content[hidden] { display: none !important; }
body#category .ps-category-elementor-content:not([hidden]) {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 24px;
  clear: both;
}
body#category .ps-category-elementor-content > .elementor { width: 100%; max-width: 100%; }
body#category .ps-category-hero-description > .elementor { display: none; }
@media (min-width: 768px) {
  body#category .ps-category-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
    min-height: 295px;
  }
  body#category .ps-category-hero-visual { min-width: 0; }
  body#category .ps-category-hero-image-wrap {
    height: 280px !important;
    max-height: 280px !important;
  }
  body#category .ps-category-hero-image-wrap > img.ps-category-hero-image {
    max-width: 300px !important;
    max-height: 280px !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
  }
}
@media (max-width: 767.98px) {
  body#category .ps-category-elementor-content:not([hidden]) { margin-bottom: 16px; }
  /* Preserve the existing text-only mobile hero. */
  body#category .ps-category-hero-visual { display: none !important; }
}

/* PRINT-SPORT v4.0.1: Elementor full-width row inside the category hero card. */
body#category .ps-category-hero {
  display: grid;
  grid-template-rows: auto auto;
  align-items: start;
}
body#category .ps-category-hero > .ps-category-elementor-content {
  grid-column: 1 / -1 !important;
  grid-row: 2;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 30px 26px;
  clear: both;
}
body#category .ps-category-hero > .ps-category-elementor-content > .elementor {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 767.98px) {
  body#category .ps-category-hero > .ps-category-elementor-content {
    padding: 0 18px 18px;
  }
}

/* ==========================================================
   PRINT-SPORT v4.0.2 — show category image on mobile
   Mobile order: category text -> category image -> Elementor row.
   ========================================================== */
@media (max-width: 767.98px) {
  body#category .ps-category-hero:not(.ps-category-hero--no-image) .ps-category-hero-visual {
    display: flex !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 18px 14px 21px !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }

  body#category .ps-category-hero:not(.ps-category-hero--no-image) .ps-category-hero-image-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 190px !important;
    min-height: 0 !important;
    max-height: 190px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #fff !important;
  }

  body#category .ps-category-hero:not(.ps-category-hero--no-image) .ps-category-hero-image-wrap > img.ps-category-hero-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 185px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    scale: 1 !important;
    zoom: 1 !important;
  }

  body#category .ps-category-hero-shape {
    display: none !important;
  }
}
