@media all and (min-width: 768px) and (max-width: 992px) {
  .hub-category.block section.category-list ul.block-list > * {
    width: calc((100% - 30px * 3)/4);
    float: left;
    display: inline-block;
    margin: 0 0 20px 0;
    padding: 0;
  }
  .hub-category.block section.category-list ul.block-list > *:not(:nth-child(4n)) {
    margin-right: 30px;
  }
  .hub-category.block section.category-list ul.block-list > *:nth-child(4n) {
    margin-right: 0;
    clear: right;
  }
  .hub-category.block section.category-list ul.block-list > *:nth-child(4n + 1) {
    clear: left;
  }
}
@media all and (min-width: 992px) {
  .catalog-category-view.page-layout-2columns-left .sidebar-main,
  .catalogsearch-result-index.page-layout-2columns-left .sidebar-main {
    width: 24%;
  }
  .catalog-category-view.page-layout-2columns-left .column.main,
  .catalogsearch-result-index.page-layout-2columns-left .column.main {
    width: 76%;
    margin-left: 0;
  }
  .catalog-category-view .columns,
  .catalogsearch-result-index .columns {
    margin-left: 0;
  }
  .catalog-category-view .page-wrapper .page-main div.columns,
  .catalogsearch-result-index .page-wrapper .page-main div.columns {
    display: inherit;
  }
  .hub-category.block section.category-list ul.block-list > * {
    width: calc((100% - 30px * 4)/5);
    float: left;
    display: inline-block;
    margin: 0 0 20px 0;
    padding: 0;
  }
  .hub-category.block section.category-list ul.block-list > *:not(:nth-child(5n)) {
    margin-right: 30px;
  }
  .hub-category.block section.category-list ul.block-list > *:nth-child(5n) {
    margin-right: 0;
    clear: right;
  }
  .hub-category.block section.category-list ul.block-list > *:nth-child(5n + 1) {
    clear: left;
  }
}
@media all and (min-width: 768px), print {
  .page-layout-2columns-left .sidebar-additional {
    width: 100%;
    padding: 20px 0;
  }
  .page-layout-2columns-left .sidebar-additional .block-compare {
    margin-bottom: 2.5em;
  }
  .page-layout-2columns-left .sidebar-main {
    width: inherit;
  }
  .page-layout-2columns-left .column.main {
    width: inherit;
  }
  .page-products .products-grid .product-item .product-item-inner {
    margin: 0;
  }
  .grid .product-item:hover .product-item-inner {
    padding: 0;
  }
  .grid .product-item-inner {
    height: auto;
    background-color: initial;
    position: relative;
  }
  .catalog-category-view .sidebar-main,
  .catalogsearch-result-index .sidebar-main {
    margin-top: 10px;
  }
  .catalog-category-view .sidebar-main .category-image,
  .catalogsearch-result-index .sidebar-main .category-image {
    margin-bottom: 30px;
  }
  .catalog-category-view .sidebar .block-title,
  .catalogsearch-result-index .sidebar .block-title {
    display: block;
    border-top: none;
    color: #ffffff;
    padding-top: 0;
    height: 39px;
    line-height: 39px;
    background: #273e57;
    text-align: center;
    position: relative;
    margin: 0 0 10px;
  }
  .catalog-category-view .sidebar .block-title strong,
  .catalogsearch-result-index .sidebar .block-title strong {
    position: relative;
    display: block;
    border: 0;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    line-height: inherit;
    border-radius: 0;
    font-size: 17px;
    font-weight: 700;
  }
  .catalog-category-view .products.wrapper ~ .toolbar,
  .catalogsearch-result-index .products.wrapper ~ .toolbar {
    padding: 25px 0 0 0;
    display: flex;
  }
  .catalog-category-view .toolbar-products .limiter,
  .catalogsearch-result-index .toolbar-products .limiter {
    display: flex;
  }
  .catalog-category-view .toolbar-products .limiter .label,
  .catalogsearch-result-index .toolbar-products .limiter .label {
    font-size: 13px;
    margin: 0 7px 0 0;
  }
  .catalog-category-view .toolbar-products .limiter .label span::after,
  .catalogsearch-result-index .toolbar-products .limiter .label span::after {
    content: ':';
  }
  .catalog-category-view .products.wrapper ~ .toolbar .limiter,
  .catalogsearch-result-index .products.wrapper ~ .toolbar .limiter {
    display: flex;
  }
  .catalog-category-view .products-grid .price-box .see-discount-msg,
  .catalogsearch-result-index .products-grid .price-box .see-discount-msg {
    display: inherit;
  }
  .catalog-category-view .products-grid .price-box .see-discount-msg > br,
  .catalogsearch-result-index .products-grid .price-box .see-discount-msg > br {
    display: none;
  }
  .catalog-category-view .products-grid .product-item:not(.item-unavailable):hover,
  .catalogsearch-result-index .products-grid .product-item:not(.item-unavailable):hover {
    border: none;
  }
  .catalog-category-view .grid .product-item:hover .product-item-inner,
  .catalogsearch-result-index .grid .product-item:hover .product-item-inner {
    border: none;
  }
  .catalog-category-view .products-grid .product-item,
  .catalogsearch-result-index .products-grid .product-item {
    border: none;
  }
  .catalog-category-view .page-wrapper .page-main .columns,
  .catalogsearch-result-index .page-wrapper .page-main .columns {
    display: flex;
    flex-direction: column;
  }
  .catalog-category-view .page-main .toolbar-products,
  .catalogsearch-result-index .page-main .toolbar-products {
    display: table;
    width: 100%;
  }
  .page-layout-2columns-left .sidebar-main {
    order: 3;
  }
  .page-layout-2columns-left .products-grid .product-items .product-item {
    width: calc((100% - 60px)/3);
    margin-right: 20px;
    margin-bottom: 20px;
  }
  .compare-modal .product-shop-row ul {
    padding: 0 0 0 10px;
  }
}
@media all and (min-width: 768px), print {
  .page-layout-2columns-left .sidebar-additional {
    width: 100%;
    padding: 20px 0;
  }
  .page-layout-2columns-left .sidebar-additional .block-compare {
    margin-bottom: 2.5em;
  }
  .page-layout-2columns-left .sidebar-main {
    width: inherit;
  }
  .page-layout-2columns-left .column.main {
    width: inherit;
  }
  .page-products .products-grid .product-item .product-item-inner {
    margin: 0;
  }
  .grid .product-item:hover .product-item-inner {
    padding: 0;
  }
  .grid .product-item-inner {
    height: auto;
    background-color: initial;
    position: relative;
  }
  .catalog-category-view .sidebar-main,
  .catalogsearch-result-index .sidebar-main {
    margin-top: 10px;
  }
  .catalog-category-view .sidebar-main .category-image,
  .catalogsearch-result-index .sidebar-main .category-image {
    margin-bottom: 30px;
  }
  .catalog-category-view .sidebar .block-title,
  .catalogsearch-result-index .sidebar .block-title {
    display: block;
    border-top: none;
    color: #ffffff;
    padding-top: 0;
    height: 39px;
    line-height: 39px;
    background: #273e57;
    text-align: center;
    position: relative;
    margin: 0 0 10px;
  }
  .catalog-category-view .sidebar .block-title strong,
  .catalogsearch-result-index .sidebar .block-title strong {
    position: relative;
    display: block;
    border: 0;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    line-height: inherit;
    border-radius: 0;
    font-size: 17px;
    font-weight: 700;
  }
  .catalog-category-view .products.wrapper ~ .toolbar,
  .catalogsearch-result-index .products.wrapper ~ .toolbar {
    padding: 25px 0 0 0;
    display: flex;
  }
  .catalog-category-view .toolbar-products .limiter,
  .catalogsearch-result-index .toolbar-products .limiter {
    display: flex;
  }
  .catalog-category-view .toolbar-products .limiter .label,
  .catalogsearch-result-index .toolbar-products .limiter .label {
    font-size: 13px;
    margin: 0 7px 0 0;
  }
  .catalog-category-view .toolbar-products .limiter .label span::after,
  .catalogsearch-result-index .toolbar-products .limiter .label span::after {
    content: ':';
  }
  .catalog-category-view .products.wrapper ~ .toolbar .limiter,
  .catalogsearch-result-index .products.wrapper ~ .toolbar .limiter {
    display: flex;
  }
  .catalog-category-view .products-grid .price-box .see-discount-msg,
  .catalogsearch-result-index .products-grid .price-box .see-discount-msg {
    display: inherit;
  }
  .catalog-category-view .products-grid .price-box .see-discount-msg > br,
  .catalogsearch-result-index .products-grid .price-box .see-discount-msg > br {
    display: none;
  }
  .catalog-category-view .products-grid .product-item:not(.item-unavailable):hover,
  .catalogsearch-result-index .products-grid .product-item:not(.item-unavailable):hover {
    border: none;
  }
  .catalog-category-view .grid .product-item:hover .product-item-inner,
  .catalogsearch-result-index .grid .product-item:hover .product-item-inner {
    border: none;
  }
  .catalog-category-view .products-grid .product-item,
  .catalogsearch-result-index .products-grid .product-item {
    border: none;
  }
  .catalog-category-view .page-wrapper .page-main .columns,
  .catalogsearch-result-index .page-wrapper .page-main .columns {
    display: flex;
    flex-direction: column;
  }
  .catalog-category-view .page-main .toolbar-products,
  .catalogsearch-result-index .page-main .toolbar-products {
    display: table;
    width: 100%;
  }
  .page-layout-2columns-left .sidebar-main {
    order: 3;
  }
  .page-layout-2columns-left .products-grid .product-items .product-item {
    width: calc((100% - 60px)/3);
    margin-right: 20px;
    margin-bottom: 20px;
  }
  .compare-modal .product-shop-row ul {
    padding: 0 0 0 10px;
  }
}
@media all and (min-width: 1024px), print {
  .hub-category.block section.category-list ul > * {
    width: calc((100% - 15px * 4)/5);
    float: left !important;
    display: inline-block !important;
    margin-bottom: 15px;
  }
  .hub-category.block section.category-list ul > *:not(:nth-child(5n)) {
    margin-right: 30px;
  }
  .hub-category.block section.category-list ul > *:nth-child(5n) {
    margin-right: 0 !important;
    clear: right;
  }
  .hub-category.block section.category-list ul > *:nth-child(5n + 1) {
    clear: left;
  }
  .catalog-category-view .page-wrapper .page-main .columns,
  .catalogsearch-result-index .page-wrapper .page-main .columns {
    display: inherit;
  }
  .catalog-category-view .product-item .product-item-info:hover .bss-quickview,
  .catalogsearch-result-index .product-item .product-item-info:hover .bss-quickview {
    display: block !important;
  }
  .product-item-photo {
    position: relative;
  }
  .product-item .product-item-info:hover a.bss-quickview {
    bottom: 0;
    width: 100%;
    position: absolute;
    z-index: 6;
    background-color: #4c7f93;
    color: #fff;
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 34px;
    padding: .45rem 0;
    text-decoration: none;
    transition: .25s;
  }
  .product-item .product-item-info:hover .quickview-text {
    bottom: 0;
    width: 100%;
    position: absolute;
    z-index: 6;
    background-color: #08c;
    color: #fff;
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 34px;
    padding: 0.45rem 0;
    text-decoration: none;
    transition: .25s;
  }
  .product-item .product-item-info:hover .quickview-text:hover {
    opacity: 0;
  }
}
