/* Integración WordPress y WooCommerce — Pictográfica 1.6.0 */
:root{--ap-font:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,sans-serif;--ap-ink:#17251e;--ap-muted:#62716a;--ap-line:#dfe7e2;--ap-surface:#fff;--ap-soft:#f5f8f6;--ap-radius:20px;--ap-shadow:0 12px 36px rgba(18,40,27,.06);--ap-header-overlap:114px;--ap-green-dark:#177e43}
body,input,select,textarea,button,.woocommerce,.woocommerce-page{font-family:var(--ap-font);font-size:16px}body{background:var(--ap-soft);color:var(--ap-ink)}h1,h2,h3,h4{font-family:var(--ap-font);text-wrap:balance}a,button,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--brand-green);outline-offset:3px}.skip-link{position:absolute;top:-100px;left:20px;z-index:2000;background:white;padding:15px}.skip-link:focus{top:10px}.reveal-section.active{opacity:1;transform:none}.site-main{min-height:40vh}.content-shell{padding:64px 24px 88px}.entry-content{line-height:1.75}.entry-content img{max-width:100%;height:auto}.entry-content>p{margin-bottom:20px}.ap-eyebrow{font-size:.75rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:var(--ap-green-dark);margin-bottom:16px}.ap-text-link{font-weight:700;color:var(--ap-green-dark);text-decoration:none}.entry-title{margin-bottom:24px}
/* Header y encuadre proporcional del nuevo PNG; el original se conserva intacto. */
.header-wrapper{position:sticky;top:20px;z-index:900;margin-bottom:calc(-1 * var(--ap-header-overlap))}.main-header{position:relative}.nav-container{height:92px}.admin-bar .header-wrapper{top:52px}.logo.ap-logo-crop{position:relative;display:block;flex:none;width:185px;aspect-ratio:2125/577;overflow:hidden}.logo.ap-logo-crop img.ap-logo-image{position:absolute;display:block;width:102.211765%;height:auto;max-width:none;max-height:none;left:-1.129412%;top:-14.211438%;margin:0}.mobile-menu-header .logo.ap-logo-crop{width:170px}.has-mega:focus-within .mega-menu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}.btn-primary,.btn-whatsapp-header,.btn-custom-quote,.btn-checkout{color:#10271a}.btn-primary:hover,.btn-whatsapp-header:hover,.btn-custom-quote:hover,.btn-checkout:hover{color:white;background:var(--ap-green-dark)}.hero-clinico{min-height:max(860px,96svh);padding:180px 0 100px}.hero-text-box{padding-top:0}.hero-clinico h1{font-size:clamp(2.5rem,4.4vw,3.5rem)}.hero-clinico p{line-height:1.75}.ap-page-banner{position:relative;isolation:isolate;display:flex;align-items:center;min-height:440px;padding:calc(var(--ap-header-overlap) + 86px) 0 80px;background:url('https://acrilicospictografica.cl/wp-content/uploads/2026/09/hero1.png') center right/cover no-repeat;color:white}.ap-page-banner:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(18,29,23,.9),rgba(18,29,23,.4))}.ap-page-banner h1{font-size:clamp(2.2rem,4.4vw,3.3rem);font-weight:800;line-height:1.16;letter-spacing:-1px;max-width:950px;overflow-wrap:break-word}.woocommerce-breadcrumb,.rank-math-breadcrumb,.yoast-breadcrumbs{display:none!important}.categories-grid .img-placeholder img{width:100%;height:100%;object-fit:cover}
@supports(overflow:clip){body{overflow-x:clip}}
/* Controles y estados compartidos de WooCommerce. */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt{font-family:var(--ap-font);background:var(--brand-green);color:#10271a;border:0;border-radius:30px;padding:14px 24px;font-size:.9rem;line-height:1.4;font-weight:750;min-height:46px;transition:background .2s,transform .2s;text-align:center;text-decoration:none}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--ap-green-dark);color:white}.woocommerce button.button:disabled,.woocommerce button.button.alt.disabled,.woocommerce button.button.alt:disabled,.woocommerce button.button:disabled[disabled]{opacity:.5;background:var(--brand-green);color:#10271a;padding:14px 24px;cursor:not-allowed}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.select2-container--default .select2-selection--single{font-family:var(--ap-font);background:white;border:1px solid var(--ap-line);border-radius:10px;padding:12px 14px;min-height:48px;font-size:.95rem;color:var(--ap-ink);max-width:100%;box-shadow:none}.woocommerce input[type=checkbox],.woocommerce input[type=radio]{accent-color:var(--ap-green-dark)}.woocommerce textarea{min-height:130px;resize:vertical}.woocommerce form .form-row{padding:0;margin-bottom:20px}.woocommerce form .form-row label{font-size:.875rem;font-weight:650;line-height:1.6;margin-bottom:8px}.woocommerce .quantity .qty{width:76px;text-align:center;min-height:48px}.woocommerce-info,.woocommerce-message,.woocommerce-error{background:white;border-radius:12px;border-top-color:var(--brand-green);font-size:.9rem;line-height:1.65;padding-top:18px;padding-bottom:18px;box-shadow:var(--ap-shadow)}.woocommerce-info:before,.woocommerce-message:before{color:var(--ap-green-dark)}.woocommerce-error{border-top-color:#bf3b38}.woocommerce div.product p.price,.woocommerce div.product span.price,.woocommerce ul.products li.product .price{color:var(--ap-green-dark);font-weight:750}.woocommerce del{color:var(--ap-muted)}.woocommerce ins{text-decoration:none}.woocommerce .star-rating{color:var(--ap-green-dark)}.woocommerce span.onsale{background:var(--ap-green-dark);color:white;line-height:1.5;min-height:0;min-width:0;padding:7px 12px;font-size:.7rem;border-radius:30px}.woocommerce .stock.in-stock{color:var(--ap-green-dark);font-weight:650}.woocommerce .stock.out-of-stock{color:#b33b34}.woocommerce small,.woocommerce .woocommerce-result-count{color:var(--ap-muted)}
/* Tienda y categorías: cuadrícula adaptable y botones alineados. */
.product-search{background:white;border:1px solid var(--ap-line);border-radius:var(--ap-radius);padding:24px;margin-bottom:24px;box-shadow:var(--ap-shadow)}.product-search label{display:block;font-size:.85rem;font-weight:700;margin-bottom:10px}.product-search>div{display:flex;gap:12px}.product-search input[type=search]{flex:1;min-width:0}.product-search button.button{flex:none}.shop-categories{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:32px}.shop-categories a{background:white;border:1px solid var(--ap-line);border-radius:30px;padding:10px 16px;text-decoration:none;font-size:.85rem;color:var(--ap-ink);line-height:1.4}.shop-categories a:hover{background:#eaf8ef;border-color:var(--brand-green);color:var(--ap-green-dark)}.woocommerce .woocommerce-result-count{font-size:.875rem;line-height:48px;margin-bottom:24px}.woocommerce .woocommerce-ordering{margin-bottom:24px}.woocommerce .woocommerce-ordering select{min-width:210px}.woocommerce ul.products{clear:both;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-bottom:40px}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto!important;margin:0!important;display:flex;flex-direction:column;min-width:0;background:white;border:1px solid var(--ap-line);border-radius:var(--ap-radius);padding:18px;box-shadow:var(--ap-shadow);transition:box-shadow .2s,transform .2s}.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(18,40,27,.11)}.woocommerce ul.products li.product a.woocommerce-loop-product__link{display:block;text-decoration:none;color:var(--ap-ink);flex:1}.woocommerce ul.products li.product a img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#f6f8f7;border-radius:12px;margin:0 0 18px;padding:8px}.ap-product-category{display:block;color:var(--ap-muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.07em;font-weight:650;margin-bottom:8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem;line-height:1.5;font-weight:700;padding:0;margin:0 0 12px;color:var(--ap-ink)}.woocommerce ul.products li.product .price{font-size:1rem;line-height:1.5;margin-bottom:16px}.woocommerce ul.products li.product .star-rating{margin-bottom:12px;font-size:.8rem}.woocommerce ul.products li.product .button{margin-top:8px;width:100%;font-size:.8rem;padding:12px 14px;min-height:44px}.woocommerce ul.products li.product .added_to_cart{padding-top:10px;text-align:center;font-size:.8rem;font-weight:650;color:var(--ap-green-dark)}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;justify-content:center;gap:8px}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border:1px solid var(--ap-line);background:white;color:var(--ap-ink);border-radius:10px;min-width:44px;min-height:44px;display:grid;place-items:center;font-size:.85rem}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--brand-green);border-color:var(--brand-green)}
/* Ficha individual: galería y panel de compra nativos, sin ocultar variantes ni stock. */
.woocommerce div.product div.images{width:49%;margin-bottom:40px}.woocommerce div.product div.summary{width:46%;background:white;border:1px solid var(--ap-line);border-radius:24px;padding:32px;box-shadow:var(--ap-shadow);margin-bottom:40px;line-height:1.75}.woocommerce div.product div.images img{border-radius:18px;background:white;object-fit:contain}.woocommerce div.product div.images .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.woocommerce div.product div.images .flex-control-thumbs li{width:calc(25% - 8px);border:1px solid var(--ap-line);border-radius:10px;overflow:hidden}.woocommerce div.product p.price{font-size:1.75rem;margin-bottom:18px}.woocommerce-product-details__short-description{color:var(--ap-muted);font-size:.95rem;margin:20px 0 26px}.woocommerce-product-details__short-description p{margin-bottom:14px}.woocommerce div.product form.cart{margin:24px 0;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.woocommerce div.product form.cart div.quantity{margin:0}.woocommerce div.product form.cart .single_add_to_cart_button{min-height:48px;flex:1}.woocommerce div.product form.cart.variations_form{display:block}.woocommerce div.product form.cart .variations{margin-bottom:18px;table-layout:fixed;width:100%;font-size:.9rem}.woocommerce div.product form.cart .variations th{width:30%;text-align:left;vertical-align:middle}.woocommerce div.product form.cart .variations td{padding:8px 0}.woocommerce div.product form.cart .variations select{width:100%;min-width:0}.woocommerce div.product form.cart .reset_variations{font-size:.8rem;color:var(--ap-green-dark)}.woocommerce div.product .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:12px}.woocommerce div.product form.cart table.group_table td{vertical-align:middle;padding:10px 6px}.woocommerce div.product form.cart .group_table{width:100%;margin-bottom:15px}.woocommerce div.product .product_meta{border-top:1px solid var(--ap-line);padding-top:20px;color:var(--ap-muted);font-size:.8rem;line-height:1.8}.woocommerce div.product .product_meta>span{display:block}.woocommerce div.product .product_meta a{color:var(--ap-green-dark);text-decoration:none}.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:12px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin-bottom:0;display:flex;gap:8px;flex-wrap:wrap}.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-bottom:1px solid var(--ap-line)}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--ap-line);background:#edf3ef;border-radius:12px 12px 0 0;margin:0;padding:0 20px}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--ap-muted);font-size:.9rem;padding:14px 0}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:white;border-bottom-color:white}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ap-green-dark)}.woocommerce div.product .woocommerce-tabs .panel{padding:32px;background:white;border:1px solid var(--ap-line);border-top:0;border-radius:0 0 20px 20px;line-height:1.8;margin-bottom:50px;font-size:.95rem}.woocommerce div.product .woocommerce-tabs .panel h2{font-size:1.4rem;margin-bottom:18px}.woocommerce .related,.woocommerce .up-sells{clear:both}.woocommerce .related>h2,.woocommerce .up-sells>h2{font-size:1.8rem;letter-spacing:-.5px;margin-bottom:26px}.woocommerce #reviews #comments ol.commentlist li .comment-text{border-color:var(--ap-line);border-radius:14px}.woocommerce #reviews #comment{width:100%}.woocommerce #review_form #respond p{margin-bottom:16px}
/* Tablas y formularios de carrito/checkout clásico conservan shortcodes y hooks. */
.woocommerce table.shop_table{background:white;border:1px solid var(--ap-line);border-collapse:separate;border-spacing:0;border-radius:18px;overflow:hidden;font-size:.9rem;line-height:1.5}.woocommerce table.shop_table th{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;padding:18px 16px;color:var(--ap-muted);background:#f8faf9}.woocommerce table.shop_table td{padding:20px 16px;border-top:1px solid var(--ap-line);vertical-align:middle}.woocommerce table.shop_table td a{color:var(--ap-ink);font-weight:650;text-decoration:none}.woocommerce table.shop_table .product-thumbnail img{width:76px;max-width:none;height:76px;object-fit:contain;border-radius:10px;background:#f6f8f7}.woocommerce table.shop_table .product-name{overflow-wrap:anywhere}.woocommerce a.remove{color:#b33b34!important;line-height:1.1;width:28px;height:28px;font-weight:400}.woocommerce a.remove:hover{background:#fbebeb;color:#b33b34!important}.woocommerce-cart .entry-content>.woocommerce{display:flow-root}.woocommerce-cart .woocommerce-cart-form{width:64%;float:left}.woocommerce-cart .cart-collaterals{width:32%;float:right}.woocommerce-cart .cart-collaterals .cart_totals{float:none;width:100%;background:white;border:1px solid var(--ap-line);padding:24px;border-radius:20px;box-shadow:var(--ap-shadow)}.woocommerce-cart .cart_totals>h2{font-size:1.3rem;margin-bottom:20px}.woocommerce-cart .cart_totals table.shop_table{border:0}.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{padding:16px 0;background:white;overflow-wrap:anywhere}.woocommerce-cart .cart_totals .order-total .amount{font-size:1.35rem;color:var(--ap-green-dark)}.woocommerce-cart .wc-proceed-to-checkout{padding:18px 0 0}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{font-size:.9rem;margin:0;display:block;width:100%}.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.woocommerce-cart table.cart td.actions .coupon .input-text{width:150px;padding:12px;min-height:46px;margin:0}.woocommerce-cart table.cart td.actions .button{font-size:.8rem;padding:12px 16px}.woocommerce-cart .shipping-calculator-form select{width:100%}.woocommerce ul#shipping_method li{font-size:.85rem;margin-bottom:12px;line-height:1.6}.woocommerce ul#shipping_method li label{font-weight:400}.woocommerce .woocommerce-shipping-destination{font-size:.8rem}.woocommerce .return-to-shop{margin-top:25px}
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);column-gap:40px;align-items:start}.woocommerce-checkout form.checkout:before,.woocommerce-checkout form.checkout:after{display:none}.woocommerce-checkout #customer_details{grid-column:1;grid-row:1 / span 3;width:100%;background:white;border:1px solid var(--ap-line);border-radius:20px;padding:32px;box-shadow:var(--ap-shadow)}.woocommerce-checkout #customer_details .col-1,.woocommerce-checkout #customer_details .col-2{width:100%;float:none}.woocommerce-checkout #customer_details h3{font-size:1.3rem;margin-bottom:24px}.woocommerce-checkout .woocommerce-additional-fields{padding-top:24px}.woocommerce-checkout #order_review_heading{grid-column:2;font-size:1.3rem;margin-bottom:20px}.woocommerce-checkout #order_review{grid-column:2;min-width:0;background:white;border:1px solid var(--ap-line);padding:24px;border-radius:20px;box-shadow:var(--ap-shadow)}.woocommerce-checkout table.woocommerce-checkout-review-order-table{border:0}.woocommerce-checkout table.woocommerce-checkout-review-order-table th,.woocommerce-checkout table.woocommerce-checkout-review-order-table td{padding:16px 8px;background:white}.woocommerce-checkout .order-total .amount{font-size:1.35rem;color:var(--ap-green-dark)}.woocommerce-checkout #payment{background:#f6f9f7;border-radius:14px}.woocommerce-checkout #payment ul.payment_methods{padding:20px;font-size:.9rem;border-bottom:1px solid var(--ap-line)}.woocommerce-checkout #payment ul.payment_methods li{margin-bottom:12px;line-height:1.7}.woocommerce-checkout #payment div.payment_box{background:#e8f1eb;border-radius:10px;color:var(--ap-ink);font-size:.85rem}.woocommerce-checkout #payment div.payment_box:before{border-bottom-color:#e8f1eb}.woocommerce-checkout #payment div.form-row{padding:20px}.woocommerce-checkout #payment #place_order{float:none;width:100%;font-size:.95rem;margin-top:20px}.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:.8rem;color:var(--ap-muted)}.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a{color:var(--ap-green-dark)}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:22px;padding-left:0}.select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{background:white;border:1px solid var(--ap-line);border-radius:20px;padding:24px}.woocommerce .woocommerce-order{line-height:1.8}.woocommerce .woocommerce-order h2{margin:25px 0 18px;font-size:1.4rem}.woocommerce .woocommerce-customer-details address{background:white;border:1px solid var(--ap-line);padding:24px;border-radius:16px}.woocommerce-MyAccount-navigation{background:white;border:1px solid var(--ap-line);border-radius:16px;padding:20px}.woocommerce-MyAccount-navigation ul{list-style:none}.woocommerce-MyAccount-navigation a{display:block;padding:12px;color:var(--ap-ink);text-decoration:none}.woocommerce-MyAccount-navigation .is-active a{background:#eaf8ef;color:var(--ap-green-dark);border-radius:8px}.woocommerce-MyAccount-content{line-height:1.8}
/* Compatibilidad visual con bloques existentes, sin sustituir su contenido. */
.wc-block-cart,.wc-block-checkout{font-family:var(--ap-font);font-size:.95rem}.wc-block-components-button:not(.is-link){background:var(--brand-green);color:#10271a;border-radius:30px;font-weight:700}.wc-block-components-button:not(.is-link):hover{background:var(--ap-green-dark);color:white}.wc-block-components-text-input input,.wc-block-components-combobox .components-combobox-control__input{border-radius:10px!important}.wc-block-cart__sidebar,.wc-block-checkout__sidebar{background:white;border:1px solid var(--ap-line);border-radius:20px;padding:20px}
/* Minicarrito real y panel móvil. */
body.drawer-open{overflow:hidden}.cart-drawer{width:440px;right:-460px;height:100dvh;max-width:100vw;border-radius:24px 0 0 24px}.cart-drawer[aria-hidden=true],.mobile-menu-drawer[aria-hidden=true]{visibility:hidden}.cart-drawer.active,.mobile-menu-drawer.active{visibility:visible}.cart-drawer.active{right:0}.cart-header{padding:24px}.cart-header h2{font-size:1.1rem}.close-btn{width:36px;height:36px;border-radius:50%;background:#f5f8f6}.cart-body{padding:24px}.cart-body .woocommerce-mini-cart{list-style:none}.cart-body .woocommerce-mini-cart-item{position:relative;min-height:95px;padding:16px 0 20px 28px;border-bottom:1px solid var(--ap-line);font-size:.9rem;line-height:1.6}.cart-body .woocommerce-mini-cart-item img{width:72px;height:72px;object-fit:contain;float:right;margin-left:15px;border-radius:10px;background:var(--ap-soft)}.cart-body a{color:var(--ap-ink);font-weight:650;text-decoration:none}.cart-body .remove{position:absolute;left:0;top:15px;color:#b33b34;font-size:1.25rem}.cart-body .quantity{display:block;margin-top:8px;color:var(--ap-green-dark);font-size:.85rem}.cart-body .woocommerce-mini-cart__total{display:flex;justify-content:space-between;padding:24px 0;font-size:1rem}.cart-body .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cart-body .button{padding:14px 12px;border-radius:30px;font-size:.8rem;text-align:center;border:1px solid var(--ap-line)}.cart-body .button.checkout{background:var(--brand-green);color:#10271a;border-color:var(--brand-green)}.cart-body .woocommerce-mini-cart__empty-message{padding:40px 0;text-align:center;color:var(--ap-muted)}.mobile-menu-drawer{height:100dvh}.admin-bar .cart-drawer,.admin-bar .mobile-menu-drawer{top:32px;height:calc(100dvh - 32px)}
/* Contacto: presentación en dos columnas y fotos integradas al formulario. */
.ap-contact-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:start}.ap-contact-intro{padding-top:24px}.ap-contact-intro h2{font-size:clamp(2rem,3.2vw,2.8rem);letter-spacing:-.8px;line-height:1.15;margin-bottom:24px}.ap-contact-intro h2 span{color:var(--ap-green-dark)}.ap-contact-intro>p:not(.ap-eyebrow){font-size:1rem;line-height:1.85;color:var(--ap-muted);margin-bottom:32px}.ap-contact-detail{display:flex;gap:16px;align-items:center;margin-bottom:24px}.ap-contact-detail>i{display:grid;place-items:center;background:#e7f7ed;width:48px;height:48px;flex:none;border-radius:14px;color:var(--ap-green-dark);font-size:1.1rem}.ap-contact-detail span{display:block;color:var(--ap-muted);font-size:.8rem;margin-bottom:4px}.ap-contact-detail a{color:var(--ap-ink);font-size:.9rem;font-weight:650;text-decoration:none;overflow-wrap:anywhere}.ap-contact-intro .ap-text-link{display:inline-block;margin-top:12px;font-size:.9rem}.ap-contact-panel{background:white;border:1px solid var(--ap-line);padding:36px;border-radius:24px;box-shadow:var(--ap-shadow)}.ap-contact-panel>h2{font-size:1.5rem;margin-bottom:10px}.ap-contact-panel>p{font-size:.8rem;color:var(--ap-muted);margin-bottom:28px}.ap-contact-form{max-width:100%;margin:0}.ap-contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ap-contact-form label{display:block;font-size:.85rem;font-weight:650;line-height:1.6;margin-bottom:20px}.ap-contact-form input:not([type=hidden]),.ap-contact-form textarea{display:block;width:100%;margin-top:8px;background:#fbfcfb;padding:13px 14px;min-height:48px;border:1px solid var(--ap-line);border-radius:10px;font:inherit;font-weight:400;color:var(--ap-ink)}.ap-contact-form textarea{min-height:155px;resize:vertical}.ap-contact-form fieldset{border:1px solid var(--ap-line);border-radius:16px;padding:22px;margin:24px 0}.ap-contact-form legend{font-size:.85rem;font-weight:700;padding:0 8px}.ap-contact-form fieldset p{font-size:.8rem;color:var(--ap-muted);line-height:1.6;margin-bottom:16px}.ap-contact-form .ap-photo-field{min-width:0;margin-bottom:0;background:var(--ap-soft);border:1px dashed #bfd5c7;padding:16px;border-radius:12px}.ap-photo-field>i{color:var(--ap-green-dark);font-size:1.2rem;margin-right:6px}.ap-contact-form input[type=file]{font-size:.7rem;background:transparent;border:0;padding:10px 0 0;min-height:0;max-width:100%;overflow:hidden}.ap-contact-form input[type=file]::file-selector-button{font:inherit;font-weight:650;background:white;color:var(--ap-green-dark);border:1px solid #bfd5c7;border-radius:8px;padding:8px;margin-right:8px;cursor:pointer}.ap-contact-form .btn-primary{width:100%;justify-content:center;border:0;cursor:pointer;padding:16px 24px;box-shadow:none;font-size:.9rem}.ap-contact-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.ap-contact-notice{padding:18px;border-radius:12px;margin-bottom:24px;border:1px solid var(--ap-line);background:var(--ap-soft);font-size:.85rem;line-height:1.7}.ap-contact-notice.success{border-color:var(--brand-green)}.ap-contact-notice.error,.ap-contact-file-error{color:#b33b34}.ap-contact-file-error{font-size:.85rem;margin-bottom:20px}
/* Footer oscuro y logo blanco solo en footer. */
.pre-footer{background:#14221a;margin-bottom:0;padding:48px 0;border-bottom:1px solid #2a3b30}.pre-footer .contact-grid{gap:24px}.pre-footer .contact-card{background:#1b2c22;border:1px solid #2c4234;box-shadow:none;border-radius:16px;padding:28px}.pre-footer .contact-card>i{color:var(--brand-green);font-size:1.65rem}.pre-footer .contact-card h3{color:white;font-size:.95rem}.pre-footer .contact-card p,.pre-footer .contact-card a{color:#c1cec5;font-size:.85rem}.pre-footer .contact-card a:hover{color:var(--brand-green)}.site-footer{background:#101b14;color:white;border-top:0;padding:56px 0 28px}.ap-footer-intro{display:flex;justify-content:space-between;gap:32px;align-items:center;margin-bottom:48px;padding-bottom:40px;border-bottom:1px solid #2a3b30}.ap-footer-intro h2{font-size:clamp(1.6rem,3vw,2.4rem);letter-spacing:-.7px;line-height:1.2}.ap-footer-intro h2 span{color:var(--brand-green)}.ap-footer-intro .ap-eyebrow{color:#8bddaa;font-size:.7rem}.ap-footer-intro .btn-primary{box-shadow:none;flex:none;font-size:.85rem;padding:14px 24px}.site-footer .footer-grid{grid-template-columns:1.5fr 1fr 1fr 1.1fr;gap:40px;margin-bottom:40px}.footer-brand .logo.ap-logo-crop{width:205px;max-width:100%;margin-bottom:24px}.footer-brand .ap-logo-image{filter:brightness(0) invert(1)}.site-footer .footer-brand p{font-size:.85rem;color:#b8c8bd;line-height:1.85;max-width:320px}.site-footer .footer-widget h4{color:white;font-size:.8rem;letter-spacing:.08em;margin-bottom:24px}.site-footer .footer-links{list-style:none}.site-footer .footer-links li{margin-bottom:14px}.site-footer .footer-links a{color:#b8c8bd;font-size:.85rem;line-height:1.6;text-decoration:none}.site-footer .footer-links a:hover{color:var(--brand-green)}.site-footer .social-links a{background:#1c2d22;border:1px solid #2c4234;color:white}.site-footer .social-links a:hover{background:var(--brand-green);color:#10271a}.payment-methods .webpay-image{display:block;width:100%;max-width:220px;height:auto;background:white;border-radius:12px;padding:12px;margin:0}.site-footer .sub-footer{border-top:1px solid #2a3b30;padding:24px 0 0;gap:20px}.site-footer .copyright,.site-footer .developer-credit,.site-footer .developer-credit a{color:#9eafa4;font-size:.75rem;line-height:1.7}.site-footer .developer-credit a:hover{color:white}
/* Adaptación de todas las pantallas, sin tablas ni controles fuera del viewport. */
@media(max-width:1100px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.woocommerce-cart .woocommerce-cart-form{width:100%;float:none}.woocommerce-cart .cart-collaterals{width:100%;float:none;margin-top:28px}.woocommerce-cart .cart-collaterals .cart_totals{max-width:600px;margin-left:auto}.woocommerce-checkout form.checkout{gap:24px}.ap-contact-layout{gap:32px}.site-footer .footer-grid{gap:24px}}
@media(max-width:1000px){.main-nav{display:none}.menu-toggle{display:block}.header-actions{gap:10px}.hero-clinico{min-height:800px}.ap-contact-panel{padding:28px}.woocommerce div.product div.summary{padding:24px}.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){:root{--ap-header-overlap:98px}.content-shell{padding:40px 20px 64px}.header-wrapper{top:12px}.admin-bar .header-wrapper{top:58px}.nav-container{height:76px}.logo.ap-logo-crop{width:145px}.main-header{padding:0 16px}.header-actions{gap:6px}.hero-clinico{min-height:760px;padding:180px 0 88px}.hero-clinico h1{font-size:2.4rem}.hero-clinico p{font-size:1rem}.ap-page-banner{min-height:380px;padding:calc(var(--ap-header-overlap) + 64px) 0 64px;background-position:70% center}.ap-page-banner h1{font-size:2.2rem}.product-search{padding:18px}.product-search>div{flex-wrap:wrap}.product-search input[type=search]{flex-basis:100%}.product-search button.button{width:100%}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;margin-bottom:18px}.woocommerce .woocommerce-ordering select{width:100%}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.woocommerce ul.products li.product{padding:12px;border-radius:16px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.9rem}.woocommerce ul.products li.product .button{font-size:.75rem;padding:11px 8px}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%;float:none}.woocommerce div.product div.summary{padding:24px}.woocommerce div.product .woocommerce-tabs .panel{padding:22px}.woocommerce div.product .woocommerce-tabs ul.tabs li{padding:0 14px}.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-size:.8rem}.woocommerce table.shop_table td{padding:16px 12px}.woocommerce-cart table.cart td.actions .coupon{float:none;margin-bottom:12px;width:100%}.woocommerce-cart table.cart td.actions .coupon .input-text{flex:1;min-width:0;width:auto}.woocommerce-cart table.cart td.actions .coupon .button{width:auto;float:none}.woocommerce-cart table.cart td.actions>.button{width:100%}.woocommerce-cart .cart_totals{padding:20px!important}.woocommerce-checkout form.checkout{display:block}.woocommerce-checkout #customer_details{padding:22px;margin-bottom:32px}.woocommerce-checkout #order_review{padding:20px}.woocommerce-checkout #order_review_heading{margin:0 0 20px}.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;float:none}.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{float:none;width:100%;margin-bottom:24px}.ap-contact-layout{grid-template-columns:1fr;gap:32px}.ap-contact-intro{padding-top:0}.ap-contact-panel{padding:22px}.ap-contact-fields{grid-template-columns:1fr;gap:0}.ap-contact-form .ap-photo-field{margin-bottom:14px}.ap-contact-form fieldset{padding:16px}.cart-drawer{width:min(400px,100vw);border-radius:18px 0 0 18px}.cart-body,.cart-header{padding:20px}.admin-bar .cart-drawer,.admin-bar .mobile-menu-drawer{top:46px;height:calc(100dvh - 46px)}.pre-footer{padding:32px 0}.pre-footer .contact-grid{grid-template-columns:1fr;gap:16px}.pre-footer .contact-card{padding:24px}.ap-footer-intro{flex-direction:column;align-items:flex-start;gap:24px;margin-bottom:36px;padding-bottom:32px}.site-footer{padding:40px 0 24px}.site-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}.site-footer .footer-brand{grid-column:1 / -1}.site-footer .sub-footer{flex-direction:column;align-items:flex-start}.footer-brand .logo.ap-logo-crop{width:190px}.wc-block-cart__sidebar,.wc-block-checkout__sidebar{padding:16px}}
@media(max-width:380px){.logo.ap-logo-crop{width:130px}.main-header{padding:0 12px}.woocommerce ul.products{gap:10px}.woocommerce ul.products li.product{padding:10px}.site-footer .footer-grid{grid-template-columns:1fr}.site-footer .footer-brand{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Ajustes verificados contra el marcado y CSS nativos del plugin. */
.site-footer .payment-methods{background:#1b2c22;border:1px solid #2c4234;border-radius:16px;padding:20px}.site-footer .payment-methods h4{color:white;line-height:1.5;margin-bottom:18px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--ap-line);border-radius:10px;background:#fbfcfb;padding:12px 14px;font-family:var(--ap-font);font-size:.95rem;color:var(--ap-ink);min-height:48px}
@media(max-width:768px){.whatsapp-float-container{right:18px;bottom:18px}.whatsapp-float-container .whatsapp-label{display:none}.whatsapp-float-container .whatsapp-btn{width:48px;height:48px;font-size:24px}.woocommerce-cart table.shop_table_responsive tr td{min-height:54px}}

html{scroll-padding-top:140px}.ap-contact-form input,.ap-contact-form textarea,.woocommerce form .form-row{scroll-margin-top:140px}

/* Ficha de producto: información y compra junto a la galería. */
:root{--wp--preset--color--primary:#2ecc71;--wp--preset--color--accent:#2ecc71;--wp--style--color--link:#177e43;--wc-primary:#2ecc71;--wc-primary-text:#102218;--wc-highlight:#177e43}
.single-product .woocommerce div.product .product_title{font-family:var(--ap-font);font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.18;text-wrap:balance;color:var(--ap-ink);margin:0 0 18px}
.ap-product-description{font-family:var(--ap-font);line-height:1.75;color:#47574c;margin:22px 0 28px;overflow-wrap:anywhere}
.ap-product-description p{margin-bottom:16px}.ap-product-description ul,.ap-product-description ol{padding-left:24px;margin-bottom:16px}.ap-product-description img{max-width:100%;height:auto}.ap-product-description table{max-width:100%;display:block;overflow-x:auto}
.entry-content a:not(.button),.ap-product-description a,.woocommerce .product_meta a,.woocommerce .woocommerce-info a,.woocommerce .woocommerce-message a:not(.button),.woocommerce-MyAccount-content a:not(.button){color:#177e43}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt,.woocommerce button.button.alt.disabled,.wc-block-components-button:not(.is-link){background:#2ecc71;color:#102218}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover,.woocommerce #respond input#submit.alt:hover,.wc-block-components-button:not(.is-link):hover{background:#26b963;color:#102218}
.woocommerce-info,.woocommerce-message{border-top-color:#2ecc71}.woocommerce-info:before,.woocommerce-message:before{color:#177e43}input[type=checkbox],input[type=radio]{accent-color:#177e43}
@media(max-width:768px){
.single-product .woocommerce div.product{display:flex;flex-direction:column;gap:0}
.single-product .woocommerce div.product:before,.single-product .woocommerce div.product:after{display:none}
.single-product .woocommerce div.product div.summary{display:contents}
.single-product .woocommerce div.product .summary>*{order:6;width:100%;box-sizing:border-box;min-width:0}
.single-product .woocommerce div.product .summary>.product_title{order:1;margin:0 0 16px}
.single-product .woocommerce div.product .summary>.price{order:2;margin:0 0 20px}
.single-product .woocommerce div.product .summary>.woocommerce-product-rating,.single-product .woocommerce div.product .summary>.stock{order:2;margin:0 0 16px}
.single-product .woocommerce div.product .summary>form.cart{order:3;margin:0 0 28px;padding:24px;background:white;border:1px solid var(--ap-line);border-radius:18px}
.single-product .woocommerce div.product div.images{order:4;margin:0 0 28px;align-self:stretch}
.single-product .woocommerce div.product .summary>.ap-product-description{order:5;margin:0 0 28px;padding:24px;background:white;border:1px solid var(--ap-line);border-radius:18px}
.single-product .woocommerce div.product>.woocommerce-tabs{order:7;width:100%;margin-top:24px}
.single-product .woocommerce div.product>.up-sells{order:8;width:100%}
.single-product .woocommerce div.product>.related{order:9;width:100%}
}

/* Logo completo: sin ventana de recorte ni desplazamientos negativos. */
.logo.ap-logo-crop{aspect-ratio:2145/733;overflow:visible;height:auto;min-width:0}.logo.ap-logo-crop img.ap-logo-image{position:static;inset:auto;width:100%;height:auto!important;max-width:100%;max-height:none!important;object-fit:contain;transform:none;margin:0}.main-header .logo.ap-logo-crop,.footer-brand .logo.ap-logo-crop{overflow:visible}
/* Texto blanco con verde más oscuro para mantener contraste legible. */
:root{--ap-button-green:#177e43;--wc-primary:#177e43;--wc-primary-text:#fff}
.btn-primary,.btn-whatsapp-header,.btn-custom-quote,.btn-checkout,.whatsapp-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt,.woocommerce button.button.alt.disabled,.woocommerce button.button:disabled[disabled],.wc-block-components-button:not(.is-link),.cart-body .button.checkout{background:var(--ap-button-green);color:#fff!important}
.btn-primary:hover,.btn-whatsapp-header:hover,.btn-custom-quote:hover,.btn-checkout:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.wc-block-components-button:not(.is-link):hover{background:#126737;color:#fff!important}
.btn-primary i,.btn-whatsapp-header i,.btn-custom-quote i,.btn-checkout i,.woocommerce .button i,.whatsapp-btn i{color:inherit}.site-footer .social-links a:hover{background:#177e43;color:white}
.ap-shop-intro{max-width:820px;margin:0 0 32px;color:var(--ap-muted);line-height:1.8}.ap-shop-intro h2{font-size:1.5rem;color:var(--ap-ink);margin-bottom:12px}.modular-media video{background:#e7eeea}

.footer-links a:before{content:"›";font-family:inherit;font-weight:700}

.chilecompra-text h3{color:var(--text-strong);font-size:1.25rem;font-weight:800;margin-bottom:5px}.site-footer .footer-widget h3{color:white;font-size:.8rem;letter-spacing:.08em;margin-bottom:24px}.site-footer .payment-methods h3{color:white;line-height:1.5;margin-bottom:18px}.why-us-title h2 span,.custom-text-content h2 span{color:var(--ap-green-dark)}

/* El footer replica el fondo técnico de la sección Calidad del producto. */
.pre-footer,.site-footer{
 background-color:#0f141c;
 background-image:radial-gradient(circle at 20% 30%,rgba(46,204,113,.08) 0%,transparent 40%),radial-gradient(circle at 80% 70%,rgba(41,128,185,.06) 0%,transparent 40%),linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
 background-size:100% 100%,100% 100%,40px 40px,40px 40px;
 border-top:1px solid rgba(255,255,255,.05);
}
.pre-footer{border-bottom:1px solid rgba(255,255,255,.08)}
.pre-footer .contact-card{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);box-shadow:0 20px 40px rgba(0,0,0,.22)}
.pre-footer .contact-card:hover{border-color:rgba(46,204,113,.4);box-shadow:0 24px 48px rgba(0,0,0,.3)}
.pre-footer .contact-card p,.pre-footer .contact-card a{color:#b8c2cf}
.site-footer .ap-footer-intro,.site-footer .sub-footer{border-color:rgba(255,255,255,.1)}
.site-footer .footer-brand p,.site-footer .footer-links a{color:#b8c2cf}
.site-footer .copyright,.site-footer .developer-credit,.site-footer .developer-credit a{color:#94a3b8}
.site-footer .social-links a,.site-footer .payment-methods{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}

/* Campo de búsqueda del catálogo: reemplaza el recuadro oscuro nativo. */
.woocommerce .product-search input[type="search"]{
 -webkit-appearance:none; appearance:none; flex:1; min-width:0; min-height:52px;
 margin:0; padding:0 18px; background:#f7faf8!important; color:var(--ap-ink)!important;
 border:1px solid #cfdcd4!important; border-radius:14px!important;
 box-shadow:inset 0 1px 2px rgba(18,40,27,.035)!important;
 font-family:var(--ap-font); font-size:.95rem; line-height:1.4;
 transition:border-color .2s,box-shadow .2s,background-color .2s;
}
.woocommerce .product-search input[type="search"]::placeholder{color:#7b8b82;opacity:1}
.woocommerce .product-search input[type="search"]:hover{background:#fff!important;border-color:#aebfb5!important}
.woocommerce .product-search input[type="search"]:focus{
 background:#fff!important; border-color:var(--ap-green-dark)!important; outline:0;
 box-shadow:0 0 0 4px rgba(23,126,67,.12)!important;
}

/* Respaldo visual para plantillas o extensiones que intenten imprimir valoraciones. */
.woocommerce .star-rating,.woocommerce .woocommerce-product-rating,.woocommerce .woocommerce-review-link,.woocommerce #reviews{display:none!important}

/* Evita que una descripción extensa salga del producto y atraviese el footer. */
.single-product .site-main,.single-product .woocommerce div.product{display:flow-root}
.single-product .woocommerce div.product div.summary{height:auto;max-height:none;overflow:visible}

/* Heroes interiores: imagen general en escritorio, versión vertical en celular. */
.ap-page-banner{background-image:var(--page-hero-desktop)!important}
@media(max-width:768px){.ap-page-banner{background-image:var(--page-hero-mobile)!important;background-position:center 58%}}
