/* Centralized carousel layer for navigation controls and shared slide behavior. */

.sc-brand-swiper {
    position: relative;
}

.brand-swiper-nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    background: #000;
    color: #fff;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    cursor: pointer;
    z-index: 6;
    transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.brand-swiper-nav:hover,
.brand-swiper-nav:focus-visible,
.brand-swiper-nav:active {
    background: #e9b8ab;
    color: #fff;
    transform: translateY(calc(-50% - 1px));
}

.brand-swiper-nav--prev {
    left: 0.5rem;
}

.brand-swiper-nav--next {
    right: 0.5rem;
}

.brand-swiper-nav.swiper-button-disabled {
    transform: translateY(-50%);
}

.latest-additions-swiper .latest-additions__nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.latest-additions__top .latest-additions__nav {
    position: static;
    inset: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    pointer-events: auto;
    z-index: auto;
}

.latest-additions__top .latest-additions-nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
}

.latest-additions__top .latest-additions-nav:hover,
.latest-additions__top .latest-additions-nav:focus-visible,
.latest-additions__top .latest-additions-nav:active {
    transform: translateY(-1px);
}

.latest-additions__top .latest-additions-nav.swiper-button-disabled {
    transform: none;
}

.latest-additions-nav {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    background: #000;
    color: #fff;
    font-size: 1.02rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.latest-additions-nav--prev {
    left: 0.5rem;
}

.latest-additions-nav--next {
    right: 0.5rem;
}

.latest-additions-nav:hover,
.latest-additions-nav:focus-visible,
.latest-additions-nav:active {
    background: #e9b8ab;
    color: #fff;
    transform: translateY(calc(-50% - 1px));
}

.latest-additions-nav.swiper-button-disabled {
    opacity: 0.55;
    cursor: default;
    transform: translateY(-50%);
}

.latest-additions-swiper {
    position: relative;
    overflow: hidden;
    flex: 1;
    padding-bottom: 0;
}

.latest-additions-swiper .swiper-wrapper {
    align-items: stretch;
}

.latest-additions-swiper .swiper-slide {
    display: flex;
    height: auto;
    align-items: stretch;
    margin-top: 0;
    margin-bottom: 0;
}

.latest-additions-swiper .sc-product-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.latest-additions-swiper .sc-product-card__content {
    flex: 1 1 auto;
}

.latest-additions-swiper .sc-product-card__actions {
    margin-top: auto;
}

.latest-additions-swiper .sc-product-card .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swiper-backface-hidden .swiper-slide {
    margin-top: 15px;
}

.announcement-bar .swiper-backface-hidden .swiper-slide {
    margin-top: 0;
    margin-bottom: 0;
}

.hero-slider-section .swiper-backface-hidden .swiper-slide,
.latest-additions-swiper.swiper-backface-hidden .swiper-slide {
    margin-top: 0;
    margin-bottom: 0;
}

.sc-collection-products-swiper {
    transition: opacity 0.24s ease;
}

.collection-products-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    background: #000;
    color: #fff;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 7;
    transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.collection-products-nav:hover,
.collection-products-nav:focus-visible,
.collection-products-nav:active {
    background: #e9b8ab;
    color: #fff;
    transform: translateY(-50%) scale(1.03);
}

.collection-products-nav--prev {
    left: 8px;
}

.collection-products-nav--next {
    right: 8px;
}

.term-chip-swiper {
    margin-top: 0.8rem;
}

.bcg-cart-promo-popup--products .latest-additions__intro {
    margin: 0 auto 0.8rem;
    max-width: 100%;
}

.bcg-cart-promo-popup--products .bcg-cart-promo-popup__controls {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    pointer-events: auto;
}

.bcg-cart-promo-popup--products .bcg-cart-promo-popup__nav-btn {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
}

.bcg-cart-promo-popup--products .bcg-cart-promo-popup__nav-btn:hover,
.bcg-cart-promo-popup--products .bcg-cart-promo-popup__nav-btn:focus-visible,
.bcg-cart-promo-popup--products .bcg-cart-promo-popup__nav-btn:active {
    transform: translateY(-1px);
}

.bcg-cart-promo-popup--products .bcg-cart-promo-popup__nav-btn.swiper-button-disabled {
    transform: none;
}

@media (max-width: 1100px) {
    .sc-brand-swiper {
        padding-top: 42px;
    }

    .brand-swiper-nav,
    .latest-additions-nav,
    .collection-products-nav {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .brand-swiper-nav--prev {
        left: 0.5rem;
    }

    .collection-products-nav--prev {
        left: 4px;
    }

    .collection-products-nav--next {
        right: 4px;
    }
}

@media (max-width: 768px) {
    .collection-products-nav {
        display: none;
    }

    .sc-brand-swiper {
        padding-top: 0;
    }

    .brand-swiper-nav {
        display: none;
    }
}
