.boton-carrito {
    pointer-events: none !important;
    opacity: 0.5 !important;
}

main.secciones.tucesta {
    padding-bottom: 65px;
}

.seccion-tucesta {
    padding: 40px 0;
}

.seccion-tucesta .contenedor-tucesta {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

.seccion-tucesta .titulo-tucesta {
    font-size: 2.5rem;
    font-weight: 400;
    color: #3A3A34;
    margin: 0 0 25px 0;
    letter-spacing: 0.8px;
}

.seccion-tucesta .contenido-tucesta {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 10px;
}

.seccion-tucesta .columna-productos {
    background-color: white;
    padding: 0 30px 0 0;
}

.seccion-tucesta .lista-productos-cesta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seccion-tucesta .producto-carrito {
    display: flex;
    gap: 20px;
    position: relative;
}

.seccion-tucesta .producto-carrito:last-child {
    border-bottom: none;
}

.seccion-tucesta .producto-carrito a.enlace-imagen {
    line-height: 0;
}

.seccion-tucesta .imagen-producto-carrito {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.seccion-tucesta .info-producto-carrito {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0rem;
    padding-right: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.seccion-tucesta .info-producto-carrito a.enlace-producto {
    text-decoration: none;
    color: #3A3A34;
}

.seccion-tucesta .info-producto-carrito h4.nombre-producto-carrito {
    display: inline-block;
}

.seccion-tucesta .info-producto-carrito h4.nombre-producto-carrito::after {
    content: '';
    width: 0px;
    height: 1px;
    display: block;
    background: black;
    transition: 300ms;
}

.seccion-tucesta .info-producto-carrito h4.nombre-producto-carrito:hover::after {
    width: 100%;
}

.seccion-tucesta .nombre-producto-carrito {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #3A3A34;
}

.seccion-tucesta .descripcion-producto-carrito {
    font-size: 1rem;
    color: #7E7E7C;
    margin: 0;
}

.seccion-tucesta .cantidad-precio-carrito {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-bottom: 0.4rem;
}

.seccion-tucesta .cantidad-precio-carrito .selector-cantidad-producto {
    display: flex;
    flex-basis: 25%;
    border: 1px solid #CCC;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    max-width: 100px;
}

.seccion-tucesta .cantidad-precio-carrito .boton-cantidad {
    width: 25%;
    height: 21px;
    background: white;
    border: none;
    font-size: 1.2rem;
    color: #3A3A34;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.seccion-tucesta .cantidad-precio-carrito .boton-cantidad .icono-cantidad {
    width: 15px;
}

.seccion-tucesta .cantidad-precio-carrito .boton-cantidad:hover {
    background-color: #f5f5f5;
}

.seccion-tucesta .cantidad-precio-carrito .input-cantidad {
    width: 48%;
    border: none;
    text-align: center;
    font-size: 1rem;
    color: #3A3A34;
}

.seccion-tucesta .info-producto-carrito .input-cantidad:focus {
    outline: none;
}

.seccion-tucesta .precio-producto-carrito {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3A3A34;
}

.seccion-tucesta .boton-eliminar-producto-carrito {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.seccion-tucesta .boton-eliminar-producto-carrito:hover {
    opacity: 1;
}

.seccion-tucesta .boton-eliminar-producto-carrito .icono-eliminar {
    width: 20px;
    height: 20px;
}

.seccion-tucesta .carrito-vacio {
    text-align: center;
    padding: 60px 20px;
}

.seccion-tucesta .carrito-vacio p {
    font-size: 1.3rem;
    color: #7E7E7C;
    margin: 0 0 30px 0;
}

.seccion-tucesta .boton-seguir-comprando {
    display: inline-block;
    padding: 12px 30px;
    background-color: #7E7E7C;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease;
}

.seccion-tucesta .boton-seguir-comprando:hover {
    background-color: #3A3A34;
}

.seccion-tucesta .columna-resumen {
    display: flex;
    flex-direction: column;
}

.seccion-tucesta .resumen-pedido {
    position: sticky;
    top: 110px;
}

.seccion-tucesta .resumen-pedido .cuadro-resumen-totales {
    background-color: #f5f5f5;
    padding: 30px;
}

.seccion-tucesta .titulo-resumen {
    font-size: 1.5rem;
    font-weight: 500;
    color: #7E7E7C;
}

.seccion-tucesta .info-articulos {
    margin-bottom: 20px;
}

.seccion-tucesta .numero-articulos {
    font-size: 1rem;
    color: #7E7E7C;
    text-decoration: underline;
}

.seccion-tucesta .lineas-resumen {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.seccion-tucesta .linea-resumen {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seccion-tucesta .linea-resumen span {
    font-size: 1rem;
    color: #3A3A34;
}

.seccion-tucesta .valor-resumen {
    font-weight: 500;
}

.seccion-tucesta .total-resumen {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5px;
}

.seccion-tucesta .texto-total {
    font-size: 1.2rem;
    font-weight: 500;
    color: #3A3A34;
}

.seccion-tucesta .precio-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3A3A34;
}

.seccion-tucesta .texto-igic {
    font-size: 0.9rem;
    color: #7E7E7C;
}


.seccion-tucesta .resumen-pedido .cuadro-resumen-boton {
    padding: 0;
}

.seccion-tucesta .boton-tramitar-pedido {
    width: 100%;
    padding: 11px;
    background-color: #7E7E7C;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.seccion-tucesta .boton-tramitar-pedido:hover {
    background-color: #3A3A34;
}


.seccion-tucesta .resumen-pedido .cuadro-resumen-cupon {
    padding: 1.2rem 0 0rem 30px;
}

.seccion-tucesta .titulo-cupon {
    font-size: 1rem;
    color: #3A3A34;
    margin: 0 0 10px 0;
}

.seccion-tucesta .contenedor-input-cupon {
    display: flex;
    gap: 10px;
}

.seccion-tucesta .input-cupon {
    flex: 1;
    padding: 5px 15px;
    border: 1px solid #d4c4b8;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #3A3A34;
}

.seccion-tucesta .input-cupon:focus {
    flex: 50%;
    outline: none;
    border-color: #7E7E7C;
}

.seccion-tucesta .boton-validar-cupon {
    flex: 50%;
    padding: 5px 20px;
    background-color: #7E7E7C;
    color: white;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.seccion-tucesta .boton-validar-cupon:hover {
    background-color: #3A3A34;
}

.seccion-tucesta .cupon-aplicado {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 4px;
}

.seccion-tucesta .texto-cupon {
    font-size: 0.95rem;
    color: #2e7d32;
    font-weight: 500;
}

.seccion-tucesta .boton-eliminar-cupon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.seccion-tucesta .boton-eliminar-cupon:hover {
    opacity: 1;
}

.seccion-tucesta .icono-eliminar-cupon {
    width: 18px;
    height: 18px;
}

.seccion-tucesta .resumen-pedido .cuadro-resumen-info-adicional {
    padding: 1rem 0 0 30px;
}

.seccion-tucesta .info-adicional {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #7E7E7C;
}

.seccion-tucesta .linea-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seccion-tucesta .icono-info {
    width: 20px;
    height: 20px;
}

.seccion-tucesta .linea-info span {
    font-size: 0.8rem;
    color: #3A3A34;
}



.seccion-tucesta .resumen-pedido .cuadro-resumen-gastos-envio {
    padding: 0.6rem 0 0 30px;
}

.seccion-tucesta .gastos-envio-estimados {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #c7c7c7;
}

.seccion-tucesta .titulo-gastos {
    font-size: 1rem;
    font-weight: 500;
    color: #3A3A34;
}

.seccion-tucesta .detalle-gastos {
    font-size: 0.9rem;
    color: #7E7E7C;
    margin: 0;
}

@media (max-width: 1024px) {
    main.secciones.tucesta {
        padding-bottom: 0;
    }

    .seccion-tucesta .contenido-tucesta {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .seccion-tucesta .columna-resumen {
        order: 1;
    }

    .seccion-tucesta .columna-productos {
        order: 2;
        margin-top: 3rem;
        padding: 20px;
    }

    .seccion-tucesta .resumen-pedido {
        position: static;
    }
}

@media (max-width: 768px) {

    .seccion-tucesta {
        padding: 20px 0;
    }

    .seccion-tucesta .columna-resumen {
        order: 1;
    }

    .seccion-tucesta .contenedor-tucesta {
        padding: 0 20px;
    }

    .seccion-tucesta .titulo-tucesta {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .seccion-tucesta .columna-productos {
        order: 2;
        padding: 20px;
    }

    .seccion-tucesta .producto-carrito {
        flex-direction: column;
        gap: 15px;
    }

    .seccion-tucesta .imagen-producto-carrito {
        width: 100%;
        height: auto;
    }

    .seccion-tucesta .info-producto-carrito {
        padding-right: 0;
    }

    .seccion-tucesta .boton-eliminar-producto-carrito {
        top: 10px;
        right: 10px;
    }

    .seccion-tucesta .resumen-pedido {
        padding: 20px;
    }

    .seccion-tucesta .titulo-resumen {
        font-size: 1.3rem;
    }
}

@media (hover: none) {
    .seccion-tucesta .info-producto-carrito h4.nombre-producto-carrito:hover::after {
        width: 0px;
    }

    .seccion-tucesta .cantidad-precio-carrito .boton-cantidad:hover {
        background-color: white;
    }

    .seccion-tucesta .boton-eliminar-producto-carrito:hover {
        opacity: 0.7;
    }

    .seccion-tucesta .boton-seguir-comprando:hover {
        background-color: #7E7E7C;
    }

    .seccion-tucesta .boton-tramitar-pedido:hover {
        background-color: #7E7E7C;
    }

    .seccion-tucesta .boton-validar-cupon:hover {
        background-color: #7E7E7C;
    }

    .seccion-tucesta .boton-eliminar-cupon:hover {
        opacity: 0.7;
    }
}