@media (max-width: 1465px) {
  .container {max-width: 1260px;width: 100%;}
  .header-top, #navigation {max-width: 1220px;width: 100%;}

  .header-top>div.navigation-buttons {}
  .header-top>div.search {margin-left: initial;}
  .header-top .site-contact {padding: 0 40px;}

  .subcategories li {width: 25%;}
}

@media (max-width: 1285px) {
  .container {max-width: 1060px;width: 100%;}
  .header-top, #navigation {max-width: 1020px;width: 100%;}

  .header-top .site-contact {display: none;}
  .header-top>div.search {margin-left: auto;margin-right: auto;}

  .usps {flex-flow: row wrap;}
  .usps__item {width: calc(25% - 10px);margin-bottom: 10px;margin-right: 10px;}
  .usps__item.--heureka {width: 100%;border: 0;min-height: 100px;flex-direction: column;justify-content: center;align-items: flex-start;padding-left: 100px;}
  .usps__item.--heureka div {flex: 0 0 100%;}
  .usps__item.--heureka img {left: 0;}

  .footer-banners .footer-banner {padding: 0 10px;}

  .custom-footer>div {width: 33.3333%;}
  .custom-footer>div:nth-of-type(1) {width: 66.666%;}
  .custom-footer>div:nth-of-type(2) {width: 33.333%;}

  .sidebar {margin-right: 0;}

  .products-block:not(.slick-slider) {gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr));}
}

