/* Product presentation only; native cart, gallery, variation and checkout handlers remain in charge. */
body.single-product .fm-experience{--fm-product-gap:30px}
body.single-product .fm-experience .fm-purchase-row{display:block!important;margin-bottom:20px}
body.single-product .fm-experience .fm-purchase-controls{width:100%;min-width:0}
/* A wider quantity stepper leaves a little less width for the native cart button. */
html body.single-product .fm-experience .summary-inner form.cart .quantity{display:flex;flex:0 0 132px;width:132px;min-width:132px;margin-inline-end:0}
html body.single-product .fm-experience .summary-inner form.cart .quantity :is(.minus,.plus){flex:0 0 40px;width:40px!important;min-width:40px!important;padding-inline:0!important}
html body.single-product .fm-experience .summary-inner form.cart .quantity input.qty{flex:0 0 50px;width:50px!important;min-width:0!important;padding-inline:0!important}
html body.single-product .fm-experience .summary-inner form.cart .single_add_to_cart_button{flex:1 1 0;min-width:0}
html :is(body,#fm-typography-root) .fm-experience .woocommerce-product-details__short-description{max-height:9.6em!important;overflow:hidden!important;line-height:1.6;width:100%}
html :is(body,#fm-typography-root) .fm-experience .woocommerce-product-details__short-description.fm-intro-expanded{max-height:none!important;overflow:visible!important}
body.single-product .fm-experience .fm-intro-toggle{display:block;min-height:36px;height:auto;padding:4px 0;background:transparent;color:#334029;border:0;border-radius:0;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px;box-shadow:none}
body.single-product .fm-experience .fm-intro-toggle[hidden]{display:none!important}
.fm-product-information-row:empty{display:none}
@media(min-width:1101px){
 body.single-product .fm-experience .summary-inner{display:flex;flex-direction:column;min-height:var(--fm-media-height,0px)}
 body.single-product .fm-experience .summary-inner>.product-share{margin-top:auto!important;margin-bottom:0!important}
 body.single-product .fm-experience .fm-purchase-controls{gap:12px}
 html :is(body,#fm-typography-root) .fm-experience .woocommerce-product-details__short-description{max-height:6.4em!important}
 html :is(body,#fm-typography-root) .fm-experience .woocommerce-product-details__short-description.fm-intro-expanded{max-height:none!important}
 body.single-product .fm-experience .fm-product-information-row{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:var(--fm-product-gap);align-items:start;margin:30px 0 28px;padding:0}
 body.single-product .fm-experience .fm-product-information-row:has(> .fm-product-specs:only-child){grid-template-columns:minmax(0,1fr)}
 body.single-product .fm-experience .fm-product-information-row .fm-product-specs{margin:0;width:100%;min-width:0;padding:20px;background:#f7f9fa;border:1px solid #e2e8eb;border-radius:20px}
 body.single-product .fm-experience .fm-product-information-row .fm-mini-radar{display:flex!important;align-items:center;justify-content:center;float:none;width:100%;max-width:none;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-sizing:border-box}
 body.single-product .fm-experience .fm-product-information-row .fm-mini-radar svg{width:280px;max-width:100%;height:auto;margin:0}
 body.single-product .fm-experience .fm-product-information-row .fm-radar-frame{display:none}
 html :is(body,#fm-typography-root) .fm-experience .fm-product-information-row .fm-specs-title{--fm-section:18px;display:flex;align-items:center;gap:10px;font-size:18px!important;font-weight:700!important;line-height:1.4!important;margin:0 0 16px}
 body.single-product .fm-experience .fm-product-information-row .fm-specs-title:before{content:"";width:4px;height:18px;border-radius:2px;background:#9bff00}
 body.single-product .fm-experience .fm-product-information-row .fm-specs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0;padding:0}
 body.single-product .fm-experience .fm-product-information-row .fm-specs-item{min-width:0;padding-top:12px;border-top:1px solid #e2e8eb}
 body.single-product .fm-experience .fm-product-information-row dt{margin:0 0 6px;font-size:12px;font-weight:500;color:#667078}
 body.single-product .fm-experience .fm-product-information-row dd{margin:0;font-size:15px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
 body.single-product .fm-experience .fm-product-information-row dd.fm-specs-pending{font-weight:400;color:#667078}
}
body.single-product .fm-experience .fm-version-picker{flex:0 0 100%;width:100%;min-width:0;margin:0 0 16px}
html :is(body,#fm-typography-root) .fm-experience .fm-version-heading{--fm-section:16px;font-size:16px!important;line-height:1.4!important;font-weight:700!important;letter-spacing:0;margin:0 0 12px}
body.single-product .fm-experience .fm-version-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
html :is(body,#fm-typography-root) .fm-experience .fm-version-heading-row .fm-version-heading{margin:0}
body.single-product .fm-experience .fm-version-grid{display:flex;flex-wrap:nowrap;gap:12px;align-items:stretch;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:2px 0 6px}
html body.single-product .fm-experience button.fm-version-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;width:100%;min-width:0;height:auto;min-height:44px;margin:0;padding:8px;background:#fff;border:1px solid #dfe3df;border-radius:12px;color:#171c20;font-family:inherit;font-size:13px;line-height:1.45;font-weight:500;text-transform:none;letter-spacing:0;white-space:normal;box-shadow:none;cursor:pointer}
html body.single-product .fm-experience button.fm-version-card[aria-pressed=true]{padding:7px;background:#f5ffe8;border:2px solid #5b8400}
html body.single-product .fm-experience button.fm-version-card:hover{border-color:#5b8400}
html body.single-product .fm-experience button.fm-version-card:disabled{opacity:.55;cursor:default}
html body.single-product .fm-experience button.fm-version-card.fm-version-sold-out{position:relative;opacity:1;cursor:not-allowed}
html body.single-product .fm-experience button.fm-version-card.fm-version-sold-out:hover{border-color:#dfe3df}
html body.single-product .fm-experience button.fm-version-card.fm-version-sold-out::after{content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);width:88px;height:88px;pointer-events:none;background:linear-gradient(135deg,transparent calc(50% - .7px),#687078 calc(50% - .7px),#687078 calc(50% + .7px),transparent calc(50% + .7px))}
body.single-product .fm-experience .fm-version-card img{display:block;width:88px;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:8px;background:#f7f9fa;margin:0 auto;flex:0 0 88px}
body.single-product .fm-experience .fm-version-copy{display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;align-items:center}
body.single-product .fm-experience .fm-version-tile{position:relative;min-width:0;max-width:100%;display:flex;flex:0 0 128px;scroll-snap-align:start}
body.single-product .fm-experience .fm-version-meta{font-size:11px;line-height:1.4;color:#667078;text-align:center;overflow-wrap:anywhere}
body.single-product .fm-experience .fm-version-nav{display:flex;gap:4px}
body.single-product .fm-experience .fm-version-nav[hidden]{display:none!important}
html :is(body,#fm-button-system) .fm-experience .fm-version-nav button{display:flex;align-items:center;justify-content:center;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;padding:4px!important;margin:0!important;background:#f5f7f2;border:0;border-radius:50%;color:#334029;box-shadow:none}
.fm-version-nav svg{display:block;width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fm-version-nav button:disabled{opacity:.3}
body.single-product .wd-sticky-btn .fm-purchase-limit{display:none!important}
body.single-product .fm-experience .fm-meta-empty{display:none!important}
html body.single-product .fm-experience button.fm-version-zoom{position:absolute;top:12px;left:calc(50% + 13px);right:auto;display:flex;align-items:center;justify-content:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:5px;background:rgba(255,255,255,.92);border:1px solid #e0e5de;border-radius:50%;color:#53604e;box-shadow:none}
.fm-version-zoom svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
body.single-product .fm-version-hover-preview{position:fixed;z-index:99998;padding:10px;background:#fff;border:1px solid #dfe5dc;border-radius:16px;box-shadow:0 10px 30px #0002;box-sizing:content-box;pointer-events:none}
.fm-version-hover-preview[hidden]{display:none!important}
.fm-version-hover-preview img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:10px}
.fm-version-hover-preview span{display:block;padding-top:8px;font-size:13px;line-height:1.5;color:#334029;overflow-wrap:anywhere}
body.single-product dialog.fm-version-dialog{position:fixed;width:min(640px,calc(100vw - 32px));max-height:90vh;max-height:90dvh;padding:20px;margin:auto;border:1px solid #dfe5dc;border-radius:20px;background:#fff;box-sizing:border-box;overflow:auto}
.fm-version-dialog::backdrop{background:#0007}
html :is(body,#fm-typography-root) .fm-version-dialog h2{font-size:16px!important;line-height:1.5!important;font-weight:600!important;padding-right:44px;margin:0 0 16px}
.fm-version-dialog img{display:block;max-width:100%;width:100%;height:auto;aspect-ratio:1;max-height:calc(85vh - 100px);object-fit:contain;border-radius:12px;background:#f7f9fa}
html body.single-product .fm-version-dialog-close{position:absolute;top:8px;right:8px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:#f5f7f2;color:#334029;font-size:28px;line-height:1;box-shadow:none}
body.single-product .fm-experience .fm-version-name{overflow-wrap:anywhere;text-align:center;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;width:100%}
body.single-product .fm-experience .fm-version-stock{font-size:11px;color:#6d3c2c;text-align:center}
body.single-product .fm-experience .fm-version-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.single-product .fm-experience .fm-has-version-cards .variations{display:none!important}
body.single-product .fm-experience .fm-single-version :is(.variations,.reset_variations){display:none!important}
body.single-product .fm-experience .fm-version-clear{display:inline-block;margin-top:8px;font-size:12px;line-height:1.5}
body.single-product .fm-experience .fm-version-clear[style*="visibility: hidden"]{display:none!important}
body.single-product .fm-experience .summary-inner .product_meta .posted_in{display:none!important}
body.single-product .fm-experience .fm-purchase-utilities{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;width:100%;min-width:0}
body.single-product .fm-experience .fm-purchase-utilities>.wd-wishlist-btn{margin:0!important;min-width:0}
html :is(body,#fm-typography-root) .fm-experience .fm-purchase-limit{display:inline-block;flex:0 0 auto;width:auto;margin:0;padding:0;border:0;background:transparent;font-size:12px!important;font-weight:500!important;line-height:1.5!important;color:#667078;white-space:nowrap}
html :is(body,#fm-typography-root) .fm-experience .fm-purchase-limit strong{font-size:inherit!important;font-weight:700!important;color:#334029}
body.single-product .fm-experience button:focus-visible{outline:2px solid #40552d;outline-offset:3px}
body.single-product .fm-experience .fm-artwork-radar .fm-mini-score{font-family:Arial,Helvetica,sans-serif!important;font-weight:700!important;letter-spacing:0!important;font-variant-numeric:tabular-nums;text-anchor:middle;dominant-baseline:auto}
/* Paragraph markers are layout accents, with the saved product text untouched. */
body.single-product .fm-experience #tab-description p{position:relative;padding-left:20px;margin-bottom:24px;line-height:1.75;overflow-wrap:anywhere}
body.single-product .fm-experience #tab-description p:before{content:"";position:absolute;left:2px;top:.72em;width:5px;height:5px;border-radius:50%;background:currentColor}
html :is(body,#fm-typography-root) .fm-experience .woocommerce-tabs :is(.tabs li a,.wd-accordion-title,.wd-accordion-title-text,.wd-accordion-title-text span){font-weight:700!important;line-height:1.5!important;white-space:normal}
@media(max-width:1100px){
 body.single-product .fm-experience .fm-product-information-row{margin:0;padding:0}
 body.single-product .fm-experience .fm-radar-detail-slot{margin-bottom:32px}
}
@media(max-width:600px){
 html body.single-product .fm-experience button.fm-version-zoom{width:40px;min-width:40px;height:40px;min-height:40px;top:12px;left:calc(50% + 1px);right:auto}
 body.single-product .fm-experience .fm-version-grid{gap:10px}
 body.single-product .fm-experience .fm-version-picker{margin-bottom:16px}
 body.single-product .fm-experience .woocommerce-product-details__short-description{max-height:9.6em}
 body.single-product .fm-experience #tab-description p{padding-left:18px;margin-bottom:22px}
}

/* Approved 2026-10-30: consistent version cards and natural purchase flow. */
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner{min-height:0!important}
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .fm-purchase-controls{display:flex!important;flex:0 1 auto!important;flex-direction:column;align-items:stretch;gap:20px!important}
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .fm-purchase-actions{display:flex;flex-direction:column;gap:16px!important;margin-top:0!important;padding-top:0!important}
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .fm-purchase-actions>.product-share{margin-top:0!important}
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner form.cart{margin:0!important;row-gap:16px!important;align-items:center}
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .fm-version-picker{margin:0!important}
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .fm-version-price,
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .woocommerce-variation-price .price{flex:0 0 100%;width:100%;font-size:28px!important;line-height:1.25!important;font-weight:700!important;margin:0!important}
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .fm-version-price del,
html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .woocommerce-variation-price .price del{font-size:16px!important;font-weight:400!important;margin-right:8px}
body.single-product .fm-experience .fm-single-version-picker .fm-version-grid{justify-content:flex-start;overflow:visible}
body.single-product .fm-experience .fm-single-version-picker .fm-version-tile{flex:0 0 128px;width:128px;max-width:100%}
body.single-product .fm-experience .fm-single-version-picker .fm-version-nav{display:none!important}
body.single-product .fm-experience .fm-single-version .fm-version-clear{display:none!important}
body.single-product .fm-experience.product-type-variable .fm-purchase-controls>.price{display:none!important}
@media(max-width:767px){
 html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .fm-version-price,
 html body:not(#fm-admin):not(#fm-login):not(.wp-admin):not(.login).single-product .fm-experience .summary-inner .woocommerce-variation-price .price{font-size:24px!important}
}
