.cart-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

.cart-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.products-column {
    flex: 0 0 62%;
}

.summary-column {
    flex: 0 0 34%;
}

.top-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.btn-clear {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-clear:hover {
    color: #ef4444;
}

.product-card {
    background: white;
    border-radius: 24px;
    border: 1px solid #d4e8da;
    padding: 30px;
    margin-bottom: 24px;
    position: relative;
    display: flex;
    gap: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.product-img-wrapper {
    width: 120px;
    height: 120px;
    background: #f7fbf8;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4e8da;
    flex-shrink: 0;
}

.product-details-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.product-controls-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-wrapper {
    text-align: right;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #d4e8da;
    cursor: pointer;
    transition: 0.2s;
}

.delivery-option:hover,
.delivery-option.active {
    border-color: #00b050;
    background: #f0fdf4;
}

/* --- Estilos Responsivos Estrictos --- */
@media (max-width: 992px) {
    .cart-wrapper {
        flex-direction: column;
    }

    .products-column,
    .summary-column {
        flex: 0 0 100%;
        width: 100%;
    }

    .summary-column {
        position: static !important;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .top-nav-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 30px;
    }

    .product-card {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .product-img-wrapper {
        width: 100%;
        height: 140px;
    }

    .product-details-content {
        padding-right: 0;
    }

    .product-title {
        padding-right: 40px;
    }

    .product-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .product-controls-left {
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .price-wrapper {
        width: 100%;
        text-align: right;
        padding-top: 10px;
        border-top: 1px dashed #e2e8f0;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }

    .price-wrapper::before {
        content: "Subtotal:";
        font-size: 11px;
        font-weight: 800;
        color: #94a3b8;
        text-transform: uppercase;
    }
}