/* Noto Serif – Regular 400 */
@font-face {
    font-family: 'Noto Serif';
    src: url('tipografia-Noto-Serif/NotoSerif-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/*light*/
@font-face {
    font-family: 'Noto Serif';
    src: url('tipografia-Noto-Serif/NotoSerif-Regular.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


/* nuevo */

.bg-compsegura {
    background-color: #4D7399;
    display: inline-flex;
    justify-content: center;
}

.ico-seguro {
    margin-right: 0.5rem;
}

.icono-corazon {
    font-size: 1.3rem;
}

h1 {
    font-size: 1rem;
}

.compra-text {
    display: inline-block;
    margin: 0.7rem;
}

.mensaje {
    margin-top: 2rem;
    color: #8A6248;
}

.container-mensaje-icono {
    margin: 0rem 3rem;
}

.carrito-subtitulo {
    margin: 0.8rem auto;
    font-size: .89rem;
    line-height: 1.5;
    padding: 0rem 0.5rem;
}

.mi-barra {
    width: 90%;
    background-color: #7FA68A;
}

/* ======================================================
   ESTRUCTURA GENERAL
====================================================== */

.carrito-checkout {
    padding-top: 1.7rem;
}

.carrito-titulo {
    font-size: 1rem;
    font-weight: 600;
    text-align: start;
}

.carrito-seccion-titulo {
    font-size: 1.05rem;
    font-weight: 600;
    margin-left: 0.5rem
}

.ver-mas-productos {
    font-size: 0.9rem;
}

/* ======================================================
   PRODUCTOS RENDERIZADOS
====================================================== */

.carrito-productos-lista {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.carrito-vacio {
    background-color: #FFFFFF;
    border: 0.0625rem solid #E8D8CA;
    border-radius: 1.1rem;
    padding: 1.2rem;
    text-align: center;
    color: #8A6248;
    font-size: 0.95rem;
}

.carrito-item {
    background-color: #FFFFFF;
    border: 0.0625rem solid #E8D8CA;
    border-radius: 1.1rem;
    padding: 0.9rem;
    display: flex;
    gap: 0.85rem;
    box-shadow: 0 0.4rem 1rem rgba(138, 98, 72, 0.06);
}

.carrito-img {
    width: 4.8rem;
    height: 100%;
    object-fit: cover;
    border-radius: 0.85rem;
    flex-shrink: 0;
}

.carrito-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.carrito-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.carrito-nombre {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400 !important;
    font-style: italic;
}

.btn-eliminar {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background-color: #FDF7EF;
    color: #868686;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.precio-principal {
    font-size: 0.95rem;
    font-weight: 500 !important;
    margin-top: -1rem;
}

.precio-secundario {
    color: #868686;
    display: inline-block;
    font-size: 0.60rem;
}

/* ======================================================
   STEPPER CARRITO
====================================================== */

.stepper {
    /* width: 6.7rem; */
    width: 6rem;
    /* min-height: 2.20rem; */
    max-height: 2rem;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    border-radius: 999rem;
    background-color: #FFFDF9;
    overflow: hidden;
}

.btn-cantidad {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    color: #8A6248;

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

    /* padding: 0.1rem 0.4rem;
    font-size: 0.95rem; */
    padding: 0.1rem 0.2rem;
    font-size: 0.4rem;
    line-height: 1;
    cursor: pointer;
}

.btn-cantidad i {
    display: block;
    line-height: 1;
    font-size: 0.95rem;
}

.stepper .cantidad {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    color: #4B3A30;
}


/* ======================================================
   OPCIONES PAGO / ENTREGA
====================================================== */

.checkout-opciones-lista {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-opcion-card {
    width: 100%;
    background-color: #FFFFFF;
    border: 0.0625rem solid #E8D8CA;
    border-radius: 1.1rem;
    padding: 0.95rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    box-shadow: 0 0.35rem 0.9rem rgba(138, 98, 72, 0.045);
}

.checkout-opcion-activa {
    /* BORDER */
    border-color: #8A6248;
    background-color: #fcfbf9;
}

.checkout-opcion-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-opcion-info input {
    accent-color: #e17d26;
}

.checkout-opcion-texto {
    color: #4B3A30;

    font-size: 0.92rem;
    font-weight: 600;
}

.checkout-opcion-precio {
    color: #77a881;

    font-size: 0.92rem;
    font-weight: 700;

    white-space: nowrap;
}


/* ======================================================
   CUOTAS
====================================================== */

.checkout-cuotas-card {
    padding-right: 0.75rem;
}

.checkout-cuotas-toggle {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background-color: #FDF7EF;
    color: #8A6248;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.checkout-cuotas-collapse {
    padding-top: 0.15rem;
}

.checkout-cuotas-lista {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.7rem;
    background-color: rgba(255, 255, 255, 0.5);
    border: 0.0625rem solid #E8D8CA;
    border-radius: 1rem;
}

.checkout-cuota-item {
    background-color: #FFFFFF;
    border: 0.0625rem solid #E8D8CA;
    border-radius: 0.85rem;
    padding: 0.75rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;

    cursor: pointer;
}

.checkout-cuota-activa {
    border-color: #EF9E56;
    background-color: #FFF9F2;
}

.checkout-cuota-item input {
    accent-color: #EF9E56;
}

.checkout-cuota-item span {
    flex: 1;

    color: #4B3A30;

    font-size: 0.88rem;
    font-weight: 500;
}

#total-carrito {

    font-size: 1.2rem;
    font-weight: 600;

    white-space: nowrap;
}


/* ======================================================
   ENTREGA
====================================================== */

.checkout-entrega-card {
    align-items: flex-start;
}

.checkout-entrega-texto {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.checkout-entrega-texto strong {
    color: #4B3A30;

    font-size: 0.9rem;
}

.checkout-entrega-texto span,
.checkout-entrega-texto small {
    color: #8E7B6F;

    font-size: 0.78rem;
    line-height: 1.35;
}

.checkout-entrega-badge {
    flex-shrink: 0;

    border-radius: 999rem;

    padding: 0.25rem 0.65rem;

    font-size: 0.72rem;
    font-weight: 700;
}

.checkout-entrega-gratis {
    background-color: #EDF6EE;
    color: #55745B;
}

.checkout-entrega-costo,
.checkout-entrega-cotizar {
    background-color: #FFF1E5;
    color: #C66E32;
}


/* ======================================================
   TOTAL
====================================================== */

.checkout-total-box {
    background-color: #FFFFFF;

    border: 0.0625rem solid #E8D8CA;
    border-radius: 1.2rem;

    padding: 1rem;

    box-shadow: 0 0.45rem 1.1rem rgba(138, 98, 72, 0.065);
}

.checkout-total-linea {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-total-linea span {
    color: #4B3A30;

    font-size: 0.95rem;
    font-weight: 600;
}

.checkout-total-linea strong {
    color: #8A6248;

    font-size: 1.2rem;
    font-weight: 800;
}

.checkout-total-detalle {
    margin: 0.45rem 0 0 0;

    color: #8E7B6F;

    font-size: 0.8rem;
    line-height: 1.35;
}


/* ======================================================
   BOTÓN FINAL
====================================================== */

.checkout-finalizar-btn {
    min-height: 3.25rem;

    border: 0.0625rem solid #8A6248;
    border-radius: 1rem;

    background-color: #8A6248;
    color: #FDF7EF;

    font-size: 0.95rem;
    font-weight: 600;

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

    padding: 0.8rem 1rem;

    cursor: pointer;
    margin-bottom: 8rem;
}

/* SELECTORES */

.opciones-entrega {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    /* 10px */
}

.opcion-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    /* 12px */
    border: 0.0625rem solid #ddd;
    border-radius: 0.625rem;
    /* 10px */
    padding: 0.9375rem;
    /* 15px */
    cursor: pointer;
    background-color: #fff;
    position: relative;
}

/* Hover */
.opcion-card:hover {
    border-color: #999;
}

/* Ocultar radio real */
.opcion-card input[type="radio"] {
    display: none;
}

/* Contenedor del circulo */
.radio-custom {
    width: 1.125rem;
    /* 18px */
    height: 1.125rem;
    border: 0.125rem solid #999;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Punto interno */
.radio-custom::after {
    content: "";
    width: 0.625rem;
    /* 10px */
    height: 0.625rem;
    background-color: #faa734;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
}

/* Estado activo */
.opcion-card input[type="radio"]:checked+.radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Borde activo */
.opcion-card input[type="radio"]:checked~.contenido {
    font-weight: 500;
}

/* estilos del carrito con productos */
/* CONTENEDOR ITEM */
.carrito-item {
    display: flex;
    gap: 0.90rem;
    /*    padding: 1rem 2rem;*/

    border: 0.1rem solid #d1cdcd;
    border-radius: 1rem;
    padding: 0.6rem 0.6rem;
}

.carrito-img {
    width: 23%;
    border-radius: 0.5rem;
    object-fit: cover;
    margin: 0.7rem 0;
    /* arriba y abajo */
    margin-left: 0.7rem;
}

.carrito-info {
    flex: 1;
}

.carrito-top {
    display: flex;
    justify-content: space-between;
}

.carrito-nombre {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0.7rem 0;
    /* arriba y abajo */
    text-align: start;
}

/* ui de precios */
.precio-principal {
    font-size: 1.2rem;
    font-weight: bold;
}

.precio-secundario {
    font-size: 0.85rem;
    color: #6c757d;
}

/* botones de sumar o restar */
.stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;

    background: #f7f7f7;
    padding: 0.3rem;
    border-radius: 2rem;
}

/* BOTONES */
.btn-cantidad {
    border: none;
    background: white;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;

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

    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

/* HOVER */
.btn-cantidad:hover {
    transform: scale(1.1);
    background: #000;
    color: white;
}

/* CLICK */
.btn-cantidad:active {
    transform: scale(0.95);
}

/* NÚMERO */
.cantidad {
    min-width: 24px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

/* boton basura */
.carrito-top button {
    border: none;
    background: none;
    padding: 0.25rem;
    cursor: pointer;
    margin-right: 0.7rem;
}

.carrito-top button i {
    font-size: 0.9rem;
}

/* precio alineado a la derecha */
.precio-metodo {
    margin-left: auto;
    /* lo empuja a la derecha */
    text-align: right;
    white-space: nowrap;
    /* evita que baje de línea */
    font-weight: 500;
}

.contenido {
    flex: 1;
}

.contenido .d-flex {
    align-items: flex-start;

}

/* link seguir comprando */
.link-volver {

    margin-top: 1rem;

    font-size: 0.85rem;
    color: #888;
    text-decoration: none;

    transition: all 0.2s ease;
    display: block;
    text-align: center;
}

/* hover sutil */
.link-volver:hover {
    color: #000;
    text-decoration: underline;
}

/* COMIENZO subtotales */
.subtotal-linea {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;

}

.subtotal-linea span:last-child {
    font-weight: 600;
    color: #000;
}

#subtotal-transferencia {
    color: rgb(10, 131, 10);
}

.subtotal-transf {
    color: rgb(10, 131, 10);
}

.sin-envio {
    font-size: 0.9rem;
    color: #555;
}

/* FIN subtotales */

/* TEXTO GRATIS O 2000 */

.textos-valor-de-entrega {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    font-weight: 700;
    color: #f7f7f7;
    border-radius: 5rem;
}

.gratis {
    background-color: rgba(0, 128, 0, 0.901);
}

.correo-argentino {
    background-color: rgba(25, 25, 112, 0.829);
}

.aclaracion {
    padding: 1rem;
    font-size: 1.3rem;
    border-radius: 2rem;
    border: #323232b1 solid 0.02rem;
    margin: 2rem;
}

/* informacion de los metodos de pago */

h2 {
    font-size: 1.5rem;
    margin: 3rem 2rem 1rem 2rem;

}

.icono-flecha {
    display: inline-block;
    margin-top: 0.6rem;
}
/* ======================================================
   VALIDACIÓN DE OPCIONES OBLIGATORIAS
====================================================== */

.checkout-mensaje-error {
    display: none;

    margin-top: -0.35rem;
    margin-bottom: 0.85rem;

    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;

    color: #a65f5f;
}


/*
 * El mensaje solamente aparece cuando JS
 * agrega la clase .activo.
 */
.checkout-mensaje-error.activo {
    display: block;
}


/*
 * Deja un pequeño espacio superior al hacer
 * scroll automático hacia la sección.
 */
.checkout-seccion-validable {
    scroll-margin-top: 1.5rem;
}
/* ======================================================
   CONFIANZA - FINAL DEL CHECKOUT
====================================================== */

.checkout-confianza {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;

    padding: 1.1rem 1.2rem;

    background-color: #fff;
    border: 1px solid rgba(138, 98, 72, 0.12);
    border-radius: 1rem;
}

.checkout-confianza-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.checkout-confianza-item i {
    flex-shrink: 0;

    font-size: 1.35rem;
    color: #8A6248;
}

.checkout-confianza-item div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.checkout-confianza-item strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4f4037;
}

.checkout-confianza-item span {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #777;
}


/* TABLET EN ADELANTE */
@media (min-width: 768px) {

    .checkout-confianza {
        flex-direction: row;
        justify-content: space-between;
        gap: 1.5rem;

        padding: 1.2rem 1.4rem;
    }

    .checkout-confianza-item {
        flex: 1;
        justify-content: center;
    }

}

/* Mobile */
@media (max-width: 480px) {}


.strong {
    color: #e17d26;
    font-weight: 600;
}

/* Tablet portrait */
@media (min-width:768px) {
    .icono-corazon {
        font-size: 1.5rem;
    }

    .barra-progesiva {
        margin: 0 7rem;
    }

    h1 {
        font-size: 1.2rem;
    }

    .ver-mas-productos {
        font-size: 1.1rem;
    }

    .carrito-subtitulo {
        font-size: 1.2rem;
        margin: 1rem 6rem 1.6rem 6rem;
    }

    .carrito-nombre {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .precio-principal {
        font-size: 1.3rem;
    }

    .precio-secundario {
        font-size: 1rem;
    }

    .checkout-opcion-texto,
    .checkout-opcion-precio {
        font-size: 1rem;
    }

    .checkout-total-detalle {
        font-size: 0.8rem;
    }

    .checkout-finalizar-btn {
        margin-bottom: 6rem;
    }

    .stepper {
        gap: 0.4rem;
        margin-top: 1rem;
    }

    /* BOTONES */
    .btn-cantidad {
        height: 1.4rem;
    }

    /* informacion de pago */
    h2 {
        font-size: 1.8rem;
        margin-top: 5rem;
    }

    .icono-flecha {
        font-size: 1.9rem;
        margin-top: 1.1rem;
    }

    .ancho-acordion {
        margin: 1.5rem 5rem;
    }

    .nombre-acordiones {
        font-size: 1.2rem;
    }
}

/* Desktop mediano */
@media (min-width: 992px) {
    .barra-progesiva {
        margin: 0 17rem;
    }

    .compra-text {
        font-size: 1.3rem;
        margin: 1rem 0rem;
    }

    .carrito-subtitulo {
        margin: 1.5rem 0rem 1rem 0rem;
    }

    .checkout-opcion-texto,
    .checkout-opcion-precio {
        font-size: 1.1rem;
    }

    .textos-metodos-retiro {
        font-size: 0.9rem !important;
    }

    .checkout-textos-metodos-retiro {
        font-size: 1rem !important;
        margin-top: -0.3rem;
    }

    .mi-total-a-pagar {
        font-size: 1.2rem !important;
    }

    .checkout-finalizar-btn {
        font-size: 1.2rem;
    }

    /* informacion de pago */

    .ancho-acordion {
        margin: 1.5rem 9rem;
    }

}

/* Desktop grande */
@media (min-width: 1200px) {

    /* informacion de pago */
    .ancho-acordion {
        margin: 1.5rem 14rem;
    }
}

/* Desktop extra grande (opcional) */
@media (min-width: 1200px) {
    .checkout-cuenta-dni-resumen-card {
        min-width: 12rem;
    }

    .checkout-cuenta-dni-precio-base small,
    .checkout-cuenta-dni-precio-estimado small {
        font-size: 0.74rem;
    }

    .checkout-cuenta-dni-precio-base .checkout-pago-precio-anterior {
        font-size: 0.86rem;
    }

    .checkout-cuenta-dni-precio-estimado .checkout-pago-precio-final {
        font-size: 1.16rem;
    }

    .checkout-cuenta-dni-simular {
        font-size: 0.8rem;
    }
}

@media (min-width: 1400px) {

    /* informacion de pago */
    .ancho-acordion {
        margin: 1.5rem 17rem;
    }
}

@media (min-width: 1800px) {

    /* informacion de pago */
    .ancho-acordion {
        margin: 1.5rem 16rem;
    }
}

/* ======================================================
   MÉTODOS DE PAGO - DISEÑO ACTUALIZADO
====================================================== */

.checkout-pago-metodos {
    gap: 0.85rem;
}

.checkout-pago-card {
    position: relative;
    min-height: 5.2rem;
    padding: 0.95rem 1rem;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.checkout-pago-card:hover {
    border-color: #DCC6B5;
    box-shadow: 0 0.45rem 1.15rem rgba(138, 98, 72, 0.08);
}

.checkout-pago-card.checkout-opcion-activa {
    border-color: #8A6248;
    background-color: #FFFDFC;
    box-shadow: 0 0.45rem 1.2rem rgba(138, 98, 72, 0.11);
}

.checkout-pago-principal {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkout-pago-radio {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: #E17D26;
}

.checkout-pago-icono {
    flex: 0 0 auto;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fdfaf6e3;
    color: #8A6248;
    font-size: 1.2rem;
}

.checkout-pago-contenido {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.checkout-pago-nombre {
    color: #4B3A30;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
}

.checkout-pago-beneficio,
.checkout-pago-ayuda {
    color: #7B6A60;
    font-size: 0.75rem;
    line-height: 1.35;
}

.checkout-pago-beneficio {
    color: #68866F;
    font-weight: 600;
}

.checkout-pago-precios {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-items: end;
    column-gap: 0.45rem;
    row-gap: 0.05rem;
    text-align: right;
}

.checkout-pago-descuento {
    grid-row: 1 / span 2;
    align-self: center;
    padding: 0.22rem 0.48rem;
    border-radius: 999rem;
    background-color: #EDF6EE;
    color: #55745B;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.checkout-pago-precio-anterior {
    color: #9A8C84;
    font-size: 0.72rem;
    line-height: 1.1;
    text-decoration: line-through;
    white-space: nowrap;
}

.checkout-pago-precio-final {
    color: #5F8A68;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.checkout-pago-aclaracion {
    padding: 0 0.35rem;
    color: #8E7B6F;
    font-size: 0.72rem;
    line-height: 1.45;
}

.checkout-cuotas-label {
    flex: 1;
}

.checkout-cuotas-card.checkout-pago-card {
    align-items: center;
}

/* ======================================================
   CUENTA DNI
====================================================== */

.checkout-cuenta-dni-card {
    display: block;
    padding: 0;
    border-color: #BFD5C4;
    background: linear-gradient(180deg, #FCFFFC 0%, #FFFFFF 100%);
    box-shadow: 0 0.45rem 1.15rem rgba(95, 138, 104, 0.08);
}

.checkout-cuenta-dni-card[hidden] {
    display: none !important;
}

.checkout-cuenta-dni-card.checkout-opcion-activa {
    border-color: #7FA68A;
    background: linear-gradient(180deg, #F7FCF8 0%, #FFFFFF 100%);
    box-shadow: 0 0.55rem 1.35rem rgba(95, 138, 104, 0.14);
}

.checkout-cuenta-dni-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    background-color: #F2F7F3;
    border-bottom: 0.0625rem solid #DCE9DF;
}

.checkout-cuenta-dni-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    border-radius: 999rem;
    padding: 0.25rem 0.55rem;
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.2;
}

.checkout-cuenta-dni-badge-principal {
    background-color: #E7F2E9;
    color: #53725A;
}

/* .checkout-cuenta-dni-badge-dias {
    background-color: #FFF4E9;
    color: #B56A35;
} */
 .checkout-cuenta-dni-badge-dias {
    background-color: #966f56e7;
    color: #ffffff;
}

.checkout-cuenta-dni-cuerpo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem 0.75rem 1rem;
}

.checkout-cuenta-dni-principal {
    flex: 1;
}

.checkout-cuenta-dni-logo-wrap {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    box-shadow: 0 0.2rem 0.7rem rgba(75, 58, 48, 0.08);
}

.checkout-cuenta-dni-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-cuenta-dni-reintegro {
    color: #4D7D59;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

.checkout-cuenta-dni-tope {
    max-width: 18rem;
    color: #7B6A60;
    font-size: 0.69rem;
    line-height: 1.35;
}

.checkout-cuenta-dni-resumen-card {
    flex: 0 0 auto;
    min-width: 10.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.32rem;
    text-align: right;
}

.checkout-cuenta-dni-precio-base,
.checkout-cuenta-dni-precio-estimado {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
}

.checkout-cuenta-dni-precio-base small,
.checkout-cuenta-dni-precio-estimado small {
    max-width: 8.4rem;
    color: #7B6A60;
    font-size: 0.66rem;
    line-height: 1.25;
    text-align: left;
}

.checkout-cuenta-dni-precio-base .checkout-pago-precio-anterior {
    color: #8E8178;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration-thickness: 0.08rem;
    text-decoration-color: #8E8178;
}

.checkout-cuenta-dni-precio-estimado .checkout-pago-precio-final {
    color: #4D7D59;
    font-size: 1.08rem;
    font-weight: 800;
}

.checkout-cuenta-dni-simular {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
    color: #4D7D59;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: underline;
    text-underline-offset: 0.18rem;
}

.checkout-cuenta-dni-simular:hover,
.checkout-cuenta-dni-simular:focus-visible {
    color: #3F6849;
}

.checkout-cuenta-dni-simular i {
    font-size: 0.82rem;
}

.checkout-cuenta-dni-resumen-card .sin-contar-envio {
    width: 100%;
    text-align: right;
}

.checkout-cuenta-dni-combinacion {
    display: inline-flex;
    padding: 0.2rem 0.45rem;
    border-radius: 999rem;
    background-color: #EDF6EE;
    color: #55745B;
    font-size: 0.65rem;
    font-weight: 700;
    white-space: nowrap;
}

.checkout-cuenta-dni-resumen-card small {
    color: #998B82;
    font-size: 0.61rem;
    line-height: 1.2;
}

.checkout-cuenta-dni-aviso {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0 1rem 0.9rem 1rem;
    padding-top: 0.7rem;
    border-top: 0.0625rem solid #E3ECE5;
    color: #75675F;
    font-size: 0.67rem;
    line-height: 1.45;
}

.checkout-cuenta-dni-aviso i {
    flex: 0 0 auto;
    margin-top: 0.05rem;
    color: #6E9577;
}

/* ======================================================
   TOTAL CUENTA DNI
====================================================== */

.checkout-total-cuenta-dni[hidden],
#checkout-total-normal[hidden] {
    display: none !important;
}

.checkout-total-cuenta-dni-cabecera {
    padding-bottom: 0.85rem;
    border-bottom: 0.0625rem solid #E5E1DC;
}

.checkout-total-cuenta-dni-identidad {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.checkout-total-cuenta-dni-identidad img {
    flex: 0 0 auto;
    width: 2.15rem;
    height: 2.15rem;
    object-fit: contain;
    border-radius: 0.65rem;
}

.checkout-total-cuenta-dni-identidad > span {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.checkout-total-cuenta-dni-identidad strong {
    color: #4B3A30;
    font-size: 0.92rem;
    font-weight: 600;
}

.checkout-total-cuenta-dni-identidad small {
    color: #718276;
    font-size: 0.69rem;
    line-height: 1.35;
}

.checkout-total-desglose {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 0 0.7rem 0;
}

.checkout-total-fila {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-total-fila span {
    color: #73655D;
    font-size: 0.78rem;
    line-height: 1.35;
}

.checkout-total-fila strong {
    color: #4B3A30;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-total-separador {
    height: 0.0625rem;
    margin: 0.12rem 0;
    background-color: #EEE5DE;
}

.checkout-total-fila-paga span,
.checkout-total-fila-paga strong {
    color: #4B3A30;
    font-size: 0.9rem;
    font-weight: 700;
}

.checkout-total-fila-reintegro span,
.checkout-total-fila-reintegro strong {
    color: #5E8968;
}

.checkout-total-fila-final {
    margin-top: 0.2rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0.85rem;
    background-color: #EDF6EE;
}

.checkout-total-fila-final span {
    color: #4F6C56;
    font-weight: 600;
}

.checkout-total-fila-final strong {
    color: #45644C;
    font-size: 1rem;
    font-weight: 800;
}

.checkout-cuenta-dni-legal {
    padding-top: 0.7rem;
    border-top: 0.0625rem solid #EEE5DE;
    color: #86786F;
    font-size: 0.66rem;
    line-height: 1.5;
}

.checkout-cuenta-dni-legal a {
    color: #6A806F;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.12rem;
}

/* ======================================================
   RESPONSIVE PAGO
====================================================== */

@media (max-width: 575.98px) {
    .checkout-pago-card {
        min-height: 0;
        align-items: flex-start;
        padding: 0.9rem 0.8rem;
        gap: 0.65rem;
    }

    .checkout-pago-principal {
        gap: 0.55rem;
    }

    .checkout-pago-icono {
        width: 2rem;
        height: 2rem;
        border-radius: 0.72rem;
        font-size: 1.05rem;
    }
    .sin-contar-envio{
        font-size: 0.8rem !important;
        font-weight: 600;
    }

    .checkout-pago-precios {
        column-gap: 0.3rem;
    }

    .checkout-pago-descuento {
        padding: 0.18rem 0.38rem;
        font-size: 0.62rem;
    }

    .checkout-pago-precio-final {
        font-size: 0.9rem;
    }

    .checkout-cuenta-dni-badges {
        justify-content: flex-start;
    }

    .checkout-cuenta-dni-cuerpo {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        padding: 0.9rem 0.8rem 0.65rem 0.8rem;
    }

    .checkout-cuenta-dni-resumen-card {
        width: 100%;
        min-width: 0;
        align-items: stretch;
        gap: 0.42rem;
        padding-left: 1.6rem;
        text-align: left;
    }

    .checkout-cuenta-dni-combinacion {
        align-self: flex-start;
    }

    .checkout-cuenta-dni-precio-base,
    .checkout-cuenta-dni-precio-estimado {
        width: 100%;
    }

    .checkout-cuenta-dni-simular {
        align-self: flex-start;
        font-size: 0.75rem;

    }

    .checkout-cuenta-dni-resumen-card .sin-contar-envio {
        text-align: left;
    }

    .checkout-cuenta-dni-aviso {
        margin: 0 0.8rem 0.8rem 0.8rem;
    }

    .checkout-total-fila-final {
        align-items: center;
    }

    .checkout-total-fila-final span {
        max-width: 65%;
    }
}

@media (min-width: 576px) {
    .checkout-pago-card {
        padding: 1rem 1.1rem;
    }

    .checkout-pago-nombre {
        font-size: 0.95rem;
    }

    .checkout-pago-precio-final {
        font-size: 1.05rem;
    }
}

@media (min-width: 768px) {
    .checkout-pago-metodos {
        gap: 0.9rem;
    }

    .checkout-pago-card {
        min-height: 5.6rem;
        padding: 1.05rem 1.2rem;
    }

    .checkout-pago-icono {
        width: 2.9rem;
        height: 2.9rem;
        font-size: 1.28rem;
    }

    .checkout-pago-nombre {
        font-size: 1rem;
    }

    .checkout-pago-beneficio,
    .checkout-pago-ayuda {
        font-size: 0.8rem;
    }

    .checkout-pago-precio-anterior {
        font-size: 0.76rem;
    }

    .checkout-pago-precio-final {
        font-size: 1.08rem;
    }

    .checkout-cuenta-dni-card {
        padding: 0;
    }

    .checkout-cuenta-dni-badges {
        padding: 0.62rem 1rem;
    }

    .checkout-cuenta-dni-cuerpo {
        padding: 1.05rem 1.2rem 0.8rem 1.2rem;
    }

    .checkout-cuenta-dni-logo-wrap {
        width: 3.25rem;
        height: 3.25rem;
    }

    .checkout-cuenta-dni-reintegro {
        font-size: 0.84rem;
    }

    .checkout-cuenta-dni-tope {
        font-size: 0.73rem;
    }

    .checkout-cuenta-dni-aviso {
        margin: 0 1.2rem 1rem 1.2rem;
        font-size: 0.7rem;
    }

    .checkout-pago-aclaracion {
        font-size: 0.76rem;
    }

    .checkout-total-cuenta-dni-identidad strong {
        font-size: 1rem;
    }

    .checkout-total-cuenta-dni-identidad small,
    .checkout-total-fila span,
    .checkout-total-fila strong {
        font-size: 0.82rem;
    }

    .checkout-total-fila-paga span,
    .checkout-total-fila-paga strong {
        font-size: 0.96rem;
    }

    .checkout-total-fila-final strong {
        font-size: 1.08rem;
    }

    .checkout-cuenta-dni-legal {
        font-size: 0.7rem;
    }
}

@media (min-width: 992px) {
    .checkout-pago-card {
        min-height: 5.8rem;
        padding: 1.1rem 1.3rem;
    }

    .checkout-pago-card:hover {
        transform: translateY(-0.08rem);
    }

    .checkout-cuenta-dni-card {
        padding: 0;
    }

    .checkout-cuenta-dni-cuerpo {
        padding: 1.1rem 1.3rem 0.85rem 1.3rem;
    }

    .checkout-cuenta-dni-aviso {
        margin-left: 1.3rem;
        margin-right: 1.3rem;
    }
}

@media (min-width: 1200px) {
    .checkout-pago-card {
        border-radius: 1.15rem;
    }

    .checkout-pago-nombre {
        font-size: 1.02rem;
    }
}

@media (min-width: 1400px) {
    .checkout-pago-metodos {
        gap: 0.95rem;
    }
}

@media (min-width: 1800px) {
    .checkout-pago-card {
        min-height: 6rem;
    }
}

/* ======================================================
   PRECIOS EN CARD DEL CARRITO
====================================================== */

.carrito-precios-metodos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.15rem;
}

.carrito-precio-metodo {
    min-width: 0;
    min-height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.4rem 0.45rem;
    border-radius: 0.75rem;
    background-color: #FFFDF9;
}

.carrito-precio-metodo > i {
    flex-shrink: 0;
    font-size: 0.92rem;
    line-height: 1;
}

.carrito-precio-metodo strong {
    min-width: 0;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    color: #4B3A30;
    white-space: nowrap;
}

.carrito-precio-tarjeta > i {
    color: #8A6248;
}

.carrito-precio-descuento {
    background-color: #F3F8F3;
}

.carrito-precio-iconos-descuento {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    color: #77a881;
    line-height: 1;
}

.carrito-precio-iconos-descuento i {
    font-size: 0.86rem;
    line-height: 1;
}

.carrito-precio-descuento strong {
    color: #77a881;
}

@media (min-width: 576px) {
    .carrito-precios-metodos {
        gap: 0.6rem;
    }

    .carrito-precio-metodo {
        min-height: 2.5rem;
        padding: 0.45rem 0.6rem;
    }

    .carrito-precio-metodo > i {
        font-size: 1rem;
    }

    .carrito-precio-iconos-descuento i {
        font-size: 0.94rem;
    }

    .carrito-precio-metodo strong {
        font-size: 0.88rem;
    }
}

@media (min-width: 768px) {
    .carrito-precio-metodo {
        min-height: 2.7rem;
    }

    .carrito-precio-metodo > i {
        font-size: 1.05rem;
    }

    .carrito-precio-iconos-descuento i {
        font-size: 1rem;
    }

    .carrito-precio-metodo strong {
        font-size: 0.95rem;
    }
}


/* ======================================================
   LEGIBILIDAD MÉTODOS DE PAGO - ESCRITORIOS GRANDES
====================================================== */

@media (min-width: 1400px) {
    .checkout-pago-card {
        min-height: 6.2rem;
        padding: 1.2rem 1.4rem;
    }

    .checkout-cuenta-dni-card {
        padding: 0;
    }

    .checkout-pago-icono {
        width: 3.1rem;
        height: 3.1rem;
        font-size: 1.38rem;
    }

    .checkout-pago-nombre {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .checkout-pago-beneficio,
    .checkout-pago-ayuda {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .checkout-pago-descuento {
        font-size: 0.78rem;
        padding: 0.28rem 0.58rem;
    }

    .checkout-pago-precio-anterior {
        font-size: 0.86rem;
    }

    .checkout-pago-precio-final {
        font-size: 1.16rem;
    }

    .checkout-pago-aclaracion {
        font-size: 0.84rem;
    }

    .checkout-cuenta-dni-badge {
        font-size: 0.76rem;
    }

    .checkout-cuenta-dni-reintegro {
        font-size: 0.92rem;
    }

    .checkout-cuenta-dni-tope {
        font-size: 0.82rem;
    }

    .checkout-cuenta-dni-aviso {
        font-size: 0.78rem;
    }
}

@media (min-width: 1800px) {
    .checkout-pago-card {
        min-height: 6.4rem;
    }

    .checkout-pago-nombre {
        font-size: 1.15rem;
    }

    .checkout-pago-beneficio,
    .checkout-pago-ayuda {
        font-size: 0.95rem;
    }

    .checkout-pago-precio-anterior {
        font-size: 0.9rem;
    }

    .checkout-pago-precio-final {
        font-size: 1.22rem;
    }
}

/* ======================================================
   CUENTA DNI - RESUMEN COMPARABLE A EFECTIVO/TRANSFERENCIA
====================================================== */

.checkout-cuenta-dni-resumen-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem 0.8rem;
    border-top: 0.0625rem solid #E3ECE5;
    text-align: left;
}

.checkout-cuenta-dni-combinacion {
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.65rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999rem;
    background-color: #EDF6EE;
    color: #55745B;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.checkout-cuenta-dni-resumen-derecha {
    min-width: 7.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.14rem;
    text-align: right;
}

.checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-anterior {
    color: #8E8178;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.15;
    text-decoration-line: line-through;
    text-decoration-thickness: 0.08rem;
    text-decoration-color: #8E8178;
}

.checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-final {
    color: #4D7D59;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.15;
}

.checkout-cuenta-dni-resumen-derecha .sin-contar-envio {
    width: auto;
    margin-top: 0.05rem;
    color: #998B82;
    font-size: 0.65rem;
    line-height: 1.25;
    text-align: right;
}

.checkout-cuenta-dni-simular {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.7rem;
    background-color: #F3F8F3;
    color: #4D7D59;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.checkout-cuenta-dni-simular:hover,
.checkout-cuenta-dni-simular:focus-visible {
    background-color: #EAF3EC;
    color: #3F6849;
}

.checkout-cuenta-dni-simular i {
    flex-shrink: 0;
    font-size: 0.9rem;
}

@media (max-width: 575.98px) {
    .checkout-cuenta-dni-resumen-card {
        width: 100%;
        padding: 0.75rem 0.8rem 0.7rem;
        gap: 0.65rem;
    }

    .checkout-cuenta-dni-combinacion {
        font-size: 0.66rem;
        padding: 0.23rem 0.48rem;
    }

    .checkout-cuenta-dni-resumen-derecha {
        min-width: 6.8rem;
    }

    .checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-anterior {
        font-size: 0.72rem;
    }

    .checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-final {
        font-size: 0.96rem;
    }

    .checkout-cuenta-dni-resumen-derecha .sin-contar-envio {
        font-size: 0.62rem;
        text-align: right;
    }

    .checkout-cuenta-dni-simular {
        align-self: stretch;
        width: 100%;
        min-width: 0;
        padding: 0.48rem 0.55rem;
        font-size: 0.72rem;
        text-align: center;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .checkout-cuenta-dni-resumen-derecha {
        min-width: 10.5rem;
    }

    .checkout-cuenta-dni-simular {
        width: 100%;
        min-width: 10.5rem;
        padding: 0.52rem 0.7rem;
        font-size: 0.78rem;
    }
}

@media (min-width: 768px) {
    .checkout-cuenta-dni-resumen-card {
        padding: 0.9rem 1.2rem 0.85rem;
    }

    .checkout-cuenta-dni-combinacion {
        font-size: 0.76rem;
    }

    .checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-anterior {
        font-size: 0.8rem;
    }

    .checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-final {
        font-size: 1.08rem;
    }

    .checkout-cuenta-dni-resumen-derecha .sin-contar-envio {
        font-size: 0.74rem;
    }

    .checkout-cuenta-dni-simular {
        font-size: 0.78rem;
    }
}

@media (min-width: 1400px) {
    .checkout-cuenta-dni-combinacion {
        font-size: 0.86rem;
        min-height: 1.9rem;
        padding: 0.3rem 0.65rem;
    }

    .checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-anterior {
        font-size: 0.95rem;
    }

    .checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-final {
        font-size: 1.25rem;
    }

    .checkout-cuenta-dni-resumen-derecha .sin-contar-envio,
    .checkout-cuenta-dni-simular {
        font-size: 0.86rem;
    }
}

@media (min-width: 1800px) {
    .checkout-cuenta-dni-combinacion {
        font-size: 0.92rem;
    }

    .checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-anterior {
        font-size: 1rem;
    }

    .checkout-cuenta-dni-resumen-derecha .checkout-pago-precio-final {
        font-size: 1.32rem;
    }

    .checkout-cuenta-dni-resumen-derecha .sin-contar-envio,
    .checkout-cuenta-dni-simular {
        font-size: 0.9rem;
    }
}


/* ======================================================
   CUENTA DNI - CORRECCION RESPONSIVE DEFINITIVA
====================================================== */

.checkout-cuenta-dni-cuerpo {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
}

.checkout-cuenta-dni-principal {
    width: 100%;
}

.checkout-cuenta-dni-resumen-card {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(8.5rem, auto);
    align-items: start;
    gap: 0.75rem 1rem;
}

.checkout-cuenta-dni-combinacion {
    grid-column: 1;
    justify-self: start;
    align-self: start;
}

.checkout-cuenta-dni-resumen-derecha {
    grid-column: 2;
    min-width: 0;
    width: 100%;
    max-width: 13rem;
    justify-self: end;
}

.checkout-cuenta-dni-simular {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
}

@media (max-width: 575.98px) {
    .checkout-cuenta-dni-resumen-card {
        grid-template-columns: minmax(0, 1fr) minmax(7.4rem, 9.4rem);
        gap: 0.6rem;
        padding-left: 0.8rem;
    }

    .checkout-cuenta-dni-resumen-derecha {
        max-width: 9.4rem;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .checkout-cuenta-dni-cuerpo {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-cuenta-dni-resumen-card {
        grid-template-columns: minmax(0, 1fr) minmax(10.5rem, 13rem);
    }

    .checkout-cuenta-dni-resumen-derecha {
        width: 100%;
        max-width: 13rem;
    }

    .checkout-cuenta-dni-simular {
        width: 100%;
        min-width: 0;
        padding: 0.55rem 0.8rem;
    }
}

@media (min-width: 992px) {
    .checkout-cuenta-dni-cuerpo {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-cuenta-dni-resumen-card {
        grid-template-columns: minmax(0, 1fr) minmax(11rem, 14rem);
    }

    .checkout-cuenta-dni-resumen-derecha {
        max-width: 14rem;
    }
}
