﻿:root {
    --plan-border-bolor: #BA8E87;
    --selected-plan-border-bolor: #EB008B;
    --plan-background-color: #FCE9DF;
    --plan-body-background: #FFFFFF;
    --plan-footer-background: #EDE6DE;
    --plan-footer-free-background: #E1BAB3;
}


/*#region Membership plan */
/*------------------------------------------------------------------------------*/
.customer-info-container {
    padding: 25px  4px;
}

.membership-container {
    background: var(--plan-background-color);
    padding: 24px 0 24px 24px;
    box-sizing: content-box;
}

.membership-plans-section {
    margin-bottom: 32px;
    overflow: hidden;
}

.membership-setting .membership-plans-section {
    max-width: 845px;
}

.membership-plans-wrapper {
    display: flex;
    flex-wrap: nowrap;
    column-gap: 16px;
}
.membership-container .profile-text-title:first-child {
    margin-bottom: 0;
}

.membership-plan-item, .my-membership-plan-item {
    padding: 24px 50px;
    border: 8px solid var(--plan-border-bolor);
    display: inline-block;
    cursor: pointer;
    margin: 32px 0;
    max-width: 477.33px;
    min-width: 477.33px;
    height: 1020px;
    border-radius: 38px;
    position: relative;
    background: var(--plan-body-background);
    cursor: pointer;
    user-select: none; /* prevent text selection while dragging */
}

    .membership-plan-item.active, .my-membership-plan-item.active {
        border-color: var(--selected-plan-border-bolor);
    }

        /* Only when active */
        .membership-plan-item.active::after, .my-membership-plan-item.active::after {
            content: "\f058"; /* Font Awesome check-circle Unicode */
            font-family: "Font Awesome 6 Free"; /* ensure FA 6 Free is loaded */
            font-weight: 900; /* solid style */
            position: absolute;
            top: -15px;
            right: -25px;
            color: var(--selected-plan-border-bolor);
            font-size: 70px;
            pointer-events: none;
            line-height: 0.5;
            background-color: white;
            border-radius: 100%;
        }

.my-membership-plan-item {
    padding: 3px;
    max-width: 265px;
    min-width: 265px;
    height: 785px;
    cursor: unset;
    /*overflow: hidden;*/
}

.silver-upgrade .membership-plans-wrapper {
    column-gap: 14px;
}

.silver-upgrade .my-membership-plan-item {
    max-width: 398.5px;
    min-width: 398.5px;
    height: 1112px;
    cursor: unset;
}

.profile-text-title.silver-upgrade {
    margin-top: 48px;
    margin-bottom: 4px;
}

#upgradePlanBtn {
    display: none;
}

#upgradePlanSelection {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.35s ease;
}

    #upgradePlanSelection.show {
        max-height: fit-content; /* adjust based on your content */
        opacity: 1;
        transform: translateY(0);
    }


.plan-points, .plan-type, .plan-price, .free-hook, .free-hook-2, .member-btn {
    font-family: 'Alegreya Sans';
}

.plan-points {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    text-align: center;
}

.customer-my-acc .plan-points{
    margin-bottom: 6px;
}

.plan-point, .my-membership-plan-item .plan-point {
    font-size: 34px;
    line-height: 41px;
    font-weight: 900;
    text-transform: uppercase;
}

.clown-image {
    transform: translateY(-2px);
}

.plan-point .clown-image {
    transform: translate(-4px, -2px);
}

.highlight-bold{
    font-weight: 700;
}

.my-membership-plan-item.customer-my-acc .plan-point {
    font-size: 18px;
    line-height: 100%;
}


.my-membership-plan-item.customer-my-acc .plan-desc {
    font-size: 11px;
    line-height: 14px;
}

.plan-points small, .my-membership-plan-item .plan-points small {
    font-size: 11px;
    line-height: 13px;
}

.my-membership-plan-item.customer-my-acc .plan-points small {
    font-size: 6px;
    line-height: 100%;
}

.sub-text {
    font-size: 16px;
    vertical-align: super;
    font-weight: 700;
    font-family: 'Roboto';
}

.my-membership-plan-item .sub-text {
    font-size: 12px;
}

.plan-point .fa-crown {
    transform: rotate(-15deg);
    margin-right: 4px;
}

.plan-desc, .my-membership-plan-item .plan-desc {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
}

