/* =========================================================
   SAGA STORIES — MEMBERSHIP FRONTEND
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.saga-membership-page {
    background:
        linear-gradient(
            180deg,
            #f8f7fb 0%,
            #f5f4f9 100%
        );

    color: #20212a;
}


/* =========================================================
   CONTAINER
========================================================= */

.saga-membership-container {
    width: min(
        1180px,
        calc(100% - 40px)
    );

    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.saga-membership-hero {
    position: relative;

    padding: 100px 0 90px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(122, 60, 255, .18),
            transparent 38%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(212, 175, 55, .12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #17131f,
            #0d0b12
        );

    color: #fff;

    text-align: center;
}


.saga-membership-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0, 0, 0, .20)
        );

    pointer-events: none;
}


.saga-membership-hero .saga-membership-container {
    position: relative;

    z-index: 1;
}


/* =========================================================
   HERO TEXT
========================================================= */

.saga-membership-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #d9c9ff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.saga-membership-title {
    margin: 0;

    color: #fff;

    font-size: clamp(
        3rem,
        7vw,
        5.5rem
    );

    font-weight: 900;

    line-height: .98;

    letter-spacing: -.04em;
}


.saga-membership-subtitle {
    max-width: 650px;

    margin: 22px auto 0;

    color: rgba(
        255,
        255,
        255,
        .72
    );

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   CONTENT
========================================================= */

.saga-membership-content {
    padding: 70px 0 100px;
}


/* =========================================================
   PREMIUM PASS
========================================================= */

.saga-membership-premium {
    display: flex;

    justify-content: center;

    margin-bottom: 90px;
}


.saga-membership-premium-card {
    position: relative;

    width: min(
        620px,
        100%
    );

    padding: 46px 46px 42px;

    border: 1px solid rgba(
        212,
        175,
        55,
        .35
    );

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #fffdf5,
            #fff9df
        );

    text-align: center;

    box-shadow:
        0 18px 50px rgba(
            82,
            65,
            20,
            .10
        ),
        0 0 0 1px rgba(
            255,
            255,
            255,
            .65
        ) inset;
}


.saga-membership-premium-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 180px;
    height: 4px;

    transform:
        translateX(-50%);

    border-radius: 0 0 999px 999px;

    background:
        linear-gradient(
            90deg,
            #c89d28,
            #f5df83,
            #c89d28
        );
}


/* =========================================================
   PREMIUM BADGE
========================================================= */

.saga-membership-premium-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    padding: 8px 15px;

    border-radius: 999px;

    background:
        rgba(
            212,
            175,
            55,
            .14
        );

    color: #8a6811;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}


/* =========================================================
   PLAN TITLE
========================================================= */

.saga-membership-plan-title {
    margin: 0;

    color: #30260e;

    font-size: 34px;
    font-weight: 900;

    line-height: 1.15;
}


.saga-membership-plan-description {
    max-width: 480px;

    margin: 15px auto 0;

    color: #716746;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   PREMIUM PRICE
========================================================= */

.saga-membership-price {
    display: flex;

    align-items: baseline;
    justify-content: center;

    gap: 5px;

    margin: 28px 0;
}


.saga-membership-price-amount {
    color: #33270a;

    font-size: 42px;
    font-weight: 900;

    line-height: 1;
}


.saga-membership-price-period {
    color: #796c4b;

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   BENEFITS
========================================================= */

.saga-membership-benefits {
    display: flex;

    flex-direction: column;

    gap: 11px;

    max-width: 390px;

    margin: 0 auto 30px;

    padding: 0;

    list-style: none;

    text-align: left;
}


.saga-membership-benefits li {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: #514728;

    font-size: 14px;

    line-height: 1.5;
}


.saga-membership-benefits li span {
    flex: 0 0 auto;

    color: #b58a18;

    font-weight: 900;
}


/* =========================================================
   MEMBERSHIP BUTTON
========================================================= */

.saga-membership-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 52px;

    padding: 13px 20px;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 800;

    line-height: 1;

    text-align: center;
    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        color .2s ease;
}


.saga-membership-button:hover {
    transform:
        translateY(-1px);

    text-decoration: none;
}


/* =========================================================
   PREMIUM BUTTON
========================================================= */

.saga-membership-button--premium {
    background:
        linear-gradient(
            135deg,
            #c99f2e,
            #f1d66f
        );

    color: #33270a;

    box-shadow:
        0 9px 22px rgba(
            194,
            153,
            37,
            .24
        );
}


.saga-membership-button--premium:hover {
    background:
        linear-gradient(
            135deg,
            #d8b344,
            #f6df83
        );

    color: #2f2508;

    box-shadow:
        0 12px 26px rgba(
            194,
            153,
            37,
            .30
        );
}


/* =========================================================
   CREATOR PASSES SECTION
========================================================= */

.saga-membership-creators {
    width: 100%;
}


.saga-membership-section-heading {
    max-width: 650px;

    margin: 0 auto 36px;

    text-align: center;
}


.saga-membership-section-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: #7a3cff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.saga-membership-section-heading h2 {
    margin: 0;

    color: #20212a;

    font-size: 34px;
    font-weight: 900;

    line-height: 1.15;
}


.saga-membership-section-heading p {
    margin: 13px auto 0;

    color: #727581;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   CREATOR GRID
========================================================= */

.saga-membership-creator-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                250px,
                1fr
            )
        );

    gap: 22px;
}


