.jbt-retail-editor{box-sizing:border-box;clear:both;width:100%;margin:20px 0;padding:20px;border:1px solid #d7e0e6;border-radius:12px;background:#f7f9fa;color:#263944;line-height:1.45}
.jbt-retail-editor *{box-sizing:border-box}
.jbt-retail-editor h3{margin:0 0 16px;font-size:24px}
.jbt-retail-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.jbt-retail-editor label{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600;margin:0}
.jbt-retail-editor input[type=text],.jbt-retail-editor select{width:100%;height:44px;min-height:44px;margin:0;padding:8px 10px;border:1px solid #bfcdd4;border-radius:6px;background:#fff;color:#243b48;font:inherit;line-height:1.3}
.jbt-retail-editor p{font-size:14px;margin:12px 0}
.jbt-retail-editor .jbt-retail-total{font-size:17px;font-weight:700}
.jbt-retail-editor .jbt-design-style-controls{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px 16px}
.jbt-retail-editor [hidden]{display:none!important}
.jbt-retail-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;max-width:500px;margin:18px auto}
.jbt-retail-pair figure{margin:0;min-width:0;text-align:center}
.jbt-retail-pair svg,.jbt-retail-pair img{display:block;width:100%;height:auto;aspect-ratio:637/1015;object-fit:contain;border:1px solid #d1dbe0;border-radius:5px;background:#fff}
.jbt-retail-pair figcaption{font-size:13px;font-weight:600;margin-top:6px}
.jbt-retail-review{margin:12px 0}
.jbt-retail-review .jbt-retail-pair{max-width:250px;margin:10px 0;gap:10px}
.jbt-retail-review a{font-size:14px}
form.cart:has(.jbt-retail-editor){flex-wrap:wrap}
form.cart:has(.jbt-retail-editor) .single_add_to_cart_button{min-height:44px}
@media(max-width:480px){.jbt-retail-editor{padding:16px}.jbt-retail-fields{grid-template-columns:1fr}.jbt-retail-pair{gap:10px}.jbt-retail-editor .jbt-design-style-controls{grid-template-columns:1fr}}

/* A single gallery drives the retail preview on desktop and mobile. */
[data-jbt-retail-gallery]{width:100%!important;max-width:490px;margin:0 auto!important;float:none!important}
[data-jbt-retail-gallery] .flex-viewport{max-height:520px}
[data-jbt-retail-gallery] .woocommerce-product-gallery__image img{max-height:520px;width:100%;object-fit:contain}
[data-jbt-retail-gallery] .flex-control-thumbs{display:flex;justify-content:center;gap:8px;margin-top:10px!important}
[data-jbt-retail-gallery] .flex-control-thumbs li{width:52px!important;float:none!important}
[data-jbt-retail-gallery] .flex-control-thumbs img{max-height:76px;object-fit:contain}
[data-jbt-retail-gallery].jbt-retail-gallery-live>:not(.jbt-retail-gallery-preview){display:none!important}
.jbt-retail-gallery-preview[hidden]{display:none!important}
[data-jbt-retail-gallery] .jbt-retail-gallery-preview{margin:0;max-width:none;gap:16px;padding:14px;background:#f7f9fa;border:1px solid #d7e0e6;border-radius:12px}
.jbt-retail-attachment{border:0;padding:0;margin:14px 0 0;min-width:0}
.jbt-retail-attachment legend{font:inherit;font-weight:600;padding:0;margin-bottom:7px}
.jbt-retail-attachment [data-retail-attachment-options]{display:flex;flex-wrap:wrap;gap:8px}
.jbt-retail-editor .jbt-retail-attachment label{flex:1 1 180px;flex-direction:row;align-items:center;gap:9px;padding:10px;border:1px solid #bfcdd4;border-radius:6px;background:white;cursor:pointer;font-weight:500}
.jbt-retail-attachment label:has(input:checked){border-color:#ed2939;background:#fff7f7}
.jbt-retail-attachment input[type=radio]{width:18px;height:18px;min-width:18px;margin:0;accent-color:#ed2939}
.jbt-retail-attachment label:focus-within{outline:2px solid #263944;outline-offset:2px}
.jbt-retail-product-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);column-gap:28px;row-gap:6px;align-items:start}
.jbt-retail-product-grid>.jbt-retail-image-column{grid-column:1;grid-row:1 / span 4;width:100%!important;position:sticky;top:48px}
.jbt-retail-product-grid>.jbt-retail-summary-column,.jbt-retail-product-grid .jbt-retail-summary-widgets{display:contents!important}
.jbt-retail-product-grid .jbt-retail-summary-widgets>.elementor-widget{grid-column:2;min-width:0;margin:0!important;width:100%!important}
.jbt-retail-product-grid .elementor-widget-woocommerce-product-title{grid-row:1}
.jbt-retail-product-grid .elementor-widget-woocommerce-breadcrumb{grid-row:2}
.jbt-retail-product-grid .elementor-widget-woocommerce-product-price{grid-row:3}
.jbt-retail-product-grid .elementor-widget-woocommerce-product-add-to-cart{grid-row:4}
.jbt-retail-product-grid .jbt-retail-summary-widgets>.elementor-widget-woocommerce-product-short-description{grid-column:1 / -1;grid-row:5;padding-top:20px;border-top:1px solid #d7e0e6;margin-top:18px!important}
.jbt-retail-product-grid .elementor-widget-woocommerce-product-meta{grid-row:6}
.jbt-retail-product-grid .elementor-widget-woocommerce-product-price p,.jbt-retail-product-grid .woocommerce-breadcrumb{margin:0!important;padding:0!important}
.jbt-retail-product-grid .elementor-widget-woocommerce-product-add-to-cart form.cart{margin:0!important}
.jbt-retail-product-grid .jbt-retail-editor{margin:6px 0 12px;padding:16px}
.jbt-retail-product-grid .jbt-retail-editor h3{margin:0 0 10px;font-size:22px}
.jbt-retail-product-grid .jbt-retail-fields{gap:9px 12px}
.jbt-retail-product-grid .jbt-retail-editor label{gap:4px}
.jbt-retail-product-grid .jbt-retail-editor p{margin:9px 0}
.jbt-retail-product-grid .elementor-widget-woocommerce-product-title h1,.jbt-retail-product-grid .elementor-widget-woocommerce-product-title h2{margin:0}
.jbt-retail-native-summary .jbt-retail-editor{margin-top:12px}
@media(max-width:767px){
 .jbt-retail-product-grid{grid-template-columns:minmax(0,1fr);gap:5px;padding:0 12px!important}
 .jbt-retail-product-grid>.jbt-retail-image-column{grid-column:1;grid-row:4;width:100%!important;position:static}
 .jbt-retail-product-grid .jbt-retail-image-column>.elementor-widget-wrap{padding:0!important}
 .jbt-retail-product-grid .jbt-retail-summary-widgets>.elementor-widget{grid-column:1}
 .jbt-retail-product-grid .elementor-widget-woocommerce-product-add-to-cart{grid-row:5}
 .jbt-retail-product-grid .jbt-retail-summary-widgets>.elementor-widget-woocommerce-product-short-description{grid-row:6;padding-top:14px;margin-top:12px!important}
 .jbt-retail-product-grid .elementor-widget-woocommerce-product-meta{grid-row:7}
 [data-jbt-retail-gallery]{max-width:360px;margin:8px auto!important}
 [data-jbt-retail-gallery] .flex-viewport{height:180px!important;max-height:180px}
 [data-jbt-retail-gallery] .woocommerce-product-gallery__image img{height:180px!important;max-height:180px;object-fit:contain}
 [data-jbt-retail-gallery] .flex-control-thumbs{margin:4px 0!important}
 [data-jbt-retail-gallery] .flex-control-thumbs li{width:24px!important}
 [data-jbt-retail-gallery] .flex-control-thumbs img{max-height:34px}
 [data-jbt-retail-gallery] .jbt-retail-gallery-preview{max-width:270px;margin:auto;padding:8px;gap:12px}
 .jbt-retail-product-grid .jbt-retail-editor{padding:14px;margin-top:4px}
 .jbt-retail-editor input[type=text],.jbt-retail-editor select{font-size:16px;min-height:44px}
 .jbt-retail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .jbt-retail-editor .jbt-design-style-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 .jbt-retail-editor .jbt-design-style-controls>label:first-child{grid-column:1 / -1}
 .jbt-retail-editor .jbt-retail-attachment label{flex-basis:100%;min-height:44px}
 form.cart:has(.jbt-retail-editor) .single_add_to_cart_button{flex:1;min-height:48px;white-space:normal}
}
@media(max-width:359px){.jbt-retail-fields{grid-template-columns:1fr}}

.jbt-retail-editor [data-retail-field]{min-width:0}
.jbt-retail-editor input[data-fit-error]{border-color:#b42318!important;outline:1px solid #b42318;outline-offset:0}
.jbt-retail-editor .jbt-retail-field-error{display:block;margin-top:5px;color:#a51d14;font-size:14px;font-weight:500;line-height:1.35}
