body.single-product .woocommerce-breadcrumb{display:none}
body.single-product div.product > .onsale[hidden]{display:none!important}
body.single-product.woocommerce div.product div.images{width:59%}
body.single-product.woocommerce div.product div.summary{width:38%}
body.single-product.woocommerce div.product .product_title{line-height:1.08;letter-spacing:-.03em}
body.single-product.woocommerce div.product form.cart .variations_button{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
body.single-product.woocommerce div.product form.cart .variations_button .ai-product-installments{flex-basis:100%}
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button{flex:1;min-height:56px}
.ai-product-installments{margin:4px 0 12px;font-size:16px}.ai-product-installments strong{display:table;background:#fff2c9;border-radius:10px;padding:6px 12px}.ai-product-installments span{display:block;margin:6px 0}
.ai-product-information{clear:both;padding:24px 0 0}.ai-product-information h2{font-size:30px;margin:0 0 12px}.ai-product-detail{border:1px solid #c9c9c9;border-radius:9px;margin:0 0 10px;background:#fff}.ai-product-detail>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:20px;font-weight:700;padding:14px 18px;list-style:none}.ai-product-detail>summary::-webkit-details-marker{display:none}.ai-product-detail>summary svg{flex:none;transition:transform .15s ease}.ai-product-detail[open]>summary svg{transform:rotate(180deg)}.ai-product-detail>div{padding:0 18px 18px}.ai-product-detail>summary:focus-visible{outline:3px solid #111;outline-offset:2px;border-radius:8px}@media(prefers-reduced-motion:reduce){.ai-product-detail>summary svg{transition:none}}
@media(max-width:800px){body.single-product.woocommerce div.product div.images,body.single-product.woocommerce div.product div.summary{width:100%;float:none}.ai-product-information h2{font-size:26px}.ai-product-detail>summary{font-size:18px}}
.ai-choice-native{position:absolute!important;clip-path:inset(50%);width:1px!important;height:1px!important;overflow:hidden}
.ai-choice-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.ai-choice-buttons button{background:#fff;border:1px solid #c8c8c8;border-radius:10px;padding:10px 14px;font:inherit;cursor:pointer}.ai-choice-buttons button[aria-pressed=true]{border:2px solid #111;font-weight:700}.ai-choice-buttons button:disabled{opacity:.4;cursor:not-allowed}.ai-choice-buttons button:focus-visible{outline:3px solid #777;outline-offset:2px}
.ai-sticky-cart[hidden]{display:none}.ai-sticky-cart{display:none}@media(max-width:800px){.ai-sticky-cart:not([hidden]){display:block;position:fixed;z-index:80;bottom:0;left:0;right:0;background:#fff;padding:8px 16px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -2px 12px #0002}.ai-sticky-cart button{width:100%;min-height:48px;border:0;border-radius:10px;background:#ffd500;color:#111;font:700 16px Poppins,sans-serif}}
/* Keep the existing contact control above the visible purchase bar on narrow screens. */
@media(max-width:800px){body:has(.ai-sticky-cart:not([hidden])) #ai-floating-whatsapp{bottom:calc(80px + env(safe-area-inset-bottom))}}
body.single-product .ai-product-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;list-style:none;margin:12px 0;padding:12px 0;border-block:1px solid #ddd}body.single-product .ai-product-features li{font-size:12px;line-height:1.35;font-weight:700;padding:0 9px;border-right:1px solid #ddd}body.single-product .ai-product-features li:last-child{border-right:0}@media(max-width:480px){body.single-product .ai-product-features li{font-size:12px;overflow-wrap:anywhere;padding:0 6px}}
/* Keep Woo's price node in place for its existing variation handlers while presenting it after the selectors. */
body.single-product.woocommerce div.product div.summary{display:flex;flex-direction:column}
body.single-product .summary>.product_title{order:0}
body.single-product .summary>.ai-configuration-heading{order:1;font-size:clamp(23px,2.3vw,30px);margin:16px 0 0}
body.single-product .summary>.woocommerce-product-details__short-description{order:6;margin-top:18px}
body.single-product .summary>.ai-color-options{order:2}
body.single-product .summary>form.variations_form{display:contents}
body.single-product .summary>form.variations_form>.variations{order:3}
body.single-product .summary>p.price,body.single-product .summary>form.variations_form>p.price{order:4;font-size:clamp(30px,4vw,48px);margin:10px 0}
body.single-product .summary>form.variations_form>.single_variation_wrap{order:5}
body.single-product .summary>.ai-product-note{order:7}
body.single-product .summary>.ai-product-trust{order:8}
body.single-product .summary>.product_meta{order:9}
/* Preserve direct variation links without interrupting selection and purchase. */
body.single-product .summary>.ai-configuration-links{order:10;margin-top:12px}
body.single-product .summary .woocommerce-variation-price{display:none}
body.single-product.woocommerce div.product form.cart .single_add_to_cart_button{flex:1 1 100%;width:100%;max-width:none}
body.single-product .summary>form.cart:not(.variations_form){order:5}
body.single-product .ai-color-options a .ai-color-full-label{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
body.single-product .ai-color-options a .ai-color-short-label{font-size:14px;font-weight:600}
@media(max-width:800px){
 body.single-product.woocommerce div.product div.images .flex-viewport{aspect-ratio:2/1!important;overflow:hidden}
 body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg){width:100%;height:auto;aspect-ratio:2/1;object-fit:contain}
}
.ai-choice-native{min-width:0!important;max-width:1px!important;max-height:1px!important;padding:0!important;border:0!important}
.ai-product-detail table{width:100%;border-collapse:collapse;margin:0 0 12px;text-align:left}.ai-product-detail table tr{border-bottom:1px solid #ddd}.ai-product-detail table tr:last-child{border-bottom:0}.ai-product-detail table th,.ai-product-detail table td{padding:9px 4px;text-align:left;vertical-align:top}.ai-product-detail table th,.ai-product-detail table td:first-child{width:38%;font-weight:700}.ai-product-detail table p{margin:0}
.ai-sticky-cart button:disabled{background:#e5e5e5;color:#555;cursor:not-allowed}
.woocommerce-product-gallery .flex-control-thumbs img[role=button]{cursor:pointer}.woocommerce-product-gallery .flex-control-thumbs img[role=button]:focus-visible{outline:3px solid #111;outline-offset:2px}
.woocommerce-product-gallery .flex-control-thumbs:has(>.ai-rear-thumb:not([hidden])){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:8px}
.woocommerce-product-gallery .flex-control-thumbs:has(>.ai-rear-thumb:not([hidden]))>li{width:auto!important;float:none!important;margin:0!important;min-width:0}
.woocommerce-product-gallery .ai-rear-thumb[hidden]{display:none!important}
.woocommerce-product-gallery .ai-rear-thumb button{display:block;width:100%;padding:0;overflow:hidden;border:1px solid #d6d6d6;border-radius:8px;background:#fff;cursor:pointer}
.woocommerce-product-gallery .ai-rear-thumb button:focus-visible{outline:3px solid #111;outline-offset:2px}
.woocommerce-product-gallery .ai-rear-thumb button img{display:block;width:100%;height:auto}
.ai-rear-dialog{width:min(90vw,800px);max-width:none;max-height:90vh;padding:12px;border:0;border-radius:8px;background:#fff}
.ai-rear-dialog::backdrop{background:#000b}.ai-rear-dialog button{display:block;margin:0 0 8px auto;padding:8px 14px;border:1px solid #777;border-radius:6px;background:#fff}.ai-rear-dialog img{display:block;max-width:100%;max-height:75vh;width:auto;height:auto;margin:auto}.ai-rear-dialog button:focus-visible{outline:3px solid #ffda00;outline-offset:2px}
/* A visible mark accompanies the native selected state; aria-pressed remains authoritative. */
.ai-choice-buttons button[aria-pressed=true]::before,
body.single-product .ai-color-options a[aria-current=page] .ai-color-short-label::before{content:'✓';display:inline-grid;place-items:center;width:18px;height:18px;margin-right:7px;border-radius:50%;background:#111;color:#fff;font-size:12px;line-height:1;vertical-align:middle}
body.single-product .ai-color-options a[aria-current=page] .ai-color-short-label::before{background:#fff;color:#111}
/* Match the approved purchase action while preserving a distinct unavailable state. */
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt{background:#ffd500;color:#111}
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt:hover{background:#f0c900;color:#111}
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt:disabled,
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt.wc-variation-is-unavailable{background:#e5e5e5;color:#555;opacity:1}
/* Let the product gallery start under navigation and reach the screen edges on phones. */
@media(max-width:600px){
 body.single-product .ai-main>.ai-wrap{padding-top:0}
 body.single-product.woocommerce div.product div.images .flex-viewport{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px}
}
/* At tablet widths with room for readable options, retain the two-column product layout. */
@media (min-width:740px) and (max-width:800px){
 body.single-product.woocommerce div.product div.images{width:53%;float:left}
 body.single-product.woocommerce div.product div.summary{width:44%;float:right}
}
/* The same three documented features remain real text alongside decorative icons. */
body.single-product .ai-product-features li{display:flex;align-items:center;gap:7px}
body.single-product .ai-product-features svg{flex:0 0 22px;width:22px;height:22px}
body.single-product .ai-product-features li span{min-width:0}
@media(max-width:480px){body.single-product .ai-product-features li{gap:4px;font-size:11px}body.single-product .ai-product-features svg{flex-basis:18px;width:18px;height:18px}}

/* Editorial accordion rows match the approved reference while retaining native details semantics. */
.ai-product-detail{border:0;border-top:1px solid #bfc1c3;border-radius:0;margin:0;background:transparent}
.ai-product-detail:last-child{border-bottom:1px solid #bfc1c3}
.ai-product-detail>summary{padding:12px 4px;min-height:54px}
.ai-product-detail>summary .ai-detail-label{display:flex;align-items:center;gap:18px;min-width:0}
.ai-product-detail>summary .ai-detail-icon{width:25px;height:25px;flex:0 0 25px;transition:none}
.ai-product-detail>summary .ai-detail-chevron{flex:0 0 22px;transition:transform .15s ease}
.ai-product-detail[open]>summary .ai-detail-icon{transform:none}
.ai-product-detail[open]>summary .ai-detail-chevron{transform:rotate(180deg)}
.ai-product-detail>div{padding:0 12px 18px 47px}
@media(max-width:480px){.ai-product-detail>summary{font-size:17px}.ai-product-detail>summary .ai-detail-label{gap:12px}.ai-product-detail>div{padding-left:40px}}
@media(prefers-reduced-motion:reduce){.ai-product-detail>summary .ai-detail-chevron{transition:none}}
/* The editorial opening already displays the product name on narrow screens.
   Keep the Woo heading available to assistive technology and restore it on other gallery views. */
@media(max-width:600px){
 body.single-product:has(.woocommerce-product-gallery:not(.ai-gallery-empty-state) .flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero):not([hidden])) .summary>.product_title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
 body.single-product:has(.woocommerce-product-gallery:not(.ai-gallery-empty-state) .flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero):not([hidden])) .summary>.ai-configuration-heading{display:none}
}
/* Reserve the same purchase layout across gallery views; the real H1 remains accessible. */
.ai-gallery-caption{display:none}
@media(max-width:600px){
 body.single-product:has(.woocommerce-product-gallery:not(.ai-gallery-empty-state) .flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)) .summary>.product_title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
 body.single-product:has(.woocommerce-product-gallery:not(.ai-gallery-empty-state) .flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)) .summary>.ai-configuration-heading{display:none}
 .flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)[hidden] ~ .ai-gallery-caption{display:block;position:absolute;z-index:4;left:8px;top:8px;max-width:32%;padding:6px 8px;border-radius:6px;background:#15171de8;color:#fff;font-size:12px;line-height:1.2;font-weight:700;pointer-events:none}
}
/* Apply the approved desktop gallery proportions only when a local editorial scene exists. */
@media(min-width:801px){
 body.single-product.woocommerce div.product div.images:has(.flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)){container-type:inline-size}
 body.single-product.woocommerce div.product div.images:has(.flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)) .flex-viewport{height:78.74cqw!important;aspect-ratio:1.27}
 body.single-product.woocommerce div.product div.images:has(.flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)) .flex-viewport :is(.woocommerce-product-gallery__wrapper,.woocommerce-product-gallery__image){height:100%}
 body.single-product.woocommerce div.product div.images:has(.flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)) .flex-viewport .woocommerce-product-gallery__image>a{display:block;height:calc(100% - 58px)}
 body.single-product.woocommerce div.product div.images:has(.flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)) .flex-viewport .woocommerce-product-gallery__image>a>img{width:100%;height:100%!important;object-fit:contain}
 body.single-product.woocommerce div.product div.images:has(.flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)) .ai-product-features{position:relative;z-index:4;margin:-58px 0 12px;padding:12px 0;min-height:58px;background:#202124e8;color:#fff;border:0}
 body.single-product.woocommerce div.product div.images:has(.flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)) .ai-product-features li{border-color:#ffffff75}
 .flex-viewport>.ai15-hero .ai15-device,.flex-viewport>.ai-local-pilot-hero .ai-local-device{top:8%;width:62%}
}
@media(min-width:801px){
 .flex-viewport > :is(.ai15-zoom,.ai-ipad-hero-zoom,.ai-mini-zoom,.ai-macbook-zoom,.ai-imac-zoom){top:8px;right:8px;bottom:auto;left:auto}
 .flex-viewport > .ai-imac-hero .ai-imac-device{top:0}
 .flex-viewport > .ai-ipad-hero .ai-ipad-hero-device{top:7%;width:60%}
 .flex-viewport > .ai-ipad-hero .ai-ipad-hero-face{left:28%}
 .flex-viewport > .ai-ipad-hero .ai-ipad-hero-back{left:46%}
}
/* Keep native variation controls and their labels together in reading order. */
body.single-product.woocommerce div.product form.variations_form table.variations{width:100%;margin:0 0 12px}
body.single-product.woocommerce div.product form.variations_form table.variations tbody,body.single-product.woocommerce div.product form.variations_form table.variations tr{display:block}
body.single-product.woocommerce div.product form.variations_form table.variations th.label,body.single-product.woocommerce div.product form.variations_form table.variations td.value{display:block;width:100%;padding:0;text-align:left}
body.single-product.woocommerce div.product form.variations_form table.variations th.label{margin:8px 0 0}
body.single-product.woocommerce div.product form.variations_form table.variations td.value{display:flex;flex-direction:column;align-items:flex-start}
body.single-product.woocommerce div.product form.variations_form table.variations td.value .ai-choice-buttons{order:1}
body.single-product.woocommerce div.product form.variations_form table.variations td.value .reset_variations{order:2;font-size:13px}

/* Keep the gallery and choices close together, without removing the native controls. */
@media(max-width:600px){
 body.single-product.woocommerce div.product div.images:has(.flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)){margin-bottom:12px}
 body.single-product:has(.woocommerce-product-gallery:not(.ai-gallery-empty-state) .flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero)) .summary>.ai-color-options{margin-top:0;margin-bottom:8px}
 body.single-product .ai-color-options a{padding:9px 8px;min-height:44px;justify-content:center}
 body.single-product .ai-color-options a .ai-color-short-label{font-size:12px}
}
body.single-product .ai-color-options a[aria-current=page]{background:#fff;color:#111;border:2px solid #111}
body.single-product .ai-color-options a[aria-current=page] .ai-color-short-label::before{background:#111;color:#fff}

/* Do not show the previous variant's photo when the selected one has no media. */
body.single-product .woocommerce-product-gallery.ai-gallery-empty-state > :not(.ai-gallery-empty):not(.ai-product-features){display:none!important}
body.single-product .ai-gallery-empty[hidden]{display:none}
body.single-product .ai-gallery-empty{display:grid;place-items:center;min-height:180px;padding:24px;background:#f5f5f5;color:#333;text-align:center;border-radius:8px}
/* Keep the finish and condition legible when the editorial title scales down. */
body.single-product :is(.ai15-title,.ai-local-hero-title,.ai-ipad-hero-title,.ai-mini-title,.ai-macbook-title,.ai-imac-title) small{font-size:max(12px,.48em)}
/* Local editorial study: reconstructed backdrop from the approved render, not an original photo. */
body.single-product :is(.flex-viewport > .ai15-hero,.flex-viewport > .ai-ipad-hero,.flex-viewport > .ai-mini-hero,.flex-viewport > .ai-macbook-hero,.flex-viewport > .ai-imac-hero,.ai15-dialog .ai15-scene,.ai-ipad-hero-dialog .ai-ipad-hero-scene,.ai-mini-dialog .ai-mini-scene,.ai-macbook-dialog .ai-macbook-scene,.ai-imac-dialog .ai-imac-scene){background-image:url('product-hero-local/fondo-reconstruido-20261118.jpg');background-position:center;background-size:cover;background-repeat:no-repeat}
/* Large iPad rear views need breathing room at the right edge of the composition. */
@media(max-width:800px){body:is(.ai-scene-250,.ai-scene-252,.ai-scene-254,.ai-scene-256,.ai-scene-258) .flex-viewport > .ai-ipad-hero .ai-ipad-hero-back{width:48%}}
@media(min-width:801px){body:is(.ai-scene-250,.ai-scene-252,.ai-scene-254,.ai-scene-256,.ai-scene-258) .flex-viewport > .ai-ipad-hero .ai-ipad-hero-back{left:49%;width:55%}}
/* Calibrated silhouettes for the large-iPad views; original media stay untouched. */
body.single-product .ai-ipad-hero-face:has(> img[src*="1695e75ab45b"]){clip-path:polygon(24.88% 6.22%,26.95% 5.34%,80.06% 10.61%,82.14% 11.88%,82.85% 14.19%,83.8% 86.3%,82.8% 88%,81.3% 88.45%,26% 90%,24.6% 89.5%,23.8% 87.8%,23.6% 9.25%,23.84% 7.5%)!important}
body.single-product .ai-ipad-hero-face:has(> img[src*="5f862bd33348"]){clip-path:polygon(24.72% 5.18%,26.79% 4.39%,28.87% 4.31%,80.62% 9.57%,81.90% 10.53%,82.78% 12.84%,82.85% 86%,82% 88.2%,81% 88.5%,26% 90%,24.6% 89.5%,23.7% 87.8%,23.4% 8.77%,23.6% 6.62%)!important}
body.single-product .ai-ipad-hero-face:has(> img[src*="175857637d36"]){clip-path:polygon(27.11% 2.95%,29.51% 2.07%,87.88% 10.29%,89.23% 11.32%,90.03% 14.04%,91.55% 86.5%,90% 88.2%,28% 90%,26% 89%,25.76% 85.89%,25.84% 5.58%)!important}
body.single-product .ai-ipad-hero-back:has(> img[src*="5f38e8958267"]),body.single-product .ai-ipad-hero-back:has(> img[src*="7e21cccc5229"]){clip-path:polygon(30.06% 2.95%,32.70% 1.99%,34.21% 1.99%,86.12% 11.08%,88.36% 12.60%,89.15% 14.99%,89.71% 85.41%,89.2% 87.2%,88.2% 88.2%,33% 91.3%,30% 91.3%,28.7% 89%,28.63% 6.38%,28.95% 4.63%)!important}

/* iPad Air y mini: contorno de fuentes existentes, ajuste solo local. */
.ai-ipad-hero-back:has(>img[src*="1125428a87af"]){clip-path:polygon(28.87% 3.27%,31.26% 2.31%,32.93% 2.23%,75.84% 10.37%,78.15% 12.12%,78.87% 14.43%,80.35% 86%,79.5% 87.8%,78% 88%,30% 89.8%,28% 89.5%,27.35% 6.70%,27.67% 4.86%)!important}.ai-ipad-hero-back:has(>img[src*="63c8a889683e"]){clip-path:polygon(28.63% 3.19%,31.26% 2.23%,32.70% 2.23%,79.51% 10.37%,81.58% 11.56%,82.54% 13.96%,83.2% 85.8%,82.2% 87.3%,80% 87.9%,30% 89.9%,26.35% 89.55%,27.35% 5.74%)!important}.ai-ipad-hero-back:has(>img[src*="03f23223f9f7"]){clip-path:polygon(36.04% 5.58%,39.87% 4.31%,51.59% 5.50%,78.15% 9.09%,80.62% 10.05%,81.90% 11.48%,82.70% 14.19%,82.4% 85%,81.5% 87.2%,80% 87.9%,38.28% 89.87%,33.05% 89.15%,34.05% 9.57%,34.53% 7.42%)!important}.ai-ipad-hero-face:has(>img[src*="c76c844b9b9d"]){clip-path:polygon(27.59% 3.59%,29.82% 2.79%,31.82% 2.71%,77.19% 9.97%,78.47% 11.16%,79.27% 14.04%,81.4% 85%,81.2% 86.8%,80.4% 87.6%,79% 88.1%,30% 90%,28% 89.5%,26.7% 86.5%,26% 6.7%,26.56% 4.7%)!important}.ai-ipad-hero-face:has(>img[src*="e81c90a82872"]){clip-path:polygon(23.92% 4.15%,26.71% 3.11%,79.19% 10.29%,81.42% 11.8%,82.14% 14.59%,83.5% 86%,82.5% 87.8%,81% 88.7%,25% 90%,23.5% 89%,22.5% 86%,22.49% 7.02%)!important}.ai-ipad-hero-face:has(>img[src*="7252447f69e9"]){clip-path:polygon(35.17% 5.58%,39.87% 4.7%,77.03% 9.65%,79.59% 10.29%,81.26% 12.04%,81.9% 13.88%,83.49% 78.39%,83.49% 83.09%,83.3% 85%,82.3% 86.5%,81% 87.3%,38% 89.3%,35% 88.5%,33.3% 85%,33.25% 9.65%,33.73% 7.26%)!important}

/* Four storage options fit the approved mobile layout while keeping a 44px target. */
@media(min-width:340px) and (max-width:600px){
 body.single-product .variations td.value:has(select[name="attribute_almacenamiento"]) .ai-choice-buttons:has(>button:nth-child(4):last-child){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:6px}
 body.single-product .variations td.value:has(select[name="attribute_almacenamiento"]) .ai-choice-buttons:has(>button:nth-child(4):last-child)>button{min-width:0;min-height:44px;padding:8px 2px;font-size:clamp(12px,3.6vw,14px);white-space:nowrap}
 body.single-product .variations td.value:has(select[name="attribute_almacenamiento"]) .ai-choice-buttons:has(>button:nth-child(4):last-child)>button[aria-pressed=true]::before{width:16px;height:16px;margin-right:4px}
}

/* Keep the name clear of laptop screens in secondary mobile gallery views. */
@media(max-width:600px){
 .flex-viewport > .ai-macbook-hero[hidden] ~ .ai-gallery-caption{max-width:25%}
}

/* Composiciones de pantalla usan la vista ampliada propia, no el zoom de la foto original. */
.woocommerce-product-gallery__image > a.ai-ipad-link + img.zoomImg,
.woocommerce-product-gallery__image > a.ai-local-front-link + img.zoomImg,
.woocommerce-product-gallery__image > a.ai-local-angle-link + img.zoomImg { display:none !important; }

/* The real review link remains interactive outside the aria-hidden illustration. */
@media(max-width:800px){.woocommerce-product-gallery .flex-viewport>.ai-reviews-over-hero{position:absolute;z-index:6;left:6%;max-width:38%;margin:0;color:#fff;font-size:12px;font-weight:600;line-height:1.2}.woocommerce-product-gallery .flex-viewport>.ai-reviews-over-hero a{color:inherit;text-decoration:underline}.woocommerce-product-gallery .flex-viewport>.ai-reviews-over-hero a:focus-visible{outline:3px solid #ffda00;outline-offset:3px}}
/* A partial selection must not imply that the parent minimum prices that configuration. */
body.single-product .summary p.price.ai-price-partial{display:none!important}
/* Keep finish choices comfortably grouped at intermediate desktop widths. */
@media(min-width:801px) and (max-width:1100px){
 body.single-product .ai-color-options>div{gap:6px}
 body.single-product .ai-color-options a{padding-left:8px;padding-right:8px;min-height:44px;justify-content:center}
}

/* Woo starts variable forms unavailable until its variation selection resolves. */
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt.wc-variation-selection-needed{background:#e5e5e5;color:#555;opacity:1}

/* Keep the purchase action aligned with the approved rectangular button. */
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt{border-radius:10px!important;gap:0}
body.single-product.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt::before,
body.single-product .ai-sticky-cart button::before{content:'';display:inline-block;width:20px;height:20px;margin-right:9px;vertical-align:-4px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M5 7h14l1 15H4L5 7Z'/%3E%3Cpath d='M8 8V5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/contain no-repeat}

/* Keep price, availability and installments together on the approved mobile layout. */
@media(max-width:600px){
 body.single-product.woocommerce div.product .summary>p.price,
 body.single-product.woocommerce div.product .summary>form.variations_form>p.price{margin:6px 0}
 body.single-product .summary .single_variation_wrap .woocommerce-variation-availability .stock{margin-bottom:4px}
 body.single-product.woocommerce div.product form.cart .variations_button{gap:8px}
 body.single-product .ai-product-installments{margin:0 0 4px;font-size:14px;line-height:1.3}
 body.single-product .ai-product-installments strong{padding:4px 10px}
 body.single-product .ai-product-installments > span{margin:3px 0}
}

/* Initial name remains visible while a known editorial scene initializes. */
@media(max-width:600px){
 html.ai-scene-pending body.single-product[class*="ai-scene-"] div.product{position:relative}
 html.ai-scene-pending body.single-product[class*="ai-scene-"]:not(.ai-single-gallery-early) .summary>.ai-configuration-heading{display:none}
 html.ai-scene-pending body.single-product[class*="ai-scene-"]:not(.ai-single-gallery-early) .summary>.product_title{position:absolute;top:12px;left:12px;z-index:5;max-width:40%;margin:0;padding:6px 8px;background:#202124;color:#fff;font-size:16px;line-height:1.2;border-radius:4px}
}
/* Keep the name outside tablet and desktop screens in alternate mobile views. */
@media(max-width:600px){
 .flex-viewport > :is(.ai-ipad-hero,.ai-imac-hero)[hidden] ~ .ai-gallery-caption{max-width:25%}
}
/* The screen layer waits for the associated native product image. */
html.ai-native-image-guard .woocommerce-product-gallery__image > a.ai-ipad-link:not([data-ai-image-ready="1"]) > .ai-ipad-overlay{visibility:hidden}

/* Screen overlays in editorial scenes and enlarged views also wait for the device. */
html.ai-native-image-guard :is(.ai-ipad-hero-face,.ai-imac-device,.ai-ipad-modal-frame):not([data-ai-image-ready="1"]) > .ai-ipad-overlay,
html.ai-native-image-guard .ai15-front:has(>img):not([data-ai-image-ready="1"]) > .ai15-screen,
html.ai-native-image-guard .ai-local-front:has(>img.ai-local-base):not([data-ai-image-ready="1"]) > .ai-local-screen,
html.ai-native-image-guard .woocommerce-product-gallery__image > a:is(.ai-local-front-link,.ai-local-angle-link):not([data-ai-image-ready="1"]) > :is(.ai-local-front-square,.ai-local-angle-square),
html.ai-native-image-guard .ai-local-front-enlarged:not([data-ai-image-ready="1"]) > :is(.ai-local-front-screen,.ai-local-angle-square){visibility:hidden}

/* In thumbnails, do not draw a screen before its product image is ready. */
html.ai-native-image-guard :is(li.ai-ipad-thumb,li.ai-local-front-thumb,li.ai-local-angle-thumb):not([data-ai-image-ready="1"]) > :is(.ai-ipad-overlay,.ai-local-front-thumb-screen,.ai-local-angle-square),
html.ai-native-image-guard .flex-control-thumbs .ai15-compact .ai15-front:not([data-ai-bg-ready="1"]) > .ai15-screen,
html.ai-native-image-guard .flex-control-thumbs .ai-local-thumb-front:not([data-ai-bg-ready="1"]) > .ai-local-thumb-screen{visibility:hidden}
/* Keep secondary-view enlargement away from MacBook displays on small screens. */
@media(max-width:600px){
 .woocommerce-product-gallery:has(.ai-macbook-hero) .flex-viewport > .ai-ipad-zoom{top:auto;right:auto;bottom:8px;left:8px}
}

/* En móvil, conservar «Limpiar» junto al rótulo sin añadir otra línea de compra. */
@media(max-width:600px){
 body.single-product .variations tr:has(.ai-choice-buttons){position:relative}
 body.single-product .variations tr:has(.ai-choice-buttons) th.label{padding-right:76px}
 body.single-product .variations tr:has(.ai-choice-buttons) .reset_variations{position:absolute;top:0;right:0;min-height:32px;display:inline-flex;align-items:center}
}

/* Reserve the review link outside the purchase flow only until its position is decided. */
@media(max-width:600px){
 html.ai-scene-pending body.single-product[class*="ai-scene-"]:not(.ai-single-gallery-early) .summary>.ai-own-reviews-link,
 body.single-product:has(.woocommerce-product-gallery:not(.ai-gallery-empty-state):not(.ai-reviews-placement-resolved) .flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero):not([hidden])) .summary>.ai-own-reviews-link{position:absolute;top:12px;right:12px;z-index:6;width:max-content;max-width:44%;margin:0;background:#202124;color:#fff;border-radius:4px;padding:6px 8px;line-height:1.2;font-size:12px}
 body.single-product:has(.woocommerce-product-gallery:not(.ai-gallery-empty-state):not(.ai-reviews-placement-resolved) .flex-viewport > :is(.ai15-hero,.ai-local-pilot-hero,.ai-ipad-hero,.ai-mini-hero,.ai-macbook-hero,.ai-imac-hero):not([hidden])) div.product{position:relative}
 html.ai-scene-pending body.single-product[class*="ai-scene-"]:not(.ai-single-gallery-early) .summary>.ai-color-options{margin-top:0;margin-bottom:8px}
}

/* Early layout reservation for eligible mobile galleries. */
@media(max-width:600px){
html.ai-scene-pending .woocommerce-product-gallery[data-ai-early]:not(:has(.flex-viewport)){margin-bottom:12px!important;container-type:inline-size}
html.ai-scene-pending .woocommerce-product-gallery[data-ai-early]:not(:has(.flex-viewport))>.woocommerce-product-gallery__wrapper{height:50vw;overflow:hidden}
html.ai-scene-pending .woocommerce-product-gallery[data-ai-early]:not(:has(.flex-viewport))::after{content:'';display:block;margin-top:15px;height:var(--ai-early-thumb)}
}

/* Separate related products from the preceding purchase details. */
body.single-product .ai-product-purchase + .related.products{margin-top:32px}

@media(max-width:600px){html.ai-scene-pending .woocommerce-product-gallery[data-ai-early-single]:not(:has(.flex-viewport))>.woocommerce-product-gallery__wrapper{aspect-ratio:2/1;overflow:hidden}}
