.format-tabs__tabs {
    background: #FFFFFF;
    box-shadow: 0px 2.5px 3px 5px rgba(0, 0, 0, 0.01);
    border-radius: 5px;
    padding: 40px 50px;
}

.format-tabs__tabs__link {
    margin-bottom: 25px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.format-tabs__tabs__link:last-child {
    margin-bottom: 0px;
}

.format-tabs__tabs__link--active {
    color: #E60590;
}

.format-tabs__tabs__link:hover {
    color: #E60590;
}

.format-tabs__tabs__link--active::before {
    display: block;
    content: ' ';
    background-image: url('../../../images/arrow-purple-right.svg');
    background-size: 14px 14px;
    height: 14px;
    width: 14px;
    position: absolute;
    left: -20px;
    top: 3px;
}

.inline_button{ 
    display: inline!important;
}

.format-tabs__center h4 {
    font-weight: bold;
}

.format-tabs__tab-content {
    display: none ;
}

.format-tabs__tab-content--active {
    display: block ;
} 

.format-tabs__right__card {
    border-radius: 0px 0px 5px 5px;
}

.format-tabs__right__card__image img{
    width: auto;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.format-tabs__right__card__content {
    text-align: center;
}

.format-tabs__right__card__content p {
    margin-bottom: 0px;
}

.format-tabs__right__card__content__label {
    font-size: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 1.;
    padding-top: 10px;
    position: absolute;
    color: #fff;
    top: 15px;
    right: 30px;
    transform: rotate(10deg);
    background-color: #38AA3E;
}

.format-tabs__right__card__content__price {
    font-size: 16px;
    font-weight: bold;
}

.format-tabs__right__card__content__price.border-top {
    border-top:1px solid #C4C4C4;
}

.format-tabs__right__card__content__price span {
    font-size: 32px;
}

.format-tabs__right__card__content a {
    font-size: 12px;
    color: #e60590 !important;
    position: relative;
}

.format-tabs__right__card__content a::after {
    display: block;
    content: ' ';
    background-image: url('../../../images/arrow-purple-right.svg');
    background-size: 10px 10px;
    height: 10px;
    width: 10px;
    position: absolute;
    right: -15px;
    top: 4px;
}

@media only screen and (max-width: 850px) {
    /* 1. Transform Tabs into a horizontal scroll menu */
    .format-tabs__tabs {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 15px !important;
        gap: 20px;
        -webkit-overflow-scrolling: touch;
        box-shadow: none !important;
        border-bottom: 1px solid #eee;
        border-radius: 0;
        margin-left: -15px; /* Bleed to screen edges */
        margin-right: -15px;
    }

    .format-tabs__tabs__link {
        margin-bottom: 0px !important;
        padding: 5px 10px;
        flex: 0 0 auto; /* Prevents tabs from shrinking */
    }

    /* Adjust the active arrow for horizontal layout */
    .format-tabs__tabs__link--active::before {
        left: 50%;
        top: auto;
        bottom: -10px;
        transform: translateX(-50%) rotate(90deg); /* Arrow points up/down now */
    }

    /* 2. Stack the Content */
    .format-tabs__tab-content .row {
        flex-direction: column !important;
    }

    .format-tabs__center {
        text-align: center;
        padding: 0 !important;
    }

    .format-tabs__right {
        margin-top: 30px;
        padding: 0 !important;
    }

    /* 3. Fix the Pricing Cards */
    .format-tabs__right__card {
        background: #fff;
        border: 1px solid #eee;
        margin-bottom: 20px;
    }

    .format-tabs__right__card__image img {
        width: 100% !important; /* Image fills card width */
        height: auto;
    }

    .format-tabs__right__card__content__price span {
        font-size: 24px !important; /* Scale down price font */
    }

    /* 4. The Green Label (Sticky Badge) */
    .format-tabs__right__card__content__label {
        right: 15px !important;
        top: -25px !important; /* Float it over the image border */
    }
}