/* Buzz Productos Compuestos - estilos base (mismas clases que la configuración anterior) */
.ywcp_components_container { margin: 0 0 1.2em; }
.ywcp_components_single_item { border: 1px solid rgba(0,0,0,.1); border-radius: 6px; padding: 14px 16px; margin-bottom: 14px; background: rgba(0,0,0,.015); }
.ywcp_components_single_item > h3 { margin: 0 0 8px; font-size: 1.05em; position: relative; }
.ywcp_components_single_item abbr { text-decoration: none; font-size: .75em; opacity: .7; border: 0; cursor: default; }
.ywcp_components_single_item abbr.required { color: #b32d2e; opacity: 1; }
.ywcp_component_description { margin: 0 0 10px; opacity: .8; font-size: .92em; }
.ywcp_component_otpions_select { width: 100%; max-width: 100%; }
.ywcp_component_options_radio_input_container { margin: 4px 0; }
.ywcp_component_options_radio_input_container input { margin-right: 6px; }

/* Miniaturas */
.ywcp_component_otpions_thumbnails_container ul.products { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ywcp_component_otpions_thumbnails_container ul.products li { width: calc(33.333% - 8px); min-width: 130px; border: 2px solid transparent; border-radius: 6px; padding: 8px; cursor: pointer; background: #fff; box-sizing: border-box; text-align: center; margin: 0; float: none; }
.ywcp_component_otpions_thumbnails_container ul.products li:hover { border-color: rgba(0,0,0,.25); }
.ywcp_component_otpions_thumbnails_container ul.products li.ywcp_selected { border-color: currentColor; }
.ywcp_component_otpions_thumbnails_container ul.products li.out-of-stock { opacity: .45; cursor: not-allowed; }
.ywcp_image_container img { max-width: 100%; height: auto; }
.ywcp_product_title { font-weight: 600; }
.ywcp_product_link, .ywcp_product_sku, .ywcp_product_short_description { font-size: .85em; }

/* Panel de selección */
.ywcp_inner_selected_container { display: flex; gap: 14px; margin-top: 10px; align-items: flex-start; }
.ywcp_inner_selected_container .ywcp_image_container { flex: 0 0 90px; }
.ywcp_thumb_replace ~ .ywcp_component_options_list_container { }
.ywcp_components_single_item.ywcp_has_selection .ywcp_selection_clear { display: inline-block; }
.ywcp_selection_clear { display: none; font-size: .85em; margin-top: 6px; }
.ywcp_component_quantity { margin-top: 8px; }
.ywcp_component_quantity input { width: 70px; }
.ywcp_component_subtotal { margin-top: 6px; font-size: .9em; display: none; }

/* Acordeón */
.ywcp_accordion .ywcp_components_single_item > h3 { cursor: pointer; }
.ywcp_accordion .ywcp_selection_open, .ywcp_accordion .ywcp_selection_close { position: absolute; right: 0; top: 0; text-decoration: none; }
.ywcp_accordion .ywcp_selection_close { display: none; }
.ywcp_accordion .ywcp_components_single_item > *:not(h3) { display: none; }
.ywcp_accordion .ywcp_components_single_item.ywcp_selection_opened > *:not(h3):not(.ywcp_selection_clear):not(.ywcp_component_subtotal):not(.ywcp_component_quantity):not(script) { display: block; }
.ywcp_accordion .ywcp_components_single_item.ywcp_selection_opened > .ywcp_component_quantity { display: block; }
.ywcp_accordion .ywcp_components_single_item.ywcp_selection_opened .ywcp_selection_open { display: none; }
.ywcp_accordion .ywcp_components_single_item.ywcp_selection_opened .ywcp_selection_close { display: inline; }
.ywcp_accordion .ywcp_components_single_item.ywcp_selection_opened.ywcp_has_selection > .ywcp_selection_clear { display: inline-block; }
.ywcp_accordion .ywcp_components_single_item > .ywcp_component_subtotal { display: none; }

/* Pasos */
.ywcp_step .ywcp_components_single_item { display: none; }
.ywcp_step .ywcp_components_single_item.ywcp_step_current { display: block; }
.ywcp_step_navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.ywcp_step_navigation a { text-decoration: none; font-weight: 600; }
.ywcp_step_disabled { visibility: hidden; }
.ywcp_clear { clear: both; }

/* Totales y aviso */
.ywcp_wcp_group_total table { width: 100%; margin: 0 0 1em; }
.ywcp_wcp_group_total td:last-child { text-align: right; }
#ywcp_wcp_tr_order_total td { font-weight: 700; }
.ywcp_customer_advice { display: none; color: #b32d2e; font-size: .9em; margin-bottom: 10px; }
.ywcp_form_loading_message { display: none; }
form.cart.ywcp .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 600px) { .ywcp_component_otpions_thumbnails_container ul.products li { width: calc(50% - 6px); } }

/* Stock */
.ywcp_component_otpions_thumbnails_container ul.products li.out-of-stock { pointer-events: none; }
.ywcp_out_badge { display: inline-block; margin-top: 4px; font-size: .8em; color: #b32d2e; font-weight: 600; }
.ywcp_stock_blocked, .ywcp_stock_advice { color: #b32d2e; font-size: .9em; margin: 0 0 10px; }
.ywcp_stock_advice { display: none; }
.ywcp_stock_advice p { margin: 0; }

/* Ocultar lista de opciones cuando ya hay una elegida (ajuste opcional) */
.ywcp_components_single_item.ywcp_list_hidden > .ywcp_component_options_list_container { display: none !important; }

/* Radio: el nombre va al costado del botón */
.ywcp_component_options_radio_input_container { display: flex !important; align-items: center; gap: 8px; }
.ywcp_component_options_radio_input_container input[type=radio] { margin: 0 !important; flex: 0 0 auto; }
.ywcp_component_options_radio_input_container label { display: inline !important; width: auto !important; margin: 0 !important; flex: 1 1 auto; }
