.htmg-brands{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin:8px 0 18px}.htmg-brand{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:6px;min-height:106px;padding:12px 8px;border:1px solid #cbd1d8!important;border-radius:9px;background:#fff!important;color:#17202e!important;cursor:pointer;text-align:center}.htmg-brand[aria-pressed="true"]{border:2px solid #e51837!important;box-shadow:0 0 0 1px #e51837}.htmg-brand-logo{height:38px!important;width:auto!important;max-width:100px!important;object-fit:contain}.htmg-brand span{font-size:12px;line-height:1.4}.htmg-brand b{font-size:13px}.htmg-color-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 15px}.htmg-color-btn{border:1px solid #aaa!important;background:#fff!important;color:#17202e!important;padding:8px 12px!important;border-radius:6px;cursor:pointer}.htmg-color-btn[aria-pressed="true"]{border:2px solid #e51837!important}.htmg-info{margin:12px 0;padding:14px;background:#f6f7f8;border:1px solid #dfe2e5;border-radius:8px}.htmg-info-description{line-height:1.6}.htmg-info-chart img{max-width:100%;max-height:650px;object-fit:contain}.htmg-info-chart a{display:inline-block;margin-top:10px}.htmg-picker~.rsao-single-color,.htmg-picker~.rsao-color-picker,.htmg-picker~.rsao-color-buttons{display:none!important}

/* v0.4.4: preserve uncropped manufacturer marks, visible swatches, and catalog choices. */
.rsao-box .htmg-brand{overflow:visible!important;min-width:0!important;padding:12px 9px!important;box-sizing:border-box!important}
.rsao-box .htmg-brand-logo,.rsao-box .htmg-brand img{display:block!important;max-width:95%!important;width:auto!important;height:auto!important;max-height:52px!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;clip-path:none!important;overflow:visible!important;margin:0 auto!important}
.rsao-box .htmg-brand strong{font-size:15px!important;line-height:1.3!important;overflow-wrap:anywhere}
.rsao-box .htmg-color-btn{display:inline-flex!important;align-items:center!important;gap:9px!important;min-height:42px!important;font-weight:600!important}
.rsao-box .htmg-color-swatch{display:inline-block!important;flex:0 0 22px!important;width:22px!important;height:22px!important;border-radius:50%!important;border:1px solid #8d8d8d!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)!important}
.rsao-box .mnso-sizes .mnso-choice[disabled]{display:none!important}
.htmg-catalog-count{font-size:12px;font-weight:700;line-height:1.35;color:#424a55;margin:5px 0 8px}

/* v0.4.5: clean brand-logo cards and circle-only color selection */
.rsao-box .htmg-brands .htmg-brand{min-height:84px!important;height:84px!important;padding:10px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:0!important;background:#fff!important;color:#17202e!important;border:1px solid #ccd2d9!important;border-radius:9px!important;box-shadow:none!important}
.rsao-box .htmg-brands .htmg-brand[aria-pressed="true"]{border:2px solid #df1734!important;box-shadow:0 0 0 1px #df1734!important}
.rsao-box .htmg-brands .htmg-brand img.htmg-brand-logo{display:block!important;position:static!important;max-width:90%!important;max-height:64px!important;width:auto!important;height:auto!important;object-fit:contain!important;object-position:center!important;filter:none!important;mix-blend-mode:normal!important;clip-path:none!important;transform:none!important;margin:auto!important}
.rsao-box .htmg-brands .htmg-brand strong{color:#17202e!important;font-size:14px!important}
.rsao-box .htmg-brands .htmg-brand span,.rsao-box .htmg-brands .htmg-brand b{display:none!important}
.rsao-box .htmg-color-buttons{gap:11px!important}
.rsao-box .htmg-color-buttons .htmg-color-btn{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:5px!important;border-radius:50%!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:1px solid #9da3ac!important;box-shadow:none!important}
.rsao-box .htmg-color-buttons .htmg-color-btn[aria-pressed="true"]{border:2px solid #df1734!important;box-shadow:0 0 0 2px #fff,0 0 0 3px #df1734!important}
.rsao-box .htmg-color-buttons .htmg-color-swatch{width:26px!important;height:26px!important;flex:0 0 26px!important;border-radius:50%!important}


/* v0.4.8: consistent garment details and collapsed size chart */
.rsao-box .htmg-info-description{margin:10px 0 0;line-height:1.6}
.rsao-box .htmg-info-description p{margin:0 0 10px}
.rsao-box .htmg-size-chart-details{margin-top:12px;border-top:1px solid #d7dce2;padding-top:10px}
.rsao-box .htmg-size-chart-details summary{cursor:pointer;font-weight:700;color:#17202e;list-style:revert;padding:8px 2px}
.rsao-box .htmg-size-chart-details summary:focus-visible{outline:2px solid #df1734;outline-offset:3px}
.rsao-box .htmg-info-chart{padding-top:10px}
.rsao-box .htmg-info-chart img{display:block;width:auto;max-width:100%;height:auto;max-height:540px;object-fit:contain}

/* v0.4.19: keep the selected mockup fully visible; avoid stale WooCommerce hover zoom */
.product .htmg-gallery-synced .zoomImg{display:none!important;pointer-events:none!important}
.product .htmg-gallery-synced .woocommerce-product-gallery__image img:not(.zoomImg){object-fit:contain!important;object-position:center!important;max-width:100%!important;height:auto!important}
.product .htmg-gallery-synced{position:relative!important;overflow:visible!important}
.product .htmg-gallery-synced .htmg-zoom-button{position:absolute!important;top:10px!important;right:10px!important;z-index:30!important;border:0!important;border-radius:50%!important;background:#fff!important;color:#111!important;width:34px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;font-size:27px!important;line-height:1!important;box-shadow:0 1px 5px #0002!important}
.product .htmg-gallery-synced .woocommerce-product-gallery__trigger{display:none!important}

/* v0.4.20: make the enlarge control visible and clickable over theme galleries. */
.woocommerce-product-gallery.htmg-gallery-synced{position:relative!important}
.woocommerce-product-gallery.htmg-gallery-synced>.htmg-zoom-button{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:absolute!important;top:12px!important;right:12px!important;z-index:9999!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;background:#fff!important;border:1px solid #ddd!important;border-radius:50%!important;color:#111!important;cursor:pointer!important;font-size:20px!important}
.woocommerce-product-gallery.htmg-gallery-synced>.woocommerce-product-gallery__trigger{display:none!important}

/* v0.4.21: pointer-follow hover zoom within the existing product image */
.htmg-picker ~ .woocommerce-product-gallery .htmg-zoom-button,
.woocommerce-product-gallery.htmg-gallery-synced .htmg-zoom-button{display:none!important}
.woocommerce-product-gallery.htmg-gallery-synced .woocommerce-product-gallery__trigger{display:none!important}
.woocommerce-product-gallery.htmg-gallery-synced .woocommerce-product-gallery__image{position:relative!important;cursor:zoom-in}
.woocommerce-product-gallery .htmg-hover-zoom{display:none;position:absolute;inset:0;z-index:20;pointer-events:none;background-repeat:no-repeat;background-color:#fff;border-radius:inherit}
@media(hover:none),(pointer:coarse){.woocommerce-product-gallery .htmg-hover-zoom{display:none!important}}
