/* Native WooCommerce controls inside AC Solar's existing visual system. */
.acs-cart-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:6px 12px;border:1px solid var(--borde,rgba(15,26,34,.13));border-radius:999px;text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap;color:var(--texto,#16232c);background:var(--blanco,#fff)}
.acs-cart-link svg{display:block;flex:none}.acs-cart-count{min-width:21px;min-height:21px;display:grid;place-items:center;border-radius:50%;padding:1px 5px;background:var(--verde,#0f7a42);color:#fff;font-size:11px}.acs-cart-count[hidden]{display:none}
.acs-cart-link:hover{border-color:var(--verde,#0f7a42)}
.acs-cart-link:focus-visible,.acs-product-purchase :is(button,a,input,select):focus-visible,.acs-commerce-page :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--verde,#0f7a42);outline-offset:3px}
.ficha__acciones:has(.acs-product-purchase){display:block}.acs-product-purchase{width:100%;scroll-margin-top:130px}
.acs-product-purchase form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0!important}
.acs-product-purchase form.cart .quantity{float:none!important;margin:0!important;flex:0 0 86px}
.acs-product-purchase .quantity input.qty,.acs-commerce-page .quantity input.qty{width:86px;min-height:52px;border:1px solid var(--borde,rgba(15,26,34,.13));border-radius:10px;padding:10px;font:inherit;background:#fff;color:var(--texto,#16232c)}
.acs-product-purchase form.cart .single_add_to_cart_button{flex:1;float:none!important;min-height:52px}
.acs-product-purchase :is(.variations_form,.grouped_form){display:block!important}.acs-product-purchase :is(.single_variation_wrap,.woocommerce-variation-add-to-cart){width:100%}
.acs-product-purchase .woocommerce-variation-add-to-cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.acs-product-purchase .variations{width:100%;border:0;margin-bottom:15px}
.acs-product-purchase .variations :is(th,td){border:0;padding:6px 0;text-align:left;vertical-align:middle}.acs-product-purchase .variations th{padding-right:14px;width:30%;font-weight:600}
.acs-product-purchase .variations select{min-height:48px;width:100%;padding:10px 34px 10px 12px;border:1px solid var(--borde,rgba(15,26,34,.13));border-radius:8px;background:#fff;font:inherit;color:var(--texto,#16232c)}
.acs-product-purchase .reset_variations{display:inline-block;font-size:13px;margin-top:6px}.acs-product-purchase .woocommerce-variation-description p{font-size:15px}
.acs-product-purchase .group_table{width:100%;margin-bottom:16px}.acs-product-purchase .group_table td{padding:8px 4px}.acs-product-purchase .group_table .quantity{min-width:70px}
.acs-product-purchase .stock{font-size:14px}.acs-product-purchase .stock.in-stock{display:none}.acs-commerce-stock{color:var(--texto,#16232c);font-size:14px;font-weight:600;align-self:center}
.acs-product-purchase button.button,.acs-commerce-page :is(a.button,button.button,input.button),.acs-commerce-notices .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;border:1.5px solid transparent;min-height:48px;padding:12px 24px;background:var(--verde,#0f7a42);color:#fff;font-family:var(--cuerpo,'IBM Plex Sans',sans-serif);font-size:16px;font-weight:600;line-height:1.35;text-decoration:none;cursor:pointer;box-shadow:none;text-shadow:none}
.acs-product-purchase button.button:hover,.acs-commerce-page :is(a.button,button.button,input.button):hover,.acs-commerce-notices .button:hover{background:var(--verde-hondo,#0a5730);color:#fff}
.acs-product-purchase button.button:disabled,.acs-commerce-page button.button:disabled{opacity:.55;cursor:not-allowed}
.producto__acciones a.added_to_cart{grid-column:1/-1;display:block;color:var(--verde,#0f7a42);font-size:14px;font-weight:600;text-align:center;padding:5px}.producto__acciones .ajax_add_to_cart.loading{opacity:.7;pointer-events:none}
.ficha__valor :is(del,ins),.precio__valor :is(del,ins),.barra-compra__valor :is(del,ins){background:none;color:inherit;text-decoration:none}.ficha__valor del,.precio__valor del,.barra-compra__valor del{font-size:.7em;opacity:.75;text-decoration:line-through;margin-right:6px}
.ficha__valor .woocommerce-Price-currencySymbol,.precio__valor .woocommerce-Price-currencySymbol{margin-right:4px}
.acs-commerce-page{padding-block:clamp(34px,5vw,70px);min-height:50vh}.acs-commerce-page .acs-commerce-content{margin-top:28px}
.acs-commerce-page h1{font-size:clamp(32px,5vw,54px)}.acs-commerce-page h2{font-size:clamp(24px,3vw,34px);margin:0 0 24px}.acs-commerce-page h3{font-size:23px;margin:20px 0 16px}
.acs-commerce-page .woocommerce{font-family:var(--cuerpo,'IBM Plex Sans',sans-serif);color:var(--texto,#16232c)}
.acs-commerce-page .woocommerce :is(p,ul){max-width:none}
.acs-commerce-page .woocommerce form .form-row label{font-size:15px;line-height:1.5;font-weight:600;margin-bottom:7px}
.acs-commerce-page .woocommerce form .form-row :is(input.input-text,textarea,select){min-height:48px;padding:11px 13px;border:1px solid var(--borde,rgba(15,26,34,.13));border-radius:8px;background:#fff;box-shadow:none;color:var(--texto,#16232c);font:inherit;line-height:1.4}
.acs-commerce-page .woocommerce form .form-row textarea{min-height:100px}.acs-commerce-page .woocommerce form .form-row{padding:3px 0;margin-bottom:15px}
.acs-commerce-page .select2-container .select2-selection--single{height:48px;border:1px solid var(--borde,rgba(15,26,34,.13));border-radius:8px}.acs-commerce-page .select2-container .select2-selection__rendered{line-height:46px;padding-left:13px;color:var(--texto,#16232c)}.acs-commerce-page .select2-container .select2-selection__arrow{height:46px}
.acs-commerce-page table.shop_table{border:1px solid var(--borde,rgba(15,26,34,.13));border-collapse:separate;border-radius:12px;margin-bottom:24px;font-size:15px;overflow:hidden}
.acs-commerce-page table.shop_table :is(th,td){padding:15px 12px;vertical-align:middle;border-color:var(--borde,rgba(15,26,34,.13))}
.acs-commerce-page table.shop_table th{background:var(--hueso,#f4f7f5);font-weight:600}.acs-commerce-page table.shop_table img{width:84px;max-width:84px;height:auto;object-fit:contain}
.acs-commerce-page table.shop_table td.product-name a{font-weight:600;text-decoration:none}.acs-commerce-page .woocommerce a.remove{color:var(--texto,#16232c)!important;background:var(--hueso,#f4f7f5);font-size:24px}.acs-commerce-page .woocommerce a.remove:hover{background:var(--verde,#0f7a42);color:#fff!important}
.acs-commerce-page .woocommerce .coupon #coupon_code{width:160px;min-height:48px;border:1px solid var(--borde,rgba(15,26,34,.13));border-radius:8px;padding:10px 12px;font:inherit}
.acs-commerce-page .cart_totals{padding:24px;background:var(--hueso,#f4f7f5);border:1px solid var(--borde,rgba(15,26,34,.13));border-radius:16px}.acs-commerce-page .cart_totals table.shop_table{background:#fff}
.acs-commerce-page .woocommerce .wc-proceed-to-checkout a.checkout-button{font-size:17px;width:100%;margin-bottom:0}
.acs-commerce-page #order_review{border:1px solid var(--borde,rgba(15,26,34,.13));border-radius:16px;padding:22px;background:var(--hueso,#f4f7f5)}
.acs-commerce-page #order_review table{background:#fff}.acs-commerce-page #payment{background:#fff;border-radius:12px}.acs-commerce-page #payment ul.payment_methods{padding:18px;border-bottom-color:var(--borde,rgba(15,26,34,.13))}
.acs-commerce-page #payment .payment_box{background:var(--hueso,#f4f7f5);color:var(--texto,#16232c);border-radius:8px;font-size:15px}.acs-commerce-page #payment .payment_box::before{border-bottom-color:var(--hueso,#f4f7f5)}
.acs-commerce-page #payment .place-order{padding:18px}.acs-commerce-page #place_order{float:none;width:100%;font-size:17px}.acs-commerce-page .woocommerce-privacy-policy-text{font-size:13px}
.acs-commerce-page .woocommerce :is(.woocommerce-message,.woocommerce-error,.woocommerce-info),.acs-commerce-notices :is(.woocommerce-message,.woocommerce-error,.woocommerce-info){border:1px solid var(--borde,rgba(15,26,34,.13));border-top:3px solid var(--verde,#0f7a42);border-radius:9px;background:var(--hueso,#f4f7f5);color:var(--texto,#16232c);padding:18px 22px 18px 46px;list-style:none;font-size:15px;line-height:1.5;margin:18px 0}
.acs-commerce-page .woocommerce-error,.acs-commerce-notices .woocommerce-error{border-top-color:#b42318}.acs-commerce-page .woocommerce :is(.woocommerce-message,.woocommerce-info)::before,.acs-commerce-notices :is(.woocommerce-message,.woocommerce-info)::before{color:var(--verde,#0f7a42)}
.acs-commerce-notices:empty{display:none}.acs-commerce-notices .button{font-size:14px;min-height:40px;padding:8px 16px}
.acs-commerce-status{position:fixed;right:20px;bottom:24px;z-index:120;max-width:min(420px,calc(100vw - 40px));border:1px solid var(--borde,rgba(15,26,34,.13));border-radius:14px;background:#fff;box-shadow:0 8px 35px rgba(15,26,34,.12);padding:16px 20px;color:var(--texto,#16232c);font-size:15px}.acs-commerce-status a{color:var(--verde,#0f7a42);font-weight:600;display:block;margin-top:6px}
@media(max-width:1000px){.acs-cart-label{display:none}.acs-cart-link{padding:7px 10px}}
@media(max-width:768px){.acs-commerce-page table.shop_table :is(th,td){padding:12px 10px}.acs-commerce-page .cart_totals{padding:18px}.acs-commerce-page #order_review{padding:14px}.acs-commerce-page .woocommerce :is(.col2-set .col-1,.col2-set .col-2){float:none;width:100%;margin-bottom:24px}.acs-commerce-page .woocommerce form .form-row-first,.acs-commerce-page .woocommerce form .form-row-last{float:none;width:100%}.acs-commerce-notices .button{float:none;display:flex;width:max-content;margin-bottom:10px}.acs-commerce-status{bottom:90px}.acs-product-purchase form.cart .single_add_to_cart_button{font-size:15px;padding-inline:16px}}
@media(prefers-reduced-motion:reduce){.acs-product-purchase,.acs-commerce-page{scroll-behavior:auto}}
/* Native price spans inherit the existing price typography. */
.precio__valor :is(.woocommerce-Price-amount,bdi),.ficha__valor :is(.woocommerce-Price-amount,bdi),.barra-compra__valor :is(.woocommerce-Price-amount,bdi){font:inherit;letter-spacing:inherit;color:inherit}
/* The shared cart and confirmation toast already expose the next step. */
.producto__acciones a.added_to_cart{display:none}
@media(max-width:768px){.cabecera .acs-cart-link{position:relative;flex:none}.cabecera .acs-cart-count{position:absolute;right:-5px;top:-5px;border:2px solid #fff;min-width:22px;min-height:22px}}
/* Woo's block cart and checkout share the same brand controls as classic forms. */
.acs-commerce-page .wc-block-components-button:not(.is-link){min-height:48px;padding:12px 24px;border:1.5px solid transparent;border-radius:999px;background:var(--verde,#0f7a42);color:#fff;font:600 16px/1.35 var(--cuerpo,'IBM Plex Sans',sans-serif);text-decoration:none;box-shadow:none}
.acs-commerce-page .wc-block-components-button:not(.is-link):hover{background:var(--verde-hondo,#0a5730);color:#fff}
.acs-commerce-page .wc-block-components-button:disabled{opacity:.55;cursor:not-allowed}
.acs-commerce-page .wc-block-components-text-input input,.acs-commerce-page .wc-block-components-textarea,.acs-commerce-page .wc-block-components-combobox .components-combobox-control__input{border-radius:8px;border-color:var(--borde,rgba(15,26,34,.13));font-family:var(--cuerpo,'IBM Plex Sans',sans-serif);color:var(--texto,#16232c)}
.acs-commerce-page .wc-block-components-order-summary{border-radius:12px}
/* Physical facts stay readable next to the purchase controls on every screen. */
.acs-product-measures{margin:20px 0;padding:16px 18px;background:#f3f8f5;border:1px solid #d5e5db;border-radius:8px;min-width:0}
.acs-product-measures h2{margin:0 0 10px;font-size:16px;line-height:1.4;font-weight:700;color:#173e35;letter-spacing:0}
.acs-product-measures dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}
.acs-product-measures dl>div{min-width:0}
.acs-product-measures dt{font-size:12px;line-height:1.5;color:#53665d}
.acs-product-measures dd{margin:2px 0 0;font-size:16px;line-height:1.5;font-weight:600;color:#173e35;overflow-wrap:anywhere}
@media(max-width:380px){.acs-product-measures{padding:14px}.acs-product-measures dl{gap:10px 12px}.acs-product-measures dd{font-size:15px}}