/* =========================================================
   CREATOR CARD
========================================================= */

.saga-membership-creator-card {
    display: flex;

    flex-direction: column;

    align-items: center;

    min-height: 330px;

    padding: 30px 26px 26px;

    border: 1px solid #e9e7ee;

    border-radius: 22px;

    background: #fff;

    text-align: center;

    box-shadow:
        0 8px 28px rgba(
            0,
            0,
            0,
            .05
        );

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


.saga-membership-creator-card:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(
            122,
            60,
            255,
            .20
        );

    box-shadow:
        0 14px 34px rgba(
            0,
            0,
            0,
            .08
        );
}


/* =========================================================
   CREATOR ICON
========================================================= */

.saga-membership-creator-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 18px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #eee5ff,
            #f6f0ff
        );

    color: #7a3cff;

    font-size: 20px;
    font-weight: 900;
}


/* =========================================================
   CREATOR NAME
========================================================= */

.saga-membership-creator-name {
    margin: 0;

    color: #24242d;

    font-size: 22px;
    font-weight: 900;

    line-height: 1.25;
}


.saga-membership-creator-label {
    margin-top: 5px;

    color: #858792;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .07em;
}


/* =========================================================
   CREATOR PRICE
========================================================= */

.saga-membership-creator-price {
    display: flex;

    align-items: baseline;

    gap: 4px;

    margin-top: 24px;
}


.saga-membership-creator-price strong {
    color: #6f35e8;

    font-size: 28px;
    font-weight: 900;
}


