/* =========================================================
   CARRINHO FIXO
========================================================= */

.et-floating-cart {
    position: fixed;
    z-index: 9999;
    right: 28px;
    bottom: 28px;

    display: flex;
    align-items: center;

    min-height: 62px;

    overflow: visible;

    border: 1px solid rgba(39, 1, 60, 0.12);
    border-radius: 999px;

    background: #ffffff;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);

    text-decoration: none;
}

.et-floating-cart__text {
    padding: 0 22px;

    color: #27013c;

    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.et-floating-cart__icon {
    position: relative;

    display: flex;
    width: 62px;
    height: 62px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #89b331;
    color: #27013c;
}

.et-floating-cart__count {
    position: absolute;

    top: -7px;
    right: -5px;

    display: flex;
    width: 25px;
    height: 25px;

    align-items: center;
    justify-content: center;

    border: 2px solid #ffffff;
    border-radius: 50%;

    background: #5b1483;
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}

.et-floating-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.23);
}

.et-floating-cart:hover .et-floating-cart__icon {
    background: #9bc83b;
}

@media (max-width: 680px) {

    .et-floating-cart {
        right: 16px;
        bottom: 16px;
    }

    .et-floating-cart__text {
        padding: 0 17px;
        font-size: 11px;
    }

    .et-floating-cart__icon {
        width: 56px;
        height: 56px;
    }
}
/* =========================================================
   PÁGINA DO CARRINHO
========================================================= */

.et-cart-page {
    min-height: 100vh;
    background: #ffffff;
}


/* HERO */

.et-cart-hero {
    padding: 75px 0 95px;

    border-bottom: 4px solid #89b331;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(137, 179, 49, 0.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #27013c,
            #5b1483
        );

    text-align: center;
}

.et-cart-hero .et-eyebrow {
    justify-content: center;
}

.et-cart-hero h1 {
    margin: 12px 0 15px;

    color: #ffffff;

    font-size: clamp(42px, 6vw, 68px);
}

.et-cart-hero > .et-container > p {
    max-width: 650px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.72);

    font-size: 17px;
}


/* CARD DE CONFIANÇA */

.et-cart-trust {
    display: grid;
    gap: 4px;

    width: min(100%, 360px);

    margin: 35px auto -145px;
    padding: 24px;

    border-radius: 18px;

    background: #ffffff;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.et-cart-trust strong {
    color: #27013c;

    font-size: 16px;
}

.et-cart-trust span {
    color: #5b1483;

    font-size: 13px;
}


/* CONTEÚDO */

.et-cart-content {
    padding: 110px 0 100px;
    background: #ffffff;
}

.et-cart-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(330px, 0.8fr);

    align-items: start;

    gap: 55px;
}


/* TÍTULOS */

.et-cart-section-header {
    margin-bottom: 30px;
}

.et-cart-section-header h2,
.et-cart-summary > h2 {
    margin: 8px 0 25px;

    color: #27013c;

    font-size: clamp(28px, 3vw, 38px);
}


/* CARRINHO VAZIO */

.et-cart-empty {
    display: flex;
    align-items: center;

    gap: 20px;

    padding: 28px;

    border: 1px solid rgba(39, 1, 60, 0.1);
    border-radius: 14px;

    background: #ffffff;

    box-shadow: 0 12px 30px rgba(39, 1, 60, 0.08);
}

.et-cart-empty__icon {
    display: flex;

    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(137, 179, 49, 0.14);
    color: #89b331;

    font-size: 28px;
}

.et-cart-empty strong {
    display: block;

    margin-bottom: 4px;

    color: #27013c;

    font-size: 16px;
}

.et-cart-empty p {
    margin: 0;

    color: #5b1483;

    font-size: 14px;
}


/* RESUMO */

.et-cart-summary {
    position: sticky;

    top: 100px;
}

.et-cart-summary__card {
    padding: 30px;

    border: 1px solid rgba(39, 1, 60, 0.08);
    border-radius: 18px;

    background: #f8f6fa;

    box-shadow: 0 12px 35px rgba(39, 1, 60, 0.08);
}

