body.vm-product-layout .product{--vm-gallery:52%;--vm-gap:56px;--vm-summary-max:560px}
body.vm-product-layout div.product{display:grid;grid-template-columns:minmax(0,var(--vm-gallery)) minmax(0,1fr);gap:var(--vm-gap);align-items:start}
body.vm-product-layout div.product .woocommerce-product-gallery{width:auto!important;float:none!important;margin:0!important}
body.vm-product-layout div.product .summary{width:auto!important;float:none!important;margin:0!important;max-width:var(--vm-summary-max)}
body.vm-product-layout .vm-product-layout-benefits{display:grid;gap:8px;margin:18px 0 0;padding:14px;border:1px solid rgba(0,0,0,.08);border-radius:14px}
body.vm-product-layout .vm-product-layout-benefits span{font-size:.92rem}
body.vm-product-layout-sticky-summary div.product .summary{position:sticky;top:110px}
body.vm-product-layout-sticky-gallery div.product .woocommerce-product-gallery{position:sticky;top:110px}
body.vm-product-layout-gallery-right div.product{grid-template-columns:minmax(0,1fr) minmax(0,var(--vm-gallery))}
body.vm-product-layout-gallery-right div.product .woocommerce-product-gallery{grid-column:2}
body.vm-product-layout-gallery-right div.product .summary{grid-column:1;grid-row:1}
body.vm-product-layout-wide-gallery .product{--vm-gallery:62%;--vm-gap:40px}
body.vm-product-layout-compact .product{--vm-gallery:44%;--vm-gap:32px;--vm-summary-max:480px}
body.vm-product-layout-minimal .product{--vm-gallery:58%;--vm-gap:72px}
body.vm-product-layout-editorial .product{--vm-gallery:60%;--vm-gap:64px}
body.vm-product-layout-luxury .product{--vm-gallery:64%;--vm-gap:72px}
body.vm-product-layout-fashion .product{--vm-gallery:56%;--vm-gap:48px}
body.vm-product-layout-beauty .product{--vm-gallery:50%;--vm-gap:44px}
body.vm-product-layout-electronics .product{--vm-gallery:48%;--vm-gap:36px;--vm-summary-max:620px}
body.vm-product-layout-furniture .product{--vm-gallery:62%;--vm-gap:56px}
body.vm-product-layout-grocery .product{--vm-gallery:40%;--vm-gap:28px;--vm-summary-max:520px}
body.vm-product-layout-jewelry .product{--vm-gallery:64%;--vm-gap:68px}
body.vm-product-layout-sports .product{--vm-gallery:52%;--vm-gap:40px}
body.vm-product-layout-outdoor .product{--vm-gallery:58%;--vm-gap:48px}
body.vm-product-layout-digital .product{--vm-gallery:42%;--vm-gap:40px;--vm-summary-max:640px}
body.vm-product-layout-marketplace .product{--vm-gallery:46%;--vm-gap:36px;--vm-summary-max:640px}
body.vm-product-layout-b2b .product{--vm-gallery:44%;--vm-gap:32px;--vm-summary-max:680px}
body.vm-product-layout-subscription .product{--vm-gallery:46%;--vm-gap:40px}
body.vm-product-layout-bundle .product{--vm-gallery:50%;--vm-gap:42px}
body.vm-product-layout-video .product{--vm-gallery:66%;--vm-gap:44px}
body.vm-product-layout-conversion .product{--vm-gallery:48%;--vm-gap:32px;--vm-summary-max:600px}
body.vm-product-layout-conversion div.product .summary,
body.vm-product-layout-grocery div.product .summary,
body.vm-product-layout-electronics div.product .summary{position:sticky;top:110px}
body.vm-product-layout-luxury .summary .price,
body.vm-product-layout-jewelry .summary .price{font-size:1.5rem}
body.vm-product-layout-electronics .woocommerce-product-details__short-description,
body.vm-product-layout-b2b .woocommerce-product-details__short-description{padding:14px 0;border-top:1px solid rgba(0,0,0,.08);border-bottom:1px solid rgba(0,0,0,.08)}
body.vm-product-layout-digital .woocommerce-product-gallery,
body.vm-product-layout-minimal .woocommerce-product-gallery{border-radius:18px;overflow:hidden}
body.vm-product-layout-grocery .quantity input{min-height:44px}
body.vm-product-layout-conversion .single_add_to_cart_button,
body.vm-product-layout-grocery .single_add_to_cart_button{min-height:52px;font-weight:700}
body.vm-product-layout-marketplace .product_meta,
body.vm-product-layout-b2b .product_meta{padding:14px;border:1px solid rgba(0,0,0,.08);border-radius:12px}
@media(max-width:900px){
 body.vm-product-layout div.product{grid-template-columns:1fr;gap:28px}
 body.vm-product-layout div.product .woocommerce-product-gallery,
 body.vm-product-layout div.product .summary{grid-column:1!important;grid-row:auto!important;position:static!important;max-width:none}
}