.saga-membership-creator-price span {
    color: #7e808a;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   CREATOR DESCRIPTION
========================================================= */

.saga-membership-creator-description {
    flex: 1;

    max-width: 250px;

    margin: 12px auto 22px;

    color: #70727d;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   CREATOR BUTTON
========================================================= */

.saga-membership-button--creator {
    margin-top: auto;

    background:
        linear-gradient(
            135deg,
            #7a3cff,
            #944dff
        );

    color: #fff;

    box-shadow:
        0 8px 18px rgba(
            122,
            60,
            255,
            .18
        );
}


.saga-membership-button--creator:hover {
    background:
        linear-gradient(
            135deg,
            #8448ff,
            #9d5aff
        );

    color: #fff;

    box-shadow:
        0 11px 22px rgba(
            122,
            60,
            255,
            .24
        );
}


/* =========================================================
   EMPTY STATE
========================================================= */

.saga-membership-empty {
    max-width: 650px;

    margin: 0 auto;

    padding: 50px 30px;

    border-radius: 24px;

    background: #fff;

    text-align: center;

    box-shadow:
        0 8px 28px rgba(
            0,
            0,
            0,
            .05
        );
}


.saga-membership-empty h2 {
    margin: 0;

    color: #20212a;

    font-size: 24px;
}


.saga-membership-empty p {
    margin: 10px 0 0;

    color: #777b87;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .saga-membership-hero {
        padding: 80px 0 70px;
    }


    .saga-membership-content {
        padding: 55px 0 80px;
    }


    .saga-membership-premium {
        margin-bottom: 70px;
    }


    .saga-membership-premium-card {
        padding: 40px 34px 36px;
    }

}

/* =========================================================
   MEMBERSHIP CHECKOUT
========================================================= */

.saga-membership-checkout {
    background:
        linear-gradient(
            180deg,
            #f8f7fb 0%,
            #f4f3f8 100%
        );

    color: #20212a;
}


/* =========================================================
   CHECKOUT HERO
========================================================= */

.saga-membership-checkout-hero {
    padding: 72px 0 58px;

    background:
        linear-gradient(
            135deg,
            #17131f,
            #0d0b12
        );

    color: #fff;

    text-align: center;
}


.saga-membership-checkout-title {
    margin: 0;

    color: #fff;

    font-size: clamp(
        2.4rem,
        5vw,
        4rem
    );

    font-weight: 900;

    line-height: 1;

    letter-spacing: -.035em;
}


.saga-membership-checkout-subtitle {
    max-width: 580px;

    margin: 18px auto 0;

    color: rgba(
        255,
        255,
        255,
        .70
    );

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   CONTENT
========================================================= */

.saga-membership-checkout-content {
    padding: 65px 0 90px;
}


.saga-membership-checkout-layout {
    display: grid;

    grid-template-columns:
        minmax(280px, 360px)
        minmax(0, 1fr);

    gap: 30px;

    align-items: start;
}


/* =========================================================
   SUMMARY
========================================================= */

.saga-membership-checkout-summary {
    position: sticky;

    top: 30px;

    padding: 32px;

    border: 1px solid #e9e7ee;

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 10px 32px rgba(
            0,
            0,
            0,
            .06
        );
}


.saga-membership-checkout-summary-label {
    display: block;

    margin-bottom: 12px;

    color: #7a3cff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


.saga-membership-checkout-plan-name {
    margin: 0;

    color: #24242d;

    font-size: 27px;
    font-weight: 900;

    line-height: 1.2;
}


.saga-membership-checkout-plan-description {
    margin-top: 14px;

    color: #70727d;

    font-size: 14px;

    line-height: 1.65;
}


.saga-membership-checkout-price {
    display: flex;

    align-items: baseline;

    gap: 5px;

    margin-top: 25px;

    padding-top: 22px;

    border-top: 1px solid #eceaf0;
}


.saga-membership-checkout-price strong {
    color: #6f35e8;

    font-size: 32px;
    font-weight: 900;
}


.saga-membership-checkout-price span {
    color: #777985;

    font-size: 13px;
    font-weight: 600;
}


.saga-membership-checkout-note {
    margin-top: 18px;

    color: #858792;

    font-size: 12px;

    line-height: 1.6;
}


.saga-membership-checkout-back {
    display: inline-block;

    margin-top: 25px;

    color: #6f35e8;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


.saga-membership-checkout-back:hover {
    color: #8448ff;

    text-decoration: none;
}


/* =========================================================
   CHECKOUT FORM
========================================================= */

.saga-membership-checkout-form {
    min-width: 0;

    padding: 34px;

    border: 1px solid #e9e7ee;

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 10px 32px rgba(
            0,
            0,
            0,
            .06
        );
}


/*
 * Keep PMPro's functional form intact.
 *
 * These rules only establish spacing and containment.
 */

.saga-membership-checkout-form
.pmpro_checkout {
    margin: 0;
}


.saga-membership-checkout-form
.pmpro_checkout h2 {
    margin-top: 0;
}


.saga-membership-checkout-form
.pmpro_form {
    margin: 0;
}

/* =========================================================
   MEMBERSHIP CONFIRMATION
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.saga-membership-confirmation {
    background:
        linear-gradient(
            180deg,
            #f8f7fb 0%,
            #f4f3f8 100%
        );

    color: #20212a;
}


/* =========================================================
   HERO
========================================================= */

.saga-membership-confirmation-hero {
    position: relative;

    padding: 72px 0 70px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(122, 60, 255, .18),
            transparent 38%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(212, 175, 55, .12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #17131f,
            #0d0b12
        );

    color: #fff;

    text-align: center;
}


.saga-membership-confirmation-hero
.saga-membership-container {
    position: relative;

    z-index: 1;
}


/* =========================================================
   SUCCESS ICON
========================================================= */

.saga-membership-confirmation-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 20px;

    border:
        1px solid
        rgba(212,175,55,.45);

    border-radius: 50%;

    background:
        rgba(212,175,55,.12);

    color:
        #f1d66f;

    font-size: 28px;
    font-weight: 900;

    box-shadow:
        0 0 30px
        rgba(212,175,55,.10);
}


/* =========================================================
   HERO TITLE
========================================================= */

.saga-membership-confirmation-title {
    margin: 0;

    color: #fff;

    font-size: clamp(
        2.5rem,
        6vw,
        4.5rem
    );

    font-weight: 900;

    line-height: 1;

    letter-spacing: -.04em;
}


.saga-membership-confirmation-subtitle {
    max-width: 620px;

    margin: 20px auto 0;

    color:
        rgba(255,255,255,.72);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   CONTENT
========================================================= */

.saga-membership-confirmation-content {
    padding: 65px 0 95px;
}


/* =========================================================
   CARD
========================================================= */

.saga-membership-confirmation-card {
    width: min(
        720px,
        100%
    );

    margin: 0 auto;

    padding: 42px;

    border:
        1px solid
        #e9e7ee;

    border-radius: 28px;

    background: #fff;

    text-align: center;

    box-shadow:
        0 14px 45px
        rgba(0,0,0,.07);
}


/* =========================================================
   MEMBERSHIP BADGE
========================================================= */

.saga-membership-confirmation-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    padding: 9px 16px;

    border-radius: 999px;

    background:
        rgba(122,60,255,.09);

    color:
        #6f35e8;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .04em;
}


/* =========================================================
   WELCOME
========================================================= */

.saga-membership-confirmation-welcome {
    margin: 0;

    color:
        #24242d;

    font-size: 32px;
    font-weight: 900;

    line-height: 1.2;
}


.saga-membership-confirmation-message {
    max-width: 520px;

    margin: 14px auto 0;

    color:
        #70727d;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   SUMMARY
========================================================= */

.saga-membership-confirmation-summary {
    margin-top: 32px;

    border:
        1px solid
        #eceaf0;

    border-radius: 18px;

    overflow: hidden;

    text-align: left;
}


.saga-membership-confirmation-summary-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        15px 18px;

    border-bottom:
        1px solid
        #eceaf0;
}


.saga-membership-confirmation-summary-row:last-child {
    border-bottom: none;
}


.saga-membership-confirmation-summary-row span {
    color:
        #858792;

    font-size: 13px;
}


.saga-membership-confirmation-summary-row strong {
    color:
        #30313a;

    font-size: 13px;

    text-align: right;
}


/* =========================================================
   BENEFITS
========================================================= */

.saga-membership-confirmation-benefits {
    margin-top: 32px;

    padding:
        25px 26px;

    border-radius: 18px;

    background:
        #faf9fc;

    text-align: left;
}


.saga-membership-confirmation-benefits h3 {
    margin: 0 0 16px;

    color:
        #292933;

    font-size: 17px;
    font-weight: 800;
}


.saga-membership-confirmation-benefits ul {
    display: flex;

    flex-direction: column;

    gap: 11px;

    margin: 0;

    padding: 0;

    list-style: none;
}


.saga-membership-confirmation-benefits li {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    color:
        #646671;

    font-size: 14px;

    line-height: 1.5;
}


.saga-membership-confirmation-benefits li span {
    flex: 0 0 auto;

    color:
        #7a3cff;

    font-weight: 900;
}


/* =========================================================
   ACTIONS
========================================================= */

.saga-membership-confirmation-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;

    margin-top: 32px;
}


.saga-membership-confirmation-button {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding:
        13px 20px;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        color .2s ease;
}


.saga-membership-confirmation-button:hover {
    transform:
        translateY(-1px);

    text-decoration: none;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.saga-membership-confirmation-button--primary {
    background:
        linear-gradient(
            135deg,
            #7a3cff,
            #944dff
        );

    color:
        #fff;

    box-shadow:
        0 9px 22px
        rgba(122,60,255,.18);
}


.saga-membership-confirmation-button--primary:hover {
    background:
        linear-gradient(
            135deg,
            #8448ff,
            #9d5aff
        );

    color:
        #fff;

    box-shadow:
        0 12px 26px
        rgba(122,60,255,.25);
}


/* =========================================================
   SECONDARY BUTTON
========================================================= */

.saga-membership-confirmation-button--secondary {
    background:
        #f5f3f9;

    color:
        #5e35bd;

    border:
        1px solid
        #e4def1;
}


.saga-membership-confirmation-button--secondary:hover {
    background:
        #eee9f7;

    color:
        #4e2ca2;
}

/* =========================================================
   MEMBERSHIP ACCOUNT
========================================================= */

.saga-membership-account {
    width: 100%;

    background:
        linear-gradient(
            180deg,
            #f8f7fb 0%,
            #f4f3f8 100%
        );

    color: #20212a;
}


/* =========================================================
   ACCOUNT HERO
========================================================= */

.saga-membership-account-hero {
    position: relative;

    padding: 88px 24px 82px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(122, 60, 255, .18),
            transparent 38%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(212, 175, 55, .12),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #17131f,
            #0d0b12
        );

    color: #fff;

    text-align: center;
}


.saga-membership-account-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0,0,0,.20)
        );

    pointer-events: none;
}


