/* ============================================================
   CHECKOUT PREMIUM — CSS fornecido pelo Erik para o redesign
   das seções do checkout.php (frete, pagamento, endereço).
   Arquivo separado do loja.css principal — não sobrescreve nada,
   só soma. Carregado depois do loja.css no checkout.php.
============================================================ */

/* ============================================================
   FRETE - DESIGN PREMIUM
   Padrão visual igual ao bloco de pagamento
============================================================ */

.checkout-shipping,
.shipping-section,
.frete-section {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    padding: 26px;
    box-shadow:
        0 10px 35px rgba(20, 28, 40, 0.06),
        0 2px 8px rgba(20, 28, 40, 0.03);

    width: 100%;
    box-sizing: border-box;
}


/* ============================================================
   CABEÇALHO
============================================================ */

.shipping-header,
.frete-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.shipping-step,
.frete-step {
    width: 42px;
    height: 42px;

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

    flex-shrink: 0;

    border-radius: 50%;

    background: #ff6500;
    color: #ffffff;

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

    box-shadow:
        0 0 0 5px rgba(255, 101, 0, 0.10);
}

.shipping-header-content,
.frete-header-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.shipping-title,
.frete-title {
    margin: 0;

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

    color: #202936;
    line-height: 1.15;
}

.shipping-subtitle,
.frete-subtitle {
    margin: 0;

    color: #697386;
    font-size: 14px;
    font-weight: 400;
}


/* ============================================================
   CONTAINER DAS OPÇÕES
============================================================ */