@media (max-width: 1065px) {
  .container {max-width: 768px;width: 100%;}
  .header-top, #navigation {max-width: 728px;width: 100%;}

  .header-top>div.search #formSearchForm {width: 335px;}
  .header-top>div.navigation-buttons {padding-left: 0;}

  .next-to-carousel-banners .banner-wrapper {padding: 0 3px;}
  .next-to-carousel-banners {margin: 0 -3px;}

  .usps__item {width: calc(50% - 10px);padding: 15px 10px;}
  .usps__item p {padding-right: 0;}

  #newsWrapper .news-item {width: 50%;}
  body.in-index #newsWrapper .news-item:nth-of-type(+n+3) {display: none!important;}

  .subcategories li {width: 50%;}
  .products-block:not(.slick-slider) {gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 991px) {
  /* Breadcrumbs */
  .breadcrumbs>span>a::after {content: "";position: absolute;top: 2px;display: none;}
  .breadcrumbs>span>a {position: relative;padding: 0;display: flex;align-items: center;}
  .breadcrumbs>span>a::before {content: "";margin-right: 8px;background-color: transparent;display: flex;width: 16px;height: 17px;flex: 0 0 16px;background-image: url("data:image/svg+xml,%3Csvg width='16' height='17' viewBox='0 0 16 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.4444 11.4167L4.66663 8.5M4.66663 8.5L7.4444 5.58334M4.66663 8.5H11.3333' stroke='%233B3732' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");}
  .breadcrumbs {display: flex;padding: 14px 0;}
  /*#navigation-first>a>span::before {content: "Úvod";font-size: 16px;background-image: initial;width: auto;height: auto;}*/

  .breadcrumbs>span {display: none;}
  .breadcrumbs>span:nth-last-of-type(2) {display: flex;}

  body.type-category .breadcrumbs>span:last-of-type {display: none;}
  body.type-category .breadcrumbs>span:nth-of-type(1) {display: flex;}
  body.type-category:has(#navigation-2) #navigation-first {display: none;}

  .popup-widget.cart-widget, .popup-widget.login-widget, .popup-widget.search-widget {top:var(--ji-header-top-bottom);}
}

@media (max-width: 767px) {
  body {
    --ji-top-bar-height:0px;
    --ji-header-top-height:60px;
    --ji-navigation-height:0px;
  }

  body {font-size: 16px;}
  .content-wrapper.container .row {margin-left: 0;margin-right: 0;}
  .content-wrapper.container .row>div {padding-left: 0;padding-right: 0;}
  .content-wrapper.container .row.cart-row>div {padding-left: 10px;padding-right: 10px;max-width: 100%;}
  .container {padding-left: 10px;padding-right: 10px;max-width: 100%;}
  .content-wrapper.container {padding-left: 10px;padding-right: 10px;}
  .only-desktop {display: none;}
  .only-mobile {display: flex!important;}
  .scrolled-down body:not(.ordering-process):not(.search-window-visible) .top-navigation-bar {transform: initial;}
  .scrolled body:not(.search-window-visible) .top-navigation-bar {box-shadow: initial;}
  .scrolled-down body:not(.ordering-process):not(.search-window-visible) #header .site-name {transform: initial;}
  .scrolled-down body:not(.ordering-process):not(.search-window-visible) #header .cart-count {transform: initial;}
  .has-carousel .content-wrapper-in>#content.content.wide {padding-left: 0;padding-right: 0;}
  .site-msg.information {z-index:21;box-shadow: unset;}

  body.type-index .content .banners-row {margin-top:13px;}

  #newsWrapper .news-item {width: 100%;padding-right: 0;margin-bottom: 0px;}
  #newsWrapper .news-item .image {margin-bottom: 0;}
  #newsWrapper {margin-right: 0;margin-bottom: 0;}

  .footer-banners .footer-banner {width: 100%;padding: 0;margin-bottom: 10px;}

  .slick-next {right: -10px;}
  .slick-prev {left: -10px;}

  .products-block .p-bottom .p-tools {width: 80px;background-color: #17213D;border-radius: 21px;}
  .products-block .p-bottom .p-tools::before {opacity: 0;}
  .products-block .p-bottom .p-tools>* {opacity: 1;}

  .body-banners {margin-bottom: 30px;}
  .homepage-group-btn {margin-bottom: 35px;}

  #header {position: fixed;top: var(--ji-site-msg-bottom);left: 0;width: 100%;box-shadow: 0 0 10px rgb(0, 0, 0, 0.2);}
  #header .cart-count {top: initial;right: initial;padding: 10px 5px;}
  body.template-11 #dkLabComparerHeaderWrappper {position: initial;}
  .header-top>div.navigation-buttons {justify-content: initial;width: auto;flex: initial;padding-right: 0px;margin-left: auto;}
  .header-top {position: initial;display: flex;align-items: center;}

  .navigation-buttons>a.login-toggler, .navigation-buttons>a.fav-toggler {padding: 0 8px;}
  .dkLabComparerHeaderIconBtn::before {padding: 0 10px;margin-right: 0!important;}
  .dkLabComparerHeaderIconBtn::before {width: 45px;}
  .navigation-buttons a[data-target=search] {background-color: transparent;padding: 0 10px;}
  .navigation-buttons a[data-target=search]::before {content: "";display: block;width: 24px;height: 24px;padding: 0px;background-color: transparent;border: 0;font-size: 0;background-repeat: no-repeat;background-position: center;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21.579' height='20.979' viewBox='0 0 21.579 20.979'%3E%3Cpath id='Path_300' data-name='Path 300' d='M21.206,18.746l-4.177-4.062a9.015,9.015,0,0,0-1.9-12.853A9.625,9.625,0,0,0,1.9,3.682a9.015,9.015,0,0,0,1.9,12.853,9.663,9.663,0,0,0,11.318,0L19.3,20.6a1.372,1.372,0,0,0,1.9,0,1.282,1.282,0,0,0,0-1.849Zm-11.7-3A6.629,6.629,0,0,1,2.781,9.217,6.629,6.629,0,0,1,9.5,2.683a6.629,6.629,0,0,1,6.721,6.534A6.636,6.636,0,0,1,9.5,15.75Z' transform='translate(-0.021 0)' fill='%2317213d'/%3E%3C/svg%3E%0A");}

  .fav-toggler .favourite-count {right: 0;}
  .dkLabComparerHeaderIconBtn em {right: 0;top: -6px!important;}
  .navigation-buttons > a[data-target="cart"] i {top: 4px;right: -4px;}

  .navigation-buttons>a[data-target="navigation"] {position: absolute;right: initial;left: 8px;width: 40px;height: 60px;top: 0px;padding: 0;background-color: #fff!important;}
  .navigation-buttons>a[data-target="navigation"]::before {display: block;content: "";margin-top: 10px;background-color: transparent;width: 32px;line-height: 58px;height: 38px;border-radius: 0;background-image: url("data:image/svg+xml,%3Csvg width='32' height='38' viewBox='0 0 32 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.42764 36V28.152H2.99964L4.39164 31.992C4.47964 32.24 4.56364 32.496 4.64364 32.76C4.73164 33.016 4.81564 33.272 4.89564 33.528H4.94364C5.03164 33.272 5.11564 33.016 5.19564 32.76C5.27564 32.496 5.35564 32.24 5.43564 31.992L6.79164 28.152H8.37564V36H7.09164V32.412C7.09164 32.164 7.09964 31.896 7.11564 31.608C7.13964 31.312 7.16364 31.016 7.18764 30.72C7.21964 30.424 7.24764 30.156 7.27164 29.916H7.22364L6.58764 31.74L5.30364 35.268H4.47564L3.17964 31.74L2.55564 29.916H2.50764C2.53164 30.156 2.55564 30.424 2.57964 30.72C2.61164 31.016 2.63564 31.312 2.65164 31.608C2.67564 31.896 2.68764 32.164 2.68764 32.412V36H1.42764ZM10.369 36V28.152H15.097V29.328H11.761V31.332H14.581V32.508H11.761V34.824H15.217V36H10.369ZM16.8261 36V28.152H18.2541L20.7021 32.568L21.5061 34.236H21.5541C21.5221 33.836 21.4821 33.4 21.4341 32.928C21.3941 32.456 21.3741 32 21.3741 31.56V28.152H22.7061V36H21.2781L18.8301 31.584L18.0261 29.916H17.9781C18.0101 30.332 18.0461 30.768 18.0861 31.224C18.1341 31.68 18.1581 32.128 18.1581 32.568V36H16.8261ZM27.6411 36.144C27.0411 36.144 26.5171 36.024 26.0691 35.784C25.6211 35.544 25.2731 35.16 25.0251 34.632C24.7851 34.104 24.6651 33.412 24.6651 32.556V28.152H26.0571V32.664C26.0571 33.232 26.1211 33.684 26.2491 34.02C26.3851 34.348 26.5731 34.584 26.8131 34.728C27.0531 34.864 27.3291 34.932 27.6411 34.932C27.9611 34.932 28.2411 34.864 28.4811 34.728C28.7291 34.584 28.9211 34.348 29.0571 34.02C29.2011 33.684 29.2731 33.232 29.2731 32.664V28.152H30.6051V32.556C30.6051 33.412 30.4851 34.104 30.2451 34.632C30.0051 35.16 29.6611 35.544 29.2131 35.784C28.7731 36.024 28.2491 36.144 27.6411 36.144Z' fill='%2317213D'/%3E%3Cpath d='M25.6 19.2H6.40002M25.6 12H6.40002M25.6 4.8H6.40002' stroke='%2317213D' stroke-linecap='round'/%3E%3C/svg%3E%0A");}
  .navigation-window-visible .navigation-buttons>a[data-target="navigation"]::before {background-image: url("data:image/svg+xml,%3Csvg width='32' height='38' viewBox='0 0 32 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.42764 36V28.152H2.99964L4.39164 31.992C4.47964 32.24 4.56364 32.496 4.64364 32.76C4.73164 33.016 4.81564 33.272 4.89564 33.528H4.94364C5.03164 33.272 5.11564 33.016 5.19564 32.76C5.27564 32.496 5.35564 32.24 5.43564 31.992L6.79164 28.152H8.37564V36H7.09164V32.412C7.09164 32.164 7.09964 31.896 7.11564 31.608C7.13964 31.312 7.16364 31.016 7.18764 30.72C7.21964 30.424 7.24764 30.156 7.27164 29.916H7.22364L6.58764 31.74L5.30364 35.268H4.47564L3.17964 31.74L2.55564 29.916H2.50764C2.53164 30.156 2.55564 30.424 2.57964 30.72C2.61164 31.016 2.63564 31.312 2.65164 31.608C2.67564 31.896 2.68764 32.164 2.68764 32.412V36H1.42764ZM10.369 36V28.152H15.097V29.328H11.761V31.332H14.581V32.508H11.761V34.824H15.217V36H10.369ZM16.8261 36V28.152H18.2541L20.7021 32.568L21.5061 34.236H21.5541C21.5221 33.836 21.4821 33.4 21.4341 32.928C21.3941 32.456 21.3741 32 21.3741 31.56V28.152H22.7061V36H21.2781L18.8301 31.584L18.0261 29.916H17.9781C18.0101 30.332 18.0461 30.768 18.0861 31.224C18.1341 31.68 18.1581 32.128 18.1581 32.568V36H16.8261ZM27.6411 36.144C27.0411 36.144 26.5171 36.024 26.0691 35.784C25.6211 35.544 25.2731 35.16 25.0251 34.632C24.7851 34.104 24.6651 33.412 24.6651 32.556V28.152H26.0571V32.664C26.0571 33.232 26.1211 33.684 26.2491 34.02C26.3851 34.348 26.5731 34.584 26.8131 34.728C27.0531 34.864 27.3291 34.932 27.6411 34.932C27.9611 34.932 28.2411 34.864 28.4811 34.728C28.7291 34.584 28.9211 34.348 29.0571 34.02C29.2011 33.684 29.2731 33.232 29.2731 32.664V28.152H30.6051V32.556C30.6051 33.412 30.4851 34.104 30.2451 34.632C30.0051 35.16 29.6611 35.544 29.2131 35.784C28.7731 36.024 28.2491 36.144 27.6411 36.144Z' fill='%23C91F3E'/%3E%3Cpath d='M22 6L10 18M22 18L10 6' stroke='%23C91F3E' stroke-linecap='round'/%3E%3C/svg%3E%0A");}

  .search-window-visible .header-top>div.search {padding: 10px;}
  .header-top>div.search {top: var(--ji-header-top-bottom);left: 0;position: fixed;width: 100%;padding: 0px;background-color: #fff;}
  .header-top>div.search #formSearchForm {width: initial;margin: 0;background-color: #fff;}

  .top-navigation-bar {display: none;}

  #header .site-name {margin-left: 40px;}

  #navigation {left: -100%;max-width: 100%;top: var(--ji-header-top-bottom);}
  .navigation-window-visible #navigation {left: 0;}
  .navigation-close {display: none;}

  #footer ul {display: none;padding-top: 0px;}
  #footer ul li a {padding: 5px 0;}
  #footer h4 {margin: 0;font-size: 18px;display: flex;align-items: center;width: 100%;}
  #footer h4.--opened::after {transform: rotate(180deg);}
  #footer h4::after {content: "";width: 20px;height: 20px;background-size: contain;background-repeat: no-repeat;position: absolute;right: 0px;top: 0px;background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%231F1D1D' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");}

  .custom-footer {padding: 20px 0;}
  .custom-footer>div:nth-of-type(1) {width: 100%;}
  .custom-footer>div:nth-of-type(2) {width: 100%;}
  .custom-footer>div {width: 100%;}

  .footer-logos {justify-content: center;margin-top: 30px;}
  #signature, .copyright {margin: 5px 0;}

  .next-to-carousel-banners {flex-flow: row wrap;}
  .next-to-carousel-banners .banner-wrapper {width: 50%;flex: 0 0 50%;margin-bottom: 6px;}
  .banners-row .banner-wrapper {margin-top: 0;}

  .pagination-wrapper {padding-bottom: 20px;padding-top: 20px;}

  .category-header form fieldset {display: none;}
  .category-header form {width: 100%;}
  .mobile-sort {display: block;font-weight: 600;width: 100%;line-height: 1;border-color: #EEEDED;max-width: 100%;width: 100%;height: 50px;margin-top: 10px;color: #33302B;font-size: 16px;font-family: var(--template-font),sans-serif!important;}

  #filters::before {display: none;}
  #filters {padding: 0px 10px;border: 1px solid #F0F0F0;border-radius: 0 0 10px 10px;margin-bottom: 5px!important;}

  .p-info-wrapper .p-final-price-wrapper {flex-flow: row wrap;}
  .p-final-price-wrapper .price-standard {width: 100%;margin-top: 10px;}
  .p-detail .add-to-cart .quantity {width: 100%;margin-right: 0;margin-top: 10px;}

  .detail-help {flex-flow: row wrap;}
  .detail-help>* {width: 100%;margin: 5px 0;}

  body:not(.in-index) .content-wrapper-in {padding-bottom: 30px;}
  .shp-tabs-wrapper {margin-bottom: 0;}
}

@media (max-width: 450px) {
  .products-block:not(.slick-slider) {gap: 10px; grid-template-columns: repeat(1, minmax(0, 1fr));}
}
