﻿/* *********************************** Base */

.bv-est-benefits {
    display: grid;
    gap: 16px;
    color: var(--est-text, #202124);
}

    .bv-est-benefits,
    .bv-est-benefits * {
        box-sizing: border-box;
    }

/* *********************************** Hero */

.bv-est-benefits-hero {
    position: relative;
    min-height: 220px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 46, 147, .15);
    border-radius: 28px;
    background: radial-gradient(circle at 90% 5%, rgba(255, 255, 255, .34), transparent 32%), linear-gradient(135deg, #fff0f7, #fff8fc 54%, #f4efff);
}

.bv-est-benefits-hero__decoration {
    position: absolute;
    right: -25px;
    bottom: -50px;
    color: rgba(255, 46, 147, .08);
    font-size: 12rem;
    transform: rotate(-12deg);
    pointer-events: none;
}

.bv-est-benefits-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.bv-est-benefits-hero__eyebrow {
    display: block;
    color: var(--est-primary-dark, #d91f78);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bv-est-benefits-hero h3 {
    margin: 8px 0 0;
    color: var(--est-text, #202124);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.13;
    letter-spacing: -.035em;
    font-weight: 950;
}

.bv-est-benefits-hero p {
    max-width: 590px;
    margin: 11px 0 0;
    color: #626a77;
    font-size: .86rem;
    line-height: 1.65;
}

.bv-est-benefits-summary {
    position: relative;
    z-index: 1;
    min-width: 240px;
    display: grid;
    gap: 8px;
}

    .bv-est-benefits-summary > div {
        min-height: 58px;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        padding: 8px 11px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 17px;
        background: rgba(255, 255, 255, .72);
        box-shadow: 0 9px 26px rgba(44, 30, 68, .06);
        backdrop-filter: blur(10px);
    }

    .bv-est-benefits-summary strong {
        width: 44px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 13px;
        background: var(--est-primary-soft, rgba(255, 46, 147, .11));
        color: var(--est-primary-dark, #d91f78);
        font-size: .92rem;
        font-weight: 950;
    }

    .bv-est-benefits-summary span {
        color: #5d6470;
        font-size: .7rem;
        line-height: 1.35;
        font-weight: 850;
    }

/* *********************************** Navegação */

.bv-est-benefits-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
}

    .bv-est-benefits-nav::-webkit-scrollbar {
        display: none;
    }

    .bv-est-benefits-nav button {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 15px;
        border: 1px solid var(--est-border, #e5e8ee);
        border-radius: 999px;
        background: #fff;
        color: #555d69;
        font: inherit;
        font-size: .71rem;
        font-weight: 900;
        white-space: nowrap;
        cursor: pointer;
    }

        .bv-est-benefits-nav button:hover {
            border-color: rgba(255, 46, 147, .26);
            background: var(--est-primary-softer, rgba(255, 46, 147, .065));
            color: var(--est-primary-dark, #d91f78);
        }

/* *********************************** Seções */

.bv-est-benefits-section {
    scroll-margin-top: 145px;
    padding: 19px;
    border: 1px solid var(--est-border, #e5e8ee);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(22, 30, 48, .045);
}

.bv-est-benefits-section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px;
}

.bv-est-benefits-section__title {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
}

    .bv-est-benefits-section__title > span {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 16px;
        font-size: 1rem;
    }

        .bv-est-benefits-section__title > span.is-cashback {
            background: rgba(22, 138, 77, .1);
            color: #168a4d;
        }

        .bv-est-benefits-section__title > span.is-loyalty {
            background: rgba(125, 68, 220, .1);
            color: #7540c7;
        }

        .bv-est-benefits-section__title > span.is-coupon {
            background: var(--est-primary-soft, rgba(255, 46, 147, .11));
            color: var(--est-primary-dark, #d91f78);
        }

    .bv-est-benefits-section__title small,
    .bv-est-benefits-section__title h3,
    .bv-est-benefits-section__title p {
        display: block;
        margin: 0;
    }

    .bv-est-benefits-section__title small {
        color: var(--est-primary-dark, #d91f78);
        font-size: .62rem;
        font-weight: 950;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .bv-est-benefits-section__title h3 {
        margin-top: 3px;
        font-size: 1rem;
        font-weight: 950;
    }

    .bv-est-benefits-section__title p {
        margin-top: 4px;
        color: var(--est-muted, #737b88);
        font-size: .71rem;
        line-height: 1.45;
    }

.bv-est-benefits-status,
.bv-est-benefits-count {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .64rem;
    font-weight: 900;
    white-space: nowrap;
}

    .bv-est-benefits-status.is-active {
        background: rgba(22, 138, 77, .09);
        color: #168a4d;
    }

.bv-est-benefits-count {
    background: var(--est-surface-soft, #f8f9fb);
    color: var(--est-muted, #737b88);
}

/* *********************************** Cashback */

.bv-est-benefits-cashback {
    overflow: hidden;
    border: 1px solid rgba(22, 138, 77, .17);
    border-radius: 23px;
    background: linear-gradient(135deg, #f5fcf8, #fff);
}

.bv-est-benefits-cashback__main {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding: 22px;
}

.bv-est-benefits-cashback__highlight {
    min-height: 135px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(145deg, #168a4d, #0f6d3c);
    color: #fff;
    text-align: center;
    box-shadow: 0 14px 30px rgba(22, 138, 77, .2);
}

    .bv-est-benefits-cashback__highlight span,
    .bv-est-benefits-cashback__highlight strong,
    .bv-est-benefits-cashback__highlight small {
        display: block;
    }

    .bv-est-benefits-cashback__highlight span {
        font-size: .65rem;
        font-weight: 850;
        text-transform: uppercase;
    }

    .bv-est-benefits-cashback__highlight strong {
        margin-top: 3px;
        font-size: 2.05rem;
        line-height: 1;
        font-weight: 950;
    }

    .bv-est-benefits-cashback__highlight small {
        margin-top: 4px;
        font-size: .65rem;
        font-weight: 800;
    }

.bv-est-benefits-card__eyebrow {
    display: block;
    color: var(--est-primary-dark, #d91f78);
    font-size: .6rem;
    font-weight: 950;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.bv-est-benefits-cashback__copy h4 {
    margin: 6px 0 0;
    font-size: 1.12rem;
    line-height: 1.25;
    font-weight: 950;
}

.bv-est-benefits-cashback__copy p {
    margin: 8px 0 0;
    color: var(--est-muted, #737b88);
    font-size: .76rem;
    line-height: 1.55;
}

.bv-est-benefits-cashback__tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 8px;
    padding: 0 22px 20px;
}

.bv-est-benefits-cashback__tier {
    padding: 13px;
    border: 1px solid rgba(22, 138, 77, .14);
    border-radius: 16px;
    background: #fff;
}

    .bv-est-benefits-cashback__tier span,
    .bv-est-benefits-cashback__tier strong,
    .bv-est-benefits-cashback__tier small {
        display: block;
    }

    .bv-est-benefits-cashback__tier span {
        color: var(--est-muted, #737b88);
        font-size: .6rem;
        font-weight: 800;
    }

    .bv-est-benefits-cashback__tier strong {
        margin-top: 3px;
        color: #173c2c;
        font-size: .86rem;
        font-weight: 950;
    }

    .bv-est-benefits-cashback__tier small {
        margin-top: 3px;
        color: #168a4d;
        font-size: .65rem;
        font-weight: 900;
    }

.bv-est-benefits-cashback__conditions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
    padding: 17px 22px;
    border-top: 1px solid rgba(22, 138, 77, .12);
    background: rgba(255, 255, 255, .65);
}

    .bv-est-benefits-cashback__conditions > span {
        display: grid;
        grid-template-columns: 35px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
    }

        .bv-est-benefits-cashback__conditions > span > i {
            width: 35px;
            height: 35px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            background: rgba(22, 138, 77, .09);
            color: #168a4d;
        }

    .bv-est-benefits-cashback__conditions strong,
    .bv-est-benefits-cashback__conditions small {
        display: block;
    }

    .bv-est-benefits-cashback__conditions strong {
        font-size: .69rem;
        font-weight: 900;
    }

    .bv-est-benefits-cashback__conditions small {
        margin-top: 2px;
        color: var(--est-muted, #737b88);
        font-size: .61rem;
        line-height: 1.4;
    }

.bv-est-benefits-cashback__footer {
    display: flex;
    justify-content: flex-end;
    padding: 14px 22px 20px;
}

/* *********************************** Cards */

.bv-est-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bv-est-benefits-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--est-border, #e5e8ee);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(22, 30, 48, .04);
}

    .bv-est-benefits-card.is-loyalty {
        border-top: 4px solid #7540c7;
    }

    .bv-est-benefits-card.is-coupon {
        position: relative;
        border-top: 4px solid var(--est-primary, #ff2e93);
    }

.bv-est-benefits-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--est-border, #e5e8ee);
    background: var(--est-surface-soft, #f8f9fb);
}

.bv-est-benefits-card__type,
.bv-est-benefits-card__validity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .62rem;
    font-weight: 900;
}

    .bv-est-benefits-card__type.is-loyalty {
        color: #7540c7;
    }

    .bv-est-benefits-card__type.is-coupon {
        color: var(--est-primary-dark, #d91f78);
    }

.bv-est-benefits-card__validity {
    color: var(--est-muted, #737b88);
    white-space: nowrap;
}

.bv-est-benefits-card__body {
    flex: 1;
    padding: 17px;
}

    .bv-est-benefits-card__body h4 {
        margin: 5px 0 0;
        color: var(--est-text, #202124);
        font-size: .94rem;
        line-height: 1.32;
        font-weight: 950;
    }

    .bv-est-benefits-card__body > p {
        margin: 7px 0 0;
        color: var(--est-muted, #737b88);
        font-size: .7rem;
        line-height: 1.5;
    }

/* *********************************** Progresso */

.bv-est-benefits-progress {
    margin-top: 16px;
}

.bv-est-benefits-progress__copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    color: var(--est-muted, #737b88);
    font-size: .65rem;
    font-weight: 850;
}

    .bv-est-benefits-progress__copy strong {
        color: #7540c7;
        font-weight: 950;
    }

.bv-est-benefits-progress__bar {
    height: 9px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #ece8f5;
}

    .bv-est-benefits-progress__bar span {
        height: 100%;
        display: block;
        border-radius: inherit;
        background: linear-gradient(90deg, #7540c7, #a56be8);
    }

/* *********************************** Selos */

.bv-est-benefits-stamps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(34px, 1fr));
    gap: 6px;
    margin-top: 13px;
}

    .bv-est-benefits-stamps span {
        aspect-ratio: 1 / 1;
        display: grid;
        place-items: center;
        border: 1px dashed #cec5dc;
        border-radius: 11px;
        background: #faf8fd;
        color: #938a9f;
        font-size: .61rem;
        font-weight: 900;
    }

        .bv-est-benefits-stamps span.is-filled {
            border-style: solid;
            border-color: rgba(117, 64, 199, .2);
            background: rgba(117, 64, 199, .1);
            color: #7540c7;
        }

/* *********************************** Estados */

.bv-est-benefits-card__state {
    margin-top: 14px;
}

    .bv-est-benefits-card__state > span,
    .bv-est-benefits-coupon-meta > span {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        padding: 9px;
        border-radius: 14px;
        background: var(--est-surface-soft, #f8f9fb);
    }

        .bv-est-benefits-card__state > span > i,
        .bv-est-benefits-coupon-meta > span > i {
            width: 34px;
            height: 34px;
            display: grid;
            place-items: center;
            border-radius: 11px;
            background: #fff;
            color: var(--est-primary-dark, #d91f78);
        }

    .bv-est-benefits-card__state strong,
    .bv-est-benefits-card__state small,
    .bv-est-benefits-coupon-meta strong,
    .bv-est-benefits-coupon-meta small {
        display: block;
    }

    .bv-est-benefits-card__state strong,
    .bv-est-benefits-coupon-meta strong {
        font-size: .65rem;
        font-weight: 900;
    }

    .bv-est-benefits-card__state small,
    .bv-est-benefits-coupon-meta small {
        margin-top: 2px;
        color: var(--est-muted, #737b88);
        font-size: .58rem;
        line-height: 1.35;
    }

    .bv-est-benefits-card__state > span.is-success,
    .bv-est-benefits-coupon-meta > span.is-success {
        background: rgba(22, 138, 77, .07);
    }

        .bv-est-benefits-card__state > span.is-success > i,
        .bv-est-benefits-coupon-meta > span.is-success > i {
            color: #168a4d;
        }

    .bv-est-benefits-card__state > span.is-warning,
    .bv-est-benefits-coupon-meta > span.is-warning {
        background: rgba(154, 100, 0, .07);
    }

        .bv-est-benefits-card__state > span.is-warning > i,
        .bv-est-benefits-coupon-meta > span.is-warning > i {
            color: #9a6400;
        }

/* *********************************** Cupom */

.bv-est-benefits-coupon-value {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
    padding: 14px;
    border-radius: 17px;
    background: linear-gradient(135deg, #fff0f7, #fff8fc);
}

    .bv-est-benefits-coupon-value > strong {
        color: var(--est-primary-dark, #d91f78);
        font-size: 1.75rem;
        line-height: 1;
        font-weight: 950;
    }

    .bv-est-benefits-coupon-value > span {
        color: #424954;
        font-size: .7rem;
        font-weight: 950;
    }

    .bv-est-benefits-coupon-value small {
        display: block;
        margin-top: 2px;
        color: var(--est-muted, #737b88);
        font-size: .56rem;
        font-weight: 750;
    }

.bv-est-benefits-coupon-meta {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

/* *********************************** Botões */

.bv-est-benefits-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 13px 15px 15px;
    border-top: 1px solid var(--est-border, #e5e8ee);
}

.bv-est-benefits-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 14px;
    font: inherit;
    font-size: .68rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

    .bv-est-benefits-button.is-primary {
        border-color: var(--est-primary, #ff2e93);
        background: var(--est-primary, #ff2e93);
        color: #fff;
    }

    .bv-est-benefits-button.is-secondary {
        border-color: var(--est-border, #e5e8ee);
        background: #fff;
        color: var(--est-text, #202124);
    }

    .bv-est-benefits-button.is-disabled,
    .bv-est-benefits-button:disabled {
        border-color: #e4e6eb;
        background: #eef0f3;
        color: #9298a3;
        cursor: not-allowed;
    }

    .bv-est-benefits-button[aria-busy="true"] {
        pointer-events: none;
        opacity: .7;
    }

/* *********************************** Vazio */

.bv-est-benefits-empty {
    min-height: 310px;
    display: grid;
    justify-items: center;
    align-content: center;
    padding: 32px;
    border: 1px dashed var(--est-border, #e5e8ee);
    border-radius: 25px;
    background: var(--est-surface-soft, #f8f9fb);
    text-align: center;
}

    .bv-est-benefits-empty > span {
        width: 70px;
        height: 70px;
        display: grid;
        place-items: center;
        border-radius: 24px;
        background: var(--est-primary-soft, rgba(255, 46, 147, .11));
        color: var(--est-primary-dark, #d91f78);
        font-size: 1.45rem;
    }

    .bv-est-benefits-empty h3 {
        margin: 14px 0 0;
        font-size: 1rem;
        font-weight: 950;
    }

    .bv-est-benefits-empty p {
        max-width: 480px;
        margin: 7px 0 0;
        color: var(--est-muted, #737b88);
        font-size: .76rem;
        line-height: 1.55;
    }

    .bv-est-benefits-empty small {
        margin-top: 7px;
        color: #949aa5;
        font-size: .65rem;
    }

/* *********************************** Modal */

.bv-est-benefits-modal {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
}

    .bv-est-benefits-modal[hidden] {
        display: none !important;
    }

.bv-est-benefits-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 14, 24, .72);
    backdrop-filter: blur(8px);
}

.bv-est-benefits-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(86dvh, 720px);
    overflow-y: auto;
    padding: 24px;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(10, 14, 24, .3);
}

.bv-est-benefits-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--est-surface-soft, #f8f9fb);
    color: var(--est-text, #202124);
}

.bv-est-benefits-modal__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--est-primary-soft, rgba(255, 46, 147, .11));
    color: var(--est-primary-dark, #d91f78);
    font-size: 1.1rem;
}

.bv-est-benefits-modal__dialog > small {
    display: block;
    margin-top: 15px;
    color: var(--est-primary-dark, #d91f78);
    font-size: .61rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bv-est-benefits-modal__dialog h3 {
    margin: 4px 42px 0 0;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 950;
}

.bv-est-benefits-modal__body {
    margin-top: 14px;
    color: #515865;
    font-size: .77rem;
    line-height: 1.65;
}

    .bv-est-benefits-modal__body strong {
        color: var(--est-text, #202124);
        font-weight: 950;
    }

.bv-est-benefits-modal__dialog footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

html.bv-est-benefits-modal-open,
html.bv-est-benefits-modal-open body {
    overflow: hidden !important;
}

/* *********************************** Responsivo */

@media (max-width: 760px) {
    .bv-est-benefits-hero {
        grid-template-columns: 1fr;
        padding: 21px;
    }

    .bv-est-benefits-summary {
        min-width: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

        .bv-est-benefits-summary > div {
            min-height: 75px;
            grid-template-columns: 1fr;
            justify-items: center;
            text-align: center;
        }

    .bv-est-benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .bv-est-benefits {
        gap: 11px;
    }

    .bv-est-benefits-hero,
    .bv-est-benefits-section {
        padding: 14px;
        border-radius: 21px;
    }

    .bv-est-benefits-summary {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .bv-est-benefits-summary::-webkit-scrollbar {
            display: none;
        }

        .bv-est-benefits-summary > div {
            min-width: 125px;
            flex: 0 0 125px;
        }

    .bv-est-benefits-section__header {
        align-items: center;
    }

    .bv-est-benefits-section__title {
        grid-template-columns: 43px minmax(0, 1fr);
    }

        .bv-est-benefits-section__title > span {
            width: 43px;
            height: 43px;
        }

        .bv-est-benefits-section__title p {
            display: none;
        }

    .bv-est-benefits-cashback__main {
        grid-template-columns: 1fr;
        padding: 15px;
    }

    .bv-est-benefits-cashback__highlight {
        min-height: 112px;
    }

    .bv-est-benefits-cashback__tiers,
    .bv-est-benefits-cashback__conditions {
        padding-inline: 15px;
    }

    .bv-est-benefits-cashback__footer {
        padding: 12px 15px 16px;
    }

        .bv-est-benefits-cashback__footer .bv-est-benefits-button {
            width: 100%;
        }

    .bv-est-benefits-card__header {
        align-items: flex-start;
    }

    .bv-est-benefits-card__validity {
        font-size: .57rem;
    }

    .bv-est-benefits-card__actions {
        grid-template-columns: 1fr;
    }

    .bv-est-benefits-modal__dialog {
        padding: 20px;
        border-radius: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bv-est-benefits *,
    .bv-est-benefits *::before,
    .bv-est-benefits *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