.plan-desc .sub-text, small .sub-text {
    font-size: 10px;
    vertical-align: super;
    font-weight: 700;
    font-family: 'Roboto';
}

.my-membership-plan-item .plan-desc .sub-text, .my-membership-plan-item small .sub-text {
    font-size: 7px;
}

.plan-points small {
    font-size: 12px;
    font-style: italic;
}

.plan-highlighted-text {
    color: #EC008C;
}

.line-through {
    text-decoration: line-through !important;
    text-decoration-color: #EC008C !important;
    text-decoration-thickness: 3.5px !important;
}

.my-membership-plan-item .line-through {
    text-decoration-thickness: 1.5px !important;
}

    .line-through .fa-crown::after {
        position: absolute;
        content: "|";
        color: #EC008C;
        font-weight: 600;
        font-size: 1.7em;
        left: 7px;
        top: -8px;
        transform: rotate(-75deg);
    }

.my-membership-plan-item .line-through .fa-crown::after {
    top: -4px;
}

.plan-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--plan-footer-background);
    width: 100%;
    height: 208px;
    border-radius: 0 0 32px 32px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: row;
}

    .plan-footer.free {
        background: var(--plan-footer-free-background);
    }
    .plan-footer img {
        width: 100%;
        height: auto;
        aspect-ratio: 477/208;
        object-fit: cover;
    }

.membership-setting .plan-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--plan-footer-background);
    width: 100%;
    height: 184px;
    border-radius: 0 0 62px 62px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.free-hook {
    color: #EB008B;
    font-size: 30px;
    font-weight: 900;
    padding: 0 40px;
    text-align: center;
    line-height: 32px;
    margin-top: 130px;
    margin-bottom: 10px;
}

.customer-my-acc .free-hook {
    margin-top: 30px;
    font-size: 16px;
    line-height: 17px;
}

.free-hook-2 {
    color: #EB008B;
    font-size: 45px;
    font-weight: 900;
    padding: 0 30px;
    text-align: center;
    line-height: 50px;
    text-transform: uppercase;
}

.customer-my-acc .free-hook-2 {
    font-size: 25px;
    line-height: 24px;
}

.member-btn {
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translateX(-50%);
    background: #EB008B;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 400;
    padding: 0 25px;
    border-radius: 25px;
    border: none;
    line-height: 37px;
    font-size: 25px;
    width: fit-content;
    height: 37px;
}

.guest-button {
    align-content: center;
    background: var(--plan-border-bolor);
    font-weight: 300;
}

.silver-upgrade .member-btn {
    pointer-events: none;
    top: 11%;
    line-height: 37px;
}

a.member-btn:hover {
    color: #181717;
}

.plan-header {
    margin: -3px;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
    height: 140.09px;
    background-position: center;
    background-color: #EDE6DE;
    background-repeat: no-repeat;
}

.plan-header.gold {
    background-image: url(/website/assets/images/customer/card_middle_gold.png);
    height: 140.09px;
    background-position: center;

}

.plan-header.silver {
    background-image: url(/website/assets/images/customer/card_middle_silver.png);
    height: 140.09px;
    background-position: center;
}

.plan-header.guest {
    background-image: url(/website/assets/images/customer/card_middle_guest.png);
    height: 140.09px;
    background-position: center;
}

.plan-middle-price {
    padding: 20px 0 0 0;
    text-align: center;
}

.plan-middle-price.guest {
    padding: 20px 40px 0 40px;
    text-align: center;
}

.plan-middle-price img {
    width: 100%;
    height: auto;
    max-height: 155px;
}

.plan-saved-price{
    text-align: center;
    margin: 6px 0;
}

    .plan-saved-price img {
        width: 100%;
        height: auto;
        aspect-ratio: 96/29;
        max-width: 96px;
    }

    /* Table Comparison */
    .compare-plans-wrapper {
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #CDCDCD;
        padding: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        margin-right: 24px;
    }

    .compare-plans-wrapper::-webkit-scrollbar {
        display: none;
    }

    .compare-plans-wrapper table {
        border-collapse: collapse;
        width: 100%;
        min-width: 1200px;
        margin: 0;
    }

.compare-plans th, .compare-plans td {
    text-align: left;
    user-select: none;
    white-space: nowrap;
}

.compare-plans td {
    font-size: 16px;
    line-height: 19px;
    padding: 14.5px 16px;
}

