/* NØSEN CutFinder UI v4 – administrator-only preview. All rules scoped to .ncf40.
   The active storefront and UI v3 remain unchanged. */
.ncf40{--ncf40-ink:#24363b;--ncf40-green:#266346;--ncf40-border:#dce5e1;max-width:1360px}
.ncf40 .ncf40-hero{padding:19px 24px;border:1px solid #dee5e5;background:#f6f8f8;border-radius:14px;min-height:112px}
.ncf40 .ncf40-hero h2{font-size:clamp(1.42rem,2.3vw,1.88rem);color:#22353c}
.ncf40 .ncf40-hero p{color:#627780;margin-top:6px;font-size:.84rem}
.ncf40 .ncf40-hero .ncf32-overline{color:#356f55}
.ncf40 .ncf40-hero .ncf32-testflag{border:1px solid #d4e0dc;background:#fff;color:#537066}
.ncf40 .ncf40-overview{grid-template-columns:minmax(250px,.68fr) minmax(0,1.7fr);gap:14px;margin-top:14px;align-items:stretch}
.ncf40 .ncf40-overview .ncf35-saw-photo{min-height:290px;max-height:390px}
.ncf40 .ncf40-selector{padding:18px 20px;background:#fff}
.ncf40 .ncf40-selector .ncf35-selector__intro{display:none}
.ncf40 .ncf40-selector .ncf35-selector__title{margin-bottom:11px;padding-bottom:10px}
.ncf40 .ncf40-selector .ncf35-selector__title h3{font-size:1.5rem}
.ncf40 .ncf40-step{padding:10px 0 12px;border-bottom:1px solid #e9efed}
.ncf40 .ncf40-step.is-disabled{opacity:.65}
.ncf40 .ncf40-step__heading{display:flex;align-items:center;gap:9px;color:#334a4f;margin-bottom:9px}
.ncf40 .ncf40-step__heading strong{font-size:.84rem;font-weight:750}
.ncf40 .ncf40-step__number{display:inline-flex;flex:0 0 25px;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#e7f2eb;color:#245e43;font-weight:800;font-size:.77rem}
.ncf40 .ncf40-generation-pills a{font-size:.83rem;padding:9px 14px;border:1px solid #cbd9d2}
.ncf40 .ncf40-generation-pills a.is-active{background:#e3f2e9;color:#17583b;border-color:#77ad8e}
.ncf40 .ncf40-completed{margin-left:auto;color:#2b7852;background:#e7f4eb;border-radius:20px;font-size:.69rem;font-weight:750;padding:4px 9px}
.ncf40 .ncf40-attention{margin-top:10px!important;padding:11px 13px;border:1px solid #ebd3b1;border-radius:9px;background:#fff7ea;color:#7c531a;font-size:.82rem;line-height:1.45}
.ncf40 .ncf40-help{font-size:.77rem;color:#6d7f83;line-height:1.45;margin-top:8px!important}
.ncf40 .ncf40-period-hint{margin-top:12px!important;padding:9px 11px!important;font-size:.75rem;line-height:1.4}
.ncf40 .ncf40-selection-gate{margin-top:18px;border:1px dashed #aac6b5;border-radius:13px;background:#f5faf6;padding:21px 23px}
.ncf40 .ncf40-selection-gate strong{display:block;font-size:1rem;color:#23583f}
.ncf40 .ncf40-selection-gate p{font-size:.82rem;color:#627672;margin:5px 0 0!important}
.ncf40 .ncf40-results-lead{display:flex;align-items:center;gap:11px;margin:24px 0 0}
.ncf40 .ncf40-results-lead strong{font-size:1rem;color:#2a4240}
.ncf40 .ncf40-results-lead p{color:#6e807b;font-size:.75rem;margin:3px 0 0!important}
.ncf40 .ncf37-tabs{margin-top:12px}
.ncf40 .ncf37-tabs .ncf33-tab{font-size:.82rem;padding:9px 12px;min-height:40px}
.ncf40 .ncf37-heading h3{font-size:1.08rem}
.ncf40 .ncf37-heading p{font-size:.78rem}
.ncf40 .ncf40-hexa-note{padding:11px 13px;margin:0 0 12px!important;border:1px solid #cee4d5;background:#f2f9f4;border-radius:9px;color:#416a53;font-size:.78rem;line-height:1.5}
.ncf40 .ncf40-hexa-note strong{color:#25583b}
/* Consistent, balanced image/content proportions. No image is cropped. */
.ncf40 .ncf37-chain-grid,.ncf40 .ncf37-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ncf40 .ncf37-chain-choice{grid-template-columns:minmax(135px,34%) minmax(0,1fr);grid-template-areas:"visual info" "visual actions";grid-template-rows:minmax(0,1fr) auto;min-height:193px;gap:0 13px;padding:11px;border-radius:12px}
.ncf40 .ncf37-chain-choice__photo{height:100%;min-height:171px;background:#f7f9f8;border-radius:10px}
.ncf40 .ncf37-chain-choice__content{justify-content:center}
.ncf40 .ncf37-chain-choice__content strong{font-size:.88rem;line-height:1.32;margin:6px 0 3px}
.ncf40 .ncf37-chain-choice__content small{font-size:.72rem}
.ncf40 .ncf37-chain-choice__content>p{font-size:.72rem;margin:5px 0!important}
.ncf40 .ncf37-chain-choice__foot{margin-top:8px;padding-top:8px;gap:6px}
.ncf40 .ncf37-chain-choice__foot button{font-size:.73rem;padding:7px 9px}
.ncf40 .ncf37-price{font-size:1rem;margin-top:8px}
.ncf40 .ncf37-product{grid-template-columns:minmax(126px,34%) minmax(0,1fr);min-height:174px;gap:13px;padding:11px;border-radius:12px}
.ncf40 .ncf37-product__image{width:100%;height:100%;min-height:151px;max-height:none;border-radius:10px}
.ncf40 .ncf37-product__info{padding:2px 0}
.ncf40 .ncf37-product__info>strong{font-size:.9rem;line-height:1.32}
.ncf40 .ncf37-product__info>small{font-size:.71rem}
.ncf40 .ncf37-product__fits{font-size:.73rem;line-height:1.36}
.ncf40 .ncf37-product__stock{font-size:.73rem}
.ncf40 .ncf37-product__actions{gap:6px;margin-top:8px}
.ncf40 .ncf37-product__actions a{min-height:33px;padding:6px 9px;font-size:.71rem}
.ncf40 .ncf37-product--file,.ncf40 .ncf37-product--service,.ncf40 .ncf37-product--kit,.ncf40 .ncf37-product--bar{min-height:174px;grid-template-columns:minmax(126px,34%) minmax(0,1fr)}
.ncf40 .ncf37-product--file .ncf37-product__image,.ncf40 .ncf37-product--service .ncf37-product__image{min-height:151px}
.ncf40 :is(.ncf37-chain-choice__photo,.ncf37-product__image) img{object-fit:contain}
.ncf40 .ncf38-stage{padding:12px 10px 19px}
.ncf40 .ncf38-stage__main{object-fit:contain}
@media(max-width:1080px){
 .ncf40 .ncf40-overview{grid-template-columns:minmax(210px,.8fr) minmax(0,1.3fr)}
 .ncf40 .ncf37-chain-grid,.ncf40 .ncf37-products-grid{grid-template-columns:1fr}
 .ncf40 .ncf37-chain-choice{grid-template-columns:minmax(150px,32%) 1fr}
 .ncf40 .ncf37-product{grid-template-columns:minmax(150px,32%) 1fr}
}
@media(max-width:760px){
 .ncf40 .ncf40-overview{grid-template-columns:1fr}
 .ncf40 .ncf40-overview .ncf35-saw-photo{min-height:210px;max-height:300px}
 .ncf40 .ncf40-hero{padding:16px;align-items:flex-start;flex-wrap:wrap;gap:8px}
 .ncf40 .ncf40-selector{padding:15px}
 .ncf40 .ncf40-selector .ncf35-selector__title h3{font-size:1.32rem}
}
@media(max-width:520px){
 .ncf40 .ncf37-chain-choice{grid-template-columns:106px minmax(0,1fr);gap:0 10px;min-height:172px}
 .ncf40 .ncf37-chain-choice__photo{min-height:152px;height:100%}
 .ncf40 .ncf37-chain-choice__content strong{font-size:.8rem}
 .ncf40 .ncf37-product,.ncf40 .ncf37-product--file,.ncf40 .ncf37-product--service,.ncf40 .ncf37-product--kit,.ncf40 .ncf37-product--bar{grid-template-columns:106px minmax(0,1fr);gap:10px;min-height:155px}
 .ncf40 .ncf37-product__image,.ncf40 .ncf37-product--file .ncf37-product__image,.ncf40 .ncf37-product--service .ncf37-product__image{min-height:140px}
 .ncf40 .ncf37-product__info>strong{font-size:.81rem}
 .ncf40 .ncf40-step__heading strong{font-size:.81rem}
}

/* UI v4.1 refinements – scoped entirely to the admin preview. */
.ncf40 .ncf40-search{display:block;padding:21px 22px}
.ncf40 .ncf40-search>label{display:block;margin-bottom:11px}
.ncf40 .ncf40-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:stretch}
.ncf40 .ncf40-machine-field{min-width:0}
.ncf40 .ncf40-machine-field input[type=search],.ncf40 .ncf40-machine-field select{width:100%;height:45px;min-height:45px;padding:9px 13px;border:1px solid #cad7d1;border-radius:9px;background:#fff;font:inherit;color:#263d38}
.ncf40 .ncf40-search-row .ncf32-primary{min-height:45px;white-space:nowrap}
.ncf40 .ncf40-enhanced{display:none}
.ncf40 .ncf40-search.is-enhanced .ncf40-enhanced{display:block}
.ncf40 .ncf40-search.is-enhanced .ncf40-native{display:none}
.ncf40 .ncf40-search-help{font-size:.75rem!important;color:#667e76;margin-top:9px!important}
.ncf40 .ncf40-auto-value{display:flex;align-items:center;gap:9px;margin:0!important;color:#236344;font-size:.86rem;font-weight:700}
.ncf40 .ncf40-auto-value span{color:#647c6f;font-weight:400;font-size:.72rem}
.ncf40 .ncf40-period-details{margin:11px 0 2px;font-size:.74rem;color:#4f675d}
.ncf40 .ncf40-period-details summary{cursor:pointer;font-weight:600}
.ncf40 .ncf40-period-details p{padding:8px 0 0;margin:0!important;line-height:1.5}
.ncf40 .ncf37-product__missing{font-size:.73rem;color:#8a6454}
.ncf40 .ncf39-factory-standard,.ncf40 .ncf37-product__badge{font-size:.68rem;opacity:.8}
.ncf40 .ncf40-currency{font-size:.88em;font-weight:600}
.ncf40 .ncf33-panel[hidden]{display:none!important}
@media(max-width:520px){
 .ncf40 .ncf40-search{padding:15px}
 .ncf40 .ncf40-search-row{grid-template-columns:1fr}
 .ncf40 .ncf40-search-row .ncf32-primary{width:100%}
}

/* UI v4 autocomplete. The hidden attribute must win over theme CSS. */
.ncf40 .ncf40-machine-field{position:relative}
.ncf40 .ncf40-suggestions[hidden]{display:none!important}
.ncf40 .ncf40-suggestions:not([hidden]){display:block!important;position:absolute;top:calc(100% + 3px);left:0;right:0;z-index:9999;max-height:290px;overflow-y:auto;margin:0!important;padding:4px!important;list-style:none!important;background:#fff;border:1px solid #b7cac0;border-radius:9px;box-shadow:0 12px 22px rgba(18,51,38,.16)}
.ncf40 .ncf40-suggestions li{display:block;cursor:pointer;margin:0!important;padding:10px 12px!important;border-radius:5px;color:#223e32;font-size:.92rem;line-height:1.35}
.ncf40 .ncf40-suggestions li:hover,.ncf40 .ncf40-suggestions li.is-active{background:#e8f4ed;color:#14583c}
.ncf40 .ncf40-machine-field:focus-within{z-index:20}

/* v4.1: larger saw photos without cropping or enlarging a tiny fallback to blur. */
.ncf40 .ncf35-saw-photo{padding:5px;min-height:330px;height:100%;background:#fff}
.ncf40 .ncf35-saw-photo>img,.ncf40 .ncf35-saw-photo>.woocommerce-product-gallery,.ncf40 .ncf35-saw-photo>img.wp-post-image{width:100%;height:100%;max-height:355px;object-fit:contain;object-position:center}
.ncf40 .ncf35-saw-photo img{object-fit:contain;max-width:100%}
.ncf40 .ncf35-saw-photo__source,.ncf40 .ncf35-saw-photo__manufacturer{z-index:1}
.ncf40 .ncf37-file-set__title{margin-bottom:6px}
.ncf40 .ncf37-file-switcher{margin-bottom:10px}
.ncf40 .ncf37-product__actions .ncf41-quick-button,
.ncf40 .ncf37-chain-choice__content .ncf41-quick-button{font:inherit;font-size:.73rem;min-height:33px;padding:6px 10px;color:#205c43;border:1px solid #bfcfc7;border-radius:7px;background:#fff;cursor:pointer}
.ncf40 .ncf41-quick-button:hover,.ncf40 .ncf41-quick-button:focus-visible{border-color:#27764d;background:#f0f8f2}
.ncf41-modal-open{overflow:hidden}
.ncf40 .ncf41-modal[hidden]{display:none!important}
.ncf40 .ncf41-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}
.ncf40 .ncf41-modal__backdrop{position:absolute;inset:0;background:rgba(20,36,31,.65)}
.ncf40 .ncf41-modal__dialog{position:relative;max-width:850px;width:100%;max-height:min(88vh,800px);overflow:auto;background:#fff;border-radius:15px;padding:24px;box-shadow:0 28px 90px rgba(0,0,0,.28);outline:0;color:#253b33}
.ncf40 .ncf41-modal__close{position:absolute;right:14px;top:9px;font-size:30px;border:0;background:transparent;cursor:pointer;color:#2e4b3e;z-index:2}
.ncf40 .ncf41-modal__layout{display:grid;grid-template-columns:44% minmax(0,1fr);gap:24px;align-items:center}
.ncf40 .ncf41-modal__image{min-height:220px;display:flex;align-items:center;justify-content:center;background:#f5f8f6;border-radius:12px}
.ncf40 .ncf41-modal__image img{width:100%;max-height:360px;object-fit:contain}
.ncf40 .ncf41-modal__information h3{font-size:1.25rem;margin:0 25px 12px 0;line-height:1.4}
.ncf40 .ncf41-modal__sku{font-size:.78rem;color:#6c7b74}
.ncf40 .ncf41-modal__price{font-size:1.35rem;font-weight:800;margin:14px 0 5px}
.ncf40 .ncf41-modal__stock{font-size:.82rem;color:#2b7953}
.ncf40 .ncf41-modal__summary{font-size:.86rem;line-height:1.55;margin-top:17px}
.ncf40 .ncf41-modal__actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.ncf40 .ncf41-modal__actions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #abc4b5;border-radius:8px;padding:10px 13px;color:#195e3c;font-size:.82rem;font-weight:700}
.ncf40 .ncf41-modal__actions a[data-ncf41-buy]:not([hidden]){background:#206443;color:#fff;border-color:#206443}
@media(max-width:760px){
 .ncf40 .ncf35-saw-photo{min-height:235px}
 .ncf40 .ncf35-saw-photo>img{max-height:280px}
 .ncf40 .ncf41-modal{padding:0;align-items:flex-end}
 .ncf40 .ncf41-modal__dialog{max-width:none;max-height:94dvh;border-radius:17px 17px 0 0;padding:22px 16px 30px}
 .ncf40 .ncf41-modal__layout{grid-template-columns:1fr;gap:12px}
 .ncf40 .ncf41-modal__image{min-height:150px;max-height:240px}
 .ncf40 .ncf41-modal__image img{max-height:235px}
}

/* UI v4.2: focused responsive changes without touching the live frontend. */
.ncf40 .ncf37-product__actions .ncf42-notify, .ncf40 .ncf37-chain-choice__content .ncf42-notify{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;font-size:.76rem;border:1px solid #2b7551;border-radius:7px;color:#246347;background:#f3faf5;text-decoration:none;min-height:34px}
.ncf40 .ncf37-product__stock{color:#45665a}
.ncf40 .ncf41-modal__actions a[data-ncf41-notify]:not([hidden]){background:#f3faf5;border-color:#2b7551;color:#225b40}
@media(min-width:950px){
 .ncf40 .ncf37-products-grid:has(> :only-child){grid-template-columns:minmax(0,850px)}
}
@media(max-width:760px){
 .ncf40 .ncf37-products-grid, .ncf40 .ncf37-chain-grid{grid-template-columns:1fr!important}
 .ncf40 .ncf37-product,.ncf40 .ncf37-product--file,.ncf40 .ncf37-product--service,.ncf40 .ncf37-product--kit,.ncf40 .ncf37-product--bar{
   display:flex;flex-direction:column;gap:10px;min-height:0;padding:12px
 }
 .ncf40 .ncf37-product__image{width:100%;height:190px;min-height:190px;max-height:none;display:flex;align-items:center;justify-content:center}
 .ncf40 .ncf37-product__image img{max-width:100%;max-height:185px;object-fit:contain}
 .ncf40 .ncf37-chain-choice{display:flex;flex-direction:column;gap:10px;min-height:0;padding:12px}
 .ncf40 .ncf37-chain-choice__photo{width:100%;height:178px;min-height:178px;max-height:178px}
 .ncf40 .ncf37-chain-choice__photo img{max-height:170px;object-fit:contain}
 .ncf40 .ncf37-product__fits{display:none}
 .ncf40 .ncf37-heading p{font-size:.75rem;line-height:1.4}
 .ncf40 .ncf37-product__info>strong{font-size:.93rem}
 .ncf40 .ncf37-tabs{overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;display:flex;flex-wrap:nowrap;max-width:100%;-webkit-overflow-scrolling:touch}
 .ncf40 .ncf37-tabs .ncf33-tab{flex:0 0 auto;scroll-snap-align:start}
 .ncf40 .ncf42-testnote{font-size:.67rem;line-height:1.35}
}

/* UI v4.3 - in-place NBIS and full-width mobile imagery. Admin preview only. */
.ncf40 .ncf43-notify-form[hidden]{display:none!important}
.ncf40 .ncf43-notify-form{grid-column:1/-1;grid-row:auto;padding:12px;border:1px solid #c9ded1;border-radius:10px;background:#f6fbf7;margin-top:10px;min-width:0}
.ncf40 .ncf43-notify-form .nbis-box{margin:0;max-width:100%}
.ncf40 .ncf43-notify-form .nbis-form{max-width:100%}
.ncf40 .ncf42-notify, .ncf40 button.ncf42-notify{cursor:pointer;font:inherit;font-size:.76rem}
.ncf40 .ncf41-modal__actions button[data-ncf41-notify]:not([hidden]){display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;background:#f3faf5;border:1px solid #2b7551;border-radius:8px;color:#225b40;cursor:pointer;font-size:.82rem;font-weight:700}
@media(max-width:760px){
 .ncf40 .ncf37-product__image{width:100%;height:auto;min-height:250px;max-height:none;aspect-ratio:4/3;overflow:hidden}
 .ncf40 .ncf37-chain-choice__photo{width:100%;height:auto;min-height:230px;max-height:none;aspect-ratio:16/10;overflow:hidden}
 .ncf40 .ncf37-product__image img,.ncf40 .ncf37-chain-choice__photo img{width:100%;height:100%;max-width:100%;max-height:none;object-fit:contain}
 .ncf40 .ncf38-stage{width:100%;height:100%;padding:1px!important;box-sizing:border-box}
 .ncf40 .ncf38-stage__main{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
 .ncf40 .ncf37-chain-choice__photo .ncf38-stage__main{transform:scale(1.34);transform-origin:center center}
 .ncf40 .ncf37-product--bar .ncf38-stage__main{transform:scale(1.16);transform-origin:center center}
 .ncf40 .ncf37-product--kit .ncf38-stage__main{transform:scale(1.12);transform-origin:center center}
 .ncf40 .ncf37-product--file .ncf38-stage__main,.ncf40 .ncf37-product--service .ncf38-stage__main{transform:scale(1.08);transform-origin:center center}
 .ncf40 .ncf37-product__info,.ncf40 .ncf37-chain-choice__content{width:100%}
}

/* UI v4.4: override legacy .ncf35 mobile grid and fixed-width thumbnails.
   Scoped to the administrator-only preview; public storefront remains unchanged. */
@media(max-width:760px){
 .ncf35.ncf40 .ncf37-products-grid .ncf37-product,
 .ncf35.ncf40 .ncf37-products-grid .ncf37-product--bar,
 .ncf35.ncf40 .ncf37-products-grid .ncf37-product--kit,
 .ncf35.ncf40 .ncf37-products-grid .ncf37-product--file,
 .ncf35.ncf40 .ncf37-products-grid .ncf37-product--service{
   display:flex!important;flex-direction:column!important;grid-template-columns:none!important;
   width:100%;min-width:0;align-items:stretch;gap:10px;
 }
 .ncf35.ncf40 .ncf37-products-grid .ncf37-product__image,
 .ncf35.ncf40 .ncf37-products-grid .ncf37-product--file .ncf37-product__image,
 .ncf35.ncf40 .ncf37-products-grid .ncf37-product--service .ncf37-product__image{
   display:block;width:100%!important;max-width:none!important;height:auto!important;
   min-height:0!important;max-height:none!important;aspect-ratio:16/10;
 }
 .ncf35.ncf40 .ncf37-product__image .ncf38-stage{
   position:relative;width:100%;height:100%;min-height:0;box-sizing:border-box;
   display:flex;align-items:center;justify-content:center;padding:5px!important;
 }
 .ncf35.ncf40 .ncf37-product__image .ncf38-stage__main{
   display:block;position:relative;width:100%!important;height:100%!important;
   max-width:100%!important;max-height:100%!important;object-fit:contain;
 }
 .ncf35.ncf40 .ncf37-products-grid .ncf37-product__info{width:100%;min-width:0}
}


/* UI v4.5: immediate WooCommerce cart progress, scoped to admin preview. */
.ncf40 a.ncf37-product__buy,.ncf40 a[data-ncf41-buy]{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px}
.ncf40 .is-ncf45-loading{opacity:.8;cursor:progress;pointer-events:none}
.ncf40 .is-ncf45-done{background:#26704c!important;color:#fff!important;pointer-events:none}
.ncf40 .ncf45-spinner{display:inline-block;width:13px;height:13px;flex:none;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ncf45-spin .7s linear infinite}
.ncf40 .ncf45-cart-status{display:block;flex-basis:100%;font-size:.78rem;color:#275a43}
@keyframes ncf45-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.ncf40 .ncf45-spinner{animation-duration:1.5s}}

/* UI v4.6: browse all models; group headings cannot be mistaken for selectable motorsaws. */
.ncf40 .ncf40-suggestions li.ncf40-suggestion-heading{position:sticky;top:0;z-index:1;background:#f0f4f0!important;color:#475f51!important;font-size:12px!important;font-weight:700!important;letter-spacing:.025em;cursor:default!important;padding:7px 12px!important;border-radius:0!important;}
.ncf40 .ncf40-suggestions li.ncf40-suggestion-heading:hover{background:#f0f4f0!important;color:#475f51!important;}

/* UI v4.7: shorter overview only when no generation selection is needed.
   Both columns stay equal height; WooCommerce images retain object-fit: contain. */
@media (min-width:761px) {
 .ncf40 .ncf40-overview.ncf40-overview--compact {
   grid-template-columns:minmax(300px,.85fr) minmax(0,1.5fr);
   align-items:stretch;
 }
 /* Keep the original generous saw-photo area. Never shrink the actual image to
    achieve a compact right-hand selector. */
 .ncf40 .ncf40-overview.ncf40-overview--compact .ncf35-saw-photo {
   height:340px; min-height:340px; max-height:340px; box-sizing:border-box;
 }
 .ncf40 .ncf40-overview.ncf40-overview--compact .ncf35-saw-photo > img,
 .ncf40 .ncf40-overview.ncf40-overview--compact .ncf35-saw-photo > .woocommerce-product-gallery {
   max-height:330px; height:100%; object-fit:contain;
 }
 .ncf40 .ncf40-overview.ncf40-overview--compact .ncf40-selector {
   min-height:0; padding:15px 20px; box-sizing:border-box;
 }
 .ncf40 .ncf40-overview.ncf40-overview--compact .ncf40-selector .ncf35-selector__title {
   margin-bottom:6px; padding-bottom:7px;
 }
 .ncf40 .ncf40-overview.ncf40-overview--compact .ncf40-step {
   padding:8px 0 9px;
 }
}

@media (min-width:761px) and (max-width:1080px) {
 .ncf40 .ncf40-overview.ncf40-overview--compact { grid-template-columns:minmax(245px,.85fr) minmax(0,1.4fr); }
}

/* v3.10.21: Enlarge the *product image*, not its card.  WooCommerce photos
   often contain substantial white margins baked into the source image.
   Apply only to verified WC product photos, never generic placeholders.
   Preserve the image aspect ratio and mask the excess white canvas. */
@media (min-width:761px) {
  .ncf40 .ncf35-saw-photo--woo { overflow:hidden; }
  .ncf40 .ncf35-saw-photo--woo > img {
    transform:none;
    transform-origin:center center;
  }
}
@media (max-width:760px) {
  .ncf40 .ncf35-saw-photo--woo > img {
    transform:none;
    transform-origin:center center;
  }
}

/* 4.2.4: Safe fragment fallback, even when JavaScript is not available. */
.ncf40 #ncf40-search,
.ncf40 #ncf40-selected,
.ncf40 #ncf40-selector { scroll-margin-top: 195px; }
@media (max-width: 700px) {
  .ncf40 #ncf40-search,
  .ncf40 #ncf40-selected,
  .ncf40 #ncf40-selector { scroll-margin-top: 145px; }
}

/* v4.4 – simple source-based Service og vedlikehold; no serial-number form */
.ncf40 .ncf440-service-hint{font-size:.81rem;line-height:1.5;color:#5e7069;margin:7px 0 12px}
.ncf40 .ncf440-service-conditional{margin-top:17px;border:1px solid #d9e6df;border-radius:12px;background:#f4f9f5;padding:17px 18px;color:#244239}
.ncf40 .ncf440-service-conditional>strong{font-size:1rem;line-height:1.3}
.ncf40 .ncf440-service-conditional>p{font-size:.86rem;line-height:1.55;margin:8px 0 12px}
.ncf40 .ncf440-service-conditional ul{padding:0;margin:0 0 14px;list-style:none}
.ncf40 .ncf440-service-conditional li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 15px;border-top:1px solid #dce8df;padding:10px 0;font-size:.86rem}
.ncf40 .ncf440-service-conditional li span{font-weight:700}
.ncf40 .ncf440-service-conditional li small{font-size:.76rem;color:#5a7266}
.ncf40 .ncf440-service-conditional li a{color:#28674b;font-size:.78rem;text-decoration:underline}
.ncf40 .ncf440-service-contact{display:inline-flex;align-items:center;justify-content:center;padding:11px 17px;border-radius:7px;background:#216046;color:white!important;font-size:.85rem;font-weight:700;text-decoration:none!important}
.ncf40 .ncf440-service-contact:hover{background:#194b37}
@media(max-width:700px){
 .ncf40 .ncf440-service-conditional{padding:13px 14px}
 .ncf40 .ncf440-service-contact{width:100%;text-align:center}
}

/* 4.4.2 – compact, model-specific STIHL servicekit selection. */
.ncf40 .ncf442-service-selector{background:#f6f9f7;border:1px solid #dce9e0;border-radius:13px;padding:18px 20px;margin:14px 0 18px}
.ncf40 .ncf442-service-selector>strong{display:block;color:#244b39;font-size:.94rem;margin:0 0 10px}
.ncf40 .ncf442-service-selector>strong:not(:first-child){margin-top:19px}
.ncf40 .ncf442-service-pills{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:4px}
.ncf40 .ncf442-service-pill{display:inline-flex;align-items:center;min-height:39px;padding:8px 15px;border-radius:999px;border:1px solid #bfd3c5;background:#fff;color:#215b3d;font-size:.86rem;font-weight:700;text-decoration:none;line-height:1.3}
.ncf40 .ncf442-service-pill:hover,.ncf40 .ncf442-service-pill:focus-visible{border-color:#348a58;background:#eef7f0;color:#175133}
.ncf40 .ncf442-service-pill.is-active{background:#e0f1e6;border-color:#4d9b6e;color:#145b3a}
.ncf40 .ncf442-service-note{margin:12px 0 0!important;font-size:.78rem;line-height:1.55;color:#60776d}
.ncf40 .ncf442-service-prompt{border:1px solid #d4e4d9;background:#f9fcfa;color:#345b45;padding:13px 16px;border-radius:10px;font-size:.87rem;line-height:1.5;margin:12px 0!important}
.ncf40 .ncf442-service-independent{margin-top:22px;padding:20px;border:1px solid #dce5df;border-radius:13px;background:#fff}
.ncf40 .ncf442-service-independent .ncf37-heading{margin-top:0}
@media(max-width:760px){
 .ncf40 .ncf442-service-selector{padding:15px;margin-top:10px}
 .ncf40 .ncf442-service-pill{min-height:42px;padding:9px 12px}
 .ncf40 .ncf442-service-independent{padding:15px}
}


/* v4.4.4 – native top-layer quick view, never clipped by sticky menus. */
.ncf40 dialog.ncf41-modal {
  margin:0;
  width:100vw;
  height:100dvh;
  max-width:none;
  max-height:none;
  border:0;
  background:transparent;
  overflow:hidden;
  box-sizing:border-box;
  z-index:2147483000;
}
.ncf40 dialog.ncf41-modal::backdrop { background:rgba(20,36,31,.65); }
.ncf40 dialog.ncf41-modal .ncf41-modal__dialog { overscroll-behavior:contain; }
.ncf40 .ncf444-service [hidden] { display:none!important; }
@media (min-width:761px) {
  .ncf40 dialog.ncf41-modal .ncf41-modal__dialog {
    max-height:min(calc(100dvh - 56px),800px);
    scroll-margin-top:0;
  }
}
@media (max-width:760px) {
  .ncf40 dialog.ncf41-modal { padding:0; }
}

/* v4.4.5 – optional saw enlargement and quieter quick view on phones. */
.ncf40 .ncf35-saw-photo{position:relative}
.ncf40 .ncf445-saw-zoom{position:absolute;right:13px;bottom:13px;z-index:4;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #d4e4da;border-radius:50%;background:#fff;color:#215f41;font-size:1.7rem;line-height:1;box-shadow:0 3px 12px rgba(12,42,27,.09);cursor:zoom-in}
.ncf40 .ncf445-saw-zoom:hover,.ncf40 .ncf445-saw-zoom:focus-visible{background:#eaf5ee;border-color:#2c7850}
.ncf40 dialog.ncf445-saw-modal[hidden]{display:none!important}
.ncf40 dialog.ncf445-saw-modal{position:fixed;inset:0;margin:0;padding:18px;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;background:transparent;box-sizing:border-box;align-items:center;justify-content:center;overflow:hidden;z-index:2147483001}
.ncf40 dialog.ncf445-saw-modal[open]{display:flex}
.ncf40 dialog.ncf445-saw-modal::backdrop{background:rgba(16,34,27,.76)}
.ncf40 .ncf445-saw-modal__sheet{position:relative;box-sizing:border-box;width:min(980px,100%);max-height:calc(100dvh - 36px);overflow:auto;border-radius:15px;background:#fff;padding:24px;box-shadow:0 22px 60px rgba(0,0,0,.20);overscroll-behavior:contain}
.ncf40 .ncf445-saw-modal__sheet h3{margin:0 46px 15px 0;font-size:1.15rem;color:#223a30}
.ncf40 .ncf445-saw-modal__sheet img{width:100%;max-height:calc(100dvh - 130px);object-fit:contain;display:block;margin:0 auto}
.ncf40 .ncf445-saw-modal__close{position:absolute;right:14px;top:13px;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #e1e9e2;border-radius:50%;background:#fff;color:#24483a;font-size:1.75rem;cursor:pointer}
.ncf40 .ncf445-product-description{display:none}
@media(max-width:760px){
  /* Keep the full-screen overlay separate from the scrollable white sheet. */
  .ncf40 dialog.ncf41-modal{align-items:center;justify-content:center;padding:12px 12px max(22px,env(safe-area-inset-bottom));box-sizing:border-box}
  .ncf40 dialog.ncf41-modal .ncf41-modal__dialog{
    width:100%;max-width:none;
    max-height:calc(100dvh - 34px - env(safe-area-inset-bottom));
    padding:18px 16px 24px;
    border-radius:17px;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:#bfd3c5 transparent;
    overscroll-behavior:contain;
  }
  .ncf40 dialog.ncf41-modal .ncf41-modal__dialog::-webkit-scrollbar{width:5px}
  .ncf40 dialog.ncf41-modal .ncf41-modal__dialog::-webkit-scrollbar-thumb{background:#c1d3c7;border-radius:8px}
  .ncf40 dialog.ncf41-modal .ncf41-modal__close{position:sticky;top:0;float:right;margin:0 0 -40px auto;width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 1px 8px rgba(0,0,0,.07)}
  .ncf40 .ncf41-modal__layout{clear:both}
  .ncf40 .ncf41-modal__image{min-height:135px;max-height:200px}
  .ncf40 .ncf41-modal__image img{max-height:200px}
  .ncf40 .ncf41-modal__information h3{font-size:1.11rem;line-height:1.32}
  .ncf40 .ncf41-modal__information .ncf41-modal__summary{display:none!important}
  .ncf40 .ncf445-product-description:not([hidden]){display:block;border-top:1px solid #e3ece5;margin-top:14px;padding-top:12px;font-size:.84rem;line-height:1.5}
  .ncf40 .ncf445-product-description summary{font-weight:700;color:#246345;cursor:pointer;min-height:28px}
  .ncf40 .ncf445-product-description p{margin:10px 0 0}
  .ncf40 .ncf41-modal__actions{margin-top:14px}
  .ncf40 .ncf445-saw-modal__sheet{padding:15px;border-radius:13px}
  .ncf40 .ncf445-saw-modal__sheet img{max-height:calc(100dvh - 120px)}
  .ncf40 .ncf445-saw-zoom{width:36px;height:36px;font-size:1.5rem}
}

/* v4.4.6: mobile quick-view images use the same safe content-aware framing as cards.
   Keep the modal height and scroll behavior unchanged. */
@media (max-width:760px) {
  .ncf40 .ncf41-modal__image { position:relative; overflow:hidden; height:185px; min-height:185px; max-height:185px; }
  .ncf40 .ncf41-modal__image img:not([hidden]) { display:block; width:100%; height:100%; max-width:100%; max-height:none; object-fit:contain; }
  .ncf40 .ncf41-modal__image img[hidden] { display:none!important; }
}

/* 4.4.7: wrappers preserve the approved layout; only their contents change. */
.ncf40 [data-ncf447-filters], .ncf40 [data-ncf447-results]{display:contents}
.ncf40 .ncf447-status{font-size:.76rem;color:#2b6548;margin:6px 0}
.ncf40.ncf447-loading [data-ncf447-filters] .ncf40-selector{opacity:.78}
.ncf40 .ncf447-status[hidden]{display:none!important}

/* v4.4.9: cautiously enlarge actual chainsaw images within the existing panel.
   Same-origin product photos get a precisely measured fit via ncf449-saw-framing.js.
   These low-impact fallbacks apply only when the source cannot be inspected. */
@media (min-width:761px) {
  .ncf40 .ncf35-saw-photo[data-ncf449-saw-photo]{overflow:hidden}
  .ncf40 .ncf35-saw-photo[data-ncf449-saw-photo="stored"] > img:not([data-ncf449-framed]),
  .ncf40 .ncf35-saw-photo[data-ncf449-saw-photo="official"] > img:not([data-ncf449-framed]){transform:none;transform-origin:center center}
}

/* FASE 2 / v4.7.1: integrated in the ACTUAL public v4 finder.
   Standard cards stay unchanged; conditionals remain read-only and require
   fresh, model-specific, uncached validation. */
.ncf40 .ncf-f2-v4{margin:12px 0 15px;border:1px solid #d8e3dc;border-radius:11px;background:#f8fbf9;max-width:100%;font-size:.84rem;color:#253e33}
.ncf40 .ncf-f2-v4>summary{cursor:pointer;padding:12px 15px;font-weight:700;color:#1c5b3e;line-height:1.45}
.ncf40 .ncf-f2-v4>summary:focus-visible{outline:2px solid #26794f;outline-offset:3px}
.ncf40 .ncf-f2-v4[open]>summary{border-bottom:1px solid #e0eae3}
.ncf40 .ncf-f2-prompt{padding:14px 15px 16px}
.ncf40 .ncf-f2-prompt h4{font-size:.9rem;line-height:1.35;margin:0 0 9px;color:#1a3e2d}
.ncf40 .ncf-f2-prompt p{margin:0 0 12px;line-height:1.5}
.ncf40 .ncf-f2-prompt label{display:block;margin:10px 0 5px;font-size:.82rem;line-height:1.4}
.ncf40 .ncf-f2-prompt label:has([type=checkbox]){display:flex;align-items:flex-start;gap:8px}
.ncf40 .ncf-f2-prompt input[type=checkbox]{margin:3px 0 0;width:16px;height:16px;flex:none}
.ncf40 .ncf-f2-prompt select{display:block;max-width:100%;width:min(100%,490px);padding:9px 10px;border:1px solid #ccdcd1;border-radius:7px;background:#fff;font:inherit;color:#253e33}
.ncf40 .ncf-f2-prompt button[data-ncf-f2-submit]{display:inline-flex;align-items:center;justify-content:center;margin:12px 0;background:#1b6243;border:1px solid #1b6243;border-radius:7px;padding:10px 15px;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.ncf40 .ncf-f2-prompt button[data-ncf-f2-submit]:disabled{opacity:.6;cursor:wait}
.ncf40 [data-ncf-f2-result]{margin-top:8px;font-size:.82rem;line-height:1.5}
.ncf40 [data-ncf-f2-result] p{margin:8px 0}
.ncf40 [data-ncf-f2-result] ul{list-style:disc;padding-left:22px;margin:8px 0}
.ncf40 [data-ncf-f2-result] li{margin:8px 0;padding:5px 0}
.ncf40 [data-ncf-f2-result] li p{margin:3px 0}
.ncf40 [data-ncf-f2-result] small{display:block;color:#52665c}
@media(max-width:760px){.ncf40 .ncf-f2-prompt{padding:12px}.ncf40 .ncf-f2-v4>summary{padding:12px}}
/* FASE 2 v4.7.2 – product offers requiring sprocket control; no redesign of standard cards. */
.ncf40 .ncf-f2-offers>summary{display:list-item}
.ncf40 .ncf-f2-offers .ncf-f2-tag{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:5px;background:#fff3df;color:#86500c;font-size:.77rem;font-weight:600}
.ncf40 .ncf-f2-content{padding:13px 15px 16px}
.ncf40 .ncf-f2-content>p{margin:0 0 12px;line-height:1.5}
.ncf40 .ncf-f2-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:10px;margin:8px 0 12px}
.ncf40 .ncf-f2-pair{background:#fff;border:1px solid #dce6df;border-radius:8px;padding:12px;min-width:0}
.ncf40 .ncf-f2-pair strong{font-size:.88rem;color:#1e3e30}
.ncf40 .ncf-f2-pair p{margin:5px 0;font-size:.83rem}
.ncf40 .ncf-f2-pair small{display:block;color:#73511e;line-height:1.5}
.ncf40 .ncf-f2-ack{display:flex;align-items:flex-start;gap:9px;margin:12px 0;padding:10px;border:1px solid #efd8ad;background:#fff9ed;border-radius:7px;font-size:.83rem}
.ncf40 .ncf-f2-ack input{flex:none;margin:2px 0 0;width:17px;height:17px}
.ncf40 .ncf-f2-links{display:flex;flex-direction:column;gap:6px;margin-top:11px}
.ncf40 .ncf-f2-product-link{display:inline-flex;align-self:flex-start;text-decoration:none;border:1px solid #c6d9cb;border-radius:5px;padding:5px 9px;color:#195539;font-size:.8rem;font-weight:600}
.ncf40 .ncf-f2-product-link:hover{text-decoration:underline}
.ncf40 .ncf-f2-price,.ncf40 .ncf-f2-unlinked{font-size:.77rem;color:#52665c}
.ncf40 .ncf-f2-footer{font-size:.78rem;color:#53675b}
@media(max-width:650px){.ncf40 .ncf-f2-offers .ncf-f2-tag{margin:6px 0 0}.ncf40 .ncf-f2-list{grid-template-columns:1fr}}

/* v4.7.3: FASE 2 cards are normal chain/bar cards, NOT a separate panel. */
.ncf40 .ncf-f2-inline-card .ncf-f2-card-note {
  grid-column:1 / -1;grid-area:auto;align-self:end;min-width:0;
  display:flex;flex-direction:column;gap:3px;
  padding:10px 11px;margin-top:8px;background:#fff9ef;
  border:1px solid #e8d8b9;border-radius:7px;color:#654d20;
  font-size:.74rem;line-height:1.45;
}
.ncf40 .ncf-f2-inline-card .ncf-f2-card-note strong{font-size:.78rem;color:#67420d}
.ncf40 .ncf-f2-inline-card .ncf-f2-card-note span{display:block}
.ncf40 .ncf-f2-inline-card.ncf37-chain-choice{
  grid-template-areas:"visual info" "visual actions" "notice notice";
  grid-template-rows:minmax(0,1fr) auto auto;
}
.ncf40 .ncf-f2-inline-card.ncf37-chain-choice .ncf-f2-card-note{grid-area:notice}
@media(max-width:650px){
 .ncf40 .ncf-f2-inline-card.ncf37-chain-choice{display:flex;flex-direction:column}
 .ncf40 .ncf-f2-inline-card .ncf-f2-card-note{width:100%}
}

/* v4.7.4: verified hard-metal chain classification, understated product badge. */
.ncf40 .ncf37-chain-choice__type.ncf-f2-hardmetall { background:#edf3f7; color:#36566e; }


/* v4.7.8: STIHL-orange is product identity; green is selected product. */
.ncf40 .ncf37-chain-choice.ncf40-standard-card:not(.is-selected),
.ncf40 .ncf37-product.ncf40-standard-card{border-color:#dfe5e9}
.ncf40 .ncf40-badge-wrap{display:inline-flex;position:relative;align-self:flex-start;vertical-align:middle;max-width:100%;margin:0 0 5px;z-index:1}
.ncf40 .ncf40-badge__trigger{display:inline-flex;align-items:center;gap:5px;max-width:100%;font:inherit;font-size:.70rem!important;font-weight:750!important;line-height:1.3!important;padding:4px 7px!important;margin:0!important;border:1px solid transparent!important;border-radius:6px!important;background:#eef1f4!important;color:#526477!important;cursor:help;box-shadow:none!important;text-align:left}
.ncf40 .ncf40-badge__label{display:inline-block;min-width:0;overflow-wrap:anywhere}
.ncf40 .ncf40-badge--standard .ncf40-badge__trigger{background:#fff8f1!important;color:#d65a00!important}
.ncf40 .ncf40-badge--standard .ncf40-badge__label::before{content:"✓ ";font-weight:800}
/* All technical/special-chain categories share a discreet slate-blue style. */
.ncf40 .ncf40-badge--hardmetal .ncf40-badge__trigger,
.ncf40 .ncf40-badge--hexa .ncf40-badge__trigger,
.ncf40 .ncf40-badge--special .ncf40-badge__trigger{background:#edf3f7!important;color:#36566e!important}
.ncf40 .ncf40-badge__trigger:hover .ncf40-badge__label,
.ncf40 .ncf40-badge__trigger:focus-visible .ncf40-badge__label{text-decoration:underline;text-underline-offset:2px}
.ncf40 .ncf40-badge__trigger:focus-visible{outline:2px solid #2c7453!important;outline-offset:3px}
.ncf40 .ncf40-badge__popup{position:absolute;left:0;top:calc(100% + 6px);display:block;width:min(292px,calc(100vw - 42px));max-width:none;padding:10px 12px;border:1px solid #cbdad1;border-radius:8px;background:#fff;color:#2b4138;box-shadow:0 8px 24px rgba(24,43,34,.14);font-size:.77rem;line-height:1.48;font-weight:450;white-space:normal;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s ease;z-index:50}
.ncf40 .ncf40-badge-wrap.is-open .ncf40-badge__popup,
.ncf40 .ncf40-badge-wrap:focus-within .ncf40-badge__popup,
.ncf40 .ncf40-badge-wrap:hover .ncf40-badge__popup{opacity:1;visibility:visible;pointer-events:auto}
.ncf40 .ncf37-chain-choice:has(.ncf40-badge-wrap:is(:hover,:focus-within,.is-open)),
.ncf40 .ncf37-product:has(.ncf40-badge-wrap:is(:hover,:focus-within,.is-open)){position:relative;z-index:5}
@media(min-width:1081px){
 .ncf40 .ncf37-chain-grid>:nth-child(2n) .ncf40-badge__popup,
 .ncf40 .ncf37-products-grid>:nth-child(2n) .ncf40-badge__popup{left:auto;right:0}
}
@media(hover:none){
 .ncf40 .ncf40-badge-wrap:not(.is-open) .ncf40-badge__popup{visibility:hidden;opacity:0;pointer-events:none}
}
@media(prefers-reduced-motion:reduce){.ncf40 .ncf40-badge__popup{transition:none}}

/* 4.8.6 – selected chain/bar are always a verified pair. */
.ncf40 [hidden][data-ncf486-reset], .ncf40 [hidden][data-ncf486-empty],
.ncf40 #ncf33-panel-bars .ncf37-product[hidden],
.ncf40 #ncf33-panel-chains .ncf37-chain-choice[hidden]{display:none!important}
.ncf40 .ncf486-reset{border:1px solid #cadbd1;border-radius:7px;color:#285f46;background:#fff;padding:7px 11px;font-size:.78rem;font-weight:700;cursor:pointer;margin:2px 0 12px}
.ncf40 .ncf486-empty{font-size:.82rem;color:#72592d;background:#fff9eb;padding:10px 12px;border-radius:8px}
.ncf40 .ncf486-bar-select{grid-column:1/-1;display:flex;justify-content:flex-start;padding-top:8px;margin-top:8px;border-top:1px solid #e7eced}
.ncf40 .ncf486-bar-select button{border:1px solid #cbdad5;border-radius:7px;background:#fff;color:#285f46;font-size:.78rem;font-weight:700;padding:7px 11px;cursor:pointer}
.ncf40 .ncf486-bar-select button[aria-pressed=true]{background:#286a4b;border-color:#286a4b;color:#fff}
.ncf40 .ncf37-product--bar.ncf486-selected-bar{border-color:#76ac8d}

/* v4.12.2: manufacturer standard retains the approved light orange
   background in all selection states. Selection borders stay independent. */
.ncf40 .ncf40-standard-card {
  background: #fff5eb !important;
}

/* v4.13.2: selected bar alone expands; other cards never inherit its height.
   Keep existing columns, standard background and responsive mobile layout. */
.ncf40 .ncf40-standard-label-static{display:inline-flex;align-items:center;gap:4px;width:max-content;max-width:100%;font-size:.72rem;font-weight:780;color:#cf640d;background:#fff1e2;border:1px solid #f2d2b3;border-radius:999px;padding:4px 8px;margin:0 0 6px;line-height:1.2}
.ncf40 #ncf33-panel-bars .ncf37-products-grid{align-items:start}
.ncf40 #ncf33-panel-bars .ncf37-product--bar{align-self:start;align-content:start;grid-auto-rows:auto}
@media(min-width:761px){
 .ncf40 #ncf33-panel-bars .ncf37-product--bar>.ncf37-product__image{height:clamp(185px,18vw,256px);min-height:0;align-self:start}
}
.ncf40 #ncf33-panel-bars .ncf486-bar-select{align-items:center;align-self:start;justify-content:flex-start;flex-wrap:wrap;gap:8px 12px}
.ncf40 #ncf33-panel-bars .ncf486-bar-select button{box-sizing:border-box;flex:0 0 auto;align-self:center;min-width:94px;height:auto;min-height:35px;max-height:none;line-height:1.3;white-space:nowrap}
.ncf40 .ncf413-guard-preview{font-size:.75rem;line-height:1.35;color:#45665a;font-weight:500}
/* Preserve the space in the selection row when the hint is replaced by the accessory. */
.ncf40 .ncf486-selected-bar .ncf413-guard-preview{visibility:hidden}
.ncf40 .ncf413-guards[hidden]{display:none!important}
.ncf40 .ncf413-guards{grid-column:1/-1;min-width:0;border-top:1px solid #e1e7e3;padding:12px 0 0;margin:0;align-self:start}
.ncf40 .ncf413-guards h4{font-size:.86rem;font-weight:750;margin:0 0 9px;color:#285f46}
.ncf40 .ncf413-guard-row{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e1e9e4;border-radius:10px;padding:10px;margin:0 0 8px;min-width:0}
.ncf40 .ncf413-guard-row:last-child{margin-bottom:0}
.ncf40 .ncf413-guard-row>img{box-sizing:border-box;width:160px;height:120px;object-fit:contain;flex:0 0 160px;border-radius:8px;background:#f7f9f8;padding:5px;max-width:40%}
.ncf40 .ncf413-guard-info{min-width:0;flex:1;display:grid;gap:4px;overflow-wrap:anywhere}
.ncf40 .ncf413-guard-info strong{font-size:.88rem;line-height:1.35}
.ncf40 .ncf413-guard-info small{display:block;color:#5f6f66;font-size:.75rem}
.ncf40 .ncf413-quantity-buy{display:inline-flex;align-items:center;justify-content:center;background:#286a4b;color:#fff;border-radius:6px;padding:7px 10px}
@media(max-width:760px){
 .ncf40 .ncf413-guard-row{gap:10px}
 .ncf40 .ncf413-guard-row>img{width:112px;height:96px;flex-basis:112px;max-width:40%}
}
@media(max-width:360px){
 .ncf40 .ncf413-guard-row{flex-wrap:wrap}
 .ncf40 .ncf413-guard-row>img{width:100%;max-width:100%;flex-basis:100%;height:100px}
 .ncf40 .ncf413-guard-info{flex-basis:100%}
}
