.bau-slider-scope,
.bau-slider-scope .bau-slider {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.bau-slider-scope .bau-slider {
    position: relative;
    overflow: hidden;
}

.bau-slider > .swiper-button-prev,
.bau-slider > .swiper-button-next {
    color: #fff;
}

.bau-slider:not(.swiper-initialized) > .swiper-button-prev,
.bau-slider:not(.swiper-initialized) > .swiper-button-next,
.bau-slider:not(.swiper-initialized) > .swiper-pagination {
    display: none;
}

/* Hero */
.bau-slider--hero > .swiper-wrapper > .swiper-slide {
    display: flex;
    align-items: center;
    min-height: 70vh;
    background-position: center;
    background-size: cover;
}

.bau-slider--hero .bau-slide__inner {
    max-width: 430px;
    padding: 0 7%;
    color: #333;
}

.bau-slider .bau-btn {
    display: inline-block;
    padding: 14px 24px;
    background: #fff;
    color: #111;
    text-decoration: none;
}

.bau-slider .bau-slide__text {
    padding-block: 15px 24px;
}

/* Promo */
.bau-slider--promo {
    background: #111;
    color: #fff;
    text-align: center;
}

.bau-slider--promo > .swiper-wrapper > .swiper-slide {
    box-sizing: border-box;
    min-width: 0;
    padding: 14px clamp(32px, 7vw, 50px);
    overflow-wrap: anywhere;
    font-size: 15px;
}

.bau-slider--promo > .swiper-pagination {
    display: none;
}

/* Announcement bar. Its Swiper instance uses its own markup and sizing. */
.bau-announcement-bar {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    background: #191717;
    color: #fff;
}

.bau-announcement-inner {
    position: relative;
    display: grid;
    grid-template-columns: clamp(2rem, 6vw, 2.75rem) minmax(0, 1fr) clamp(2rem, 6vw, 2.75rem);
    align-items: center;
    width: 100%;
    max-width: 43.5rem;
    margin-inline: auto;
}

.bau-announcement-viewport {
    grid-area: 1 / 2;
    position: relative;
    min-width: 0;
    overflow: hidden;
    touch-action: pan-y;
}

.bau-announcement-track {
    position: relative;
    display: flex;
    width: 100%;
    align-items: stretch;
    transition-property: transform;
    transition-timing-function: ease;
}

.bau-announcement-slide {
    box-sizing: border-box;
    display: grid;
    flex: 0 0 auto;
    place-content: center;
    width: 100%;
    min-width: 0;
    min-height: 3.25rem;
    padding: 0.55rem 1.65rem;
    color: #fff;
    font-size: clamp(0.875rem, 2.4vw, 1rem);
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.bau-announcement-inner > .bau-announcement-control {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.bau-announcement-inner > .bau-announcement-control[hidden] {
    display: none;
}

.bau-announcement-inner > .bau-announcement-control:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.bau-announcement-inner > .bau-announcement-prev {
    grid-area: 1 / 1;
}

.bau-announcement-inner > .bau-announcement-next {
    grid-area: 1 / 3;
}

.bau-announcement-prev::before,
.bau-announcement-next::before {
    content: '';
    box-sizing: border-box;
    width: 0.55rem;
    height: 0.55rem;
    border-block-start: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.bau-announcement-prev::before,
.bau-announcement-next:dir(rtl)::before {
    transform: rotate(-135deg);
}

.bau-announcement-prev:dir(rtl)::before {
    transform: rotate(45deg);
}

.bau-announcement-inner > .bau-announcement-toggle {
    grid-area: 1 / 2;
    z-index: 1;
    justify-self: end;
    width: 1.65rem;
}

.bau-announcement-toggle::before {
    content: '';
    box-sizing: border-box;
    width: 0.55rem;
    height: 0.65rem;
    border-inline: 2px solid currentColor;
}

.bau-announcement-toggle.is-paused::before {
    width: 0;
    height: 0;
    border: 0.35rem solid transparent;
    border-left: 0.55rem solid currentColor;
    border-right: 0;
}

@media (hover: hover) {
    .bau-announcement-inner > .bau-announcement-toggle:not(.is-paused) {
        opacity: 0;
    }

    .bau-announcement-inner:hover > .bau-announcement-toggle,
    .bau-announcement-inner:focus-within > .bau-announcement-toggle {
        opacity: 1;
    }
}

/* Products */
.bau-slider--products {
    padding-bottom: 40px;
}

.bau-slider--products .bau-product {
    text-align: center;
}

.bau-slider--products .bau-product img {
    width: 100%;
    height: auto;
}

.bau-slider--products > .swiper-button-prev,
.bau-slider--products > .swiper-button-next {
    color: #111;
}

/* Existing Astra header wrappers */
.bau-topbar {
    width: 100%;
    background: #111;
}

.bau-topbar .ast-container {
    display: block;
    padding-inline: 20px;
}

.bau-topbar .bau-slider--promo {
    background: transparent;
}

.bau-topbar .bau-slider--promo > .swiper-button-prev {
    left: 0;
}

.bau-topbar .bau-slider--promo > .swiper-button-next {
    right: 0;
}