.compare-plans th, .compare-plans tr.member-price td {
    font-size: 24px;
    line-height: 28px;
    padding: 17px 16px;
}

.compare-plans td li {
    font-size: 14px;
    line-height: 19px;
}

.compare-plans td ul {
    margin-bottom: 0;
    padding-left: 0.5rem;
}

    .compare-plans th:not(:first-child), .compare-plans td:not(:first-child){
       width: 300px;
       text-align: center;
    }

.compare-plans tr {
    background-color: #ffffff;
}
.compare-plans tr:nth-child(even) {
    background-color: rgba(252, 233, 223, 0.5)
}

    .compare-plans tr.member-price {
        background-color: #F7D3BF;
    }

    .compare-plans .fa-check-circle {
        font-size: 24px;
        color: #17C666;
    }

    .compare-plans .fa-times-circle {
        font-size: 24px;
        color: #B01F0E;
    }



.membership-plans-wrapper.dragging {
    cursor: grabbing;
}

.compare-plans-wrapper.dragging {
    cursor: grabbing;
}

.clickable{
    cursor: pointer !important;
}

.break-line{
    display: inline;
}

.member-price-small-tag {
    font-size: 18px;
}

/* Swipe mode */
@media (max-width:1540px) {

    .membership-plans-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        cursor: grab;
        padding-left: 20px;
        padding-right: 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .membership-plans-wrapper::-webkit-scrollbar {
            display: none;
        }

    /*.membership-plan-item, .my-membership-plan-item {
        flex: 0 0 80%;
        max-width: 477.33px;
        min-width: 477.33px;
        scroll-snap-align: start;
    }*/

    .membership-plan-item{
        flex: 0 0 80%;
        max-width: 477.33px;
        min-width: 477.33px;
        scroll-snap-align: start;
    }

    /*.my-membership-plan-item {
        max-width: 414.55px;
        min-width: 414.55px;
    }*/
}

@media (max-width:1200px) {
    .compare-plans-wrapper {
        cursor: grab;
    }
}
/*----------------------------------------------------------------------------*/
/*#endregion */



/*#region Membership plan */
/*------------------------------------------------------------------------------*/
.membership-card-section {
    max-width: 845px;
    width: 845px;
    height: fit-content;
    border-radius: 4px;
    border: 1px solid #CDCDCD;
    padding: 16px;
    position: relative;
}

    .membership-card-section.card-only {
        border: none;
        margin: 0 auto;
    }

        .membership-card-section.card-only .membership-plan-title {
            /*display: none;*/
        }

        .membership-plan-title {
            font-family: Roboto;
            font-weight: 700;
            font-size: 16px;
            line-height: 19px;
            letter-spacing: 0.01px;
            margin-bottom: 16px;
        }

/*
.membership-card-section .membership-card, .membership-card-section .membership-card.guest {
    background-image: url("../../website/assets/images/customer/card_bg_guest.svg");
    background-size: cover;
    max-width: 800px;
    width: 100%;
    height: auto;
    aspect-ratio: 800/447.478;
    display: block;
    border-radius: 17.46px;
    border: 2.18px solid #CDCDCD;
    background-repeat: no-repeat;
    position: relative;
}
*/

.membership-card-section .membership-card {
    /*background-color: var(--plan-footer-free-background);*/
    max-width: 393px;
    width: 100%;
    max-height: 248px;
    height: auto;
    display: block;
    border-radius: 12px;
    position: relative;
    padding: 100px 18px 21px;
    aspect-ratio: 393/248;
}

.membership-card-section .membership-card.guest {
    background-image: url("../../website/assets/images/customer/card_bg_guest.png");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 115px 18px 11px;
    /*background-color: #EDE6DE;*/
}

.membership-card-section .membership-card.silver {
    background-image: url("../../website/assets/images/customer/card_bg_silver.png");
    background-size: cover;
    background-repeat: no-repeat;
    /*background-color: #EDE6DE;*/
}

.membership-card-section .membership-card.gold {
    background-image: url("../../website/assets/images/customer/card_bg_gold.png");
    background-size: cover;
    background-repeat: no-repeat;
    /*background-color: #EDE6DE;*/
}


.member-tier {
    font-family: Roboto;
    font-weight: 700;
    font-size: 78.58px;
    line-height: 92px;
    letter-spacing: 4.37px;
    text-transform: uppercase;
    padding: 32px 32px 0 32px;
    display: block;
}

