.tarw-wf{margin:18px 0 24px;clear:both}.tarw-wf__title{font-size:16px;font-weight:600;margin-bottom:10px}.tarw-wf__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.tarw-wf__item{display:flex;flex-direction:column;align-items:center;border:1px solid #d9dde3;border-radius:4px;padding:4px;text-decoration:none!important;min-width:0;background:#fff;transition:border-color .15s}.tarw-wf__item:hover,.tarw-wf__item.is-active{border:2px solid #23a341;padding:3px}.tarw-wf__item img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.tarw-wf__item span{font-size:10px;line-height:1.3;color:#555;text-align:center;overflow-wrap:anywhere}@media(max-width:767px){.tarw-wf__grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.tarw-wf__item span{font-size:9px}}

/* El selector no depende del formulario de compra ni del estado de existencias. */
.single-product .summary .tarw-wf{margin:12px 0 16px;clear:both}

/* Encabezado público genérico; nunca mostrar el nombre interno de la familia. */
.tarw-wf .tarw-wf__title{font-size:14px;font-weight:600;line-height:1.4;margin:0 0 9px;color:inherit}

/* v1.3.3: keep the family selector in normal document flow, even with many rows. */
.single-product .summary .tarw-wf{display:flow-root;position:relative;float:none!important;width:100%;height:auto!important;min-height:0;max-height:none;overflow:visible;clear:both;margin:16px 0 24px!important;padding:0 0 4px;box-sizing:border-box}
.single-product .summary .tarw-wf__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(65px,1fr));gap:8px;align-items:stretch;height:auto;max-height:none;overflow:visible}
.single-product .summary .tarw-wf__item{position:relative;float:none;min-width:0;min-height:0;height:auto;box-sizing:border-box}
.single-product .summary .tarw-wf__item img{position:static;width:100%;height:auto;max-height:90px;object-fit:contain}
.single-product .summary .tarw-wf__item .onsale,
.single-product .summary .tarw-wf__item .badge,
.single-product .summary .tarw-wf__item [class*="best-seller"],
.single-product .summary .tarw-wf__item [class*="bestseller"],
.single-product .summary .tarw-wf__item [class*="product-label"]{display:none!important}
@media(max-width:767px){.single-product .summary .tarw-wf__grid{grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:6px}.single-product .summary .tarw-wf{margin-bottom:22px!important}}