.saga-membership-account-hero-inner {
    position: relative;

    z-index: 1;

    width: 100%;

    max-width: 900px;

    margin: 0 auto;
}


.saga-membership-account-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #d9c9ff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.saga-membership-account-title {
    margin: 0;

    color: #fff;

    font-size: clamp(
        3rem,
        7vw,
        5.5rem
    );

    font-weight: 900;

    line-height: .98;

    letter-spacing: -.04em;
}


.saga-membership-account-subtitle {
    margin: 20px auto 0;

    color:
        rgba(255,255,255,.72);

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   ACCOUNT CONTENT
========================================================= */

.saga-membership-account-content {
    padding: 70px 24px 105px;
}


.saga-membership-account-inner {
    width: 100%;

    max-width: 960px;

    margin: 0 auto;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.saga-membership-account-section-heading,
.saga-membership-account-profile-header,
.saga-membership-account-transactions-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 24px;
}


.saga-membership-account-section-eyebrow {
    display: inline-block;

    margin-bottom: 8px;

    color: #7a3cff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .13em;

    text-transform: uppercase;
}


.saga-membership-account-section-heading h2,
.saga-membership-account-profile-header h2,
.saga-membership-account-transactions-header h2 {
    margin: 0 0 7px;

    color: #161526;

    font-size: 1.65rem;

    line-height: 1.25;

    font-weight: 900;

    letter-spacing: -.025em;
}


.saga-membership-account-section-heading p,
.saga-membership-account-profile-header p,
.saga-membership-account-transactions-header p {
    margin: 0;

    color: #716d80;

    font-size: .95rem;

    line-height: 1.6;
}


/* =========================================================
   MEMBERSHIP CARDS
========================================================= */

.saga-membership-account-membership-list {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


.saga-membership-account-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    width: 100%;

    padding: 24px 28px;

    margin: 0;

    border:
        1px solid
        rgba(104,83,150,.12);

    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 12px 34px
        rgba(27,20,50,.055);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


.saga-membership-account-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(122,60,255,.18);

    box-shadow:
        0 17px 42px
        rgba(27,20,50,.08);
}


.saga-membership-account-card-main {
    display: flex;

    align-items: center;

    gap: 17px;

    min-width: 0;
}


.saga-membership-account-card-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #eee5ff,
            #f7f2ff
        );

    color: #7a3cff;

    font-size: 19px;

    font-weight: 900;
}


.saga-membership-account-card-content {
    min-width: 0;
}


.saga-membership-account-card-content h3 {
    margin: 0 0 6px;

    color: #201b35;

    font-size: 1.08rem;

    line-height: 1.4;

    font-weight: 800;
}


.saga-membership-account-card-content p {
    margin: 0;

    color: #716d80;

    font-size: .9rem;

    line-height: 1.5;
}


/* =========================================================
   MEMBERSHIP CARD ACTIONS
========================================================= */

.saga-membership-account-card-actions {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 12px;

    flex-shrink: 0;
}


.saga-membership-account-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 31px;

    padding: 0 13px;

    border:
        1px solid
        rgba(22,163,74,.18);

    border-radius: 999px;

    background:
        rgba(22,163,74,.10);

    color: #15803d;

    font-size: .72rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .04em;
}


.saga-membership-account-manage-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 9px 15px;

    border:
        1px solid
        #ded5ef;

    border-radius: 11px;

    background:
        #faf8ff;

    color:
        #6333bc;

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.saga-membership-account-manage-button:hover {
    transform:
        translateY(-1px);

    background:
        #f1ebff;

    border-color:
        #cfc0e9;

    color:
        #5128a2;

    text-decoration: none;
}


/* =========================================================
   PROFILE
========================================================= */