.et-cart-summary__row,
.et-cart-total {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.et-cart-summary__row {
    padding-bottom: 24px;
}

.et-cart-summary__row span {
    color: #5b1483;
}

.et-cart-summary__row strong {
    color: #27013c;

    font-size: 20px;
}


/* FORMAS DE PAGAMENTO */

.et-cart-payment-options {
    display: grid;
    gap: 12px;

    padding: 24px 0;

    border-top: 1px solid rgba(39, 1, 60, 0.1);
    border-bottom: 1px solid rgba(39, 1, 60, 0.1);
}

.et-cart-payment-options div {
    display: flex;

    justify-content: space-between;

    gap: 20px;
}

.et-cart-payment-options strong {
    color: #27013c;
}

.et-cart-payment-options span {
    color: #5b1483;
}


/* CUPOM */

.et-cart-coupon {
    padding: 24px 0;

    border-bottom: 1px solid rgba(39, 1, 60, 0.1);
}

.et-cart-coupon label {
    display: block;

    margin-bottom: 10px;

    color: #27013c;

    font-weight: 700;
}

.et-cart-coupon > div {
    display: flex;
    gap: 8px;
}

.et-cart-coupon input {
    width: 100%;
    min-height: 48px;

    padding: 11px 14px;

    border: 1px solid rgba(39, 1, 60, 0.18);
    border-radius: 8px;

    background: #ffffff;
    color: #27013c;

    outline: none;
}

.et-cart-coupon input:focus {
    border-color: #89b331;
}

.et-cart-coupon button {
    min-height: 48px;

    padding: 0 20px;

    border: 0;
    border-radius: 8px;

    background: #5b1483;
    color: #ffffff;

    font-weight: 700;
}


/* TOTAL */

.et-cart-total {
    padding: 25px 0;
}

.et-cart-total span {
    color: #27013c;

    font-weight: 700;
}

.et-cart-total strong {
    color: #89b331;

    font-size: 28px;
    font-weight: 900;
}


/* BOTÕES */

.et-cart-checkout,
.et-cart-more {
    display: flex;

    min-height: 54px;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.et-cart-checkout {
    border: 1px solid #89b331;

    background: #89b331;
    color: #27013c;
}

.et-cart-checkout:hover {
    background: #9bc83b;
}

.et-cart-more {
    margin-top: 12px;

    border: 1px solid #5b1483;

    background: transparent;
    color: #5b1483;
}

.et-cart-more:hover {
    background: #5b1483;
    color: #ffffff;
}


/* RESPONSIVO */

@media (max-width: 900px) {

    .et-cart-grid {
        grid-template-columns: 1fr;
    }

    .et-cart-summary {
        position: static;
    }
}

@media (max-width: 600px) {

    .et-cart-hero {
        padding: 55px 0 80px;
    }

    .et-cart-content {
        padding: 95px 0 70px;
    }

    .et-cart-summary__card {
        padding: 24px 20px;
    }

    .et-cart-coupon > div {
        flex-direction: column;
    }

    .et-cart-coupon button {
        width: 100%;
    }
}
/* =========================================================
   ITENS DO CARRINHO
========================================================= */

.et-cart-items {
    display: grid;
    gap: 18px;
}

.et-cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 28px;

    border: 1px solid rgba(39, 1, 60, 0.1);
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(39, 1, 60, 0.08);
}


.et-cart-item__content {
    flex: 1;
}


.et-cart-item__label {
    display: inline-flex;

    margin-bottom: 10px;
    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(137, 179, 49, 0.14);

    color: #6f941f;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}


.et-cart-item h3 {
    margin: 0 0 8px;

    color: #27013c;

    font-size: 21px;
    line-height: 1.3;
}


.et-cart-item__area {
    display: block;

    margin-bottom: 15px;

    color: #5b1483;

    font-size: 13px;
    font-weight: 700;
}


.et-cart-item__info {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 18px;

    color: #67556f;

    font-size: 13px;
}


.et-cart-item__actions {
    display: flex;
    flex-direction: column;

    gap: 9px;

    min-width: 135px;
}


.et-cart-item__view,
.et-cart-item__remove {
    display: flex;

    min-height: 42px;

    align-items: center;
    justify-content: center;

    padding: 8px 16px;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 800;

    text-align: center;
}


.et-cart-item__view {
    border: 1px solid #89b331;

    background: #89b331;

    color: #27013c;
}


.et-cart-item__view:hover {
    background: #9bc83b;
}


.et-cart-item__remove {
    border: 1px solid rgba(91, 20, 131, 0.25);

    background: transparent;

    color: #5b1483;

    cursor: pointer;
}


.et-cart-item__remove:hover {
    border-color: #5b1483;

    background: #5b1483;

    color: #ffffff;
}


@media (max-width: 680px) {

    .et-cart-item {
        align-items: stretch;
        flex-direction: column;

        padding: 22px;
    }

    .et-cart-item__actions {
        width: 100%;
    }

}

