.pricing-plan-wrapper {
    text-align: center;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.pricing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pricing-plan-wrapper .content-wrapper {
    position: relative; 
}

.pricing-top-content {
    max-width: 780px;
    margin: 0 auto;
    margin-bottom: 120px;
}

.pricing-item-wrapper {
    display: flex;
}

.pricing-item {
    width: 294px;
    background-color: #fff;
}

.pricing-item.best-value {
    width: calc(100% - 588px);
}

.pricing-top-title {
    background-color: #f4eff2;
    font-size: 22px;
    line-height: 1.18181818182;
    padding: 17px 20px;
    font-weight: 900;
    font-family: "europa";
    min-height: 164px;
    margin-bottom: 50px;
}

.pricing-item-inner {
    padding: 23px 27px 40px 27px;
}

.best-value-price {
    background: rgba(166, 219, 153, 1);
    position: relative;
    left: -27px;
    width: calc(100% + 55px);
    font-family: "europa";
    color: #fff;
    font-weight: bolder;
    font-size: 22px;
    line-height: 1.45454545455;
    padding: 9px 0 2px;
}

.pricing-item.best-value {
    position: relative;
    top: -40px;   
    margin-bottom: -50px;
}

.pricing-item.best-value .pricing-item-inner {
    padding-top: 0;
    box-shadow: 0 0px 20px 10px rgb(0 0 0 / 5%);
}

/* .pricing-item.best-value img { */
    position: absolute;
    top: -67px;
    left: -77px;
    z-index: 1;
    max-width: 532px;
    height: 941px;
    width: 532px;
    height: 941px;
}

.pricing-item div {
    z-index: 23;
    position: relative;
}

.pricing-title {
    font-weight: bolder;
    font-size: 18px;
    color: #592060;
    line-height: 1.22222222222;
    min-height: 50px;
    display: flex;
    align-items: self-end;
    padding-bottom: 12px;
}

.pricing-item * {
    font-family: "europa";
}

.pricing-value-wrapper {
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    padding: 20px;
}

.pricing-value {
    font-size: 40px;
    color: #242015;
    font-family: "grad";
    font-weight: 900;
    line-height: 1;
}

.pricing-type {
    font-size: 20px;
    color: rgb(36, 32, 21);
}

.pricing-save {
    font-style: italic;
    font-size: 18px;
    color: rgb(71, 68, 71);
    line-height: 24px;
    padding-top: 13px;
    min-height: 62px;
    padding-bottom: 25px;
}

.pricing-features-title {
    font-weight: bolder;
    font-size: 18px;
    color: #592060;
    line-height: 22px;
    margin-bottom: 14px;
}

.pricing-features-content p {
    line-height: 22px;
    margin-bottom: 0;
    color: rgb(89, 32, 96);
    font-size: 18px;
}

.pricing-features {
    margin-bottom: 20px;
    min-height: 257px;
}

.join-btn {
    background-color: #f32b6c;
    border: none;
    border-radius: 65px;
    color: white !important;
    height: 63px;
    width: 248px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
/*     font-family: "arial"; */
    font-family: europa, sans-serif;
    font-size: 20px;
    margin: 4px auto;
    max-width: 100%;
}

.pricing-bottom-content {
    margin-top: 100px;
    position: relative;
    z-index: 23;
}

.pricing-bottom-content h2 {
    margin-bottom: 19px;
}

.pricing-top-content h5 {
    font-size: 19px;
    line-height: 24px;
}

.pricing-bottom-button .hs-button {
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    width: 301px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
/*     font family is set in theme-overrides.css */
/*     font-family: arial; */
    margin-top: 7px;
    max-width: 100%;
    transition: none;
}

body.mac .pricing-item-wrapper .join-btn {
    /* Buttons font family is being set in theme-overrides.css file (added by Luis) */
/*     font-family: Arial, sans-serif; */
}

.pricing-item.best-value .join-btn {
    height: 74px;
    width: 301px;    
    margin-top: -3px;
}

.pricing-item.best-value .pricing-top-title {
    background: rgba(255, 238, 186, 1);
    line-height: 32px;
    font-size: 26px;
    padding: 25px 40px;
    margin-top: 23px;
}

.pricing-item.best-value .pricing-title {
    font-weight: bolder;
    font-size: 22px;
    color: rgb(89, 32, 96);
    line-height: 1;
    min-height: 109px;
}

.pricing-item.best-value .pricing-save {
    font-size: 22px;
    color: rgb(71, 68, 71);
    line-height: 24px;
}

.membership-checkout {
    position: fixed!important;
    inset: 0;
    z-index: 100!important;
    display: flex;
    overflow-y: hidden;
    background: rgba(0,0,0,.7);
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    overflow-y: auto;   
}

.membership-checkout-inner {
    z-index: 102 !important;
    transition: all 0.5s ease 0s;
    background: rgb(244, 245, 249);
    position: absolute !important;
    left: 0px;
    right: 0px;
    box-shadow: none;
    margin: 20px auto;
    width: 400px;
    height: 480px;
    top: 50%;
    transform: translateY(-50%);
}

.membership-checkout iframe#cb-frame {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
}

html.scroll-hidden {
    overflow-y: hidden;   
}

@media (max-width: 1024px) and (min-width: 375px) {
    .pricing-item-wrapper {
        flex-wrap: wrap;
        flex-direction: column;
        row-gap: 20px;
        align-items: center;
    }
  
    .pricing-top-content {
      margin-bottom: 40px;
    }

    .pricing-item {
        width: 320px !important;
    }

    .pricing-item.best-value img {
        display: none;
    }

    .pricing-item.best-value {
        top: 0;
        margin-bottom: 0;
    }

    .best-value-price {
        left: -27px;
        width: calc(100% + 54px);
    }

    .pricing-title {
        justify-content: center;
        font-size: 22px;
        min-height: 0px;
        padding-top: 50px;
    }
}
  
@media (max-width: 375px) {
    .pricing-item-wrapper {
        flex-wrap: wrap;
        row-gap: 20px;
    }

    .pricing-item {
        width: 100% !important;
    }

    .pricing-item.best-value img {
        display: none;   
    }

    .pricing-item.best-value .join-btn {
        height: 63px;
        width: 248px;
        margin-top: 4px;
    }

    .pricing-title {
        -webkit-transform: scale(0.95);
        padding-top: 23px;
        min-height: auto;
        padding-bottom: 17px;
        justify-content: center;
        font-size: 22px;
    }

    .pricing-item.best-value .pricing-title {
        font-size: 22px;
        line-height: 1.22222222222;
    }

    .pricing-save {
        min-height: auto;
    }

    .pricing-features {
        min-height: auto;
    }

    .pricing-item.best-value {
        top: 0;
        margin-bottom: 0;
    }

    .best-value-price {
        left: -27px;
        width: calc(100% + 54px);
    }

    .pricing-item.best-value .pricing-save {
        font-size: 18px;
        line-height: 24px;
    }

    .pricing-item-inner {
        padding-bottom: 31px;
    }

    .pricing-item.best-value .pricing-top-title {
        font-size: 22px;
        line-height: 1.18181818182;
    }

    .pricing-plan-wrapper .content-wrapper {
        padding: 0 5px;   
    }
  
    .pricing-top-content {
      margin-bottom: 40px;
    }
}