.shipping-options,
.frete-options {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* ============================================================
   CARD DE FRETE
   Ícone na coluna esquerda, nome/prazo/badge/preço na coluna
   direita, ícone centralizado verticalmente com o bloco de info.
============================================================ */

.shipping-option,
.frete-option {
    position: relative;

    display: flex;
    align-items: center;

    gap: 24px;

    width: 100%;
    min-height: 154px;

    padding: 28px 30px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e3e7eb;
    border-radius: 16px;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        background 0.18s ease;
}


/* Hover */

.shipping-option:hover,
.frete-option:hover {
    border-color: rgba(255, 101, 0, 0.50);
}


/* Selecionado — só borda + fundo quase imperceptível, sem glow/sombra */

.shipping-option.active,
.shipping-option.selected,
.frete-option.active,
.frete-option.selected {
    border-color: #ff6500;
    background:
        linear-gradient(
            90deg,
            rgba(255, 101, 0, 0.025),
            rgba(255, 101, 0, 0.008)
        );
    box-shadow: none;
}


/* ============================================================
   CHECK DE SELEÇÃO (substitui o radio visual)
============================================================ */

.frete-check {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 22px;
    height: 22px;

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

    border-radius: 50%;

    background: #ff6500;
    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.frete-option.active .frete-check,
.frete-option.selected .frete-check {
    display: flex;
}


/* ============================================================
   ÍCONE
============================================================ */

.shipping-icon,
.frete-icon {
    width: 76px;
    height: 76px;

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

    align-self: center;

    border-radius: 14px;

    background: #ffffff;

    border: 1px solid #e1e5e9;

    color: #ff6500;

    flex-shrink: 0;

    box-shadow:
        0 4px 12px rgba(25, 35, 50, 0.035);
}

.shipping-icon svg,
.frete-icon svg {
    width: 39px;
    height: 39px;

    stroke: currentColor;
}


/* ============================================================
   CONTEÚDO CENTRAL
============================================================ */

.shipping-info,
.frete-info {
    min-width: 0;
    flex: 1 1 auto;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;
}

.shipping-name,
.frete-name {
    margin: 0 0 8px;

    font-size: 17px;
    line-height: 1.2;

    font-weight: 800;

    color: #171b22;

    text-transform: uppercase;
}

.shipping-days,
.frete-prazo {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 9px;

    color: #657080;

    font-size: 14px;
    font-weight: 400;

    text-transform: none;
}

.frete-prazo svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;

    fill: none;
    stroke: #657080;
    stroke-width: 1.8;
}


/* ============================================================
   BADGE DO FRETE — pequeno e discreto, dentro do bloco de info
   (não é mais uma pílula grande separada)
============================================================ */

.shipping-badge,
.frete-badge {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    width: fit-content;

    margin: 0 0 12px;

    padding: 6px 11px;

    border-radius: 999px;

    border: 1px solid rgba(255, 101, 0, 0.25);

    background: rgba(255, 101, 0, 0.025);

    color: #ff6500;

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

    line-height: 1;

    text-transform: none;
}

.shipping-badge svg,
.frete-badge svg {
    width: 14px;
    height: 14px;

    flex-shrink: 0;
}


/* ============================================================
   PREÇO — só o valor, sem prazo repetido e sem divisor
============================================================ */

.shipping-price,
.frete-price {
    display: block;

    margin: 0;

    color: #ff6500;

    font-size: 21px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.35px;
}


/* ============================================================
   TEXTO INFORMATIVO INFERIOR
============================================================ */

.shipping-notice,
.frete-notice {
    margin-top: 20px;

    min-height: 52px;

    padding: 12px 18px;

    display: flex;
    align-items: center;

    gap: 10px;

    border-radius: 13px;

    background: #f7f8fa;

    color: #657080;

    font-size: 13px;
    line-height: 1.4;
}

.shipping-notice-icon,
.frete-notice-icon {
    width: 20px;
    height: 20px;

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

    flex-shrink: 0;

    border: 1.5px solid #8e97a4;
    border-radius: 50%;

    color: #8e97a4;

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


/* ============================================================
   FOCO / ACESSIBILIDADE
============================================================ */

.shipping-option:focus-within,
.frete-option:focus-within {
    outline: none;

    box-shadow:
        0 0 0 4px rgba(255, 101, 0, 0.10);
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 700px) {

    .checkout-shipping,
    .shipping-section,
    .frete-section {
        padding: 18px;
        border-radius: 16px;
    }


    .shipping-option,
    .frete-option {
        gap: 14px;

        min-height: 125px;

        padding: 20px 18px;
    }


    .shipping-icon,
    .frete-icon {
        width: 54px;
        height: 54px;

        border-radius: 12px;
    }


    .shipping-icon svg,
    .frete-icon svg {
        width: 29px;
        height: 29px;
    }


    .shipping-name,
    .frete-name {
        padding-right: 26px;

        font-size: 14px;
    }

    .shipping-days,
    .frete-prazo {
        font-size: 12px;
    }

    .shipping-badge,
    .frete-badge {
        padding: 5px 8px;

        font-size: 10px;
    }

    .shipping-price,
    .frete-price {
        font-size: 18px;
    }

    .frete-check {
        top: 14px;
        right: 14px;

        width: 20px;
        height: 20px;
    }

}


/* ============================================================
   MOBILE PEQUENO
============================================================ */

@media (max-width: 430px) {

    .shipping-header,
    .frete-header {
        margin-bottom: 18px;
    }

    .shipping-step,
    .frete-step {
        width: 38px;
        height: 38px;

        font-size: 16px;
    }

    .shipping-title,
    .frete-title {
        font-size: 17px;
    }

    .shipping-subtitle,
    .frete-subtitle {
        font-size: 12px;
    }

    .shipping-option,
    .frete-option {
        padding: 12px 10px;

        border-radius: 12px;
    }

    .shipping-icon,
    .frete-icon {
        width: 36px;
        height: 36px;
    }

    .shipping-name,
    .frete-name {
        font-size: 12.5px;
    }

}

/* =========================================================
   CHECKOUT PAGAMENTO — PÁGINA PREMIUM
   Guardado aqui pra quando definirmos o formato do formulário
   de cartão (Brick com tema custom OU Secure Fields). Ainda
   não está sendo usado no HTML do checkout.php.
========================================================= */

.checkout-payment-page {
    --orange: #ff6500;
    --orange-hover: #e95d00;
    --orange-soft: #fff5ee;

    --green: #22a95a;
    --green-soft: #eefaf3;

    --purple: #7445e8;

    --text: #202936;
    --text-soft: #657080;
    --muted: #8a93a0;

    --border: #e6e9ee;
    --border-soft: #eef0f3;

    --bg: #f6f7f9;
    --white: #ffffff;

    width: 100%;
    min-height: 100vh;

    background: var(--bg);

    padding: 34px 20px 60px;

    box-sizing: border-box;
}

.checkout-payment-container {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;

    gap: 24px;

    align-items: start;
}

.payment-main-card {
    background: var(--white);

    border: 1px solid var(--border-soft);
    border-radius: 20px;

    padding: 28px;

    box-shadow:
        0 12px 40px rgba(26, 34, 48, 0.06),
        0 3px 10px rgba(26, 34, 48, 0.03);
}

.payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 26px;
}

.payment-secure-top {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #7b8491;

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

.payment-secure-top svg {
    width: 15px;
    height: 15px;
}

.payment-method-title {
    margin: 0 0 14px;

    color: var(--text);

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

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 20px;
}

.payment-method {
    position: relative;

    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 11px;

    padding: 11px 14px;

    box-sizing: border-box;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: #ffffff;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.payment-method:hover {
    border-color: rgba(255, 101, 0, 0.45);
}

.payment-method.active,
.payment-method.selected {
    border-color: var(--orange);
    background: rgba(255, 101, 0, 0.025);
    box-shadow: none;
}

.payment-method-icon {
    width: 38px;
    height: 38px;

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

    flex-shrink: 0;

    border-radius: 11px;

    border: 1px solid #e9ebee;

    background: #ffffff;
}

.payment-method-icon img,
.payment-method-icon svg {
    max-width: 26px;
    max-height: 26px;
}

.payment-method-info {
    display: flex;
    flex-direction: column;
    gap: 2px;

    flex: 1;
    min-width: 0;
}

.payment-method-name {
    margin: 0;

    color: var(--text);

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

    text-transform: uppercase;
}

.payment-method-desc {
    margin: 0;

    color: var(--muted);

    font-size: 11px;

    text-transform: none;
}

.payment-method-check {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 18px;
    height: 18px;

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

    border-radius: 50%;

    background: var(--orange);
    color: #ffffff;

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

.payment-method.active .payment-method-check,
.payment-method.selected .payment-method-check {
    display: flex;
}

.card-form-wrapper {
    border: 1px solid var(--border);
    border-radius: 15px;

    padding: 20px;

    background: #fcfcfd;
}

.card-form-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.card-form-title {
    margin: 0;

    color: var(--text);

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

.card-form {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.form-row.document-row {
    grid-template-columns: 160px minmax(0, 1fr);
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-group label {
    color: #394250;

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

.form-control-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    height: 46px;

    padding: 0 42px 0 13px;

    box-sizing: border-box;

    border: 1px solid #dfe3e8;
    border-radius: 10px;

    outline: none;

    background: #ffffff;

    color: var(--text);

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-control::placeholder {
    color: #9aa2ad;
}

.form-control:hover {
    border-color: #cfd4da;
}

.form-control:focus {
    border-color: var(--orange);

    box-shadow:
        0 0 0 4px rgba(255, 101, 0, 0.09);

    background: #ffffff;
}

.form-control.is-valid {
    border-color: #38a169;
}

.form-control.is-invalid {
    border-color: #e45757;
}

.form-control-icon {
    position: absolute;

    top: 50%;
    right: 13px;

    transform: translateY(-50%);

    width: 19px;
    height: 19px;

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

    color: #a6adb7;

    pointer-events: none;
}

.document-select {
    width: 100%;
    height: 46px;

    padding: 0 36px 0 13px;

    border: 1px solid #dfe3e8;
    border-radius: 10px;

    outline: none;

    background: #ffffff;

    color: #394250;

    font-size: 14px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.document-select:focus {
    border-color: var(--orange);

    box-shadow:
        0 0 0 4px rgba(255, 101, 0, 0.09);
}

.payment-security-box {
    margin-top: 18px;

    display: flex;
    align-items: flex-start;

    gap: 11px;

    padding: 14px 15px;

    border: 1px solid rgba(255, 101, 0, 0.13);
    border-radius: 12px;

    background: var(--orange-soft);
}

.payment-security-icon {
    width: 34px;
    height: 34px;

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

    flex-shrink: 0;

    border-radius: 10px;

    background: #ffffff;

    color: var(--orange);
}

.payment-security-content strong {
    display: block;

    margin-bottom: 3px;

    color: var(--text);

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

.payment-security-content span {
    display: block;

    color: #707985;

    font-size: 11px;
    line-height: 1.45;
}

.payment-submit {
    width: 100%;
    height: 54px;

    margin-top: 18px;

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

    gap: 9px;

    border: none;
    border-radius: 11px;

    background: var(--orange);

    color: #ffffff;

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

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(255, 101, 0, 0.18);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.payment-submit:hover {
    background: var(--orange-hover);

    transform: translateY(-1px);

    box-shadow:
        0 10px 23px rgba(255, 101, 0, 0.22);
}

.payment-submit:active {
    transform: translateY(0);
}

.payment-submit svg {
    width: 18px;
    height: 18px;
}

.payment-bottom-secure {
    margin-top: 10px;

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

    gap: 6px;

    color: #8a929c;

    font-size: 11px;
}

.order-summary {
    position: sticky;
    top: 20px;

    background: #ffffff;

    border: 1px solid var(--border-soft);
    border-radius: 18px;

    padding: 22px;

    box-shadow:
        0 12px 35px rgba(26, 34, 48, 0.055);
}

.order-summary-title {
    margin: 0 0 20px;

    color: var(--text);

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

.summary-product {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) auto;

    gap: 12px;

    align-items: center;

    padding-bottom: 18px;

    border-bottom: 1px dashed #e3e6ea;
}

.summary-product-image {
    width: 66px;
    height: 66px;

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

    overflow: hidden;

    border: 1px solid #e4e7eb;
    border-radius: 10px;

    background: #ffffff;
}

.summary-product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.summary-product-info {
    min-width: 0;
}

.summary-product-name {
    margin: 0 0 4px;

    color: var(--text);

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

.summary-product-detail {
    margin: 0 0 3px;

    color: var(--muted);

    font-size: 11px;
}

.summary-product-price {
    color: var(--text);

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

    white-space: nowrap;
}

.summary-values {
    padding: 22px 0 18px;

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    color: #535d6b;

    font-size: 12px;
}

.summary-line strong {
    color: var(--text);

    font-weight: 700;
}

.summary-line.discount,
.summary-line.discount strong {
    color: var(--green);
}

.summary-total {
    padding: 16px;

    border: 1px solid rgba(255, 101, 0, 0.20);
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 101, 0, 0.045),
            rgba(255, 101, 0, 0.01)
        );
}

.summary-total-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.summary-total-label {
    color: var(--text);

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

.summary-total-value {
    color: var(--orange);

    font-size: 21px;
    font-weight: 900;

    letter-spacing: -0.4px;
}

.summary-installment {
    margin-top: 4px;

    color: #697386;

    font-size: 11px;
}

.summary-saving {
    margin-top: 14px;

    padding: 11px;

    text-align: center;

    border: 1px solid rgba(34, 169, 90, 0.15);
    border-radius: 10px;

    background: var(--green-soft);

    color: #52615a;

    font-size: 11px;
}

.summary-saving strong {
    color: var(--green);
}

.summary-benefits {
    margin-top: 18px;

    padding: 16px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: #ffffff;
}

.summary-benefits-title {
    margin: 0 0 14px;

    color: var(--text);

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

.summary-benefit {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 8px 0;
}

.summary-benefit + .summary-benefit {
    border-top: 1px solid #f0f1f3;
}

.summary-benefit-icon {
    width: 31px;
    height: 31px;

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

    flex-shrink: 0;

    border-radius: 50%;

    background: #fff4ec;

    color: var(--orange);
}

.summary-benefit:nth-child(3) .summary-benefit-icon {
    background: #fff4ec;
    color: var(--orange);
}

.summary-benefit:nth-child(4) .summary-benefit-icon {
    background: #f3efff;
    color: var(--purple);
}

.summary-benefit-content strong {
    display: block;

    margin-bottom: 2px;

    color: var(--text);

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

.summary-benefit-content span {
    display: block;

    color: var(--muted);

    font-size: 10px;
    line-height: 1.35;
}

@media (max-width: 980px) {

    .checkout-payment-container {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: relative;
        top: auto;
    }

}

@media (max-width: 700px) {

    .checkout-payment-page {
        padding: 18px 12px 40px;
    }

    .payment-main-card {
        padding: 18px;

        border-radius: 16px;
    }

    .payment-header {
        align-items: flex-start;
    }

    .payment-secure-top {
        display: none;
    }

    .payment-box {
        padding: 15px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .form-row,
    .form-row.document-row {
        grid-template-columns: 1fr;
    }

    .card-form-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-summary {
        padding: 18px;
    }

}

@media (max-width: 430px) {

    .payment-main-card {
        padding: 14px;
    }

    .payment-step {
        width: 38px;
        height: 38px;

        font-size: 16px;
    }

    .payment-title {
        font-size: 16px;
    }

    .card-form-wrapper {
        padding: 14px;
    }

    .form-control,
    .document-select {
        height: 44px;

        font-size: 13px;
    }

    .payment-submit {
        height: 50px;

        font-size: 14px;
    }

    .summary-product {
        grid-template-columns: 55px minmax(0, 1fr);
    }

    .summary-product-image {
        width: 55px;
        height: 55px;
    }

    .summary-product-price {
        grid-column: 2;
    }

}

/* =========================================================
   ANIMAÇÃO DE ENTRADA — formulário de cartão
   Item 5 do pedido: "animação discreta de entrada"
========================================================= */

#checkout-card-form {
    margin-top: 20px;

    opacity: 0;
    transform: translateY(-6px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

#checkout-card-form.card-form-visivel {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    #checkout-card-form {
        transition: none;
    }
}


/* =========================================================
   AJUSTES DE INTEGRAÇÃO — payment-method (checkbox real
   escondido dentro do label, badge do PIX, botão do PIX)
========================================================= */

#pix-acao {
    margin-top: 20px;
}

/* ============================================================
   LARGURA GERAL DO CHECKOUT
   Antes tinha max-width:980px inline no HTML, espremendo tudo.
   Essa classe substitui isso — só nesta página (escopada por
   body.pagina-checkout), não afeta mais nada do site.
============================================================ */

body.pagina-checkout .checkout-container-wide {
    max-width: 1320px;
    width: calc(100% - 48px);
    margin: 0 auto;
    box-sizing: border-box;
}

body.pagina-checkout .checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

@media (max-width: 980px) {
    body.pagina-checkout .checkout-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   CARD ÚNICO DE PAGAMENTO
   .step-card.payment-step-card junto = maior especificidade que
   .step-card sozinho, então essas regras vencem sem !important.
============================================================ */

.step-card.payment-step-card {
    background: #FFFFFF;
    border: 1px solid #E8EBEF;
    border-radius: 18px;
    padding: 28px;
    box-shadow:
        0 12px 40px rgba(26, 34, 48, 0.05),
        0 3px 10px rgba(26, 34, 48, 0.025);
    box-sizing: border-box;
}

.payment-step-card .payment-header {
    margin-bottom: 22px;
}

.payment-step-card .payment-method-title {
    margin-bottom: 14px;
}


/* ============================================================
   BADGE DO PIX — corrige o texto colando no badge (item 4)
============================================================ */

.payment-method-pix-badge {
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
    align-self: center;
    font-size: 10.5px;
    padding: 4px 7px;
    border-radius: 999px;
    text-transform: none;
}


/* ============================================================
   BANDEIRAS — caixinhas de texto (item 8), sem logos
   proprietários e sem competir visualmente com o formulário
============================================================ */


/* ============================================================
   CARD DE "AMBIENTE SEGURO" DO RESUMO — sem excesso de laranja
   (item 17), escopado só no checkout
============================================================ */

body.pagina-checkout .checkout-ambiente-seguro {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin-top: 16px;
    padding: 14px 15px;

    background: #F7F8FA;
    border: 1px solid #E6E9EE;
    border-radius: 12px;

    color: #202936;
}

body.pagina-checkout .checkout-ambiente-seguro svg {
    color: #657080;
    flex-shrink: 0;
}

body.pagina-checkout .checkout-ambiente-seguro strong {
    display: block;
    font-size: 12px;
    margin-bottom: 2px;
}

body.pagina-checkout .checkout-ambiente-seguro span {
    font-size: 11px;
    color: #657080;
}


/* ============================================================
   TERMOS — centralizado, pequeno, cinza (item 18)
============================================================ */

body.pagina-checkout .checkout-termos {
    margin-top: 14px;
    text-align: center;
    font-size: 11px;
    color: #8A93A0;
    line-height: 1.5;
}

body.pagina-checkout .checkout-termos a {
    color: #8A93A0;
    text-decoration: underline;
}


/* ============================================================
   RESUMO — imagem do produto um pouco maior (item 13)
============================================================ */

.summary-product-image {
    width: 72px;
    height: 72px;
}

.summary-product {
    grid-template-columns: 72px minmax(0, 1fr) auto;
}

.summary-product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ============================================================
   SEGURANÇA RESPONSIVA — nunca criar scroll horizontal (item 22)
============================================================ */

body.pagina-checkout {
    overflow-x: hidden;
}

@media (max-width: 700px) {
    body.pagina-checkout .checkout-container-wide {
        width: calc(100% - 24px);
    }

    .step-card.payment-step-card {
        padding: 18px;
        border-radius: 16px;
    }
}
