/* Main styles */

/**
--hshb-light-bg
--hshb-semi-bg
--hshb-dark-bg
--hshb-light-color
--hshb-dark-color
--hshb-radius
**/

div#content {
    padding: 0;
}

body.page-template-template-page-builder {
    .archive-header{
        display: none;
    }

    div#content .shoptimizer-archive > .col-full{
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

/* Main section - Start */
section.hs-section {
    padding-top: 3.5em;
    padding-bottom: 3.5em;
	overflow: hidden;
}

section.hs-section.hs-light {
    background: var(--hshb-light-bg);
}

section.hs-section.hs-semi-light {
    background: var(--hshb-semi-bg);
}

section.hs-section.hs-dark {
    background: var(--hshb-dark-bg);
}

.hs-section-title-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    margin-bottom: 2em;
    gap: 1rem;
    justify-content: space-between;
    border-bottom: solid 1px rgba(0, 0, 0, 0.2);
    padding-bottom: 0.5rem;
}

.hs-section-title-wrap h2.hs-section-title {
    margin: 0;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 1.5;

    @media (max-width: 768px) {
        font-size: 1.3rem;
    }
}

.hs-section-title-wrap a.hs-section-view-all {
    text-transform: uppercase;
    font-size: 1rem;
    border: solid 1px;
    min-width: fit-content;
    padding: 3px 10px;
    border-radius: var(--hshb-radius);
    transition: ease-in-out 500ms;
}

section.hs-section.hs-light .hs-section-title-wrap h2.hs-section-title,
section.hs-section.hs-semi-light .hs-section-title-wrap h2.hs-section-title {
    color: var(--hshb-dark-color);
}

section.hs-section.hs-light .hs-section-title-wrap a.hs-section-view-all,
section.hs-section.hs-semi-light .hs-section-title-wrap a.hs-section-view-all {
    color: var(--hshb-dark-color);
    background: var(--hshb-light-bg);
}

section.hs-section.hs-light .hs-section-title-wrap a.hs-section-view-all:hover,
section.hs-section.hs-semi-light .hs-section-title-wrap a.hs-section-view-all:hover {
    color: var(--hshb-light-color);
    background: var(--hshb-dark-bg);
}

section.hs-section.hs-dark .hs-section-title-wrap h2.hs-section-title,
section.hs-section.hs-dark .hs-section-title-wrap a.hs-section-view-all {
    color: var(--hshb-light-color);
}

section.hs-section.hs-dark .hs-section-title-wrap a.hs-section-view-all:hover {
    color: var(--hshb-dark-color);
    background: var(--hshb-light-bg);
}

/* Main section - End */

/* Hero slider - Start */
.hs-slider-wrap {
    max-width: 100%;
    padding: 0;
    margin: auto;
}

.swiper-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: auto;
    padding: 0;
}

.hs-slider-wrap .swiper-button-prev,
.hs-slider-wrap .swiper-button-next,
.hs-slider-wrap .swiper-pagination {
    z-index: 8;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after,
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    color: #fff;
    font-size: 24px;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 20px
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fff
}

.swiper-slide img {
    width: 100%;
}

@media (min-width: 768px) {
    .swiper-slide img {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .swiper-slide img {
        width: 100%;
    }
}

/* Hero slider - End */

/* Small banners - Start */
.hs-small-banners__wrap {
    display: grid;
    gap: 1rem;
}

.hs-small-banners__wrap .hs-small-banners__item img.hs-small-banners__image {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
    .hs-small-banners__wrap .hs-small-banners__item img.hs-small-banners__image {
        min-width: 70vw;
    }

    .hs-small-banners__wrap {
        overflow-x: auto;
        margin: 0 -1em;
        padding: 0 1em;
    }
}

/* Small banners - End */


/* Single banner - Start */
.hs-single-banner__item img {
    width: 100%;
}

/* Single banner - End */

/* Categories list - Start */
.hs-product-categories__wrap {
    display: grid;
    gap: 1em;
}

.hs-product-categories__wrap .hs-cat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hs-product-categories__wrap a.hs-cat-image-link {
    display: flex;
    aspect-ratio: 1/1;
    width: 100%;
    flex-direction: column;
    object-fit: cover;
    color: var(--hshb-dark-color);
}

.hs-product-categories__wrap a.hs-cat-image-link .hs-cat-image {
    display: flex;
    aspect-ratio: 1/1;
    width: 100%;
    flex-direction: column;
    object-fit: cover;
    border-radius: 5px;
    border: solid 1px #ddd;
	padding: 0;
    transition: ease-in-out 500ms;
	background: #fff;
}

.hs-product-categories__wrap a.hs-cat-image-link .hs-cat-image:hover{
	border: solid 1px #d00;
}

.hs-product-categories__wrap .hs-cat-item .hs-title {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2em;
    color: var(--hshb-dark-color);
    text-transform: uppercase;
    margin: 0;
}

section.hs-section.hs-light .hs-product-categories__wrap .hs-cat-item .hs-title a,
section.hs-section.hs-semi-light .hs-product-categories__wrap .hs-cat-item .hs-title a {
    color: var(--hshb-dark-color);
}

section.hs-section.hs-dark .hs-product-categories__wrap .hs-cat-item .hs-title a {
    color: var(--hshb-light-color);
}

/* Categories list - End */

/* Brands list - Start */
.hs-product-brands__wrap {
    display: grid;
    gap: 2em;
}

.hs-product-brands__wrap .hs-brand-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hs-product-brands__wrap a.hs-brand-image-link {
    display: flex;
    aspect-ratio: 1 / 1;
    width: 100%;
    flex-direction: column;
    object-fit: cover;
    color: var(--hshb-dark-color);
}

.hs-product-brands__wrap a.hs-brand-image-link .hs-brand-image {
    display: flex;
    aspect-ratio: 1 / 1;
    width: 100%;
    flex-direction: column;
    object-fit: cover;
    border-radius: 50%;
    border: solid 1px #ddd;
    transition: ease-in-out 500ms;
}

.hs-product-brands__wrap .hs-brand-item .hs-title {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2em;
    color: var(--hshb-dark-color);
    text-transform: uppercase;
    margin: 0;
}

.hs-product-brands__wrap .hs-brand-item .hs-title>a {
    color: inherit;
}

section.hs-section.hs-light .hs-product-brands__wrap .hs-brand-item .hs-title a,
section.hs-section.hs-semi-light .hs-product-brands__wrap .hs-brand-item .hs-title a {
    color: var(--hshb-dark-color);
}

section.hs-section.hs-dark .hs-product-brands__wrap .hs-brand-item .hs-title a {
    color: var(--hshb-light-color);
}

/* Brands list - End */

/* product list - Start */
.hs-section.hs-dark.hs-products-list ul.products li.product:not(:hover) {

    .woocommerce-card__header * {
        color: var(--hshb-light-color);
    }

    .cgkit-attribute-swatches * {
        color: var(--hshb-dark-color);
    }
    .cgkit-attribute-swatches li:has(.cgkit-swatch-selected) * {
        color: #fff;
    }
}

@media (max-width: 992px) {
    .hs-section.hs-dark.hs-products-list ul.products li.product {

        .woocommerce-card__header * {
            color: var(--hshb-light-color);
        }

        .cgkit-attribute-swatches * {
            color: var(--hshb-dark-color);
        }
    }
}

/* product list - End */