.membership-card-wrapper .member-tier {
    font-family: Roboto;
    font-weight: 700;
    font-size: 53px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    padding: 10px 0 0 0;
    display: block;
    color: #FFFFFF;
}


.member-card-information {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    align-items: flex-start;
}

.member-card-information .membership-information {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.member-middle-text {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: 0.01px;
}

.member-card-information .member-middle-text, .member-card-information .member-period, .renewal-card .membership-card-footer .member-period {
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0;
    width: auto;
}

.member-period.guest,.member-period.gold{
    color: #FFFFFF;
}

.member-period.silver {
    color: #000000;
}

.member-period {
    font-family: Roboto;
    font-weight: 700;
    font-size: 34px;
    line-height: 35px;
    letter-spacing: 0.01px;
}

.membership-card-body {
    padding: 0 32px 16px 32px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.membership-barcode-container {
    background: #ffffff;
    padding: 18px;
}

.member-card-information .membership-barcode-container {
    padding: 5px;
    max-width: 167px;
    max-height: 106px;
}

.membership-offer-discount-details-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.membership-offer-text {
    font-family: Roboto;
    font-weight: 300;
    font-size: 36px;
    line-height: 100%;
    margin: 0 auto;
    text-align: center;
}

.black-block {
    height: 52.39px;
    background: #181717;
}

.membership-card .card-disclaimer {
    font-family: Roboto;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0.01px;
    max-width: 504.23px;

}

.membership-card-footer {
    padding: 9px 32px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    column-gap: 8px;
    position: relative;
}

    .membership-card-footer img {
        max-width: 97.35px;
        height: auto;
        aspect-ratio: 97.35/39.3;
    }


.membership-card.renewal-card {
    height: 270px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    border-bottom: 0;
    opacity: 0.5;
    position: absolute;
    top: 90px;
    left: 50px;
}

.renewal-card .membership-card-footer {
    height: 146px;
}
    .renewal-card .membership-card-footer .member-period {
        position: absolute;
        bottom: 15px;
        left: 2px;
        color: #FFFFFF;
    }



    /*.membership-card.renewal-card::after {
        content: "";
        position: absolute;
        inset: 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);*/
    /* blur appears gradually from top to bottom */
    /*mask-image: linear-gradient( to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,1) 100% );
        -webkit-mask-image: linear-gradient( to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,1) 100% );
        pointer-events: none;
    }*/
    .membership-card.has-renewal .top-section, .membership-card.renewal-card .top-section {
        position: relative;
        overflow: hidden;
    }

/*.membership-card.renewal-card .top-section::before {
    content: "Renewal";
    position: absolute;
    top: 45px;
    right: -80px;
    width: 300px;
    height: 70px;
    background-color: #B01F0E;
    color: white;
    font-size: 31px;
    text-align: center;
    line-height: 70px;
    transform: rotate(45deg); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}*/

.membership-card.has-renewal {
    margin-bottom: 70px;
}

    /*.membership-card.has-renewal .top-section::before {
        content: "Current Plan";
        position: absolute;
        top: 45px;
        right: -80px;
        width: 300px;
        height: 70px;
        background-color: #B01F0E;
        color: white;
        font-size: 31px;
        text-align: center;
        line-height: 70px;
        transform: rotate(45deg); 
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 10;
    }*/

.membership-message i.feather {
    color: #0EB032;
    border: 1px solid #0EB032;
    border-radius: 50%;
    font-size: 14px;
}

.membership-message i.feather::before {
    font-size: 14px;
    padding: 1px 1px;
}

.membership-message {
    color: #0EB032;
    margin-top: 16px;
    margin-bottom: 16px;
    line-height: 19px;
    font-size: 16px;
}

    .membership-message span {
        color: #181717;
    }

    .membership-message.saved-card-message {
        font-style: italic;
        color: #EC3D3D;
    }

    .membership-message.invalid, .membership-message.saved-card-message a {
        color: #EC3D3D;
    }

    .membership-message.saved-card-message a {
        color: #EC3D3D;
        font-weight: 700;
        text-decoration: underline;
        text-transform: capitalize;
    }

    .membership-message.invalid i.feather {
        color: #EC3D3D;
        border: 1px solid #EC3D3D;
    }

.membership-setting .link-btn {
    color: #AF8F84;
    padding: 16px;
    font-size: 16px;
    line-height: 19px;
    text-transform: capitalize;
    height: fit-content;
}

.membership-card-section .btn-custom {
    background: #EB008B;
    border-color: #EB008B;
    border-radius: 126.12px;
    font-family: Alegreya Sans;
    font-weight: 400;
    font-size: 26px;
    line-height: 100%;
}

.membership-modal .modal-content {
    padding: 16px;
}

.membership-modal .modal-body {
    padding: 0;
}

.membership-modal .modal-body form {
    margin: 0;
}

.membership-modal .close-btn-container {
    position: absolute;
    right: 26px;
    top: 26px;
    z-index: 10;
}

    .membership-modal .close-btn-container .btn-close {
        padding: 20px;
    }

.membership-modal ul {
    list-style: disc inside;
}

.membership-modal .modal-btn-container {
    justify-content: space-between;
}

/* Cost-savings  */
.cost-savings-wrapper {
    background: #EDE6DE;
    padding: 16px;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #CDCDCD;
    margin-top: 24px;
}

    .cost-savings-wrapper .profile-text-title {
        margin-bottom: 16px;
    }

.cost-savings-card {
    border-radius: 16px;
    border: 1px solid #CDCDCD;
    padding: 16px;
    background: #ffffff;
    margin-bottom: 24px;
}

.saved-price, .retail-price, .paid-price {
    display: block;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    padding: 16px;
}

    .saved-price div {
        font-weight: 700;
        font-size: 48px;
        line-height: 56px;
        letter-spacing: 1%;
    }

.retail-price div, .paid-price div {
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    margin-top: 8px;
}

.retail-price, .paid-price {
    width: 50%;
}

.saved-price {
    background: #EDE6DE;
}

.retail-price {
    background: rgba(237, 230, 222, 0.5);
}

.past-activity-link a {
    color: #181717 !important;
    text-decoration: underline;
}

.past-activities-wrapper {
    background: #ffffff;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    margin-bottom: 14.5px;
}

    .past-activities-wrapper::-webkit-scrollbar {
        display: none;
    }

    .past-activities-wrapper table {
        border-collapse: collapse;
        width: 100%;
        margin: 0;
    }

.past-activity-list th, .past-activity-list td {
    text-align: left;
    padding: 10px 16px;
    user-select: none;
    white-space: nowrap;
    font-family: Roboto;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 1%;
    vertical-align: middle;
}


    .past-activity-list td.past-activity-saved-amount {
        font-size: 24px;
        line-height: 28px;
        font-weight: 700;
    }

.past-activity-list th {
    font-weight: 700;
}

    .past-activity-list th:not(:first-child), .past-activity-list td:not(:first-child) {
        text-align: center;
    }

.past-activity-list tr {
    background-color: #ffffff;
}


    .past-activity-list tr:nth-child(even) {
        background-color: #EDE6DE;
    }


.past-activity-row.hide {
    display: none;
}

.past-activity-disclaimer {
    color: #181717;
    font-weight: 400;
    font-style: Italic;
    font-size: 16px;
    line-height: 19px;
}

.past-activities-wrapper.dragging {
    cursor: grabbing;
}

.cancel-subscription-text {
    font-family: Roboto;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 1%;
    margin-bottom: 40px;
    margin-top: 40px;
}

#cancelSubscriptionModal .link-btn {
    color: #AF8F84;
    padding: 8px 8px 8px 0;
    font-size: 16px;
    line-height: 19px;
    text-transform: none;
    height: fit-content;
}

@media (max-width: 1280px) {
    .membership-card-section, .cost-savings-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .membership-card-section, .membership-setting .membership-plans-section, .cost-savings-wrapper, .membership-offer-discount-details-container {
        margin: 0 16px;
        max-width: calc(100vw - 32px);
    }

    .membership-plans-section, .cost-savings-wrapper {
        max-width: calc(100vw - 32px);
    }

        .membership-card-section.card-only {
            border: none;
            margin: 0 auto;
        }

    #cancelSubscriptionModal {
        position: relative;
    }

    .membership-container{
        margin: 0 -4px;
    }
}

