/* PoolZone: readability and comfortable controls, preserving the approved layouts. */
.pz-reference-design {
 --pz-meta-size:11px;
 --pz-note-size:12px;
 --pz-action-size:12px;
 --pz-touch-size:44px;
 --pz-offer-ink:#b92528;
}
.pz-reference-design .pzr-product-content small,
.pz-reference-design .pz2-card .pzr-product-content small {
 font-size:var(--pz-meta-size);line-height:1.5;color:var(--pz-muted);font-weight:550;
}
.pz-reference-design .pzr-currency-code,
.pz-reference-design .pz2-card .pzr-currency-code {font-size:var(--pz-meta-size);color:var(--pz-muted);}
.pz-reference-design .pzr-cart-state {
 font-size:var(--pz-meta-size);line-height:1.5;color:var(--pz-muted);margin-top:7px;
}
.pz-reference-design :is(.pz5-fine,.pzq-fine,.pz9-fine,.pz3-note) {
 font-size:var(--pz-note-size);line-height:1.65;color:var(--pz-muted);
}
.pz-reference-design .pzr-nav .pzr-offers {color:var(--pz-offer-ink);}
.pz-reference-design button.pzr-cart-disabled {
 min-height:var(--pz-touch-size);background:#eef4f8;color:var(--pz-muted)!important;
 border:1px solid #c4d4e1;opacity:1;
}
.pz-reference-design button.pzr-cart-disabled:hover {background:#eef4f8;color:var(--pz-muted)!important;}
.pz-reference-design .pzq-add {
 min-height:var(--pz-touch-size);font-size:var(--pz-action-size)!important;
 padding:10px 8px!important;background:var(--pz-blue)!important;color:#fff!important;
 border-color:var(--pz-blue)!important;line-height:1.5!important;
}
.pz-reference-design .pzq-add:hover:not(:disabled):not([aria-pressed=true]) {background:#004b9a!important;border-color:#004b9a!important;}
.pz-reference-design .pzq-add[aria-pressed=true] {
 background:#eaf6f1!important;color:#1d6046!important;border-color:#8abda5!important;
}
.pz-reference-design .pzq-add:disabled {opacity:1;background:#eef4f8!important;color:var(--pz-muted)!important;border-color:#c4d4e1!important;}
/* Astra's generic button hover/focus must not override the quote primary surface. */
.pz-reference-design .pzq-primary {
 background:var(--pz-blue);border-color:var(--pz-blue);
}
.pz-reference-design .pzq-primary:is(:hover,:focus):not(:disabled) {
 background:#004b9a;border-color:#004b9a;
}
.pz-reference-design .pzq-primary:active:not(:disabled) {
 background:#003f82;border-color:#003f82;
}
.pz-reference-design .pzr-search {height:46px;}
.pz-reference-design .pzr-search input[type=search] {height:44px;font-size:14px;}
.pz-reference-design .pzr-search input[type=search]::placeholder {color:var(--pz-muted);opacity:1;}
.pz-reference-design .pzr-search>button {width:44px;height:44px;}
.pz-reference-design .pzr-search:focus-within {outline:3px solid #087a9d;outline-offset:3px;}
.pz-reference-design .pzr-account-links>a {min-width:44px;min-height:44px;justify-content:center;}
.pz-reference-design .pz2-pagination .page-numbers:not(ul) {min-width:44px;height:44px;}
.pz-reference-design .pzq-row {grid-template-columns:100px minmax(0,1fr) 106px 44px;}
.pz-reference-design .pzq-page .pzq-remove {width:44px;height:44px;}
.pz-reference-design .pzq-quantity input {min-height:44px;}
.pz-reference-design .pzq-quantity label,.pz-reference-design .pzq-item-text p {font-size:12px;}
.pz-reference-design .pzq-toast {padding-right:60px;}
.pz-reference-design .pzq-toast button {width:44px;height:44px;right:4px;top:4px;}
.pz-reference-design .pzq-toast a {min-height:44px;display:inline-flex;align-items:center;}
@media(max-width:1024px) {
 .pz-reference-design .pzq-row {grid-template-columns:72px minmax(0,1fr) 44px;}
}
@media(max-width:767px) {
 .pz-reference-design .pzr-main {grid-template-columns:44px minmax(0,1fr) auto;gap:12px 8px;}
 .pz-reference-design .pzr-menu-toggle {width:44px;height:44px;}
 .pz-reference-design .pzr-account-links {gap:6px;}
 .pz-reference-design .pzr-search input[type=search] {font-size:16px;}
 .pz-reference-design .pzq-page :is(input,textarea) {font-size:16px;}
 .pz-reference-design .pzq-row {grid-template-columns:74px minmax(0,1fr) 44px;}
}
@media(max-width:360px) {
 .pz-reference-design .pzr-main>.pzr-brand-logo {width:128px;}
}

.pz-reference-design .pzr-card-facts{font:500 11px/1.6 'PoolZone Inter','Segoe UI',sans-serif;color:var(--pz-navy);margin:0 0 12px;overflow-wrap:anywhere}.pzr-card-facts>span{color:var(--pz-muted)}

/* Approved compact cards: keep photo sizes, widths and full titles; avoid repeated extra rows. */
.pz-reference-design .pzr-product-card .pzr-product-content h2,
.pz-reference-design .pzr-product-card .pzr-product-content h3 {
 min-height:0!important;margin:0 0 6px!important;
}
.pz-reference-design .pzr-product-card .pzr-product-content small {margin-bottom:4px;}
.pz-reference-design .pzr-product-card .pzr-product-content .pzr-price {
 margin:auto 0 6px!important;padding-top:0;
}
.pz-reference-design .pzr-product-card .pzr-cart-action {margin-top:0;}
.pz-reference-design .pzr-product-card .pzq-card-add {
 margin-top:6px;min-height:44px;padding:8px!important;
}
.pz-reference-design .pzr-catalog-note {
 margin:10px 0 14px;font:400 12px/1.5 'PoolZone Inter','Segoe UI',sans-serif;
 color:var(--pz-muted);text-transform:none;letter-spacing:0;
}

/* Taste 04: resolve inherited Astra/Elementor heading families to the existing local face. */
.pz-reference-design :is(h1,h2,h3,h4,h5,h6,.elementor-heading-title){
 font-family:'PoolZone Inter','Segoe UI',sans-serif!important;
}
.pz-reference-design :is(h1,h2,h3,h4,h5,h6) a{font-family:inherit!important;}

/* Taste 05: optical category framing; crop only surplus blank canvas, never equipment or marks. */
.pz-reference-design .pzr-categories .pzr-category-card>div{overflow:hidden;}
.pz-reference-design .pzr-categories .pzr-category-card img{
 width:100%;height:100%;max-width:none;flex:none;object-fit:contain;object-position:center;padding:7px;
}
.pz-reference-design .pzr-categories .pzr-category-card[href$="/bombas/"] img{
 width:106%;height:145%;padding:0;
}
.pz-reference-design .pzr-categories .pzr-category-card[href$="/iluminacion/"] img{padding:2px;}
.pz-reference-design .pzr-categories .pzr-category-card[href$="/recubrimientos/"] img{
 width:110%;height:112%;padding:0;
}

/* Taste 08: responsive section labels, keeping full accessible names. */
.pzr-link-label-short{display:none;}
@media(max-width:767px){
 .elementor-4612 .pzr-section-head{gap:8px;}
 .elementor-4612 .pzr-section-head h2{min-width:0;}
 .elementor-4612 .pzr-section-head>a{
  display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;
  max-width:none;padding:0 4px;font-size:12px;line-height:1.4;white-space:nowrap;
 }
 .elementor-4612 .pzr-section-head .pzr-link-label-long,
 .elementor-4612 .pzr-section-head .pzr-link-arrow{display:none;}
 .elementor-4612 .pzr-section-head .pzr-link-label-short{display:inline;}
 .elementor-4612 .pzr-section-head>a:focus-visible{outline:3px solid #087a9d;outline-offset:3px;}
 .pz-reference-design .pz7-text-link{display:inline-flex;align-items:center;min-height:44px;}
 .pz-reference-design .pz7-context>a{display:flex;align-items:center;width:max-content;max-width:100%;min-height:44px;margin-top:4px;font-size:12px;}
}
@media(max-width:380px){
 .elementor-4612 .pzr-section-head{flex-direction:column;align-items:flex-start;gap:0;}
 .elementor-4612 .pzr-section-head h2{width:100%;}
 .elementor-4612 .pzr-section-head>a{align-self:flex-end;}
}

/* Taste 09: strengthen the existing light scrim only at tablet widths. */
@media(min-width:768px) and (max-width:1024px){
 .elementor-4612 .pzr-hero{
  background-image:linear-gradient(90deg,rgba(243,250,255,.99) 0px,rgba(243,250,255,.98) 430px,rgba(243,250,255,.90) 480px,rgba(243,250,255,.20) 600px,rgba(243,250,255,0) 710px),url('hero.png');
 }
}

/* Taste 10: secondary grouped-list action only inside product details. */
.pz-reference-design .pzq-product-action .pzq-add:not([aria-pressed=true]):not(:disabled){background:#fff!important;color:var(--pz-blue)!important;border-color:var(--pz-blue)!important;}
.pz-reference-design .pzq-product-action .pzq-add:hover:not([aria-pressed=true]):not(:disabled){background:#edf6fc!important;color:var(--pz-blue)!important;}
.pz-reference-design .pzq-product-action>a{display:inline-flex;align-items:center;min-height:44px;}

/* EMIL 02: surface press feedback only; no geometry, label or color changes. */
.pz-reference-design :is(.pzr-button .elementor-button,.pz5-primary,.pz5-prepare,.pzq-primary,.pzq-secondary,.pzq-add,.pz3-form button,.pzr-search button,.pz6-calculate,.pz6-use-boxes):not(:disabled):not([aria-disabled="true"]){transition:none!important;}
.pz-reference-design[data-pz-input="pointer"] :is(.pzr-button .elementor-button,.pz5-primary,.pz5-prepare,.pzq-primary,.pzq-secondary,.pzq-add,.pz3-form button,.pzr-search button,.pz6-calculate,.pz6-use-boxes):not(:disabled):not([aria-disabled="true"]):active{box-shadow:inset 0 0 0 2px rgba(16,42,67,.22)!important;}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .pz-reference-design[data-pz-input="pointer"] :is(.pzr-button .elementor-button,.pz5-primary,.pz5-prepare,.pzq-primary,.pzq-secondary,.pzq-add,.pz3-form button,.pzr-search button,.pz6-calculate,.pz6-use-boxes):not(:disabled):not([aria-disabled="true"]){transition:box-shadow var(--pz-motion-fast,120ms) var(--pz-motion-ease,ease-out)!important;}
}

/* EMIL 10: existing editable controls at mobile/tablet widths; no catalog-card rules. */
.pz-reference-design .pzq-summary.pzq-summary-flow{position:static;}
@media(max-width:1024px){
 .pz-reference-design .pz5-close-image{min-height:44px;min-width:44px;}
 .pz-reference-design .pz3-options>label{min-height:44px;align-items:center;}
 .pz-reference-design .pz3-options input{margin:0!important;}
 .pz-reference-design .pz3-group>summary{min-height:44px;padding:12px 0;}
 .pz-reference-design .pz3-price input{height:44px;font-size:16px;}
 .pz-reference-design .pzr-search input[type=search],
 .pz-reference-design .pz5-consult-form :is(input:not([readonly]),textarea:not([readonly])),
 .pz-reference-design .pzq-page :is(input,textarea){font-size:16px;}
}
