@charset "UTF-8";
/*
 * Sliding banner (templates/element/new-theme/banner-slide.php).
 * Used full-width on the home page and as a compact, rounded strip on login, signup, cart and checkout.
 * The theme sets html { font-size: 62.5% }, so px is used here to keep sizes predictable.
 */
.bbh-hero {
    --bbh-red: #ED1D24;
    --bbh-ink: #1b1d21;
}
.bbh-hero {
    --bbh-hero-ratio: 1920 / 600; /* recommended banner image size */
    --bbh-hero-overlap: 0px;     /* pages can raise this when something overlaps the slider's bottom (home search panel) */
    --bbh-hero-dots: calc(var(--bbh-hero-overlap) + 36px); /* space kept free for the dots */
    position: relative;
    background: #1b1d21;
}
.bbh-hero__swiper {
    position: relative;
    overflow: hidden;
}
.bbh-hero__skeleton,
.bbh-hero__slide {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: var(--bbh-hero-ratio);
    min-height: 220px;
    overflow: hidden;
}
.bbh-hero__skeleton {
    background: linear-gradient(100deg, #24272d 30%, #30343b 50%, #24272d 70%);
    background-size: 300% 100%;
    animation: bbh-shimmer 1.4s ease-in-out infinite;
}
@keyframes bbh-shimmer {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}
.bbh-hero__slide {
    color: #fff;
    text-decoration: none;
}
.bbh-hero__slide:hover {
    color: #fff;
}
.bbh-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}
.bbh-hero__slide--color {
    background:
        radial-gradient(80% 120% at 85% 20%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(120deg, var(--bbh-c1) 0%, var(--bbh-c2) 100%);
}
.bbh-hero .bbh-hero__art { /* extra class beats Font Awesome's later-loaded .fa { font-size: inherit } */
    position: absolute;
    right: 6%;
    top: 50%;
    font-size: clamp(140px, 22vw, 340px);
    line-height: 1;
    color: rgba(255, 255, 255, .10);
    transform: translateY(-55%) rotate(-8deg);
    pointer-events: none;
}
.bbh-hero__content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: var(--bbh-hero-dots);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 72px;
}
/* darken the left side so text stays readable over photos */
.bbh-hero__content--over-image {
    width: 100%;
    max-width: none;
    padding-left: max(72px, calc((100% - 1200px) / 2 + 72px));
    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, 0) 70%);
}
.bbh-hero__title {
    max-width: 640px;
    margin: 0;
    font-size: clamp(22px, 3.4vw, 44px);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.bbh-hero__descr {
    max-width: 560px;
    margin: 0;
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.55;
    color: rgba(255, 255, 255, .9);
}
.bbh-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bbh-ink);
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    transition: transform .2s;
}
.bbh-hero__slide:hover .bbh-hero__cta {
    transform: translateX(3px);
}
.bbh-hero .bbh-hero__pagination.swiper-pagination-bullets { /* beats swiper-bundle's later-loaded bottom: 10px */
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--bbh-hero-overlap) + 14px);
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
}
.bbh-hero .bbh-hero__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background: #fff;
    opacity: .5;
    border-radius: 999px;
    transition: width .3s, opacity .3s;
}
.bbh-hero .bbh-hero__pagination .swiper-pagination-bullet-active {
    width: 26px;
    background: #fff;
    opacity: 1;
}
.bbh-hero__nav {
    position: absolute;
    top: calc(50% - var(--bbh-hero-dots) / 2);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 24px;
    color: #fff;
    background: rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity .2s, background .2s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.bbh-hero:hover .bbh-hero__nav,
.bbh-hero__nav:focus-visible {
    opacity: 1;
}
.bbh-hero__nav:hover {
    background: var(--bbh-red);
    border-color: var(--bbh-red);
}
.bbh-hero__nav--prev { left: 18px; }
.bbh-hero__nav--next { right: 18px; }
.bbh-hero--single .bbh-hero__nav,
.bbh-hero--single .bbh-hero__pagination {
    display: none;
}

/* ---------- Compact variant (inner pages) ---------- */
.bbh-hero--compact {
    --bbh-hero-ratio: 4 / 1;
    --bbh-hero-dots: 30px;
    overflow: hidden;
    border-radius: 18px;
}
.bbh-hero--compact .bbh-hero__skeleton,
.bbh-hero--compact .bbh-hero__slide {
    min-height: 170px;
    max-height: 220px; /* keeps forms and the cart above the fold on desktop */
}
.bbh-hero--compact .bbh-hero__content {
    padding: 0 48px;
}
.bbh-hero--compact .bbh-hero__content--over-image {
    padding-left: 48px;
}
.bbh-hero--compact .bbh-hero__title {
    font-size: clamp(18px, 2.4vw, 30px);
}
.bbh-hero--compact .bbh-hero__descr {
    font-size: clamp(13px, 1.2vw, 16px);
}
.bbh-hero--compact .bbh-hero__cta {
    margin-top: 4px;
    padding: 8px 16px;
    font-size: 13px;
}
.bbh-hero--compact .bbh-hero__art {
    font-size: clamp(110px, 14vw, 220px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .bbh-hero__content,
    .bbh-hero__content--over-image {
        padding-left: 40px;
        padding-right: 40px;
    }
    .bbh-hero__nav {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .bbh-hero {
        --bbh-hero-dots: 30px;
    }
    .bbh-hero__skeleton,
    .bbh-hero__slide {
        min-height: 200px;
    }
    /* image-only banners keep their full artwork instead of being cropped to the min height */
    .bbh-hero__slide:not(.bbh-hero__slide--color):not(:has(.bbh-hero__content)) {
        min-height: 0;
    }
    .bbh-hero__content,
    .bbh-hero__content--over-image {
        gap: 6px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .bbh-hero__cta {
        margin-top: 4px;
        padding: 8px 16px;
        font-size: 13px;
    }
    .bbh-hero--compact {
        border-radius: 14px;
    }
    .bbh-hero--compact .bbh-hero__content,
    .bbh-hero--compact .bbh-hero__content--over-image {
        padding-left: 20px;
        padding-right: 20px;
    }
    .bbh-hero--compact .bbh-hero__skeleton,
    .bbh-hero--compact .bbh-hero__slide {
        min-height: 150px;
    }
}