.saga-membership-account-profile,
.saga-membership-account-transactions {
    width: 100%;

    margin-top: 62px;
}


.saga-membership-account-profile-card {
    width: 100%;

    overflow: hidden;

    border:
        1px solid
        rgba(104,83,150,.12);

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 14px 40px
        rgba(27,20,50,.06);
}


.saga-membership-account-profile-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 32px;

    padding: 21px 28px;

    border-bottom:
        1px solid
        rgba(104,83,150,.08);
}


.saga-membership-account-profile-row:last-child {
    border-bottom: none;
}


.saga-membership-account-profile-label {
    color: #777287;

    font-size: .9rem;

    line-height: 1.5;
}


.saga-membership-account-profile-value {
    color: #201b35;

    font-size: .95rem;

    line-height: 1.5;

    text-align: right;

    word-break: break-word;
}


/* =========================================================
   SECTION BUTTON
========================================================= */

.saga-membership-account-section-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    min-height: 40px;

    padding: 9px 15px;

    border:
        1px solid
        #ded5ef;

    border-radius: 11px;

    background:
        #faf8ff;

    color:
        #6333bc;

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.saga-membership-account-section-button:hover {
    transform:
        translateY(-1px);

    background:
        #f1ebff;

    border-color:
        #cfc0e9;

    color:
        #5128a2;

    text-decoration: none;
}


/* =========================================================
   TRANSACTION HISTORY
========================================================= */

.saga-membership-account-transactions {
    width: 100%;

    margin-top: 62px;
}


.saga-membership-account-transactions-card {
    width: 100%;

    overflow: hidden;

    border:
        1px solid
        rgba(104,83,150,.12);

    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 14px 40px
        rgba(27,20,50,.06);
}


/* =========================================================
   TRANSACTION TABLE
========================================================= */

.saga-membership-account-transactions-table-wrap {
    width: 100%;

    overflow-x: auto;
}


.saga-membership-account-transactions-table {
    width: 100%;

    margin: 0;

    border-collapse: collapse;

    border-spacing: 0;

    background: #fff;
}


.saga-membership-account-transactions-table th {
    padding: 17px 22px;

    border-bottom:
        1px solid
        rgba(104,83,150,.10);

    background: #faf9fc;

    color: #716d80;

    font-size: .72rem;

    font-weight: 800;

    line-height: 1.4;

    text-align: left;

    text-transform: uppercase;

    letter-spacing: .06em;

    white-space: nowrap;
}


.saga-membership-account-transactions-table td {
    padding: 19px 22px;

    border-bottom:
        1px solid
        rgba(104,83,150,.08);

    color: #302c3c;

    font-size: .9rem;

    line-height: 1.5;

    vertical-align: middle;
}


.saga-membership-account-transactions-table tbody tr:last-child td {
    border-bottom: none;
}


.saga-membership-account-transactions-table tbody tr:hover {
    background: #fcfbfe;
}


/* =========================================================
   TRANSACTION STATUS
========================================================= */

.saga-membership-account-transaction-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 0 11px;

    border-radius: 999px;

    font-size: .68rem;

    font-weight: 800;

    line-height: 1;

    text-transform: uppercase;

    letter-spacing: .04em;
}


.saga-membership-account-transaction-status-success {
    border:
        1px solid
        rgba(22,163,74,.18);

    background:
        rgba(22,163,74,.10);

    color: #15803d;
}


.saga-membership-account-transaction-status-pending {
    border:
        1px solid
        rgba(202,138,4,.18);

    background:
        rgba(202,138,4,.10);

    color: #a16207;
}


.saga-membership-account-transaction-status-cancelled,
.saga-membership-account-transaction-status-refunded,
.saga-membership-account-transaction-status-failed {
    border:
        1px solid
        rgba(220,38,38,.16);

    background:
        rgba(220,38,38,.08);

    color: #b91c1c;
}


/* =========================================================
   TRANSACTION EXPAND / COLLAPSE
========================================================= */

.saga-membership-account-transactions-all {
    display: none;
}


.saga-membership-account-transactions.is-expanded
.saga-membership-account-transactions-recent {
    display: none;
}


.saga-membership-account-transactions.is-expanded
.saga-membership-account-transactions-all {
    display: block;
}


/* =========================================================
   TRANSACTION TOGGLE
========================================================= */

.saga-membership-account-transactions-toggle {
    display: flex;

    justify-content: center;

    padding: 20px 24px 24px;
}


.saga-membership-account-transactions-toggle
.saga-membership-account-section-button {
    display: inline-flex;
}


/* =========================================================
   TRANSACTION EMPTY STATE
========================================================= */

.saga-membership-account-transactions-empty {
    padding: 38px 24px;

    text-align: center;
}


.saga-membership-account-transactions-empty p {
    margin: 0;

    color: #716d80;

    font-size: .95rem;
}

/* =========================================================
   EMPTY STATES
========================================================= */

.saga-membership-account-empty,
.saga-membership-account-transactions-empty {
    padding: 38px 24px;

    border:
        1px solid
        rgba(104,83,150,.12);

    border-radius: 24px;

    background: #fff;

    text-align: center;

    box-shadow:
        0 10px 30px
        rgba(27,20,50,.05);
}


.saga-membership-account-empty p,
.saga-membership-account-transactions-empty p {
    margin: 0;

    color: #716d80;

    font-size: .95rem;
}


