/* Estilos principales del carrito */
.custom-cart-wrapper { margin-bottom: 2em; clear: both; width: 100%; }
.cart-group { border: 1px solid #eee; margin-bottom: 20px; border-radius: 5px; overflow: hidden; }
.group-title { background: #f8f8f8; padding: 10px 15px; font-size: 16px; margin: 0; }
.group-subtotal { background: #f0f0f0; padding: 10px 15px; text-align: right; font-weight: bold; }
.actions { margin: 20px 0; text-align: right; }
.grouped-cart-table { margin-bottom: 0 !important; }

/* Estilos para productos chained */
.chained-products-container { display: none; margin: 10px 0; padding: 10px; background: #f9f9f9; border: 1px solid #eee; border-radius: 4px; }
.chained-products-title { margin-bottom: 10px; font-weight: bold; }
.chained-products-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chained-product-item { display: flex; width: calc(50% - 10px); align-items: center; background: #fff; padding: 5px; border: 1px solid #eee; border-radius: 3px; }
.chained-product-image { width: 50px; margin-right: 10px; }
.chained-product-name { flex: 1; }

/* Botón para ver componentes */
.view-components-btn { display: inline-block; margin-top: 5px; padding: 3px 10px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 3px; font-size: 12px; cursor: pointer; }
.view-components-btn:hover { background: #e0e0e0; }

/* Estilos para secciones principales */
.cart-summary { margin-top: 20px; padding: 15px; background: #f9f9f9; border: 1px solid #eee; border-radius: 5px; }
.shipping-calculator-section { margin-top: 20px; padding: 15px; background: #f5f5f5; border: 1px solid #e5e5e5; border-radius: 5px; }
.shipping-calculator-form { display: block !important }
.cart-totals-section { margin-top: 20px; }

/* Estilos responsivos */
@media (max-width: 768px) {
    .chained-product-item { width: 100%; }
}