﻿.home-best-sellers {
    padding: 32px 0;
    background: #fff
}

.home-best-sellers__header {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px
}

.added_to_cart {display: none}

.home-best-sellers__kicker {
    display: block;
    font-family: Poppins, sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #52b2e1;
    margin-bottom: 4px
}

.home-best-sellers__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 300;
    color: #383e42;
    line-height: 1.2
}

@media(min-width:768px) {
    .home-best-sellers__title {
        font-size: 2rem
    }
}

.home-best-sellers__header-right {
    display: flex;
    align-items: flex-end
}

.home-best-sellers__arrows {
    display: flex;
    gap: 8px
}

.home-best-sellers__arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d5dde4;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    cursor: pointer;
    transition: border-color .2s, color .2s
}

.home-best-sellers__arrow:hover {
    border-color: #52b2e1;
    color: #52b2e1
}

.home-best-sellers__arrow .material-symbols-outlined {
    font-size: 1.2rem
}

.home-best-sellers__all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #52b2e1;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .2s
}

.home-best-sellers__all-link:hover {
    opacity: .75
}

.home-best-sellers__all-link .material-symbols-outlined {
    font-size: 19px
}

.home-best-sellers__all-link-text--short {
    display: none
}

.home-best-sellers__viewport {
    overflow: hidden
}

.home-best-sellers__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: -12px
}

.home-best-sellers__track {
    display: flex;
    gap: 20px;
    padding-bottom: 32px;
    transition: transform .45s ease;
}

.bs-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
    transition: box-shadow .4s ease, transform .4s ease, border-color .4s ease
}

.bs-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    transform: translateY(-4px);
    border-color: rgba(82,178,225,.12)
}

.bs-card__image-wrap {
    position: relative;
    aspect-ratio: 1;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.bs-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .6s ease;
    padding: 12px;
    box-sizing: border-box
}

.bs-card:hover .bs-card__image {
    transform: scale(1.1)
}

.bs-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #52b2e1;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px
}

.bs-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px
}

.bs-card__brand-wrap {
    display: inline-block;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 2px 6px;
    margin-bottom: 0.7rem;
    width: fit-content;
    min-height: 22px;
    box-sizing: border-box
}

.bs-card__brand:empty {
    visibility: hidden
}

.bs-card__brand-wrap:has(.bs-card__brand:empty) {
    visibility: hidden;
    min-height: 30px;

}

.bs-card__brand {
    font-size: .6rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .1em
}

.bs-card__name {
    margin: 0;
    font-size: .8125rem;
    font-weight: 700;
    color: #383e42;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2rem;
}

.bs-card__name a {
    color: inherit;
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
}

.bs-card__name a:hover {
    color: #52b2e1
}

.bs-card__desc {
    font-size: 15px;
    color: #a3a3a3;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: normal;
    min-height: 50px;
    font-size: 12px;
}

.bs-card__desc:empty {
    visibility: hidden;
    min-height: 45px
}

.bs-card__price-wrap {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-top: auto
}

.bs-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 8px
}

.bs-card__price-current {
    font-size: 1.125rem;
    font-weight: 800;
    color: #383e42
}

.bs-card__price-current .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit
}

.bs-card__price-old {
    font-size: .75rem;
    color: #9ca3af
}

.bs-card__price-old .woocommerce-Price-amount {
    font-size: inherit;
    color: inherit
}

.bs-card__price-tax {
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    margin-top: 2px
}

.bs-card__cta {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 8px 0;
    border: 2px solid #52b2e1;
    border-radius: 999px;
    background: #52b2e1;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: background .25s, color .25s;
    line-height: 1.4
}

.bs-card__badge--outofstock {
    background: #e53935
}

.bs-card__cta.bs-card__cta--outofstock {
    background: #d1d5db;
    border-color: #d1d5db;
    color: #6b7280;
    pointer-events: none;
    cursor: not-allowed
}

.bs-card__cta.bs-card__cta--outofstock:hover {
    background: #d1d5db;
    color: #6b7280
}

.bs-card__cta:hover {
    background: #fff;
    color: #52b2e1
}

.bs-card__image-wrap .fq-fav-btn {
    width: 40px;
    height: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    top: 12px;
    right: 12px
}

.bs-card__image-wrap .fq-fav-btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.12)
}

@media(min-width:768px) and (max-width:1023px) {
    .home-best-sellers__track {
        width: auto
    }

    .bs-card {
        width: calc(33.333vw - 24px)
    }
}

@media(min-width:1024px) {
    .bs-card {
        width: calc(25% - 15px);
        min-width: calc(25% - 15px)
    }
}

@media(max-width:767px) {
    .home-best-sellers {
        padding: 24px 0 28px
    }

    .home-best-sellers__header {
        margin-bottom: 24px
    }

    .home-best-sellers__title {
        font-size: 1.5rem
    }

    .home-best-sellers__kicker {
        font-size: .625rem
    }

    .home-best-sellers__header-right {
        width: auto
    }

    .home-best-sellers__all-link {
        font-size: .75rem
    }

    .home-best-sellers__all-link .material-symbols-outlined {
        font-size: 16px
    }

    .home-best-sellers__all-link-text--full {
        display: none
    }

    .home-best-sellers__all-link-text--short {
        display: inline
    }

    .home-best-sellers__footer {
        margin-top: -8px
    }

    .home-best-sellers__track {
        width: auto;
        gap: .5rem
    }

    .bs-card {
        width: calc(50vw - 20px)
    }

    .bs-card__image {
        padding: .375rem
    }

    .bs-card__badge {
        font-size: .5rem;
        padding: .25rem .375rem;
        top: .375rem;
        left: .375rem;
        border-radius: 4px
    }

    .bs-card__body {
        padding: .75rem
    }

    .bs-card__brand-wrap {
        padding: .125rem .25rem;
        min-height: 1rem
    }

    .bs-card__brand {
        font-size: .5rem
    }

    .bs-card__name {
        font-size: .7rem;
        min-height: 1.6rem
    }

    .bs-card__desc {
        font-size: .6rem;
        line-height: 1.3;
        min-height: .75rem
    }

    .bs-card__desc:empty {
        min-height: .75rem
    }

    .bs-card__price-wrap {
        margin: 0
    }

    .bs-card__price-current {
        font-size: .875rem
    }

    .bs-card__price-old {
        font-size: .6rem
    }

    .bs-card__price-tax {
        font-size: .5rem
    }

    .bs-card__cta {
        font-size: .6rem;
        padding: .375rem 0
    }

    .bs-card__image-wrap .fq-fav-btn {
        width: 1.75rem;
        height: 1.75rem;
        top: .375rem;
        right: .375rem
    }

    .bs-card__image-wrap .fq-fav-btn .material-symbols-outlined {
        font-size: .875rem
    }
}
.home-best-sellers__track.splide__track{display:block;gap:0;padding:0 0 30px;transition:none}
.home-best-sellers .container{padding:0}
.home-best-sellers .splide{padding:0}
.splide__list{align-items:stretch;height:auto;will-change:transform;transition:transform .4s ease}
.bs-card.splide__slide{width:auto;min-width:0}