/* v1.3.4: availability on hover/focus, gentle image zoom without reflow. */
.single-product .summary .tarw-wf__item .tarw-wf__image{display:block;position:relative;width:100%;overflow:hidden;border-radius:3px;isolation:isolate}
.single-product .summary .tarw-wf__item .tarw-wf__image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;transform:scale(1);transition:transform .22s ease;transform-origin:center}
.single-product .summary .tarw-wf__item:hover .tarw-wf__image img,.single-product .summary .tarw-wf__item:focus-visible .tarw-wf__image img{transform:scale(1.15)}
.single-product .summary .tarw-wf__item .tarw-wf__availability{position:absolute;left:2px;right:2px;bottom:2px;z-index:2;display:block!important;width:auto;padding:3px 2px;border-radius:3px;background:#16733c;color:#fff!important;font-size:10px;line-height:1.2;font-weight:600;text-align:center;opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;pointer-events:none;overflow-wrap:normal}
.single-product .summary .tarw-wf__item .tarw-wf__availability.is-outofstock{background:#6b7280}
.single-product .summary .tarw-wf__item .tarw-wf__availability.is-backorder{background:#8a5a12}
.single-product .summary .tarw-wf__item:hover .tarw-wf__availability,.single-product .summary .tarw-wf__item:focus-visible .tarw-wf__availability{opacity:1;visibility:visible;transform:translateY(0)}
.single-product .summary .tarw-wf__item .tarw-wf__sku{display:block;font-size:10px;line-height:1.3}
@media(hover:none){.single-product .summary .tarw-wf__item .tarw-wf__availability{opacity:1;visibility:visible;transform:none;font-size:9px}}
@media(prefers-reduced-motion:reduce){.single-product .summary .tarw-wf__item .tarw-wf__image img,.single-product .summary .tarw-wf__item .tarw-wf__availability{transition:none}}

/* v1.4.3: delayed floating large-image preview, outside Blocksy overflow containers. */
.tarw-wf-zoom{position:fixed;z-index:2147483000;box-sizing:border-box;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(5px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;background:#fff;border:1px solid #e1e5e9;border-radius:10px;box-shadow:0 14px 40px rgba(15,23,42,.19);padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.tarw-wf-zoom.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.tarw-wf-zoom img{width:100%;aspect-ratio:1;max-height:calc(100% - 25px);object-fit:contain;display:block}
.tarw-wf-zoom__sku{font-size:12px;color:#444;font-weight:600;margin-top:5px}
@media(hover:none),(pointer:coarse){.tarw-wf-zoom{display:none!important}}
@media(prefers-reduced-motion:reduce){.tarw-wf-zoom{transition:none}}

.tarw-wf-zoom{justify-content:flex-start;gap:5px}
.tarw-wf-zoom img{flex:1;min-height:0;max-height:none;aspect-ratio:auto}
.tarw-wf-zoom__details{width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;padding-top:6px;border-top:1px solid #eee}
.tarw-wf-zoom__sku{margin:0}
.tarw-wf-zoom__stock{font-size:11px;font-weight:650}
.tarw-wf-zoom__stock.is-instock{color:#167341}
.tarw-wf-zoom__stock.is-backorder{color:#a66b12}
.tarw-wf-zoom__stock.is-outofstock{color:#b42318}
.tarw-wf-zoom__price{width:100%;display:flex;gap:10px;align-items:baseline;font-size:17px;color:#17212b}
.tarw-wf-zoom__price del{font-size:12px;color:#818991}
.tarw-wf__zoom-price-source[hidden]{display:none!important}

/* v1.4.5 — Compact TARW preview aligned to Blocksy's clean product page. */
.tarw-wf-zoom{width:264px;max-width:calc(100vw - 24px);padding:12px 13px 13px;gap:0;border:1px solid #e8e9ec;border-radius:7px;background:#fff;box-shadow:0 10px 30px rgba(21,28,43,.15);font-family:inherit;align-items:stretch;justify-content:flex-start}
.tarw-wf-zoom img{flex:0 0 auto;width:100%;height:204px;max-height:204px;object-fit:contain;object-position:center;aspect-ratio:auto;margin:0 auto 10px}
.tarw-wf-zoom__details{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;row-gap:9px;border-top:1px solid #eef0f2;padding:10px 0 0}
.tarw-wf-zoom__sku{color:#31394c;font-size:11px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.tarw-wf-zoom__stock{font-size:10px;line-height:1.35;font-weight:650;text-align:right;white-space:nowrap}
.tarw-wf-zoom__price{grid-column:1/-1;width:100%;display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;line-height:1.2;color:#151515;font-size:18px;font-weight:700}
.tarw-wf-zoom__price ins{background:none;text-decoration:none;color:inherit;font-weight:700}
.tarw-wf-zoom__price del{font-size:12px;font-weight:400;color:#9297a0;opacity:1}
.tarw-wf-zoom__price .woocommerce-Price-amount{white-space:nowrap}
@media(max-height:620px){.tarw-wf-zoom img{height:145px;max-height:145px}}

/* v1.4.6: full product title in the floating preview. */
.tarw-wf-zoom__title{font-family:inherit;font-size:13px;font-weight:650;line-height:1.45;color:#171a20;margin:0 0 10px;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;}

/* v1.4.7: cleaner, more legible preview and image proportions. */
.tarw-wf-zoom{padding:12px 14px 14px;box-shadow:0 12px 32px rgba(20,27,42,.16)}
.tarw-wf-zoom img{height:214px;max-height:214px;object-fit:contain;margin-bottom:8px}
.tarw-wf-zoom__title{font-size:12px;line-height:1.4;font-weight:600;margin-bottom:9px}
.tarw-wf-zoom__details{row-gap:7px;padding-top:9px}
.tarw-wf-zoom__price{font-size:19px;gap:9px}
@media(max-height:680px){.tarw-wf-zoom img{height:150px;max-height:150px}}
