.qwbd{border:1px solid #dfe5ed;border-radius:16px;padding:20px;margin:18px 0;background:#fff;color:#172b49}.qwbd h3{margin:0 0 4px;font-size:22px}.qwbd-note{font-size:12px;color:#68788e;margin:6px 0 10px}.qwbd-field{margin:18px 0}.qwbd-field>strong,.qwbd-field>label>strong{display:block;font-size:15px;margin-bottom:11px}.qwbd-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.qwbd-three{grid-template-columns:repeat(3,minmax(0,1fr))}.qwbd-choices label{border:1px solid #ccd5df;padding:12px 8px;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:10px;text-align:center;cursor:pointer;font-size:12px;font-weight:700}.qwbd-choices label:has(input:checked){border:2px solid #ff7900;background:#fff9f5}.qwbd-colors{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.qwbd-colors label:not(.qwbd-color-custom){display:block;cursor:pointer}.qwbd-colors label>input[type=radio]{position:absolute;opacity:0}.qwbd-colors label>span{display:flex;align-items:center;justify-content:center;width:39px;height:39px;background:var(--swatch);border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #cbd2db}.qwbd-colors label:has(input:checked)>span{box-shadow:0 0 0 3px #ff7900}.qwbd-color-custom{position:relative;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:conic-gradient(red,yellow,green,cyan,blue,purple,red);cursor:pointer}.qwbd-color-custom input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.qwbd-color-custom span{color:white;font-size:24px;font-weight:800;pointer-events:none}.qwbd-field input:not([type=radio]):not([type=color]):not([type=range]):not([type=file]){width:100%;border:1px solid #d0d9e4;border-radius:9px;min-height:47px;padding:10px;box-sizing:border-box}.qwbd-field input[type=file]{width:100%;max-width:100%;font-size:13px}.qwbd-scale{display:flex;gap:10px;align-items:center;margin:12px 0;font-size:12px}.qwbd-scale input{flex:1;min-width:20px}.qwbd-live{background:#f2f3f5;padding:16px;display:flex;justify-content:center;align-items:center;min-height:200px}.qwbd-live canvas{display:block;width:min(100%,390px);height:auto;aspect-ratio:2/3;border-radius:12px;box-shadow:0 10px 26px #0002}.qwbd-search-btn{margin:4px 0 10px}.qwbd-search-input{width:100%;border:1px solid #d0d9e4;border-radius:9px;min-height:47px;padding:10px;box-sizing:border-box}.qwbd-search-mount{margin:8px 0 10px}#qwbd-message{font-size:12px;color:#194f77}#qwbd-test{color:#155a98;font-size:13px;display:inline-block;margin-top:8px}.woocommerce-product-gallery__image.qwbd-live-slide{position:relative}.woocommerce-product-gallery__image.qwbd-live-slide>.qwbd-original-image{position:absolute!important;left:-99999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:.001!important;pointer-events:none!important}.woocommerce-product-gallery__image.qwbd-live-slide>.qwbd-live{width:100%;box-sizing:border-box;margin:0;min-height:auto}.woocommerce-product-gallery__image.qwbd-live-slide>.qwbd-live canvas{width:min(100%,520px)}@media(min-width:768px){.qwbd{width:100%}}@media(max-width:500px){.qwbd{padding:14px}.qwbd-three{grid-template-columns:1fr}.qwbd-choices label{padding:11px 5px}}

.qwbd-remove-logo{display:inline-block;margin-top:9px!important}.qwbd-remove-logo[hidden]{display:none!important}

/* v1.0.6: JS handles gallery follow; never apply theme-dependent sticky to a parent. */
.qwbd-sticky-column{position:static!important;top:auto!important;height:auto!important;z-index:auto!important}
.woocommerce-product-gallery,.product-gallery{overflow:visible!important}

/* v1.0.7: translate the entire gallery column, never the live slide by itself. */
@media(min-width:850px){
  .qwbd-gallery-unit{position:relative!important;top:auto!important;transform:translate3d(0,var(--qwbd-follow-y,0px),0)!important;z-index:5;isolation:isolate;}
  .qwbd-gallery-anchor{display:block;height:0;width:0;pointer-events:none;}
  .qwbd-gallery-unit .woocommerce-product-gallery__wrapper{isolation:isolate;}
  .qwbd-gallery-unit .qwbd-live-slide{overflow:hidden;}
}
@media(max-width:849px){.qwbd-gallery-unit{transform:none!important}.qwbd-gallery-anchor{display:none}}

/* v1.0.8: The complete image gallery, including thumbnails, follows together. */
@media(min-width:850px){
 .qwbd-gallery-thumbs-unit{position:relative!important;top:auto!important;transform:translate3d(0,var(--qwbd-follow-y,0px),0)!important;z-index:5;}
 .qwbd-gallery-unit .qwbd-live-slide{overflow:visible!important}
}
@media(max-width:849px){.qwbd-gallery-thumbs-unit{transform:none!important}}

/* v1.0.10: preview is 20% smaller; only the browser display changes. */
.woocommerce-product-gallery__image.qwbd-live-slide>.qwbd-live canvas{width:min(80%,416px)!important}
.qwbd-live canvas{width:min(80%,312px)}