.saga-membership-account-small-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 42px;

    margin-top: 18px;

    padding: 10px 17px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #7a3cff,
            #944dff
        );

    color: #fff;

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;
}


.saga-membership-account-small-button:hover {
    color: #fff;

    text-decoration: none;

    transform:
        translateY(-1px);
}

/* =========================================================
   MEMBERSHIP MANAGEMENT MODAL
========================================================= */


/* =========================================================
   MODAL CONTAINER
========================================================= */

.saga-membership-account-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .22s ease,
        visibility .22s ease;
}


.saga-membership-account-modal.is-open {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}


/* =========================================================
   BACKDROP
========================================================= */

.saga-membership-account-modal-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(
            16,
            12,
            25,
            .62
        );

    backdrop-filter:
        blur(5px);

    -webkit-backdrop-filter:
        blur(5px);

    cursor: pointer;
}


/* =========================================================
   MODAL DIALOG
========================================================= */

.saga-membership-account-modal-dialog {
    position: relative;

    z-index: 2;

    width: min(
        620px,
        100%
    );

    max-height:
        calc(100vh - 48px);

    overflow-y: auto;

    padding: 34px;

    border:
        1px solid
        rgba(
            104,
            83,
            150,
            .14
        );

    border-radius: 26px;

    background:
        #fff;

    box-shadow:
        0 30px 90px
        rgba(
            20,
            12,
            40,
            .24
        );

    transform:
        translateY(12px)
        scale(.97);

    opacity: 0;

    transition:
        transform .22s ease,
        opacity .22s ease;
}


.saga-membership-account-modal.is-open
.saga-membership-account-modal-dialog {
    transform:
        translateY(0)
        scale(1);

    opacity: 1;
}


/* =========================================================
   MODAL HEADER
========================================================= */

.saga-membership-account-modal
.saga-membership-account-management-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 26px;
}


.saga-membership-account-modal
.saga-membership-account-management-header h3 {
    margin: 0;

    color:
        #161526;

    font-size:
        1.65rem;

    line-height:
        1.25;

    font-weight:
        900;

    letter-spacing:
        -.025em;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.saga-membership-account-modal
.saga-membership-account-modal-close {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    width: 40px !important;
    height: 40px !important;

    min-width: 40px !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    background-color: transparent !important;

    color: #6f35d9 !important;

    font-family: inherit !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    box-shadow: none !important;

    cursor: pointer !important;

    transform: none !important;
}


/*
 * Keep the close button visible at all times.
 */

.saga-membership-account-modal
.saga-membership-account-modal-close:hover,

.saga-membership-account-modal
.saga-membership-account-modal-close:active,

.saga-membership-account-modal
.saga-membership-account-modal-close:focus,

.saga-membership-account-modal
.saga-membership-account-modal-close:focus-visible {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;
    background-color: transparent !important;

    color: #6f35d9 !important;

    opacity: 1 !important;
    visibility: visible !important;

    border: 0 !important;
    box-shadow: none !important;

    transform: none !important;
}


/*
 * Keyboard focus indicator.
 *
 * This does not affect normal appearance.
 */

.saga-membership-account-modal
.saga-membership-account-modal-close:focus-visible {
    outline: 2px solid #6f35d9 !important;
    outline-offset: 4px !important;
}


/*
 * Prevent theme pseudo-elements from changing
 * the appearance of the close button.
 */

.saga-membership-account-modal
.saga-membership-account-modal-close::before,

.saga-membership-account-modal
.saga-membership-account-modal-close::after {
    display: none !important;
    content: none !important;
}

/* =========================================================
   MANAGE PROFILE MODAL
========================================================= */

.saga-membership-account-profile-modal {
    max-width: 620px;
}


/* =========================================================
   PROFILE FORM
========================================================= */

.saga-membership-account-profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =========================================================
   PROFILE FIELD
========================================================= */

.saga-membership-account-profile-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.saga-membership-account-profile-field label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}


.saga-membership-account-profile-field input {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid #d9d9d9;
    border-radius: 8px;

    background: #ffffff;

    color: inherit;

    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
}


.saga-membership-account-profile-field input:focus {
    outline: none;

    border-color: #6f35d9;

    box-shadow:
        0 0 0 2px
        rgba(111, 53, 217, 0.12);
}


.saga-membership-account-profile-field input[readonly] {
    background: #f5f5f5;

    color: #777;

    cursor: not-allowed;
}


.saga-membership-account-profile-field small {
    font-size: 12px;
    line-height: 1.5;

    color: #777;
}


/* =========================================================
   FORM ACTIONS
========================================================= */

.saga-membership-account-profile-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 12px;

    margin-top: 8px;
}


.saga-membership-account-save-profile-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 10px 20px;

    border: none;
    border-radius: 8px;

    background: #6f35d9;

    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    line-height: 1.2;

    cursor: pointer;
}


.saga-membership-account-save-profile-button:hover {
    background: #5d29bb;
}


.saga-membership-account-save-profile-button:focus-visible {
    outline: 2px solid #6f35d9;
    outline-offset: 3px;
}




/* =========================================================
   MEMBERSHIP SUMMARY
========================================================= */

.saga-membership-account-modal-summary {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 24px;

    padding: 18px;

    border:
        1px solid
        rgba(
            104,
            83,
            150,
            .10
        );

    border-radius: 18px;

    background:
        #faf9fc;
}


.saga-membership-account-modal-summary-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #eee5ff,
            #f7f2ff
        );

    color:
        #7a3cff;

    font-size:
        19px;

    font-weight:
        900;
}


