/* One visible purchase path, large products, native accessible modal. */
.nb-cart-visual .td-model{display:none!important}.nb-cart-visual .td-image{width:110px!important;min-width:90px!important}.nb-cart-visual .td-image img{width:96px!important;height:96px!important;max-width:none!important;object-fit:contain!important;background:white!important;border:0!important;padding:0!important}.nb-cart-product .td-product small,.nb-cart-product .td-name small{font-weight:700;color:#292723;font-size:13px;line-height:1.8}
.nb-source .ns-field,.nb-source .nsh-size-guide,.nb-source .ncv-order-promo,.nb-source .ncv-stock-message,.nb-source .ncv-proof,.nb-source .ncv-offers,.nb-source .nm-bundle,.nb-source .ncv-order-price,.nb-source .nsh-choice-hint,.nb-source .ns-buy,.nb-source .ns-order-status,.nb-source .product-options,.nb-source .button-group-page,.nb-source .nesto-product-size,.nb-source .nm-sizes{display:none!important}
body.nb-enabled .nesto-purchase-bar,body.nb-enabled .ncv-purchase-bar{display:none!important}
.nb-entry{direction:rtl;text-align:right;order:36;margin:18px 0 24px;color:#292723}
.nb-entry>p{font-size:18px!important;line-height:1.75!important;margin:0 0 16px!important}.nb-entry>small{display:block;font-size:13px;line-height:1.85;margin-top:12px;color:#62594d}
.nb-entry-promo{padding:18px 20px;border-radius:12px;background:#f4f1eb;border:1px solid #d8d1c6;line-height:1.6;font-size:17px;margin-bottom:18px}.nb-entry-promo strong{display:block;font-size:29px;color:#292723}.nb-entry-promo small{display:block;font-size:12px}
.nb-open,.nb-floating button{border:0;background:#292723;color:white!important;font:700 18px/1.5 inherit;font-family:inherit;font-size:18px;font-weight:700;line-height:1.5;padding:16px 28px;min-height:56px;border-radius:10px;cursor:pointer;text-align:center}
.nb-open{width:100%}.nb-floating{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:1100;direction:rtl;display:flex;align-items:center;gap:24px;padding:10px 12px 10px 24px;max-width:calc(100% - 32px);border:1px solid #d8d1c6;border-radius:16px;background:#fffefa;box-shadow:0 5px 30px #29272326;color:#292723}.nb-floating>span{font-size:14px;white-space:nowrap}.nb-floating button{white-space:nowrap;min-height:50px;padding:12px 24px}
body.nb-enabled{padding-bottom:96px!important}body.nb-modal-open .nb-floating{visibility:hidden}
html body #nesto-home-purchase.nb-source .ns-product{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;align-items:center!important;gap:48px!important}
html body #nesto-home-purchase.nb-source .ns-gallery{position:static!important;margin:0!important;min-width:0!important;align-self:center!important}
html body #nesto-home-purchase.nb-source .ns-gallery-main,html body #nesto-home-purchase.nb-source #ns-gallery-image{height:480px!important;max-height:none!important;width:100%!important;object-fit:contain!important;background:white}
html body #nesto-home-purchase.nb-source .ns-thumbs{display:flex!important;justify-content:center!important;gap:10px!important}
html body #nesto-home-purchase.nb-source .ns-thumb{width:72px!important;height:72px!important}
.nb-dialog{box-sizing:border-box;direction:rtl;text-align:right;padding:0;margin:auto;width:min(1140px,calc(100vw - 40px));height:min(1000px,calc(100dvh - 40px));max-width:none;max-height:none;border:0;border-radius:20px;background:#fbfaf6;color:#292723;box-shadow:0 16px 70px #0005;font-family:Arial,sans-serif;overflow:hidden}
.nb-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.nb-dialog::backdrop,.nb-zoom::backdrop{background:#292723a6;backdrop-filter:blur(3px)}
.nb-dialog *,.nb-entry *,.nb-floating *{box-sizing:border-box}.nb-dialog [hidden],.nb-entry [hidden]{display:none!important}.nb-dialog button,.nb-dialog input{font:inherit}.nb-dialog button{cursor:pointer}.nb-dialog button:disabled{cursor:default;opacity:.55}.nb-dialog button:focus-visible,.nb-dialog input:focus-visible,.nb-dialog a:focus-visible,.nb-dialog summary:focus-visible,.nb-open:focus-visible,.nb-floating button:focus-visible,.nb-zoom button:focus-visible{outline:3px solid #806d58;outline-offset:3px}
.nb-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:23px 32px 18px;border-bottom:1px solid #deded2;background:#fbfaf6;z-index:2}.nb-eyebrow{font-size:12px;letter-spacing:1px;color:#62594d}.nb-header h2{font-size:28px;font-weight:700;line-height:1.3;margin:5px 0!important;color:#292723}.nb-header p{font-size:13px;line-height:1.5;margin:7px 0 0}.nb-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:0;border:1px solid #d8d1c6;border-radius:50%;background:white;color:#292723;font-size:29px!important;line-height:1}
.nb-scroll{padding:12px 32px 28px;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;scrollbar-gutter:stable}.nb-load{font-size:12px;min-height:24px;color:#62594d;padding-bottom:8px}.nb-retry{min-height:44px;margin-bottom:16px;padding:10px 16px;background:#fff;border:1px solid #62594d;border-radius:8px;color:#292723}
.nb-dialog fieldset{border:0;margin:0 0 22px;padding:0;min-width:0}.nb-dialog legend{float:none;width:auto;border:0;margin:0 0 12px;padding:0;font-size:18px;font-weight:700;line-height:1.5;color:#292723}.nb-dialog legend>span{display:inline-flex;width:27px;height:27px;border-radius:50%;background:#f4f1eb;align-items:center;justify-content:center;margin-left:6px;font-size:14px}.nb-size-options,.nb-offer-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nb-size-options label,.nb-offer-options label,.nb-colors label{position:relative;cursor:pointer;margin:0;min-width:0;display:block;font-weight:400}
.nb-size-options input,.nb-offer-options input,.nb-colors input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;inset-inline-start:8px;top:8px;margin:0}
.nb-size-options label>span,.nb-offer-options label>span{display:block;border:1px solid #d8d1c6;border-radius:12px;background:#fff;padding:14px 18px;min-height:92px}.nb-size-options label>span{display:grid;grid-template-columns:88px 1fr;gap:4px 14px;align-items:center}.nb-size-options svg{width:88px;height:64px;grid-row:1/4;stroke:#806d58;stroke-width:2;fill:#f4f1eb}.nb-size-options strong{font-size:19px}.nb-size-options small,.nb-offer-options small{display:block;font-size:13px;line-height:1.5;color:#62594d}.nb-size-options b{font-size:15px;color:#292723}.nb-offer-options strong{display:block;font-size:18px;margin-bottom:6px}
.nb-size-options input:checked+span,.nb-offer-options input:checked+span,.nb-colors input:checked+span{border:2px solid #62594d;background:#f4f1eb;box-shadow:0 0 0 1px #62594d1a}.nb-size-options input:focus-visible+span,.nb-offer-options input:focus-visible+span,.nb-colors input:focus-visible+span{outline:3px solid #806d58;outline-offset:3px}.nb-size-options input:disabled+span,.nb-offer-options input:disabled+span,.nb-colors input:disabled+span{opacity:.48;cursor:not-allowed;background:#eeeee9}
.nb-note{font-size:12px!important;line-height:1.7!important;color:#62594d;margin:10px 0 0!important}.nb-promo{display:flex;align-items:center;gap:18px;background:#f4f1eb;border:1px solid #d8d1c6;border-radius:12px;padding:16px 22px;margin-bottom:24px;font-size:16px;line-height:1.7}.nb-promo-number{font-size:34px;font-weight:700;direction:ltr;color:#62594d}.nb-promo strong{font-size:26px;font-weight:800;display:block;color:#292723;line-height:1.4}.nb-promo small{display:block;font-size:12px;color:#62594d}
.nb-products{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.nb-product{background:#fff;border:1px solid #deded2;border-radius:14px;padding:18px;min-width:0}.nb-card-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.nb-card-heading h3{font-size:21px;line-height:1.4;margin:0!important;font-weight:700;color:#292723}.nb-card-heading>b{font-size:16px;color:#62594d;white-space:nowrap}.nb-photo{position:relative;display:block;width:100%;height:300px;margin:12px 0 0;border:0;background:white;padding:0;cursor:zoom-in!important;border-radius:10px;overflow:hidden}.nb-photo img{display:block;width:100%;height:100%;object-fit:contain}.nb-photo>span{position:absolute;bottom:5px;left:5px;background:#fffE;border:1px solid #d8d1c6;border-radius:20px;padding:5px 10px;color:#292723;font-size:11px}.nb-photo-caption{font-size:12px;line-height:1.6;color:#62594d;min-height:20px;margin:7px 0 15px}
.nb-colors legend{font-size:16px;margin:0 0 8px}.nb-colors>div{display:flex;gap:8px}.nb-colors label{flex:1}.nb-colors label>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #d8d1c6;border-radius:9px;padding:12px 5px;min-height:76px;background:#fff}.nb-colors b{font-size:13px;line-height:1.4;font-weight:400}.nb-colors small{font-size:10px;line-height:1.3}.nb-colors small:empty{display:none}.nb-swatch{display:block;width:28px;height:28px;border:1px solid #0002;border-radius:50%}.nb-charcoal{background:#505459}.nb-light{background:#c4c6c5}.nb-sand,.nb-beige{background:#d8c6b3}.nb-gray{background:#979b97}.nb-included{border:2px solid #806d58;padding:17px}.nb-add-mat{display:block;width:100%;min-height:48px;border:1px solid #62594d;border-radius:9px;background:#f4f1eb;color:#292723;padding:10px 12px;font-size:15px!important;font-weight:700!important}
.nb-summary{margin-top:26px;padding:24px;background:#f0efe8;border-radius:14px;border:1px solid #d8d1c6}.nb-summary h3{font-size:21px;font-weight:700;margin:0 0 18px!important;line-height:1.4}.nb-summary-items{display:grid;grid-template-columns:1fr 1fr;gap:14px}.nb-summary-items article{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #dddccd;background:white;border-radius:10px;min-width:0}.nb-summary-items img{width:115px;height:115px;object-fit:contain;flex-shrink:0}.nb-summary-items strong,.nb-summary-items span,.nb-summary-items b{display:block}.nb-summary-items strong{font-size:16px}.nb-summary-items span{font-size:12px;line-height:1.6;margin:6px 0;color:#62594d}.nb-summary-items b{font-size:15px;color:#292723}
.nb-quantity{display:flex;align-items:center;gap:12px;font-size:15px;margin:18px 0}.nb-quantity input{width:76px;min-height:44px;border:1px solid #d8d1c6;border-radius:8px;background:white;padding:8px;text-align:center;color:#292723;font-size:16px}
.nb-summary dl{margin:0}.nb-summary dl>div{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:7px 0;font-size:15px}.nb-summary dt{font-weight:400}.nb-summary dd{margin:0;direction:rtl;white-space:nowrap}.nb-discount-row{color:#62594d}.nb-summary .nb-total-row{border-top:1px solid #d8d1c6;margin-top:6px;padding-top:14px;font-size:21px;font-weight:700}.nb-total-row dt{font-weight:700}.nb-cart-note{font-size:12px;line-height:1.7;color:#62594d;margin:12px 0}.nb-delivery{border-top:1px solid #d8d1c6;padding-top:8px}.nb-delivery summary{cursor:pointer;padding:10px 0;min-height:44px;font-size:14px;font-weight:700}.nb-delivery p{font-size:13px;line-height:1.9;margin:5px 0}.nb-delivery a{color:#292723;text-decoration:underline}
.nb-error{color:#a82a1e;font-size:15px;font-weight:700;line-height:1.7;margin:16px 0 0}.nb-error:empty{display:none}.nb-cart-recovery{display:block;margin:16px 0;color:#292723;text-decoration:underline;min-height:44px}
.nb-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 32px;background:#fffefa;border-top:1px solid #d8d1c6;box-shadow:0 -5px 20px #2927230a}.nb-footer-price{display:grid;grid-template-columns:auto auto;gap:2px 24px;align-items:center}.nb-footer-price>span{font-size:13px}.nb-footer-price strong{font-size:29px;grid-row:1/3;grid-column:2;line-height:1.3;white-space:nowrap;color:#292723}.nb-footer-price small{font-size:11px;color:#62594d}.nb-footer-action{display:flex;flex-direction:column;align-items:center;gap:5px}.nb-checkout{min-height:54px;min-width:310px;padding:13px 24px;border:0;border-radius:9px;background:#292723;color:#fff;font-size:17px!important;font-weight:700!important}.nb-next-hint{font-size:11px;line-height:1.6;color:#62594d}
.nb-zoom{max-width:96vw;max-height:96dvh;padding:16px;border:0;border-radius:14px;background:white;color:#292723;margin:auto}.nb-zoom[open]{display:flex;flex-direction:column;gap:12px}.nb-zoom img{max-width:88vw;max-height:80dvh;object-fit:contain}.nb-zoom button{align-self:flex-end;min-height:44px;padding:8px 18px;background:#f4f1eb;border:1px solid #806d58;border-radius:24px;font:16px Arial;cursor:pointer}
@media(max-width:767px){
 body.nb-enabled,body.nb-enabled.ncv-has-purchase-bar,body.nb-enabled.nsh-choice-ready.ncv-has-purchase-bar{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}.nb-floating{bottom:0;left:0;right:0;transform:none;max-width:none;border-radius:0;border-width:1px 0 0;display:block;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fffefa}.nb-floating>span{display:none}.nb-floating button{width:100%;min-height:52px;font-size:18px}
 html body #nesto-home-purchase.nb-source .ns-product{display:flex!important;flex-direction:column!important;gap:22px!important}.nb-source .ns-product-copy{width:100%!important}.nb-source .ns-gallery{width:100%!important;order:-1!important}.nb-source .ns-note{display:none!important}.nb-entry{margin:14px 0 10px}.nb-entry>p{font-size:16px!important;line-height:1.65!important}.nb-entry-promo{padding:14px 16px;font-size:15px}.nb-entry-promo strong{font-size:27px}
 html body #nesto-home-purchase.nb-source .ns-gallery-main,html body #nesto-home-purchase.nb-source #ns-gallery-image{height:360px!important}.nb-source .ns-thumbs{margin-top:8px!important}.nb-source .ns-thumb{width:62px!important;height:62px!important}
 html body .nesto-product-page #product .nsh-gallery .main-image,html body.nesto-product-page #product .nsh-gallery .main-image,html body.nesto-product-page #product .nsh-gallery .main-image .swiper-slide,html body.nesto-product-page #product .nsh-gallery .main-image img,html body.nesto-product-page #product .nsh-gallery .nm-main{height:360px!important;max-height:360px!important;object-fit:contain!important}.nb-source .nsh-gallery{order:25!important}.nb-source .nb-entry{order:26!important}
 .nb-dialog{width:100vw;height:100dvh;margin:0;border-radius:0}.nb-header{padding:14px 16px 12px;gap:10px}.nb-eyebrow{font-size:11px}.nb-header h2{font-size:22px;margin:4px 0!important}.nb-header p{font-size:11px;margin:4px 0 0}.nb-close{width:42px;height:42px}.nb-scroll{padding:10px 16px 24px;scrollbar-gutter:auto}.nb-dialog legend{font-size:17px;margin-bottom:10px}.nb-size-options,.nb-offer-options{gap:8px}.nb-size-options label>span{display:flex;flex-direction:column;text-align:center;gap:4px;padding:10px 6px;min-height:142px}.nb-size-options svg{width:76px;height:44px}.nb-size-options strong{font-size:17px}.nb-size-options small{font-size:11px}.nb-size-options b{font-size:14px}.nb-offer-options label>span{padding:12px 9px;min-height:84px}.nb-offer-options strong{font-size:15px}.nb-offer-options small{font-size:11px}.nb-note{font-size:11px!important}.nb-dialog fieldset{margin-bottom:18px}.nb-promo{gap:12px;padding:13px 14px;font-size:13px;margin-bottom:18px}.nb-promo-number{font-size:29px}.nb-promo strong{font-size:25px}.nb-promo small{font-size:10px}
 .nb-products{grid-template-columns:1fr;gap:18px}.nb-product{padding:14px}.nb-included{padding:13px}.nb-card-heading h3{font-size:20px}.nb-card-heading>b{font-size:15px}.nb-photo{height:280px;margin-top:10px}.nb-photo-caption{font-size:11px;margin-bottom:12px}.nb-colors legend{font-size:16px}.nb-colors label>span{min-height:75px;padding:10px 4px}.nb-colors b{font-size:13px}.nb-summary{padding:16px;margin-top:20px}.nb-summary h3{font-size:19px}.nb-summary-items{grid-template-columns:1fr;gap:10px}.nb-summary-items article{padding:10px;gap:12px}.nb-summary-items img{width:118px;height:118px}.nb-summary-items strong{font-size:15px}.nb-summary dl>div{font-size:14px}.nb-summary .nb-total-row{font-size:18px;align-items:flex-start}.nb-cart-note{font-size:11px}
 .nb-footer{display:block;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}.nb-footer-price{display:grid;grid-template-columns:1fr auto;gap:1px 12px;margin-bottom:8px}.nb-footer-price>span{font-size:12px}.nb-footer-price strong{font-size:26px}.nb-footer-price small{font-size:10px}.nb-footer-action{gap:4px}.nb-checkout{width:100%;min-width:0;min-height:50px;font-size:16px!important;padding:12px 10px}.nb-next-hint{font-size:10px}.nb-zoom{padding:10px}.nb-zoom img{max-width:91vw}
}
@media(max-width:359px){.nb-header h2{font-size:20px}.nb-scroll{padding-inline:12px}.nb-size-options strong{font-size:15px}.nb-photo{height:250px}.nb-summary-items img{width:95px;height:105px}.nb-card-heading h3{font-size:18px}.nb-offer-options strong{font-size:14px}.nb-promo strong{font-size:23px}}
@media(prefers-reduced-motion:reduce){.nb-scroll{scroll-behavior:auto}}

/* Beige purchase flow: dimensions, fence colour, optional matching mattress. */
.nb-size-options label>span{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-height:86px;text-align:center;padding:14px}
.nb-products{display:block}.nb-promo{font-size:21px;font-weight:600;justify-content:center;text-align:center;background:#e9e1d4;border-color:#c7b99f}.nb-promo strong{font-size:32px;color:#292723}.nb-entry-promo{background:#eee7dc;border-color:#d8cbb9}.nb-entry-promo strong{color:#292723}
.nb-promo{margin-top:4px}.nb-promo-number{display:none}.nb-product .nb-photo{height:360px}.nb-mat-actions{margin-top:18px}.nb-add-mat{min-height:66px;padding:14px 22px;background:#e9dfce;color:#292723;border:1px solid #b5a48b;font-size:18px!important;line-height:1.6}.nb-add-mat strong{font-weight:800}.nb-mat-chosen{font-size:14px;line-height:1.7;margin:10px 0 0}.nb-mat-chosen:empty,.nb-cart-note:empty{display:none}.nb-remove-mat{background:transparent;border:0;color:#62594d;text-decoration:underline;padding:10px 0;min-height:44px;font-size:14px!important}
.nb-mattress-dialog{width:min(700px,calc(100vw - 40px));height:min(900px,calc(100dvh - 40px))}.nb-mattress-dialog .nb-photo{height:330px}.nb-mattress-dialog .nb-header h2{font-size:25px}.nb-mattress-dialog .nb-footer{display:block}.nb-mat-preview{font-size:18px;font-weight:700;margin-bottom:12px}.nb-confirm-mat{width:100%}.nb-mattress-dialog::backdrop{background:#2927238c}
.nb-checkout,.nb-open,.nb-floating button{background:#292723}.nb-size-options input:checked+span,.nb-colors input:checked+span{border-color:#806d58;background:#f1e9dc;box-shadow:none}
.nsr-write,.nsr-submit{background:#292723!important}.nsr-reviews,.nsh-help-links{color:#292723}.nsr-reviews input,.nsr-reviews select,.nsr-reviews textarea,.nsr-carousel button{border-color:#d0c5b6!important}.nsr-consent input{accent-color:#806d58!important}.nsr-reviews :focus-visible,.nsh-purchase :focus-visible,.nsh-lightbox :focus-visible,.nsh-help-links :focus-visible{outline-color:#806d58!important}
.quick-checkout-wrapper .nb-required-error input,.quick-checkout-wrapper .nb-required-error select,.quick-checkout-wrapper .nb-required-error textarea{border:2px solid #a82a1e!important;box-shadow:0 0 0 2px #a82a1e15!important}.nb-field-error{display:block;color:#a82a1e;font-size:13px;line-height:1.6;margin-top:5px}.quick-checkout-wrapper #nb-checkout-required{grid-column:1/-1;line-height:1.7;font-weight:700;scroll-margin-top:100px}.quick-checkout-wrapper [hidden]{display:none!important}.section-shipping .ncv-delivery-note{background:#f4f1eb;border:1px solid #d8d1c6;border-radius:8px;padding:14px;margin-top:12px;color:#39342d;font-size:14px;line-height:1.7}.nb-express-check{display:block;border:1px solid #b6a792;background:white;border-radius:6px;padding:8px 14px;min-height:44px;margin-top:8px;color:#39342d;font:inherit;text-decoration:underline;cursor:pointer}
@media(min-width:768px){#nb-fence{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);column-gap:28px;align-items:center}#nb-fence>.nb-card-heading{grid-column:1/-1}#nb-fence>.nb-photo{grid-column:1;grid-row:2/4;height:360px}#nb-fence>.nb-photo-caption{grid-column:1;grid-row:4}#nb-fence>#nb-color{grid-column:2;grid-row:2;align-self:end;margin-bottom:8px}#nb-fence>.nb-mat-actions{grid-column:2;grid-row:3;align-self:start}.nb-summary{margin-top:20px}}
@media(max-width:767px){.nb-size-options label>span{min-height:78px;padding:12px 8px}.nb-promo{font-size:17px;padding:14px;margin-bottom:18px}.nb-promo strong{font-size:28px}.nb-header h2{font-size:21px}.nb-card-heading h3{font-size:18px}.nb-product .nb-photo{height:280px}.nb-add-mat{font-size:16px!important;padding:13px 12px;line-height:1.6}.nb-mattress-dialog{width:100vw;height:100dvh}.nb-mattress-dialog .nb-header h2{font-size:22px}.nb-mattress-dialog .nb-photo{height:280px}.nb-mat-preview{font-size:16px;margin-bottom:10px}.nb-footer-price{margin-bottom:8px}.nb-footer-price strong{grid-row:1}.nb-summary{margin-top:18px}}
@media(max-width:359px){.nb-header h2{font-size:19px}.nb-promo{font-size:15px}.nb-promo strong{font-size:25px}.nb-card-heading{align-items:flex-start}.nb-card-heading h3{font-size:17px}.nb-product .nb-photo,.nb-mattress-dialog .nb-photo{height:240px}}

html body #content .quick-checkout-wrapper .form-group.nb-required-error input.form-control,html body #content .quick-checkout-wrapper .form-group.nb-required-error select.form-control,html body #content .quick-checkout-wrapper .form-group.nb-required-error textarea.form-control{border:2px solid #a82a1e!important;box-shadow:0 0 0 2px #a82a1e15!important;background:#fffaf8!important}.nb-summary{background:#f3ede3;border-color:#d8d1c6}.quick-checkout-wrapper #nb-checkout-required{margin:14px 0;padding:12px 14px;font-size:14px;line-height:1.7}

/* Matching product cards: photography, colour swatches and prices stay together. */
#nesto-buy-dialog .nb-products{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
#nesto-buy-dialog .nb-product-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;align-items:center;padding:24px;border:1px solid #d8d0c4;border-radius:18px;background:#faf8f4}
#nesto-buy-dialog .nb-product-card.nb-included{border-color:#8e7c61;box-shadow:inset 0 0 0 1px #8e7c61}
#nesto-buy-dialog .nb-card-visual,#nesto-buy-dialog .nb-card-details{min-width:0}
#nesto-buy-dialog .nb-card-details h3{font-size:24px;line-height:1.4;font-weight:700;margin:0 0 8px!important;color:#302d29}
#nesto-buy-dialog .nb-card-meta{font-size:14px;line-height:1.7;color:#625b51;margin:0 0 6px}
#nesto-buy-dialog .nb-card-price{display:block;font-size:29px;font-weight:700;line-height:1.4;margin:16px 0 4px;color:#302d29}
#nesto-buy-dialog .nb-card-visual .nb-photo{height:360px;width:100%;margin:0;background:#fff;border-radius:12px}
#nesto-buy-dialog .nb-card-visual .nb-photo-caption{margin:8px 0 0;font-size:12px;line-height:1.6}
#nesto-buy-dialog .nb-colors{margin:18px 0 0}
#nesto-buy-dialog .nb-colors legend{font-size:16px;margin-bottom:9px;line-height:1.5}
#nesto-buy-dialog .nb-colors>div{display:flex;flex-wrap:wrap;gap:8px}
#nesto-buy-dialog .nb-colors label{flex:0 1 auto;max-width:100%}
#nesto-buy-dialog .nb-colors label>span{display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center;gap:8px;min-height:48px;padding:10px 12px;border:1px solid #bfb5a7;border-radius:10px;background:#fff}
#nesto-buy-dialog .nb-colors b{font-size:15px;font-weight:500;line-height:1.4}
#nesto-buy-dialog .nb-colors small{flex-basis:100%;font-size:11px;text-align:center;line-height:1.3}
#nesto-buy-dialog .nb-swatch{display:block;width:25px;height:25px;flex:0 0 25px;border-radius:50%;border:1px solid #302d2933}
#nesto-buy-dialog .nb-charcoal{background:#505459}#nesto-buy-dialog .nb-light{background:#c4c6c5}#nesto-buy-dialog .nb-sand,#nesto-buy-dialog .nb-beige{background:#d8c6b3}#nesto-buy-dialog .nb-gray{background:#858b88}
#nesto-buy-dialog .nb-colors input:checked+span{border:2px solid #786951;background:#e8dfce;padding:9px 11px;box-shadow:none}
#nesto-buy-dialog .nb-colors input:checked+span b{font-weight:700}
#nesto-buy-dialog .nb-colors input:checked+span .nb-swatch{outline:2px solid #786951;outline-offset:2px}
#nesto-buy-dialog .nb-colors input:disabled+span{opacity:.5;background:#eeeae4}
#nesto-buy-dialog .nb-mat-actions{margin-top:18px}
#nesto-buy-dialog .nb-add-mat{min-height:50px;padding:12px 16px;background:#302d29;color:#fff;border:1px solid #302d29;border-radius:11px;font-size:17px!important;line-height:1.5}
#nesto-buy-dialog .nb-add-mat[aria-pressed="true"]{background:#e8dfce;border-color:#9f9079;color:#302d29}
#nesto-buy-dialog .nb-mat-saving{font-size:15px;font-weight:700;color:#514536;line-height:1.6;margin:12px 0 0}
#nesto-buy-dialog .nb-mat-saving:empty,#nesto-buy-dialog .nb-selection-status:empty{display:none}
#nesto-buy-dialog .nb-selection-status{padding:12px 16px;margin:0 0 18px;border:1px solid #b6a58a;border-radius:10px;background:#eee7da;font-size:14px;line-height:1.7;color:#514536}
#nesto-buy-dialog .nb-note{font-size:14px!important;margin-top:10px!important}
#nesto-buy-dialog .nb-mat-chosen{font-size:13px;line-height:1.6}
#nesto-buy-dialog .nb-remove-mat{min-height:44px;padding:8px 0}
#nesto-buy-dialog .nb-size-options label>span{min-height:78px}
#nesto-buy-dialog .nb-promo{background:#eee7da;border-color:#d8cbb9;border-radius:15px;padding:18px;font-size:21px;line-height:1.5;margin-bottom:20px}
#nesto-buy-dialog .nb-promo strong{font-size:32px;font-weight:700}
#nesto-buy-dialog .nb-header{padding:17px 24px;align-items:center}
#nesto-buy-dialog .nb-header .nb-eyebrow,#nesto-buy-dialog .nb-header p{display:none}
#nesto-buy-dialog .nb-header h2{font-size:25px;margin:0!important}
#nesto-buy-dialog .nb-footer{padding-top:12px;padding-bottom:12px}
@media(max-width:767px){
 #nesto-buy-dialog .nb-product-card{grid-template-columns:minmax(0,1fr);gap:0;padding:16px;border-radius:16px}
 #nesto-buy-dialog .nb-card-details{display:contents}
 #nesto-buy-dialog .nb-card-details h3{grid-row:1}
 #nesto-buy-dialog .nb-fence-size,#nesto-buy-dialog .nb-mat-size{grid-row:2;margin-bottom:12px}
 #nesto-buy-dialog .nb-card-visual{grid-row:3}
 #nesto-buy-dialog .nb-colors{grid-row:4}
 #nesto-buy-dialog .nb-card-price{grid-row:5}
 #nesto-buy-dialog .nb-mat-price-note{grid-row:6}
 #nesto-buy-dialog .nb-mat-price{grid-row:7}
 #nesto-buy-dialog .nb-note{grid-row:8}
 #nesto-buy-dialog .nb-mat-actions{grid-row:9}
 #nesto-buy-dialog .nb-card-visual .nb-photo{height:280px}
 #nesto-buy-dialog .nb-card-details h3{font-size:21px}
 #nesto-buy-dialog .nb-card-price{font-size:27px;margin-top:14px}
 #nesto-buy-dialog .nb-colors{margin-top:14px}
 #nesto-buy-dialog .nb-colors>div{gap:7px}
 #nesto-buy-dialog .nb-colors label>span{padding:10px 9px;gap:7px}
 #nesto-buy-dialog .nb-colors input:checked+span{padding:9px 8px}
 #nesto-buy-dialog .nb-colors b{font-size:14px}
 #nesto-buy-dialog .nb-promo{padding:15px;font-size:18px}
 #nesto-buy-dialog .nb-promo strong{font-size:28px}
 #nesto-buy-dialog .nb-header{padding:12px 16px 10px;align-items:flex-start}
 #nesto-buy-dialog .nb-header p{display:none}
 #nesto-buy-dialog .nb-header h2{font-size:20px}
 #nesto-buy-dialog .nb-next-hint{font-size:11px}
}
@media(max-width:359px){#nesto-buy-dialog .nb-product-card{padding:13px}#nesto-buy-dialog .nb-card-visual .nb-photo{height:240px}#nesto-buy-dialog .nb-colors label>span{padding:10px 8px}#nesto-buy-dialog .nb-colors input:checked+span{padding:9px 7px}#nesto-buy-dialog .nb-swatch{width:23px;height:23px;flex-basis:23px}#nesto-buy-dialog .nb-card-details h3{font-size:20px}#nesto-buy-dialog .nb-promo{font-size:16px}#nesto-buy-dialog .nb-promo strong{font-size:26px}}

/* Guided choice and optional mattress offer. */
#nesto-buy-dialog.nb-flow .nb-promo{display:block}
#nesto-buy-dialog.nb-flow .nb-header{padding:12px 24px}
#nesto-buy-dialog.nb-flow .nb-header h2{font-size:23px;line-height:1.3}
#nesto-buy-dialog.nb-flow .nb-load:empty{display:none}
#nesto-buy-dialog.nb-flow .nb-footer{display:flex;gap:16px;padding:12px 24px}
#nesto-buy-dialog.nb-flow .nb-footer-price{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0}
#nesto-buy-dialog.nb-flow .nb-footer-price strong{font-size:27px;line-height:1.2}
#nesto-buy-dialog.nb-flow .nb-checkout{min-width:260px;max-width:60%;width:auto;min-height:50px}
#nesto-buy-dialog.nb-flow .nb-mat-teaser{display:flex;gap:18px;align-items:center;background:#f1e9dc;border:1px solid #d8cbb9;border-radius:14px;padding:16px;margin:20px 0 0}
#nesto-buy-dialog.nb-flow .nb-mat-teaser img{width:120px;height:120px;object-fit:contain;border-radius:10px;background:white;flex:none}
#nesto-buy-dialog.nb-flow .nb-mat-teaser h3{font-size:19px;margin:0 0 7px!important;font-weight:700;color:#302d29;line-height:1.4}
#nesto-buy-dialog.nb-flow .nb-teaser-copy{font-size:14px;line-height:1.6;margin:0 0 7px;color:#62594d}
#nesto-buy-dialog.nb-flow .nb-offer-open{min-height:44px;border:1px solid #a9987e;background:#fffefa;border-radius:8px;padding:8px 12px;color:#302d29;font-weight:700;font-size:15px}
#nesto-buy-dialog.nb-flow .nb-edit,.nb-checkout-edit{display:block;min-height:44px;padding:8px 0;background:transparent;border:0;text-decoration:underline;color:#514536;cursor:pointer;font:700 14px/1.5 Arial,sans-serif}
#nesto-buy-dialog.nb-flow .nb-summary{margin-top:16px}
#nesto-buy-dialog.nb-flow .nb-summary-items article{gap:12px}
#nesto-buy-dialog.nb-flow .nb-summary-items img{width:130px;height:140px}
#nesto-buy-dialog.nb-flow .nb-summary-items span{font-size:14px}
.nb-checkout-edit{padding:10px 16px;border:1px solid #b8a68d;border-radius:9px;background:#f1e9dc;margin:0 0 16px;font-size:16px}
.nb-hero-offer{font-size:17px!important;line-height:1.6!important;padding:12px 16px!important;background:#eee4d5;border:1px solid #d1bfa4;border-radius:9px;max-width:550px;color:#302d29!important}
.nb-hero-offer strong{font-weight:800}
.nb-upsell{box-sizing:border-box;direction:rtl;text-align:right;margin:auto;padding:0;width:min(560px,calc(100vw - 28px));height:auto;max-height:calc(100dvh - 28px);border:1px solid #d8cbb9;border-radius:20px;background:#fbf8f2;color:#302d29;overflow:hidden;font-family:Arial,sans-serif;box-shadow:0 15px 70px #0004}
.nb-upsell[open]{display:flex;flex-direction:column}
.nb-upsell::backdrop{background:#292723a6;backdrop-filter:blur(3px)}
.nb-upsell *{box-sizing:border-box}.nb-upsell [hidden]{display:none!important}.nb-upsell button{font:inherit;cursor:pointer}.nb-upsell button:disabled{opacity:.5;cursor:default}.nb-upsell button:focus-visible,.nb-upsell input:focus-visible+span{outline:3px solid #806d58;outline-offset:3px}
.nb-upsell header{padding:20px 22px 16px;background:#eee4d5;border-bottom:1px solid #d8cbb9;display:flex;align-items:flex-start;gap:14px;flex:none}
.nb-upsell h2{font-size:24px;font-weight:700;line-height:1.45;margin:0!important;color:#302d29}
.nb-upsell h2 strong{display:block;font-size:30px;font-weight:800}
.nb-upsell .nu-close{width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#fffefa;border:1px solid #c5b99f;font-size:28px;line-height:1;padding:0;color:#302d29}
.nb-upsell .nu-scroll{padding:14px 24px;overflow-y:auto;min-height:0;overscroll-behavior:contain}
.nb-upsell .nu-size{font-size:15px;line-height:1.6;font-weight:700;margin:0 0 10px}
.nb-upsell .nu-photo{position:relative;display:block;width:100%;height:240px;padding:0;border:0;border-radius:12px;background:#fff;overflow:hidden;cursor:zoom-in}
.nb-upsell .nu-photo img{width:100%;height:100%;object-fit:contain;display:block}
.nb-upsell .nu-photo span{position:absolute;left:8px;bottom:8px;font-size:11px;padding:5px 9px;background:#fffe;border:1px solid #d8cbb9;border-radius:20px;color:#514536}
.nb-upsell .nu-features{font-size:13px;line-height:1.5;margin:8px 0 12px;color:#62594d}
.nb-upsell .nu-colors{padding:0;border:0;margin:10px 0 14px}
.nb-upsell legend{font-size:17px;font-weight:700;padding:0;border:0;float:none;width:auto;line-height:1.6;margin:0 0 8px;color:#302d29}
.nb-upsell .nb-colors>div{display:flex;gap:10px}
.nb-upsell .nb-colors label>span{flex-direction:row;min-height:50px;padding:10px 12px;gap:12px;justify-content:center;border-color:#bfb5a7}
.nb-upsell .nb-colors b{font-size:16px}.nb-upsell .nb-colors input:checked+span{border:2px solid #786951;background:#e8dfce;padding:9px 11px}
.nb-upsell .nb-colors input:checked+span .nb-swatch{outline:2px solid #786951;outline-offset:2px}.nb-upsell .nb-gray{background:#858b88}.nb-upsell .nb-beige{background:#d8c6b3}
.nb-upsell .nu-prices{padding:12px 14px;border:1px solid #d8cbb9;border-radius:10px;background:#fffefa}
.nb-upsell .nu-prices>div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:15px;line-height:1.6;margin:0 0 6px}
.nb-upsell .nu-prices b{white-space:nowrap}.nb-upsell .nu-bundle-price{font-weight:700;border-top:1px solid #e8e0d4;padding-top:8px}
.nb-upsell .nu-total{display:block;font-size:23px}.nb-upsell .nu-before{display:block;font-size:13px;color:#6b6154;text-align:left}
.nb-upsell .nu-saving{font-weight:700;color:#5a4930;font-size:14px;line-height:1.5;margin:4px 0 0}
.nb-upsell .nu-increment{font-size:13px;line-height:1.5;color:#62594d;margin:9px 0 0}
.nb-upsell .nu-message:empty{display:none}
.nb-upsell footer{padding:12px 24px calc(12px + env(safe-area-inset-bottom));background:#fbf8f2;border-top:1px solid #d8cbb9;flex:none}
.nb-upsell footer button{width:100%;min-height:48px;padding:10px 14px;border-radius:9px;font-weight:700;font-size:16px;line-height:1.4}
.nb-upsell .nu-yes,.nb-upsell .nu-confirm{background:#302d29;color:white;border:1px solid #302d29}
.nb-upsell .nu-no,.nb-upsell .nu-back{background:transparent;border:0;color:#514536;text-decoration:underline;min-height:44px;margin-top:3px}
/* Keep Vue-owned fields in place while making optional groups collapsible. */
.quick-checkout-wrapper .nf-toggle{display:block;border:0;background:transparent;color:#514536;text-decoration:underline;font:700 15px/1.6 Arial,sans-serif;min-height:44px;padding:8px 0;text-align:right;cursor:pointer}
.quick-checkout-wrapper .nf-toggle:focus-visible,.nb-checkout-edit:focus-visible{outline:3px solid #806d58;outline-offset:3px}
.quick-checkout-wrapper .nf-collapsible>.title{display:none!important}
.quick-checkout-wrapper .nf-collapsible.nf-collapsed>.section-body{display:none!important}
.quick-checkout-wrapper .section-comments.nf-collapsed>textarea{display:none!important}
.quick-checkout-wrapper .nf-compact-quantity>.input-group{display:none!important}
.quick-checkout-wrapper .nf-quantity-summary{display:block;font-size:14px;white-space:nowrap}
.quick-checkout-wrapper .nf-quantity-summary button{margin-inline-start:8px;background:transparent;border:0;color:#62594d;text-decoration:underline;min-height:44px;font:inherit;cursor:pointer}
.quick-checkout-wrapper .nf-payment-total{font-size:19px;font-weight:700;margin:14px 0 10px;color:#302d29;line-height:1.5}
.quick-checkout-wrapper #nesto-wa-consent-wrap{margin:16px 0 0;padding:12px;border:1px solid #e1d7c8;border-radius:8px;font-size:13px;line-height:1.6}
@media(max-width:767px){
 #nesto-buy-dialog.nb-flow .nb-header{padding:10px 14px;align-items:center;gap:10px}
 #nesto-buy-dialog.nb-flow .nb-header h2{font-size:18px}
 #nesto-buy-dialog.nb-flow .nb-close{width:40px;height:40px;min-width:40px}
 #nesto-buy-dialog.nb-flow .nb-scroll{padding:12px 14px 20px}
 #nesto-buy-dialog.nb-flow .nb-promo{font-size:17px;padding:12px;margin:0 0 16px}
 #nesto-buy-dialog.nb-flow .nb-promo strong{font-size:26px}
 #nesto-buy-dialog.nb-flow .nb-footer{display:flex;padding:10px 14px calc(10px + env(safe-area-inset-bottom));gap:10px}
 #nesto-buy-dialog.nb-flow .nb-footer-price{flex:0 0 auto;max-width:42%}
 #nesto-buy-dialog.nb-flow .nb-footer-price>span{font-size:11px;line-height:1.4}
 #nesto-buy-dialog.nb-flow .nb-footer-price strong{font-size:22px}
 #nesto-buy-dialog.nb-flow .nb-checkout{flex:1;min-width:0;max-width:none;min-height:50px;padding:10px;font-size:15px!important;line-height:1.5}
 #nesto-buy-dialog.nb-flow .nb-mat-teaser{padding:12px;gap:12px}
 #nesto-buy-dialog.nb-flow .nb-mat-teaser img{width:94px;height:106px}
 #nesto-buy-dialog.nb-flow .nb-mat-teaser h3{font-size:16px}
 #nesto-buy-dialog.nb-flow .nb-teaser-copy{font-size:12px}
 #nesto-buy-dialog.nb-flow .nb-offer-open{font-size:13px;padding:8px}
 #nesto-buy-dialog.nb-flow .nb-summary-items img{width:110px;height:130px}
 #nesto-buy-dialog.nb-flow .nb-summary-items span{font-size:13px}
 .nb-upsell{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:16px}
 .nb-upsell header{padding:14px 16px 12px;gap:8px}
 .nb-upsell h2{font-size:19px;line-height:1.4}.nb-upsell h2 strong{font-size:27px}
 .nb-upsell .nu-close{width:40px;height:40px;flex-basis:40px}
 .nb-upsell .nu-scroll{padding:12px 16px}
 .nb-upsell .nu-size{font-size:14px}
 .nb-upsell .nu-photo{height:210px}
 .nb-upsell .nu-prices>div{font-size:14px}.nb-upsell .nu-total{font-size:21px}
 .nb-upsell footer{padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
 .nb-upsell footer button{font-size:15px}
 .quick-checkout-wrapper .nf-collapsible{padding-block:6px!important}
 .quick-checkout-wrapper #quick-checkout-button-confirm{width:100%;min-height:54px;font-size:17px}
}
@media(max-width:359px){#nesto-buy-dialog.nb-flow .nb-header h2{font-size:16px}#nesto-buy-dialog.nb-flow .nb-footer-price strong{font-size:19px}#nesto-buy-dialog.nb-flow .nb-checkout{font-size:13px!important}#nesto-buy-dialog.nb-flow .nb-summary{padding:12px}#nesto-buy-dialog.nb-flow .nb-summary-items img{width:88px;height:110px}.nb-upsell h2{font-size:17px}.nb-upsell h2 strong{font-size:24px}.nb-upsell .nu-photo{height:185px}.nb-upsell .nu-prices>div{font-size:13px}.nb-upsell .nu-total{font-size:19px}}
@media(prefers-reduced-motion:reduce){.nb-upsell .nu-scroll{scroll-behavior:auto}}

/* Optional matching mattress stays in the same purchase view. */
html body .nb-hero-purchase-removed{display:none!important}
html body .nb-hero-offer{flex-basis:100%;width:100%;max-width:550px;font-size:21px!important;font-weight:700!important;line-height:1.6!important;padding:18px 22px!important;background:#eee2cf!important;border:2px solid #b6a080!important;border-radius:13px!important;margin:4px 0 8px!important;color:#302d29!important;box-shadow:0 4px 16px #78695112}
html body .nb-hero-offer strong{display:block;font-size:29px!important;line-height:1.4;font-weight:800;color:#302d29}
html body .nb-hero-offer b{font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
#nesto-buy-dialog .nb-inline-mattress{margin-top:22px;background:#f5eee3;border-color:#c5b493}
#nesto-buy-dialog .nb-inline-optional{display:inline-block;font-size:14px;line-height:1.6;font-weight:700;color:#62513a;margin:0 0 8px}
#nesto-buy-dialog .nb-inline-saving{font-size:15px;line-height:1.7;font-weight:700;color:#514536;margin:10px 0 0}
#nesto-buy-dialog .nb-inline-saving:empty,#nesto-buy-dialog .nb-inline-status:empty{display:none}
#nesto-buy-dialog .nb-inline-actions{margin-top:16px}
#nesto-buy-dialog .nb-inline-add{display:block;width:100%;min-height:52px;padding:12px 16px;background:#302d29;color:#fff;border:1px solid #302d29;border-radius:10px;font-size:16px;font-weight:700;line-height:1.5}
#nesto-buy-dialog .nb-inline-mattress.nb-included .nb-inline-add{background:#e4d7bf;color:#302d29;border-color:#a18b68;opacity:1}
#nesto-buy-dialog .nb-inline-status{font-size:14px;line-height:1.6;font-weight:700;margin:10px 0 0;color:#514536}
#nesto-buy-dialog .nb-inline-remove{min-height:44px;padding:8px 0;border:0;background:transparent;color:#514536;font-size:14px;text-decoration:underline}
.nb-upsell .nu-no{border:1px solid #a18b68;background:#fffefa;border-radius:9px;text-decoration:none;margin-top:9px;min-height:48px;color:#302d29}
@media(max-width:767px){
 html body .nb-hero-offer{font-size:18px!important;padding:15px 16px!important;text-align:right}
 html body .nb-hero-offer strong{font-size:26px!important}
 #nesto-buy-dialog .nb-inline-mattress .nb-inline-optional{grid-row:2;margin-bottom:6px;font-size:13px}
 #nesto-buy-dialog .nb-inline-mattress .nb-inline-size{grid-row:3;margin-bottom:12px}
 #nesto-buy-dialog .nb-inline-mattress .nb-card-visual{grid-row:4}
 #nesto-buy-dialog .nb-inline-mattress .nb-colors{grid-row:5}
 #nesto-buy-dialog .nb-inline-mattress .nb-inline-price{grid-row:6}
 #nesto-buy-dialog .nb-inline-mattress .nb-inline-price-note{grid-row:7}
 #nesto-buy-dialog .nb-inline-mattress .nb-inline-saving{grid-row:8;font-size:14px}
 #nesto-buy-dialog .nb-inline-mattress .nb-note{grid-row:9}
 #nesto-buy-dialog .nb-inline-mattress .nb-inline-actions{grid-row:10}
 .nb-upsell .nu-photo{height:180px}
}
@media(max-width:359px){html body .nb-hero-offer strong{font-size:23px!important}.nb-upsell .nu-photo{height:160px}.nb-upsell h2{font-size:17px}.nb-upsell h2 strong{font-size:24px}}

/* Compact fence controls precede the live product preview on every screen. */
#nesto-buy-dialog.nb-flow #nb-fence{display:block;padding:16px;border:1px solid #d8d0c4;border-radius:16px;background:#faf8f4}
#nesto-buy-dialog .nb-fence-controls{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
#nesto-buy-dialog .nb-fence-controls fieldset{margin:0;grid-row:auto}
#nesto-buy-dialog .nb-fence-controls legend{font-size:16px;line-height:1.4;margin:0 0 8px}
#nesto-buy-dialog .nb-fence-controls .nb-size-options{gap:8px}
#nesto-buy-dialog .nb-fence-controls .nb-size-options label>span{min-height:48px;padding:10px 8px;gap:3px}
#nesto-buy-dialog .nb-fence-controls .nb-size-options strong{font-size:17px;line-height:1.4}
#nesto-buy-dialog .nb-fence-controls small:empty{display:none}
#nesto-buy-dialog .nb-fence-controls #nb-color>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#nesto-buy-dialog .nb-fence-controls #nb-color label>span{justify-content:center;gap:6px;padding:10px 6px;min-height:48px}
#nesto-buy-dialog .nb-fence-controls #nb-color input:checked+span{padding:9px 5px}
#nesto-buy-dialog .nb-fence-controls #nb-color b{font-size:14px;white-space:nowrap}
#nesto-buy-dialog .nb-fence-controls .nb-swatch{width:20px;height:20px;flex-basis:20px}
#nesto-buy-dialog .nb-fence-cost{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}
#nesto-buy-dialog .nb-fence-cost .nb-card-meta{font-size:13px;line-height:1.4;margin:0}
#nesto-buy-dialog .nb-fence-cost .nb-card-price{font-size:25px;line-height:1.3;margin:0;white-space:nowrap}
#nesto-buy-dialog.nb-flow #nb-fence .nb-photo{height:340px;margin:0;background:white}
#nesto-buy-dialog.nb-flow .nb-promo{font-size:18px;line-height:1.4;padding:12px 16px;margin:0 0 12px}
#nesto-buy-dialog.nb-flow .nb-promo strong{font-size:25px;line-height:1.35}
#nesto-buy-dialog.nb-flow .nb-edit{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;margin-top:6px;border:1px solid #a18b68;border-radius:8px;background:#fffefa;text-decoration:none}
html body .quick-checkout-wrapper .nb-checkout-edit{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-height:66px;padding:12px 16px;margin:0 0 16px;border:2px solid #9d8868;border-radius:10px;background:#eee2cf;color:#302d29;text-decoration:none;text-align:center;line-height:1.5}
html body .quick-checkout-wrapper .nb-checkout-edit strong{font-size:18px;font-weight:700}
html body .quick-checkout-wrapper .nb-checkout-edit span{font-size:13px;font-weight:400}
html body .quick-checkout-wrapper .cart-section{position:static!important;top:auto!important}
html body .quick-checkout-wrapper .section-cvr>.nf-toggle{box-sizing:border-box;width:100%;padding:12px 20px;margin:0;text-align:right;direction:rtl}
@media(max-width:767px){
 #nesto-buy-dialog.nb-flow .nb-scroll{padding:10px 12px 20px}
 #nesto-buy-dialog.nb-flow #nb-fence{padding:12px;border-radius:12px}
 #nesto-buy-dialog .nb-fence-controls{grid-template-columns:minmax(0,1fr);gap:10px}
 #nesto-buy-dialog .nb-fence-controls legend{font-size:15px;margin-bottom:6px}
 #nesto-buy-dialog .nb-fence-controls .nb-size-options label>span{min-height:44px;padding:8px 6px}
 #nesto-buy-dialog .nb-fence-controls .nb-size-options strong{font-size:16px}
 #nesto-buy-dialog .nb-fence-controls #nb-color label>span{min-height:44px;padding:8px 4px;gap:5px}
 #nesto-buy-dialog .nb-fence-controls #nb-color input:checked+span{padding:7px 3px}
 #nesto-buy-dialog .nb-fence-controls #nb-color b{font-size:13px}
 #nesto-buy-dialog .nb-fence-controls .nb-swatch{width:18px;height:18px;flex-basis:18px}
 #nesto-buy-dialog .nb-fence-cost{margin:8px 0}
 #nesto-buy-dialog .nb-fence-cost .nb-card-meta{font-size:12px}
 #nesto-buy-dialog .nb-fence-cost .nb-card-price{font-size:23px}
 #nesto-buy-dialog.nb-flow #nb-fence .nb-photo{height:clamp(180px,calc(100dvh - 500px),300px)}
 #nesto-buy-dialog.nb-flow #nb-fence .nb-photo-caption{font-size:11px;margin:5px 0 0;line-height:1.4}
 #nesto-buy-dialog.nb-flow .nb-promo{padding:10px 12px;font-size:15px;margin-bottom:10px}
 #nesto-buy-dialog.nb-flow .nb-promo strong{font-size:23px}
 html body .quick-checkout-wrapper .section-cvr>.nf-toggle{padding-inline:16px}
 html body .quick-checkout-wrapper .nb-checkout-edit strong{font-size:17px}
}
@media(max-width:359px){
 #nesto-buy-dialog .nb-fence-controls #nb-color b{font-size:12px}
 #nesto-buy-dialog .nb-fence-controls #nb-color label>span{gap:4px}
 #nesto-buy-dialog .nb-fence-controls #nb-color small{font-size:10px}
 #nesto-buy-dialog.nb-flow .nb-promo{font-size:14px}
 #nesto-buy-dialog.nb-flow .nb-promo strong{font-size:22px}
}

@media(min-width:768px){
 #nesto-buy-dialog.nb-flow .nb-promo{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 16px}
 #nesto-buy-dialog.nb-flow .nb-promo strong{font-size:23px}
 #nesto-buy-dialog.nb-flow #nb-fence .nb-photo{height:clamp(180px,calc(100dvh - 450px),340px)}
}

/* Keep mobile cart actions inside the card and clear of the screen edge. */
@media(max-width:767px){
 html body .mobile-cart-content-container .cart-products>table,
 html body .mobile-cart-content-container .cart-products>table>tbody{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
 html body .mobile-cart-content-container .cart-products>table>tbody>tr{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;gap:8px 12px!important;width:100%!important;min-width:0!important;padding:12px!important;box-sizing:border-box!important;direction:rtl!important}
 html body .mobile-cart-content-container .cart-products td{display:block!important;min-width:0!important;width:auto!important;padding:0!important;margin:0!important;box-sizing:border-box!important;white-space:normal!important}
 html body .mobile-cart-content-container .cart-products .td-image{grid-column:1!important;grid-row:1!important}
 html body .mobile-cart-content-container .cart-products .td-image img{width:60px!important;height:60px!important;max-width:100%!important;object-fit:contain!important}
 html body .mobile-cart-content-container .cart-products .td-name{grid-column:2!important;grid-row:1!important;text-align:right!important;font-size:14px!important;line-height:1.5!important;overflow-wrap:anywhere}
 html body .mobile-cart-content-container .cart-products .td-qty{grid-column:1!important;grid-row:2!important;text-align:center!important;align-self:center}
 html body .mobile-cart-content-container .cart-products .td-total{grid-column:2!important;grid-row:2!important;text-align:right!important;align-self:center;font-size:16px!important;font-weight:700}
 html body .mobile-cart-content-container .cart-products .td-remove{grid-column:2!important;grid-row:3!important;justify-self:start!important;position:static!important}
 html body .mobile-cart-content-container .cart-products .cart-remove{display:inline-flex!important;position:static!important;inset:auto!important;transform:none!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:90px!important;height:44px!important;min-height:44px!important;padding:8px 12px!important;margin:0!important;border:1px solid #c7b99f!important;border-radius:8px!important;background:#faf7f1!important;color:#514536!important;font-size:14px!important;box-sizing:border-box!important}
 html body .mobile-cart-content-container .cart-products .cart-remove:after{content:'הסרה';font:700 14px/1.5 Arial,sans-serif}
 html body .mobile-cart-content-container .cart-remove:focus-visible{outline:3px solid #806d58;outline-offset:2px}
 html body #shopping-cart .td-qty .input-group{flex-wrap:wrap!important;justify-content:flex-start!important}
 html body #shopping-cart .td-qty .input-group-btn{flex-basis:100%!important;justify-content:flex-start!important}
 html body #shopping-cart .td-qty button[aria-label="הסרת מוצר"]{width:auto!important;gap:6px!important;min-width:90px!important}
 html body #shopping-cart .td-qty button[aria-label="הסרת מוצר"]:after{content:'הסרה';font:700 14px/1.5 Arial,sans-serif}
}

/* Keep the purchase action above Safari's expanded toolbar. A dvh footer can
   move during the first tap when browser chrome expands or collapses. */
html.nb-page-locked{overflow:hidden!important;overscroll-behavior:none}
body.nb-modal-open{position:fixed!important;top:var(--nb-page-top,0px)!important;left:0!important;right:0!important;width:100%!important;overscroll-behavior:none}
#nesto-buy-dialog button,#nesto-buy-dialog label,#nesto-mattress-offer button,#nesto-mattress-offer label{touch-action:manipulation}
@media(max-width:767px){
 #nesto-buy-dialog.nb-flow{inset:0 0 auto;margin:0;width:100%;height:100svh;max-height:100svh}
 #nesto-buy-dialog.nb-flow .nb-header,#nesto-buy-dialog.nb-flow .nb-footer{flex-shrink:0}
 #nesto-buy-dialog.nb-flow .nb-scroll{min-height:0;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
 #nesto-buy-dialog.nb-flow .nb-checkout{font-size:16px!important;min-height:52px}
 #nesto-buy-dialog.nb-flow #nb-fence .nb-photo{height:clamp(180px,calc(100svh - 500px),300px)}
 #nesto-mattress-offer{inset:10px 0 auto;max-height:calc(100svh - 20px);margin:0 auto}
 #nesto-mattress-offer>header,#nesto-mattress-offer>footer{flex-shrink:0}
 #nesto-buy-dialog input,#nesto-mattress-offer input{font-size:16px!important}
}
@media(max-width:767px) and (min-height:800px){
 #nesto-buy-dialog.nb-flow #nb-fence .nb-photo{height:clamp(180px,calc(100svh - 450px),340px)}
}

@media(max-width:767px){
 html body #shopping-cart button[aria-label="הסרת מוצר"]>i,html body .mobile-cart-content-container .cart-remove>i{position:static!important;inset:auto!important;transform:none!important;width:auto!important;height:auto!important;flex:none!important;margin:0!important}
 html body #shopping-cart button[aria-label="הסרת מוצר"]::after,html body .mobile-cart-content-container .cart-remove::after{position:static!important;inset:auto!important;transform:none!important}
}

/* Compact optional mattress offer: details and both actions visible together. */
#nesto-mattress-offer>header{position:relative;display:block;padding:14px 18px 14px 58px}
#nesto-mattress-offer h2{font-size:21px;line-height:1.35}
#nesto-mattress-offer h2 strong{display:inline;font-size:inherit;font-weight:900;text-decoration:underline;text-decoration-color:#b6a080;text-underline-offset:4px}
#nesto-mattress-offer .nu-close{position:absolute;left:4px;top:8px;width:44px;height:44px}
#nesto-mattress-offer .nu-product-preview{display:grid;grid-template-columns:minmax(0,1fr) 145px;align-items:center;gap:14px}
#nesto-mattress-offer .nu-photo{grid-column:2;grid-row:1;height:145px}
#nesto-mattress-offer .nu-product-copy{grid-column:1;grid-row:1;min-width:0}
#nesto-mattress-offer .nu-size{margin:0 0 6px;line-height:1.4}
#nesto-mattress-offer .nu-features{margin:0;line-height:1.45}
#nesto-mattress-offer .nu-scroll{padding:10px 16px}
#nesto-mattress-offer .nu-colors{margin:8px 0}
#nesto-mattress-offer .nu-colors legend{font-size:16px;line-height:1.3;margin-bottom:5px}
#nesto-mattress-offer .nb-colors label>span{min-height:44px;padding:8px 10px;gap:8px}
#nesto-mattress-offer .nb-colors input:checked+span{padding:7px 9px}
#nesto-mattress-offer .nb-swatch{width:23px;height:23px}
#nesto-mattress-offer .nu-prices{padding:7px 10px}
#nesto-mattress-offer .nu-prices>div{font-size:14px;line-height:1.4;margin-bottom:3px;gap:7px}
#nesto-mattress-offer .nu-bundle-price{padding-top:4px}
#nesto-mattress-offer .nu-bundle-price>span:last-child{display:flex;align-items:center;gap:7px}
#nesto-mattress-offer .nu-total{font-size:20px}
#nesto-mattress-offer .nu-before{font-size:12px}
#nesto-mattress-offer .nu-saving{font-size:13px;line-height:1.4;margin-top:3px}
#nesto-mattress-offer .nu-increment{font-size:12px;line-height:1.4;margin-top:5px}
#nesto-mattress-offer footer{padding:8px 16px calc(8px + env(safe-area-inset-bottom))}
#nesto-mattress-offer footer button{min-height:44px;padding:9px 10px;font-size:15px;line-height:1.35}
#nesto-mattress-offer .nu-no{margin-top:6px}
@media(max-width:767px){
 #nesto-mattress-offer{width:calc(100% - 16px);inset:8px 0 auto;max-height:calc(100svh - 16px)}
 #nesto-mattress-offer>header{padding:11px 12px 11px 52px}
 #nesto-mattress-offer h2{font-size:18px}
 #nesto-mattress-offer .nu-product-preview{grid-template-columns:minmax(0,1fr) 115px;gap:10px}
 #nesto-mattress-offer .nu-photo{height:115px}
 #nesto-mattress-offer .nu-scroll{padding:8px 12px}
 #nesto-mattress-offer .nu-size{font-size:14px}
 #nesto-mattress-offer .nu-features{font-size:12px}
}
@media(max-width:767px) and (max-height:650px){
 #nesto-mattress-offer h2{font-size:16px;line-height:1.3}
 #nesto-mattress-offer>header{padding-block:8px}
 #nesto-mattress-offer .nu-product-preview{grid-template-columns:minmax(0,1fr) 82px}
 #nesto-mattress-offer .nu-photo{height:82px}
 #nesto-mattress-offer .nu-photo span{font-size:10px;padding:2px 5px;left:3px;bottom:3px}
 #nesto-mattress-offer .nu-prices>div{font-size:13px}
 #nesto-mattress-offer .nu-total{font-size:18px}
 #nesto-mattress-offer .nu-before{font-size:11px}
 #nesto-mattress-offer footer{padding:6px 12px calc(6px + env(safe-area-inset-bottom))}
}

/* Quantities belong to each product, and adding another variant is explicit. */
#nesto-buy-dialog .nb-quantity{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:15px;font-weight:700;margin:10px 0}
#nesto-buy-dialog .nb-quantity>span,.ni-quantity>span{display:inline-flex;align-items:center;direction:ltr;border:1px solid #c7b99f;border-radius:9px;background:#fff;overflow:hidden}
#nesto-buy-dialog .nb-quantity input,.ni-quantity input{border:0;border-radius:0;width:52px;min-width:0;height:44px;min-height:44px;margin:0;padding:5px;text-align:center;font-size:16px;color:#302d29;background:#fff;-moz-appearance:textfield}
#nesto-buy-dialog .nb-quantity input::-webkit-inner-spin-button,.ni-quantity input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
#nesto-buy-dialog .nb-quantity button,.ni-quantity button{width:44px;height:44px;min-height:44px;border:0;background:#f2ece2;color:#302d29;font-size:22px;padding:0;cursor:pointer}
#nesto-buy-dialog .nb-mat-quantity{grid-row:6}
#nesto-buy-dialog .nb-more-products{margin-top:16px;border-top:1px solid #c7b99f;padding-top:12px;display:flex;flex-wrap:wrap;gap:8px}
#nesto-buy-dialog .nb-more-products p{width:100%;margin:0 0 3px;font-size:15px;font-weight:700}
#nesto-buy-dialog .nb-more-products button,.ni-add-toolbar button,.ni-mattress-only,.ni-edit-item{min-height:44px;border:1px solid #b6a080;border-radius:8px;background:#fffefa;color:#302d29;padding:9px 12px;font:700 14px/1.5 Arial,sans-serif;cursor:pointer;text-align:center}
.ni-add-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0;padding:12px;border:1px solid #d8cbb9;border-radius:10px;background:#eee4d5}
.ni-add-toolbar>strong{width:100%;font-size:16px}.ni-add-toolbar button{flex:1;white-space:nowrap}
.ni-edit-item{display:block;margin-top:8px;font-size:13px}.ni-mattress-only{display:block;width:100%;margin-top:10px}
html body .quick-checkout-wrapper .td-qty .nf-quantity-summary{display:none!important}
html body .quick-checkout-wrapper .td-qty.nf-compact-quantity .input-group{display:flex!important;flex-wrap:wrap;gap:8px}
.ni-dialog{box-sizing:border-box;direction:rtl;text-align:right;position:fixed;inset:0;margin:auto;width:min(540px,calc(100vw - 28px));max-width:none;max-height:calc(100svh - 24px);height:auto;border:1px solid #d8cbb9;border-radius:16px;padding:0;background:#fbf8f2;color:#302d29;font:16px/1.5 Arial,sans-serif;overflow:hidden;box-shadow:0 15px 70px #0004}
.ni-dialog[open]{display:flex;flex-direction:column}.ni-dialog::backdrop{background:#292723a6;backdrop-filter:blur(3px)}
.ni-dialog *{box-sizing:border-box}.ni-dialog [hidden]{display:none!important}.ni-dialog button,.ni-dialog label{touch-action:manipulation}.ni-dialog button:disabled{opacity:.55;cursor:default}.ni-dialog button:focus-visible,.ni-dialog input:focus-visible+span,.ni-dialog input[type=number]:focus-visible{outline:3px solid #806d58;outline-offset:2px}
.ni-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:12px 16px;border-bottom:1px solid #d8cbb9;background:#eee4d5}.ni-dialog h2{font:700 23px/1.3 Arial,sans-serif;margin:0!important;color:#302d29}
.ni-close{flex:none;width:44px;height:44px;border:1px solid #c7b99f;border-radius:50%;background:#fffefa;color:#302d29;font-size:28px;line-height:1;cursor:pointer}
.ni-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:12px 18px}.ni-intro{font-size:13px;line-height:1.5;margin:0 0 12px}.ni-status:empty,.ni-error:empty{display:none}
.ni-dialog fieldset{border:0;padding:0;margin:0 0 12px;min-width:0}.ni-dialog legend{float:none;display:block;width:100%;border:0;margin:0 0 6px;font:700 16px/1.4 Arial,sans-serif;color:#302d29}
.ni-dialog fieldset>div{display:flex;gap:8px}.ni-dialog fieldset label{position:relative;flex:1;margin:0;font-weight:400;min-width:0;cursor:pointer}
.ni-dialog input[type=radio]{position:absolute;width:1px;height:1px;opacity:0;top:8px;right:8px}
.ni-dialog fieldset label>span{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:8px 5px;background:#fff;border:1px solid #bfb5a7;border-radius:8px;font-size:14px;line-height:1.3}
.ni-dialog input:checked+span{background:#eee4d5;border:2px solid #786951;padding:7px 4px;font-weight:700}.ni-dialog input:disabled+span{opacity:.45;cursor:not-allowed}.ni-dialog .nb-swatch{flex:none;width:23px;height:23px}
.ni-quantity{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin:6px 0 10px}.ni-image{display:block;width:100%;height:180px;object-fit:contain;background:#fff;border-radius:10px}.ni-item-price{font-weight:700;font-size:16px;margin:8px 0}
.ni-totals{padding:10px 12px;border:1px solid #d8cbb9;background:#f1e9dc;border-radius:9px}.ni-totals p{font-size:13px;margin:0 0 4px}.ni-total{display:block;font-size:17px}.ni-error{font-size:14px;color:#9d3024;font-weight:700;margin:10px 0}.ni-retry{min-height:44px;padding:8px 12px;border:1px solid #b6a080;border-radius:8px;background:#fffefa;color:#302d29}.ni-recovery{display:block;padding:8px 0;text-decoration:underline}
.ni-dialog footer{flex:none;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #d8cbb9}.ni-save{width:100%;min-height:50px;border:0;border-radius:9px;background:#302d29;color:#fff;font:700 16px/1.4 Arial,sans-serif;padding:10px;cursor:pointer}
html.ni-page-locked{overflow:hidden!important;overscroll-behavior:none}body.ni-modal-open{position:fixed!important;top:var(--ni-page-top,0px)!important;left:0!important;right:0!important;width:100%!important;overscroll-behavior:none}
@media(max-width:767px){
 .ni-dialog{inset:0 0 auto;width:100%;max-height:100svh;border:0;border-radius:0}.ni-dialog h2{font-size:20px}.ni-scroll{padding:10px 14px}.ni-dialog .ni-image{height:155px}
 #nesto-buy-dialog.nb-flow #nb-fence .nb-photo{height:clamp(160px,calc(100svh - 510px),285px)}
 #nesto-buy-dialog .nb-inline-mattress .nb-mat-quantity{grid-row:6}#nesto-buy-dialog .nb-inline-mattress .nb-inline-price{grid-row:7}#nesto-buy-dialog .nb-inline-mattress .nb-inline-price-note{grid-row:8}#nesto-buy-dialog .nb-inline-mattress .nb-inline-saving{grid-row:9}#nesto-buy-dialog .nb-inline-mattress .nb-note{grid-row:10}#nesto-buy-dialog .nb-inline-mattress .nb-inline-actions{grid-row:11}
 #nesto-buy-dialog .nb-more-products button{width:100%}
}

/* Clear purchase actions: continue shopping or go directly to checkout. */
#nesto-buy-dialog.nb-flow .nb-footer{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:18px}
#nesto-buy-dialog.nb-flow .nb-footer-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}
#nesto-buy-dialog.nb-flow .nb-footer-actions.nb-single-action{grid-template-columns:1fr}
#nesto-buy-dialog.nb-flow .nb-footer-actions>button{width:100%;min-width:0;max-width:none;min-height:54px;padding:10px 14px;border-radius:9px;cursor:pointer;font:700 16px/1.4 Arial,sans-serif!important;touch-action:manipulation}
#nesto-buy-dialog.nb-flow .nb-add-cart,.ni-dialog .ni-add-cart{border:2px solid #9d8868;background:#eee2cf;color:#302d29}
#nesto-buy-dialog.nb-flow .nb-footer-actions>button:disabled,.ni-dialog footer>button:disabled{opacity:.5;cursor:default}
#nesto-buy-dialog.nb-flow .nb-footer-actions>button:focus-visible,.ni-dialog footer>button:focus-visible{outline:3px solid #806d58;outline-offset:3px}
.ni-dialog footer{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ni-dialog footer.ni-single-action{grid-template-columns:1fr}
.ni-dialog .ni-add-cart{min-height:52px;border-radius:9px;padding:8px;font:700 15px/1.4 Arial,sans-serif;cursor:pointer}.ni-dialog .ni-save{font-size:15px;padding:8px}
.ni-added-notice{position:fixed;z-index:1200;top:90px;left:14px;right:14px;max-width:600px;margin:auto;display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fffaf1;color:#302d29;border:1px solid #b6a080;border-radius:12px;box-shadow:0 5px 24px #0002;direction:rtl;font:15px/1.5 Arial,sans-serif}
.ni-added-notice strong{flex:1}.ni-added-notice a{color:#302d29;text-decoration:underline;font-weight:700;padding:10px 0}.ni-added-notice button{flex:none;width:36px;height:44px;border:0;background:transparent;font-size:26px;color:#302d29;cursor:pointer}
@media(max-width:767px){
 #nesto-buy-dialog.nb-flow .nb-footer{display:block;padding:8px 14px calc(8px + env(safe-area-inset-bottom))}
 #nesto-buy-dialog.nb-flow .nb-footer-price{display:flex;flex-direction:row;justify-content:space-between;align-items:center;max-width:none;margin:0 0 7px;gap:10px}
 #nesto-buy-dialog.nb-flow .nb-footer-price strong{font-size:21px}
 #nesto-buy-dialog.nb-flow .nb-footer-actions{gap:8px}
 #nesto-buy-dialog.nb-flow .nb-footer-actions>button{font-size:14px!important;min-height:54px;padding:8px}
 .ni-added-notice{top:82px;gap:8px;padding:8px 12px;font-size:14px}
}

#nesto-buy-dialog .nb-added-confirm,.ni-dialog .ni-added-confirm{margin-bottom:14px;padding:14px;border:1px solid #b6a080;border-radius:10px;background:#eee2cf;color:#302d29;text-align:right;line-height:1.5}
.nb-added-confirm>strong,.ni-added-confirm>strong{display:block;font-size:18px}.nb-added-confirm>span,.ni-added-confirm>span{display:block;margin:4px 0 10px;font-size:14px}
.nb-added-confirm>div,.ni-added-confirm>div{display:flex;flex-wrap:wrap;gap:8px}.nb-added-confirm button,.ni-added-confirm button,.nb-added-confirm a,.ni-added-confirm a{min-height:44px;padding:9px 10px;border:1px solid #b6a080;border-radius:8px;background:#fffaf1;color:#302d29;font:700 14px/1.5 Arial,sans-serif;text-align:center;cursor:pointer;text-decoration:none}
.nb-added-confirm a,.ni-added-confirm a{background:#302d29;color:#fff}

/* Keep cart actions inside the row and clear of the floating accessibility control. */
html.route-checkout-checkout body #content .quick-checkout-wrapper .cart-section .td-qty .input-group-btn{width:132px!important;min-width:132px!important;max-width:none!important;flex:0 0 132px!important}
html.route-checkout-checkout body #content .quick-checkout-wrapper .cart-section .td-qty .input-group{flex-wrap:wrap!important}

/* Navigation stays visible and usable inside each purchase dialog. */
dialog.nd-has-navigation[open]{display:flex!important;flex-direction:column!important}
.nd-navigation{flex:none;direction:rtl;color:#302d29;font:15px/1.5 Arial,sans-serif}
.nd-bar{display:grid;grid-template-columns:44px minmax(100px,1fr) 44px 44px;align-items:center;gap:6px;padding:5px 12px;background:#fff;border-bottom:1px solid #ded7cb;min-height:56px;box-sizing:border-box}
.nd-bar a,.nd-bar button{display:flex!important;align-items:center;justify-content:center;position:relative;width:44px;height:44px;min-height:44px;min-width:0;margin:0!important;padding:7px!important;background:transparent;border:0;border-radius:8px;box-shadow:none;color:#302d29;cursor:pointer;text-decoration:none}
.nd-bar svg{width:28px;height:28px;flex:none}.nd-bar .nd-logo{width:100%;padding:0!important}.nd-logo img{display:block;max-width:190px;width:100%;height:44px;object-fit:contain}.nd-whatsapp i{font-size:30px}.nd-count{position:absolute;right:1px;top:0;min-width:17px;height:17px;padding:0 3px;box-sizing:border-box;border-radius:20px;background:#302d29;color:white;font:700 11px/17px Arial,sans-serif;text-align:center}
.nd-panel[hidden]{display:none!important}.nd-panel{position:absolute;z-index:8;inset:56px 0 0;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:14px 18px;background:#fbf8f2;color:#302d29;text-align:right}
.nd-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.nd-panel h3{font:700 21px/1.3 Arial,sans-serif!important;color:#302d29;margin:0!important}.nd-panel .nd-back{font:700 14px/1.4 Arial,sans-serif;min-height:44px;padding:8px 10px;border:1px solid #b6a080;border-radius:8px;background:white;color:#302d29;cursor:pointer}
.nd-menu-links{display:grid;gap:8px}.nd-menu-links a{display:block;padding:12px 14px;min-height:44px;box-sizing:border-box;background:#fff;border:1px solid #ded4c4;border-radius:8px;color:#302d29;text-decoration:none;font-weight:700}
.nd-cart-items{display:grid;gap:10px}.nd-cart-items article{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:12px;background:#fff;border:1px solid #ded4c4;border-radius:9px}.nd-cart-items img{width:76px;height:85px;object-fit:contain}.nd-cart-items strong,.nd-cart-items span,.nd-cart-items b{display:block;font-size:14px;line-height:1.5}.nd-cart-items b{margin-top:4px}.nd-cart-actions{display:grid;gap:9px;margin-top:14px}.nd-cart-actions a{padding:12px;min-height:44px;box-sizing:border-box;border:1px solid #b6a080;border-radius:9px;text-decoration:none;color:#302d29;background:#eee2cf;text-align:center;font-weight:700}.nd-cart-actions .nd-primary{background:#302d29;color:#fff}
.nd-navigation a:focus-visible,.nd-navigation button:focus-visible{outline:3px solid #806d58;outline-offset:2px}
@media(max-width:767px){#nesto-buy-dialog.nd-has-navigation .nb-header{padding:6px 12px;gap:8px}#nesto-buy-dialog.nd-has-navigation .nb-header h2{font-size:16px}#nesto-buy-dialog.nd-has-navigation .nb-close{width:38px;height:38px;min-height:38px}#nesto-buy-dialog.nd-has-navigation #nb-fence .nb-photo{height:clamp(140px,calc(100svh - 560px),245px)}.ni-dialog.nd-has-navigation header{padding:7px 12px}.ni-dialog.nd-has-navigation h2{font-size:18px}.nd-has-navigation.nb-zoom img{max-height:calc(100svh - 190px)}.nd-bar{gap:3px;padding-inline:8px}.nd-logo img{max-width:175px}}

.nd-navigation .nd-bar{position:relative;z-index:1202}.nd-navigation .nd-panel{z-index:1201}

.ni-dialog .ni-error:not(:empty){padding:10px 12px;border:1px solid #bd5b4e;border-radius:8px;background:#fff0ec;color:#852c22;font-weight:700;line-height:1.45}

/* v85: eye-catching 10% mattress deal */
.nb-deal{display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center!important;gap:2px;padding:14px 18px!important;margin:12px auto!important;max-width:520px;border-radius:16px!important;background:linear-gradient(135deg,#1c1c1c,#3b3b3b)!important;color:#fff!important;border:0!important;box-shadow:0 8px 22px rgba(0,0,0,.18);position:relative;overflow:hidden}
.nb-deal .nb-deal-tag{display:inline-block;background:#f5c24b;color:#1c1c1c!important;font-weight:800;font-size:13px;border-radius:999px;padding:3px 12px;margin-bottom:4px}
.nb-deal .nb-deal-big{display:block;font-size:clamp(30px,7vw,42px)!important;font-weight:900!important;line-height:1.1;color:#fff!important}
.nb-deal .nb-deal-text{display:block;font-size:15px;font-weight:600;color:rgba(255,255,255,.9)!important}
.nb-deal::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.13) 50%,transparent 70%);transform:translateX(-100%);animation:nbDealShine 3.5s ease-in-out infinite;pointer-events:none}
@keyframes nbDealShine{0%,60%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.nb-deal::after{animation:none}}
.nb-dialog .nb-promo.nb-deal{margin:10px 0!important;max-width:none;padding:10px 14px!important}
.nb-dialog .nb-promo.nb-deal .nb-deal-big{font-size:30px!important}
html body .nb-deal.nb-deal{background:linear-gradient(135deg,#1f1f1f,#3d3a36)!important;color:#fff!important;border:0!important;text-align:center!important;font-size:inherit!important;line-height:1.25!important;padding:14px 18px!important;max-width:520px!important;width:auto!important}
html body .nb-deal.nb-deal .nb-deal-big{color:#fff!important;font-size:clamp(32px,7vw,44px)!important;line-height:1.1!important}
html body .nb-deal.nb-deal .nb-deal-text{color:rgba(255,255,255,.9)!important;font-size:15px!important;font-weight:600!important;line-height:1.4!important}
html body .nb-dialog .nb-promo.nb-deal .nb-deal-big{font-size:30px!important}
/* v91: no jump on load. Reserve the deal banner space and hide the old hero button before JS runs */
.ns-hero .ns-actions>a.ns-btn:not(.ns-btn-outline){display:none!important}
.ns-hero .ns-actions:not(:has(.nb-hero-offer))::before{content:"";display:block;flex:0 0 100%;width:100%;height:114px;margin:4px 0 8px;border-radius:16px;background:#2b2b2b}
@media (min-width:768px){.ns-hero .ns-actions:not(:has(.nb-hero-offer))::before{height:128px}}
/* v92: no flashing empty payment message while typing */
#tera-grow-official-wallet-message:empty{display:none!important}
/* v95: one clear X in every popup */
html body dialog .nb-close, html body dialog .ni-close, html body dialog .nu-close, html body dialog .ns-video-close, html body dialog .nsr-lightbox-close, html body dialog.nsh-lightbox button[aria-label="סגירת התמונה"], html body dialog.nb-zoom button[aria-label="סגירת התמונה המוגדלת"], html body #nb-ship-pop .sp-x{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#302d29!important;color:#fff!important;font-size:26px!important;line-height:42px!important;font-weight:400!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 4px 14px rgba(0,0,0,.25)!important;cursor:pointer!important;opacity:1!important;visibility:visible!important;z-index:20!important}
html body dialog .ns-video-close, html body dialog .nsr-lightbox-close, html body dialog.nsh-lightbox button[aria-label="סגירת התמונה"]{position:absolute!important;top:12px!important;left:12px!important;right:auto!important;bottom:auto!important}
html body dialog .nb-close:focus-visible, html body dialog .ni-close:focus-visible, html body dialog .nu-close:focus-visible, html body dialog .ns-video-close:focus-visible, html body dialog .nsr-lightbox-close:focus-visible, html body dialog.nsh-lightbox button[aria-label="סגירת התמונה"]:focus-visible, html body dialog.nb-zoom button[aria-label="סגירת התמונה המוגדלת"]:focus-visible, html body #nb-ship-pop .sp-x:focus-visible{outline:3px solid #f2c94c!important;outline-offset:2px!important}