/* Shared storefront contract for Design Management S1 sliders. */
section.hero-section {
    overflow: hidden;
}

.heroSwiper .ratio-hero {
    aspect-ratio: 4 / 3;
}

@media (min-width: 576px) {
    .heroSwiper .ratio-hero {
        aspect-ratio: 5 / 3;
    }
}

@media (min-width: 768px) {
    .heroSwiper .ratio-hero {
        aspect-ratio: 1296 / 532;
    }
}

.heroSwiper:not(.swiper-initialized) {
    opacity: 0;
}

.heroSwiper.swiper-initialized {
    transition: opacity .35s ease;
}

.heroSwiper.swiper {
    width: 100%;
    margin-inline: auto;
    overflow: visible;
}

.heroSwiper .swiper-wrapper {
    overflow: visible;
}

.heroSwiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.heroSwiper .hero-slide-card {
    overflow: visible !important;
}

.heroSwiper .hero-slide-card .img-cover {
    border-radius: var(--hero-radius, 24px);
}

.heroSwiper .swiper-slide .ratio-hero,
.heroSwiper .swiper-slide .hero-slide-card {
    border-radius: var(--hero-radius, 24px);
    transition: opacity .4s ease;
}

.heroSwiper .swiper-slide:not(.swiper-slide-active) .ratio-hero,
.heroSwiper .swiper-slide:not(.swiper-slide-active) .hero-slide-card {
    opacity: .78;
}

.hero-section--full {
    --hero-radius: 0px;
}

.hero-section--full .heroSwiper .swiper-slide:not(.swiper-slide-active) .ratio-hero,
.hero-section--full .heroSwiper .swiper-slide:not(.swiper-slide-active) .hero-slide-card {
    opacity: 1;
}

.heroSwiper .hero-slide-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .45));
    pointer-events: none;
}

.heroSwiper .hero-slide-card--plain::after {
    background: none;
}

.hero-slide-card .hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
}

.hero-slide-card .hero-solid-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    z-index: 0;
}

.hero-slot-swiper-wrap {
    position: relative;
    min-width: 0;
}

.hero-slot-swiper-wrap .heroSwiper--slot {
    height: 100%;
    min-width: 0;
    overflow: hidden !important;
    isolation: isolate;
    border-radius: var(--hero-radius, 12px);
}

.hero-section--grid .hero-group-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    margin: 0;
    row-gap: var(--hero-gap, 12px);
}

.hero-section--grid .hero-group-grid > .hero-group-main,
.hero-section--grid .hero-group-grid > .hero-group-side {
    min-width: 0;
    margin-top: 0;
    padding: 0;
}

.hero-section--grid .hero-group-side {
    gap: var(--hero-gap-effective, var(--hero-gap, 12px)) !important;
}

.hero-nav-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1.5px solid #f2f2f2;
    border-radius: 50%;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hero-nav-btn i,
.hero-nav-btn i::before {
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
    font-size: 18px;
    line-height: 1;
}

.hero-nav-btn.swiper-button-disabled {
    opacity: .5;
    cursor: default;
    pointer-events: none;
}

.hero-nav-prev,
.hero-nav-next,
.hero-nav-btn--slot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-nav-prev {
    left: 16px;
}

.hero-nav-next {
    right: 16px;
}

.hero-nav-btn--slot {
    z-index: 3;
}

.hero-nav-btn--slot.hero-nav-prev {
    left: 10px;
}

.hero-nav-btn--slot.hero-nav-next {
    right: 10px;
}

.hero-group-side .hero-nav-btn--slot.hero-nav-prev {
    left: 6px;
}

.hero-group-side .hero-nav-btn--slot.hero-nav-next {
    right: 6px;
}

.hero-nav-btn.hero-arrow--minimal {
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: scale(1.35);
}

.hero-nav-prev.hero-arrow-pos--outside {
    left: -8px;
}

.hero-nav-next.hero-arrow-pos--outside {
    right: -8px;
}

.hero-nav-row {
    padding-inline: 4px;
    margin-top: 4px !important;
}

.hero-loading-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, .3);
    z-index: 20;
    pointer-events: none;
}

.hero-loading-bar--top {
    top: 0;
}

.hero-loading-bar--bottom {
    bottom: 0;
}

.hero-loading-bar > span {
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width .1s linear;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.hero-dots .hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .25);
    cursor: pointer;
}

.hero-dots .hero-dot.active {
    background: #6b7280;
}

@media (min-width: 768px) {
    .hero-nav-btn {
        width: 40px;
        height: 40px;
    }

    .hero-nav-prev {
        left: 24px;
    }

    .hero-nav-next {
        right: 24px;
    }
}

@media (min-width: 1200px) {
    .hero-nav-btn {
        width: 46px;
        height: 46px;
    }
}

@media (min-width: 1400px) {
    .hero-nav-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 575px) {
    .hero-nav-prev,
    .hero-nav-next,
    .hero-nav-row {
        display: none !important;
    }
}