.vm-layout-context-module{margin:18px 0 0;padding:16px;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:rgba(0,0,0,.015)}
.vm-layout-context-module h3{margin:0 0 12px;font-size:1rem}
.vm-layout-context-module dl{margin:0;display:grid;gap:8px}
.vm-layout-context-module dl div{display:flex;justify-content:space-between;gap:18px;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.06)}
.vm-layout-context-module dl div:last-child{border-bottom:0}
.vm-layout-context-module dt{font-weight:600}
.vm-layout-context-module dd{margin:0;text-align:right}
.vm-product-layout-electronics .vm-layout-context-module{background:rgba(37,99,235,.04)}
.vm-product-layout-fashion .vm-layout-context-module{background:rgba(190,24,93,.035)}
.vm-product-layout-digital .vm-layout-context-module{background:rgba(124,58,237,.04)}
.vm-product-layout-b2b .vm-layout-context-module{background:rgba(15,118,110,.04)}

/* Unified viewport-aware purchase dock */
.vm-purchase-dock{position:fixed;left:50%;bottom:18px;transform:translate(-50%,14px);z-index:9998;width:min(980px,calc(100% - 28px));display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.16);opacity:0;transition:opacity .2s ease,transform .2s ease}
.vm-purchase-dock[hidden]{display:none}.vm-purchase-dock.is-visible{opacity:1;transform:translate(-50%,0)}
.vm-purchase-dock-product{display:flex;align-items:center;gap:12px;min-width:0}
.vm-purchase-dock-product img{width:52px;height:52px;object-fit:cover;border-radius:10px}
.vm-purchase-dock-product span{display:grid;gap:1px;min-width:0}
.vm-purchase-dock-product strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vm-purchase-dock-product small{font-size:.88rem}
.vm-purchase-dock-status{font-size:.72rem;color:#b42318;font-style:normal;min-height:1em}
.vm-purchase-dock-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.vm-purchase-dock-buy{white-space:nowrap;min-height:44px;font-weight:750}
.vm-purchase-dock-buy[disabled],.vm-purchase-dock-buy.disabled{opacity:.5;cursor:not-allowed}
.vm-has-mbn .vm-purchase-dock{bottom:88px}
@media(max-width:700px){
 .vm-purchase-dock{left:10px;right:10px;bottom:10px;width:auto;transform:translateY(14px);padding:9px 10px;border-radius:14px}
 .vm-purchase-dock.is-visible{transform:none}.vm-has-mbn .vm-purchase-dock{bottom:82px}
 .vm-purchase-dock-product img{width:42px;height:42px}.vm-purchase-dock-product strong{max-width:42vw;font-size:.88rem}.vm-purchase-dock-product small{font-size:.78rem}
 .vm-purchase-dock-status{display:none}.vm-purchase-dock-buy{font-size:.82rem;padding:.72em .88em;min-height:42px}
}
@media(prefers-reduced-motion:reduce){.vm-purchase-dock{transition:none!important}}


.vm-layout-feature-band{margin:34px 0;padding:32px;border-radius:20px;background:rgba(0,0,0,.025)}
.vm-layout-feature-band h2{margin:8px 0 10px}
.vm-layout-feature-band p{max-width:760px;margin:0}
.vm-layout-kicker{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;opacity:.68}
@media(max-width:700px){.vm-layout-feature-band{margin:26px 0;padding:22px;border-radius:16px}}


/* Mobile product conversion polish */
body.single-product .summary form.cart .variations{width:100%}
body.single-product .summary form.cart .variations th,
body.single-product .summary form.cart .variations td{padding:7px 0;vertical-align:middle}
body.single-product .summary form.cart .variations select{min-height:44px;min-width:180px;border-radius:10px}
body.single-product .summary form.cart .single_variation_wrap{margin-top:10px}
body.single-product .summary .quantity input.qty{min-height:46px}
body.single-product .summary .single_add_to_cart_button{min-height:48px;border-radius:10px;font-weight:750}
body.single-product .summary .reset_variations{display:inline-flex;align-items:center;min-height:36px}
body.single-product .vm-confidence,
body.single-product .vm-product-layout-benefits,
body.single-product .vm-layout-context-module,
body.single-product .vm-product-alerts,
body.single-product .vm-pe-signals,
body.single-product .vm-stock-progress{max-width:100%}
body.single-product .vm-mwl-save{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
body.single-product .vm-mwl-save select{min-height:42px;border-radius:9px}
body.single-product .vm-mwl-save .button{min-height:42px}
body.single-product .vm-product-alerts{display:grid;gap:10px;margin-top:14px}
body.single-product .vm-alert-form{display:grid;grid-template-columns:minmax(150px,1fr) minmax(170px,.8fr) auto;gap:9px;align-items:end;padding:12px;border:1px solid rgba(0,0,0,.08);border-radius:12px}
body.single-product .vm-alert-form>div{display:grid;gap:2px}.vm-alert-form input{min-height:42px;border-radius:9px}.vm-alert-form button{min-height:42px}
body.single-product .vm-alert-form em{grid-column:1/-1;font-style:normal;font-size:.8rem}
@media(max-width:700px){
 body.single-product .summary{font-size:.96rem}
 body.single-product .summary .product_title{font-size:clamp(1.55rem,7vw,2rem);line-height:1.12}
 body.single-product .summary .price{font-size:1.2rem}
 body.single-product .summary form.cart .variations tr{display:grid;grid-template-columns:1fr;gap:3px;margin-bottom:10px}
 body.single-product .summary form.cart .variations th,body.single-product .summary form.cart .variations td{display:block;padding:0}
 body.single-product .summary form.cart .variations select{width:100%;min-width:0;min-height:48px}
 body.single-product .summary form.cart .woocommerce-variation-add-to-cart{display:grid;grid-template-columns:92px 1fr;gap:9px;align-items:stretch}
 body.single-product .summary form.cart .quantity{width:92px!important;margin:0!important}
 body.single-product .summary form.cart .quantity input.qty{width:100%!important;min-height:50px}
 body.single-product .summary .single_add_to_cart_button{width:100%;min-height:50px;margin:0!important}
 body.single-product .vm-confidence{grid-template-columns:1fr 1fr!important;gap:8px!important;padding:10px!important}
 body.single-product .vm-product-layout-benefits{grid-template-columns:1fr 1fr;gap:6px;padding:10px}
 body.single-product .vm-layout-context-module{padding:12px}.vm-layout-context-module dl div{gap:10px}
 body.single-product .vm-mwl-save{display:grid;grid-template-columns:1fr 1fr}.vm-mwl-save label{grid-column:1/-1}.vm-mwl-save select{grid-column:1/-1;width:100%}
 body.single-product .vm-alert-form{grid-template-columns:1fr;padding:11px}.vm-alert-form input,.vm-alert-form button{width:100%}.vm-alert-form em{grid-column:auto}
 body.single-product .vm-pe-signals{gap:6px}.vm-pe-signals span{font-size:.78rem;padding:5px 8px}
 body.single-product .woocommerce-tabs ul.tabs{display:flex;overflow:auto;gap:8px;scroll-snap-type:x proximity;padding-bottom:4px}
 body.single-product .woocommerce-tabs ul.tabs li{flex:0 0 auto;scroll-snap-align:start}
}
@media(max-width:430px){
 body.single-product .vm-confidence,body.single-product .vm-product-layout-benefits{grid-template-columns:1fr!important}
 body.single-product .summary form.cart .woocommerce-variation-add-to-cart{grid-template-columns:82px 1fr}
}
