
@media (max-width: 768px) {
    .hero {
        position: relative;
        /* Asegura que los elementos hijos absolutos se posicionen en base a esta sección */
        overflow: hidden;
        /* Evita que aparezcan espacios en blanco */
    }

    .wave-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        overflow: hidden;
        z-index: 1;
        /* Asegura que la onda esté sobre la sección */
    }

    .wave-container svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .wave-container svg {
        width: 100%;
        height: auto;
        min-height: 120px;
        /* Ajusta si aún se ve el borde */
    }
}











.btn-container {
    margin-top: 20px;
}







.container {
    max-width: 1200px;
    margin: 0 auto;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-container {
    display: flex;
    gap: 20px;
}

.cart-table {
    flex: 2;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cart-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.cart-table .product-thumbnail img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

.cart-table .product-remove a {
    color: #ff4d4d;
    font-size: 18px;
    text-decoration: none;
}

.cart-table .product-remove a:hover {
    color: #cc0000;
}

.cart-table .quantity input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.cart-totals {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-totals h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.cart-totals table {
    width: 100%;
    margin-bottom: 20px;
}

.cart-totals td {
    padding: 10px 0;
}

.cart-totals .checkout-button {
    width: 100%;
    padding: 10px;
    background-color: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-totals .checkout-button:hover {
    background-color: #357abd;
}

.product-list {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-list h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.product-list ul {
    list-style: none;
    padding: 0;
}

.product-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-list img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 10px;
}

.product-list .product-title {
    font-size: 14px;
    color: #333;
}

.product-list .price {
    font-size: 14px;
    color: #4a90e2;
}

.product-list .price del {
    color: #999;
    margin-right: 5px;
}

.product-list .price ins {
    text-decoration: none;
}






.hero {
    padding: 79px 0px !important;
}























/* Contenedor Principal */
.cart-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* Tabla del Carrito */
.cart-table {
    flex: 2;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    /* Permite desplazamiento horizontal en móviles */
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Evita que se desordene en pantallas pequeñas */
}

.cart-table th,
.cart-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cart-table th {
    background-color: #f8f9fa;
}

/* Imágenes del Carrito */
.cart-table .product-thumbnail img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

/* Botón Eliminar */
.cart-table .product-remove a {
    color: #ff4d4d;
    font-size: 18px;
    text-decoration: none;
}

.cart-table .product-remove a:hover {
    color: #cc0000;
}

/* Cantidad */
.cart-table .product-quantity input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

/* Totales */
.cart-totals {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-totals table {
    width: 100%;
    margin-bottom: 20px;
}

.cart-totals td {
    padding: 10px 0;
}

.cart-totals .checkout-button {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-totals .checkout-button:hover {
    background-color: #357abd;
}

/* Lista de Productos Recomendados */
.product-list {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-list h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.product-list ul {
    list-style: none;
    padding: 0;
}

.product-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-list img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-right: 10px;
}

.product-list .product-title {
    font-size: 14px;
    color: #333;
}

.product-list .price {
    font-size: 14px;
    color: #4a90e2;
}

.product-list .price del {
    color: #999;
    margin-right: 5px;
}

.product-list .price ins {
    text-decoration: none;
}

/* HACER RESPONSIVE */
@media (max-width: 1024px) {
    .cart-container {
        flex-direction: column;
    }

    .cart-table,
    .cart-totals,
    .product-list {
        width: 100%;
    }

    .product-list li {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cart-table table {
        min-width: auto;
    }

    .cart-table th,
    .cart-table td {
        font-size: 14px;
        padding: 8px;
    }

    .cart-table .product-thumbnail img {
        width: 50px;
        height: 50px;
    }

    .cart-table .product-quantity input {
        width: 50px;
    }
}


.qty-cell { white-space: nowrap; }
.qty-cell button{
    width:26px;height:26px;border:1px solid #ddd;background:#fff;font-weight:bold;
}
.qty-input{width:45px;text-align:center;margin:0 4px;}