@media (max-width: 550px) {

    .membership-container {
        padding: 8px 0 8px 8px;
    }

    .membership-card-section, .membership-setting .membership-plans-section, .cost-savings-wrapper, .membership-offer-discount-details-container {
        padding: 8px;
        max-width: calc(100vw - 32px - 16px);
    }

    .member-tier {
        font-size: 36px;
        line-height: 43px;
        padding: 16px 16px 0 16px;
    }

    .membership-card-body {
        padding: 0 16px 8px 16px;
    }

    .member-middle-text, .member-period {
        font-size: 24px;
        line-height: 29px;
    }

    .black-block {
        height: 40px;
    }

    .membership-card .card-disclaimer {
        font-size: 14px;
        line-height: 16px;
    }

    .membership-card-footer {
        padding: 9px 16px;
    }

    .member-card-information .membership-barcode-container {
        padding: 0 5px;
        min-width: 150px;
    }

    .membership-card-section.card-only {
        border: none;
        margin: 0 auto;
    }

    .compare-plans-wrapper {
        margin-right: 8px;
        padding: 5.5px;
        border-radius: 5.5px;
    }
}

@media (max-width: 530px) {
    .membership-card-body {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        row-gap: 6px;
    }

    .membership-card-section .membership-card {
        padding: 115px 18px 11px;
        max-height: fit-content;
    }

    .membership-card-section .membership-card.guest{
        padding: 117px 18px 11px;
    }

    .member-middle-text, .member-period {
        font-size: 16px;
        line-height: 19px;
    }

    .membership-card .card-disclaimer {
        font-size: 12px;
        line-height: 14px;
    }

    .membership-card-section, .cost-savings-wrapper {
        max-width: calc(100vw - 32px);
        min-width: 320px;
    }

        .membership-card-section.card-only {
            max-width: calc(100vw - 16px);
            border: none;
            margin: 0 auto;
        }

    .membership-setting .link-btn {
        font-size: 13px;
        line-height: 15px;
    }

    /*.my-membership-plan-item,*/ 
    .membership-plan-item, .silver-upgrade .my-membership-plan-item, .landing-member-plan {
        max-width: 300px;
        min-width: 300px;
        padding: 16px;
        height: 700px;
        cursor: unset;
        border-radius: 20px 20px 25px 25px;
        border: 5px solid var(--plan-border-bolor);
    }

    .silver-upgrade .my-membership-plan-item {
        height: 715px;
    }

    .membership-plans-section, .membership-setting .membership-plans-section {
        max-width: calc(100vw - 32px);
        /*max-width: 100%;*/
    }

    .plan-points {
        margin-bottom: 4px;
    }


    .plan-point {
        font-size: 24px;
        line-height: 24px;
    }

    .plan-desc {
        font-size: 14px;
        line-height: 18px;
    }

    .plan-points small {
        font-size: 9px;
        line-height: 11px;
    }

    .plan-type div:first-child, .membership-setting .plan-type div:first-child {
        font-size: 48px;
        line-height: 50px;
    }

    .plan-type div.gold, .plan-type div.silver, .membership-setting .plan-type div.gold, .membership-setting .plan-type div.silver {
        font-size: 32px;
        line-height: 30px;
    }

    .plan-type div.free {
        font-size: 30px;
        line-height: 36px;
    }

    .plan-price div, .membership-setting .plan-price div {
        font-size: 90px;
        height: 100%;
        line-height: 100%;
        margin-top: 0;
        margin-left: -20px;
    }

    .plan-price span {
        font-size: 50px;
    }

    .plan-price.silver div, .membership-setting .plan-price.silver div {
        font-size: 95px;
    }

    .plan-footer, .membership-setting .plan-footer {
        height: auto;
        border-radius: 0 0 20px 20px;
        overflow: hidden;
    }


    .membership-setting .plan-footer {
        padding-bottom: 20px;
    }

    .membership-plan-item.active::after, .my-membership-plan-item.active::after {
        content: "\f058";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: -6px;
        right: -10px;
        color: var(--selected-plan-border-bolor);
        font-size: 20px;
        pointer-events: none;
    }

    .membership-plans-wrapper {
        column-gap: 6px;
    }

    .silver-upgrade .membership-plans-wrapper {
        column-gap: 8px;
    }

    .plan-price div.highest-praise, .free .plan-type div.highest-praise, .membership-setting .plan-price div.highest-praise {
        font-size: 24px;
        line-height: 30px;
    }

        .plan-price div.highest-praise.only {
            top: 0px;
            left: 35px;
        }

        .plan-price div.highest-praise:not(.only)  {
            bottom: 16px;
        }

    .silver-upgrade .plan-price div.highest-praise:not(.only) {
        bottom: 0;
    }
    .silver-upgrade.membership-plans-section {
        margin: 0;
    }

    .profile-text-title.silver-upgrade {
        margin-top: 24px;
        margin-bottom: -12px;
    }

    .plan-price.silver div.highest-praise:not(.only) {
        bottom: 12px;
    }

    .plan-footer.free {
        background: var(--plan-footer-free-background);
        padding-bottom: 0;
    }

    .free .plan-type div.highest-praise {
        transform: rotate(-15deg);
        top: 16px;
        left: 15px;
    }

    .plan-type {
        row-gap: 0;
    }

    .membership-setting .plan-type {
        margin-top: -10px;
    }

    .plan-middle-price{
        padding: 35px 0 0 0;
    }

    .plan-middle-price.guest {
        padding: 35px 40px 0 40px;
    }

    .member-btn {
        top: 14%;
        font-size: 30px;
    }


    .membership-card.renewal-card {
        height: 270px;
        overflow: hidden;
        border-radius: 12px;
        opacity: 0.5;
        position: absolute;
        top: 90px;
        left: 28px;
        width: 83vw;
    }

        .renewal-card .membership-card-footer .member-period {
            bottom: -2px;
            left: 7px;
        }

        .membership-card.has-renewal .top-section::before, .membership-card.renewal-card .top-section::before {
            top: 40px;
            right: -90px;
            width: 300px;
            height: 40px;
            font-size: 20px;
            line-height: 40px;
        }

    .plan-header {
        margin: -2px;
        border-radius: 30px 30px 0 0;
    }

    .plan-middle-price img {
        max-height: 125px;
    }

    .plan-saved-price img {
        max-width: 80px;
    }

    .plan-header.gold, .plan-header.silver, .plan-header.guest {
        height: 125.09px;
        background-position: center;
    }

    .free-hook{
        margin-top: 40px;
        font-size: 24px;
        padding: 0;
        line-height: 28px;
    }

    .free-hook-2 {
        font-size: 34px;
        line-height: 36px;
        padding: 0;
    }
}

