/* Estilos generales */
.container-carrito,
.container-carrito-deseos {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 26px;
}

.cart-items,
.cart-items-deseos {
    flex: 2;
}

.cart-summary {
    flex: 1;
}

/* Estilos para los productos */
.product,
.product-deseos {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-image,
.product-image-deseos {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

.product-image img,
.product-image-deseos img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.product-details,
.product-details-deseos {
    flex-grow: 1;
}

.product-title,
.product-title-deseos {
    font-weight: bold;
    margin: 0 0 5px 0;
}

.product-description,
.product-description-deseos {
    color: #666;
    margin: 0 0 10px 0;
}

.product-price,
.product-price-deseos,
.product-total-price,
.product-total-price-deseos {
    font-weight: bold;
}

/* Control de cantidad */
.quantity-control,
.quantity-control-deseos {
    display: flex;
    align-items: center;
}

.quantity-btn,
.quantity-btn-deseos {
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    font-size: 18px;
    cursor: pointer;
    border: none;
}

.quantity-input,
.quantity-input-deseos {
    width: 40px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 0 5px;
}

/* Estilos para el resumen */
.summary-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total, .summary-total2 {
    font-weight: bold;
    font-size: 1.2em;
}

/* Botón de checkout */
.checkout-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #000;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

/* Opciones de envío */
.shipping-options {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shipping-option {
    margin-bottom: 10px;
}

.shipping-option label {
    display: flex;
    align-items: center;
}

.shipping-option input[type="radio"] {
    margin-right: 10px;
}

.shipping-price {
    color: #666;
    font-size: 0.9em;
}

/* Responsividad */
@media (max-width: 768px) {
    .container-carrito,
    .container-carrito-deseos {
        flex-direction: column;
    }
}

/* Formulario de finalización de compra */
.checkout-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    flex: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

.product-summary {
    margin-bottom: 20px;
}

.product-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.product-item:last-child {
    border-bottom: none;
}

.product-name {
    font-weight: bold;
}

.product-price {
    text-align: right;
}

#sinpe-movil-upload,
#emma-pay-message {
    display: none;
}
