/*
Theme Name: Holix
Author: DIZZ (Artem H.)
Version: 1.0
*/

/*base*/
body.admin-bar .header {
    top: 46px;
}
body.admin-bar .search__inner {
    margin-top: 46px;
}
@media screen and (min-width: 783px){
    body.admin-bar .header {
        top: 32px;
    }
    body.admin-bar .search__inner {
        margin-top: 32px;
    }
}

.d-block {
    display: block;
}
.d-none {
    display: none !important;
}

.text-right {
    text-align: right;
}

.section.pb-m {
    margin-top: -12px;
    padding-bottom: 0;
}
@media screen and (min-width: 1024px) {
    .section.pb-m {
        margin-top: 0;
        padding-bottom: 12px;
    }
}

/*pagination*/
.wp-pagenavi {
    margin-top: 35px;
}
.wp-pagenavi * {
    border: none !important;
}
.wp-pagenavi > *:not(:last-child) {
    margin-right: 10px;
}
.wp-pagenavi > *:not(.current):hover {
    color: #e7c437;
}
.wp-pagenavi > .current {
    color: #e7c437;
    font-weight: 700;
}

/*breadcrumbs*/
/*.breadcrumbs li:not(:last-child):after {
    content: ">";
    font-family: monospace;
    color: #BFBFBF;
    margin: 0 10px;
}
@media screen and (min-width: 1024px) {
    .breadcrumbs li:not(:last-child):after {
        margin: 0 20px;
    }
}*/

/*search*/
.header__search {
    position: relative;
    color: #374957;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    margin-right: 16px;
}
@media screen and (min-width: 1024px) {
    .header__search {
        margin-right: 24px;
    }
}
.header__search .icon {
    position: relative;
    width: 20px;
    cursor: pointer;
}
@media screen and (min-width: 1024px) {
    .header__search .icon {
        width: 32px;
    }
}
.search__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9;
}
.search.active .search__overlay {
    opacity: 1;
    visibility: visible;
}
.search__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-bottom: 3px solid #F0F0F0;
    background-color: #fff;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    padding: 32px;
    z-index: 10;
}
.search.active .search__inner {
    -webkit-transform: none;
    transform: none;
}
.search__inner .close-search {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    cursor: pointer;
    z-index: 3;
}
.search__inner .close-search img {
    width: 100%;
}
.search__inner form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.search__inner form button[type="submit"] {
    margin-right: 16px;
}
.search__inner form input[type="text"] {
    border: 1px solid #F0F0F0;
    padding: 10px;
}
.woocommerce-info {
    border-top-color: #386542;
}
.woocommerce-info::before {
    color: #386542;
}
.search-history {
    display: none;
    margin-top: 15px;
}
.history-list {
    list-style: disc;
    padding: 10px 0 0 57px;
}
.history-item {
    cursor: pointer;
    padding: 5px 0;
}
.history-item:hover {
    text-decoration: underline;
}
button.clear-history {
    color: #386641;
}

/*logos*/
.s-logos .swiper-wrapper {
    display: flex;
    align-items: center;
    transition-timing-function: linear !important;
}
.s-logos .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    width: auto;
}
@media screen and (max-width: 1023px) {
    .s-logos .open-brands {
        display: none !important;
    }
}

/*brands*/
.brands__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9;
}
.brands.active .brands__overlay {
    opacity: 1;
    visibility: visible;
}
.brands__head {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-bottom: 24px;
}
/*@media screen and (min-width: 1700px) {
    .brands__head {
        margin-bottom: 44px;
    }
}*/
.brands__head .title {
    font-weight: 700;
    margin-bottom: 0;
}
@media screen and  (min-width: 1024px) {
    .brands__head .title {
        font-size: 28px;
    }
}
@media screen and  (min-width: 1700px) {
    .brands__head .title {
        font-size: 36px;
    }
}
.brands__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    max-width: 375px;
    width: 100%;
    border: 3px solid #F0F0F0;
    border-left: none;
    background-color: #fff;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    padding: 32px 20px 0;
    z-index: 10;
}
.brands.active .brands__inner {
    -webkit-transform: none;
    transform: none;
}
@media screen and (min-width: 1700px) {
    .brands__inner {
        width: 640px;
        padding: 32px 32px 0;
    }
}
@media screen and (min-width: 1024px) {
    .brands__inner {
        max-width: none;
        width: 460px;
    }
}
.brands__inner .close-brands {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    cursor: pointer;
    z-index: 3;
}
.brands__overflow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    overflow-y: auto;
}
@media screen and (min-width: 1024px) {
    .brands__overflow {
        margin-right: -10px;
        padding-right: 10px;
    }
}
.brands .symbol {
    font-weight: 700;
}
.brands ul.brand__list {
    margin: 10px 0 20px 17px;
    list-style: disc;
}
.brands ul.brand__list a:hover, .open-brands:hover {
    color: #6A994E;
}
.open-brands {
    color: #000;
    font-weight: 500;
}


/*marquee*/
.marquee {
    font-weight: 500;
    font-size: 12px;
    color: white;
    padding: 9px 0;
    background-color: #6A994E;
    overflow: hidden;
    position: relative;;
}
.marquee__close {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    background: #6a994e;
    height: 100%;
    display: flex;
    align-items: center;
    width: 36px;
    z-index: 1;
    justify-content: center;
}
.marquee__line {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    animation: marquee-scroll 30s linear infinite;
}
.marquee__line-item {
    position: relative;
    padding-left: 16px;
    padding-right: 24px;
    display: block;
}
.marquee__line-item:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 4px;
    background-color: white;
}
@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 1023px) {
    .header__nav.marquee-active,
    .s-catalog__sidebar .filters.marquee-active {
        top: 98px;
    }
    body.admin-bar .s-catalog__sidebar .filters.marquee-active {
        top: 141px;
    }
}


/*header mobile links*/
.header__links {
    flex-grow: 1;
    padding: 0;
    font-size: 12px;
    font-weight: 500;
    color: #374957;
    text-transform: uppercase;
}
@media screen and (min-width: 1024px) {
    .header__links {
        display: none !important;
    }
}
.header__links > ul {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.header__links a {
    color: #374957;
}
.header__links a:hover {
    color: #6a994e;
}