@media (max-width: 440px) {

    .membership-card-section .membership-card {
        padding: 25% 15px 11px;
    }

        .membership-card-section .membership-card.guest {
            padding: 29% 15px 11px;
        }

    /*.my-membership-plan-item,*/ 
    .membership-plan-item, .silver-upgrade .my-membership-plan-item, .landing-member-plan {
        max-width: 150px;
        min-width: 150px;
        height: 340px;
        border-radius: 12px;
        padding: 10px;
        margin: 16px 0;
    }

    .plan-point {
        font-size: 11px;
        line-height: 13px;
    }

    .plan-desc {
        font-size: 6px;
        line-height: 7px;
    }

    .free-hook {
        font-size: 10px;
        line-height: 10px;
    }

    .free-hook-2 {
        font-size: 14px;
        line-height: 13px;
    }

    .sub-text, small .sub-text {
        font-size: 6px;
    }

    .clown-image {
        width: 9px;
        height: 6px;
    }

    .plan-points small {
        font-size: 4px;
        line-height: 4px;
    }

    .my-membership-plan-item, .membership-plan-item, .silver-upgrade .my-membership-plan-item, .landing-member-plan {
        border: 3px solid var(--plan-border-bolor);
    }

    .plan-footer{
        border-radius: 0 0 10px 10px;
    }

    .profile-text-title{
        margin-bottom: 8px;
    }

    .compare-plans-wrapper table {
        min-width: fit-content;
    }

    .compare-plans th, .compare-plans tr.member-price td {
        font-size: 8px;
        line-height: 10px;
        padding: 5.5px;
    }

    .compare-plans td {
        font-size: 6px;
        line-height: 8px;
        padding: 5.5px;
    }

    .compare-plans td li {
        font-size: 5px;
        line-height: 6px;
    }

    .compare-plans .fa-check-circle, .compare-plans .fa-times-circle {
        font-size: 8.25px;
    }

    .member-price-small-tag{
        font-size: 6px;
    }

    .break-line {
        display: block;
    }
}
/*----------------------------------------------------------------------------*/
/*#endregion */

