@font-face {
    font-family: "Besties Great Vibes";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/great-vibes-latin.woff2") format("woff2");
}

.besties-openings {
    display: grid;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.besties-openings-carousel {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    position: relative;
}

.besties-openings-carousel__controls,
.besties-openings-carousel__dots {
    display: none;
}

.besties-opening-card {
    background: #fff;
    border: 3px solid #9a1b4f;
    border-radius: 17px;
    box-sizing: border-box;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
}

.besties-opening-card:hover,
.besties-opening-card:focus {
    color: inherit;
    text-decoration: none;
}

.besties-opening-card:focus-visible {
    outline: 3px solid #c3993a;
    outline-offset: 4px;
}

.besties-opening-card__image {
    display: block;
    flex: 0 0 auto;
    height: 223px;
    object-fit: cover;
    width: 100%;
}

.besties-opening-card__content {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 14px 18px 42px;
    text-align: center;
}

.besties-opening-card__title {
    color: #c3993a;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(1.5rem, 2.4vw, 1.8125rem);
    font-weight: 800;
    line-height: 1.18;
    margin: 0;
    text-transform: uppercase;
}

.besties-opening-card__title span {
    display: block;
}

.besties-opening-card__script {
    color: #9a1b4f;
    font-family: "Besties Great Vibes", cursive;
    font-size: clamp(2.75rem, 5vw, 3.625rem);
    font-weight: 400;
    line-height: 1;
    margin: 12px 0 18px;
}

.besties-opening-card__subtitle {
    color: #9a1b4f;
    font-family: Montserrat, sans-serif;
    font-size: clamp(1.125rem, 2.2vw, 1.625rem);
    font-weight: 700;
    line-height: 1.35;
    margin: auto 0 0;
}

@media (max-width: 767px) {
    .besties-opening-card__content {
        padding: 14px 14px 28px;
    }
}

@media (max-width: 1024px) {
    .besties-openings-carousel {
        padding-inline: 46px;
    }

    .besties-openings-carousel .besties-openings {
        display: flex !important;
        gap: 0 !important;
        max-width: none !important;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-behavior: smooth;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
        touch-action: pan-y pinch-zoom;
    }

    .besties-openings-carousel .besties-openings::-webkit-scrollbar {
        display: none;
    }

    .besties-openings-carousel .besties-opening-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .besties-openings-carousel__controls {
        display: contents;
    }

    .elementor-widget-besties-openings .besties-openings-carousel__button {
        align-items: center;
        appearance: none;
        background: #fff !important;
        border: 2px solid #9a1b4f !important;
        border-radius: 50% !important;
        box-shadow: none !important;
        box-sizing: border-box;
        color: #9a1b4f !important;
        cursor: pointer;
        display: flex;
        font-size: 1.35rem;
        height: 38px !important;
        justify-content: center;
        line-height: 1;
        margin: 0 !important;
        min-height: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        position: absolute;
        text-indent: 0;
        top: calc(50% - 12px) !important;
        transform: translateY(-50%);
        width: 38px !important;
        z-index: 2;
    }

    .elementor-widget-besties-openings .besties-openings-carousel__button--prev { left: 0 !important; }
    .elementor-widget-besties-openings .besties-openings-carousel__button--next { right: 0 !important; }

    .besties-openings-carousel__button:disabled {
        cursor: default;
        opacity: 0.35;
    }

    .besties-openings-carousel__button:focus-visible {
        outline: 3px solid #c3993a;
        outline-offset: 3px;
    }

    .besties-openings-carousel__dots {
        align-items: center;
        display: flex;
        gap: 9px;
        justify-content: center;
        margin-top: 16px;
    }

    .elementor-widget-besties-openings .besties-openings-carousel__dot {
        appearance: none;
        background: #dd9aac !important;
        border: 0 !important;
        border-radius: 50% !important;
        box-shadow: none !important;
        box-sizing: border-box;
        cursor: pointer;
        height: 9px !important;
        margin: 0 !important;
        min-height: 0 !important;
        min-width: 0 !important;
        padding: 0 !important;
        width: 9px !important;
    }

    .elementor-widget-besties-openings .besties-openings-carousel__dot[aria-current="true"] {
        background: #9a1b4f;
        transform: scale(1.35);
    }
}

@media (max-width: 479px) {
    .besties-openings-carousel {
        padding-inline: 34px;
    }

    .elementor-widget-besties-openings .besties-openings-carousel__button {
        height: 30px !important;
        width: 30px !important;
    }
}