.saga-membership-account-modal-summary div:last-child {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.saga-membership-account-modal-summary strong {
    color:
        #201b35;

    font-size:
        1rem;

    font-weight:
        800;
}


.saga-membership-account-modal-summary span {
    color:
        #716d80;

    font-size:
        .88rem;
}


/* =========================================================
   MANAGEMENT STATUS
========================================================= */

.saga-membership-account-modal
.saga-membership-account-management-status {
    margin: 0 0 24px;

    padding: 20px;

    border:
        1px solid
        rgba(
            104,
            83,
            150,
            .10
        );

    border-radius: 18px;

    background:
        #fff;
}


.saga-membership-account-modal
.saga-membership-account-management-status p {
    margin: 0;

    color:
        #4e4a59;

    font-size:
        .95rem;

    line-height:
        1.7;
}


.saga-membership-account-modal
.saga-membership-account-management-status strong {
    color:
        #201b35;

    font-weight:
        800;
}


/* =========================================================
   CANCELLATION ACTION
========================================================= */

.saga-membership-account-modal
.saga-membership-account-management-action {
    margin: 0;

    padding: 22px;

    border:
        1px solid
        rgba(
            220,
            38,
            38,
            .12
        );

    border-radius: 18px;

    background:
        rgba(
            220,
            38,
            38,
            .035
        );
}


.saga-membership-account-modal
.saga-membership-account-management-action h4 {
    margin: 0 0 8px;

    color:
        #35202a;

    font-size:
        1rem;

    font-weight:
        800;
}


.saga-membership-account-modal
.saga-membership-account-management-action p {
    margin: 0 0 18px;

    color:
        #71616a;

    font-size:
        .88rem;

    line-height:
        1.65;
}


/* =========================================================
   CANCEL BUTTON
========================================================= */

.saga-membership-account-modal
.saga-membership-account-cancel-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding:
        10px 18px;

    border:
        1px solid
        rgba(
            185,
            28,
            28,
            .18
        );

    border-radius:
        11px;

    background:
        #fff;

    color:
        #b91c1c;

    font-size:
        12px;

    font-weight:
        800;

    cursor:
        pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


.saga-membership-account-modal
.saga-membership-account-cancel-button:hover {
    transform:
        translateY(-1px);

    background:
        #fff5f5;

    border-color:
        rgba(
            185,
            28,
            28,
            .28
        );

    color:
        #991b1b;
}


/* =========================================================
   MODAL FOOTER
========================================================= */

.saga-membership-account-modal
.saga-membership-account-management-footer {
    display: flex;

    justify-content: flex-end;

    margin-top: 24px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(
            104,
            83,
            150,
            .08
        );
}


/*
 * Override the normal small-button top margin because
 * this button is now inside the modal footer.
 */

.saga-membership-account-modal
.saga-membership-account-small-button {
    margin-top: 0;

    border: none;

    cursor: pointer;
}


/* =========================================================
   BODY MODAL STATE
========================================================= */

body.saga-membership-modal-open {
    overflow: hidden;
}

/* =========================================================
   PROFILE UPDATE NOTICE
========================================================= */

.saga-membership-account-notice {
    position: fixed;

    top: 100px;
    right: 32px;

    z-index: 99999;

    display: flex;

    align-items: center;

    gap: 14px;

    width: min(
        420px,
        calc(100vw - 32px)
    );

    padding: 16px 18px;

    border: 1px solid #e4d8fa;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.14);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-12px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}


.saga-membership-account-notice.is-visible {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* =========================================================
   ICON
========================================================= */

.saga-membership-account-notice-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: #eee4ff;

    color: #6f35d9;

    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   CONTENT
========================================================= */

.saga-membership-account-notice-content {
    display: flex;

    flex-direction: column;

    gap: 3px;

    flex: 1;
}


.saga-membership-account-notice-content strong {
    color: #17112b;

    font-size: 15px;

    font-weight: 700;
}


.saga-membership-account-notice-content span {
    color: #6f647c;

    font-size: 13px;

    line-height: 1.45;
}


/* =========================================================
   CLOSE
========================================================= */

.saga-membership-account-notice-close {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    width: 32px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    color: #6f35d9 !important;

    font-family: inherit !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow: none !important;

    appearance: none !important;
    -webkit-appearance: none !important;
}


.saga-membership-account-notice-close:hover,
.saga-membership-account-notice-close:focus,
.saga-membership-account-notice-close:active {

    background: transparent !important;

    color: #5d29bb !important;

    border: 0 !important;

    box-shadow: none !important;

}


.saga-membership-account-notice-close:focus-visible {

    outline:
        2px solid
        #6f35d9 !important;

    outline-offset: 3px !important;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .saga-membership-checkout-content {
        padding: 45px 0 65px;
    }


    .saga-membership-checkout-layout {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .saga-membership-checkout-summary {
        position: static;
    }


    .saga-membership-checkout-form {
        padding: 24px 20px;
    }

}


@media (max-width: 768px) {

    .saga-membership-account-hero {
        padding: 68px 20px 60px;
    }


    .saga-membership-account-title {
        font-size: 3rem;
    }


    .saga-membership-account-subtitle {
        font-size: 15px;
    }


    .saga-membership-account-content {
        padding: 48px 16px 80px;
    }


    .saga-membership-account-section-heading,
    .saga-membership-account-profile-header,
    .saga-membership-account-transactions-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .saga-membership-account-card {
        align-items: flex-start;

        padding: 22px;

        border-radius: 20px;
    }


    .saga-membership-account-card-actions {
        align-items: flex-start;

        flex-direction: column;

        gap: 9px;

        margin-left: 65px;
    }


    .saga-membership-account-manage-button {
        min-height: 38px;
    }


    .saga-membership-account-profile,
    .saga-membership-account-transactions {
        margin-top: 48px;
    }


    .saga-membership-account-profile-card,
    .saga-membership-account-transactions-card {
        border-radius: 20px;
    }


    .saga-membership-account-transactions-table {
        min-width: 600px;
    }


    .saga-membership-account-transactions-table th,
    .saga-membership-account-transactions-table td {
        padding: 15px 16px;
    }


    .saga-membership-account-transactions-toggle {
        padding: 18px 16px 20px;
    }

    .saga-membership-account-profile-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 6px;

        padding: 19px 22px;
    }


    .saga-membership-account-profile-value {
        text-align: left;
    }


    .saga-membership-account-transactions-table {
        min-width: 600px;
    }


    .saga-membership-account-transactions-table th,
    .saga-membership-account-transactions-table td {
        padding: 15px 16px;
    }

    .saga-membership-account-transactions-table {
        min-width: 600px;
    }


    .saga-membership-account-transactions-table th,
    .saga-membership-account-transactions-table td {
        padding:
            15px 16px;
    }


    .saga-membership-account-transactions-toggle {
        padding:
            18px 16px 20px;
    }

}


@media ( max-width: 640px ) {

    .saga-membership-account-profile-modal {
        width: calc(100% - 32px);
        max-width: none;
    }


    .saga-membership-account-profile-form-actions {
        flex-direction: column;
        align-items: stretch;
    }


    .saga-membership-account-save-profile-button,
    .saga-membership-account-profile-form-actions
    .saga-membership-account-small-button {
        width: 100%;
    }

    .saga-membership-account-notice {

        top: 80px;

        right: 16px;
        left: 16px;

        width: auto;

    }

}


@media (max-width: 600px) {

    .saga-membership-container {
        width: calc(100% - 28px);
    }


    .saga-membership-hero {
        padding: 68px 0 60px;
    }


    .saga-membership-title {
        font-size: 3rem;
    }


    .saga-membership-subtitle {
        font-size: 15px;
    }


    .saga-membership-content {
        padding: 42px 0 60px;
    }


    .saga-membership-premium {
        margin-bottom: 55px;
    }


    .saga-membership-premium-card {
        padding: 36px 20px 28px;

        border-radius: 24px;
    }


    .saga-membership-plan-title {
        font-size: 29px;
    }


    .saga-membership-price-amount {
        font-size: 36px;
    }


    .saga-membership-section-heading h2 {
        font-size: 29px;
    }


    .saga-membership-creator-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .saga-membership-creator-card {
        min-height: 300px;

        padding: 28px 22px 24px;
    }

    .saga-membership-checkout-hero {
        padding: 58px 0 48px;
    }


    .saga-membership-checkout-title {
        font-size: 2.5rem;
    }


    .saga-membership-checkout-subtitle {
        font-size: 14px;
    }


    .saga-membership-checkout-summary {
        padding: 25px 21px;

        border-radius: 20px;
    }


    .saga-membership-checkout-form {
        padding: 20px 16px;

        border-radius: 20px;
    }

    .saga-membership-confirmation-hero {
        padding:
            58px 0 52px;
    }


    .saga-membership-confirmation-content {
        padding:
            42px 0 65px;
    }


    .saga-membership-confirmation-card {
        padding:
            30px 20px;

        border-radius:
            22px;
    }


    .saga-membership-confirmation-title {
        font-size:
            2.6rem;
    }


    .saga-membership-confirmation-welcome {
        font-size:
            27px;
    }


    .saga-membership-confirmation-summary-row {
        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            5px;
    }


    .saga-membership-confirmation-summary-row strong {
        text-align:
            left;
    }


    .saga-membership-confirmation-actions {
        grid-template-columns:
            1fr;
    }

    .saga-membership-account-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .saga-membership-account-profile-row {
        align-items: flex-start;
        flex-direction: column;

        gap: 6px;

        padding: 20px 24px;
    }

    .saga-membership-account-profile-value {
        text-align: left;
    }

    .saga-membership-account-modal {
        align-items: flex-end;

        padding:
            14px;
    }


    .saga-membership-account-modal-dialog {
        width: 100%;

        max-height:
            calc(100vh - 28px);

        padding:
            25px 20px 20px;

        border-radius:
            22px;
    }


    .saga-membership-account-modal
    .saga-membership-account-management-header {
        margin-bottom:
            20px;
    }


    .saga-membership-account-modal
    .saga-membership-account-management-header h3 {
        font-size:
            1.35rem;
    }


    .saga-membership-account-modal-summary {
        padding:
            15px;
    }


    .saga-membership-account-modal
    .saga-membership-account-management-status {
        padding:
            17px;
    }


    .saga-membership-account-modal
    .saga-membership-account-management-action {
        padding:
            18px;
    }


    .saga-membership-account-modal
    .saga-membership-account-management-footer {
        justify-content:
            stretch;
    }


    .saga-membership-account-modal
    .saga-membership-account-management-footer
    .saga-membership-account-small-button {
        width:
            100%;
    }

}