/* Product configurator shares the catalogue's grey, white and orange surfaces. */
#addToCart:has(.cartcfg) .modal-dialog{width:calc(100% - 32px);max-width:960px;margin:16px auto;min-height:calc(100% - 32px)}
#addToCart:has(.cartcfg) .modal-content{border:1px solid #e1e5e9;border-radius:8px!important;overflow:hidden;box-shadow:0 18px 55px #20262d30}
#addToCart:has(.cartcfg) .cart-flow-modal__close{top:12px;right:12px;width:36px;height:36px;z-index:10;border-radius:4px!important;background:#fff;border:1px solid #e1e5e9;color:#69717a;opacity:1;transform:none}
#addToCart:has(.cartcfg) .cart-flow-modal__close:hover{background:#f0f2f4;color:#252724;transform:none}
#addToCart .cartcfg{--cartcfg-ink:#252724;--cartcfg-muted:#78808a;--cartcfg-line:#e1e5e9;--cartcfg-paper:#f0f2f4;--cartcfg-orange:#d95609;padding:0;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;color:var(--cartcfg-ink);font-size:13px;line-height:1.5;scrollbar-width:thin;scrollbar-color:#cdd3d9 transparent}
#addToCart .cartcfg *{box-sizing:border-box}
#addToCart .cartcfg button:focus-visible,#addToCart .cartcfg a:focus-visible,#addToCart .cartcfg input:focus-visible{outline:2px solid #d95609;outline-offset:3px}
#addToCart .cartcfg-header{padding:18px 62px 15px 24px;border-bottom:1px solid var(--cartcfg-line);background:#fff}
#addToCart .cartcfg-eyebrow{display:block;margin-bottom:6px;font-size:10px;line-height:1.4;color:var(--cartcfg-muted)}
#addToCart .cartcfg .cart-product-configurator__title{padding:0;margin:0;font-size:21px!important;line-height:1.35;letter-spacing:-.35px;font-weight:600;color:var(--cartcfg-ink)!important;overflow-wrap:anywhere}
#addToCart .cartcfg-sku{margin:7px 0 0;color:var(--cartcfg-muted);font-size:10px}.cartcfg-sku>span{color:#58616b;font-variant-numeric:tabular-nums}
#addToCart .cartcfg-form{margin:0}
#addToCart .cartcfg-layout{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);align-items:start;gap:20px;margin:0;padding:20px 24px}
#addToCart .cartcfg .cart-product-configurator__gallery{padding:0;margin:0;min-width:0}
#addToCart .cartcfg .cart-product-configurator__main-gallery{border:1px solid var(--cartcfg-line);border-radius:6px!important;background:#fff;overflow:hidden;min-width:0}
#addToCart .cartcfg .cart-product-configurator__main-gallery .carousel-box{display:flex!important;align-items:center;justify-content:center;height:310px;padding:24px}
#addToCart .cartcfg .cart-product-configurator__main-image{display:block;width:100%;height:100%;object-fit:contain}
#addToCart .cartcfg .cart-product-configurator__main-gallery:not(.slick-initialized)>.carousel-box:not(:first-child){display:none!important}
#addToCart .cartcfg .slick-list,#addToCart .cartcfg .slick-track{margin:0}
#addToCart .cartcfg .slick-arrow{display:flex;align-items:center;justify-content:center;top:50%;width:30px;height:34px;border:1px solid var(--cartcfg-line);border-radius:4px;background:#fff;color:#65707a;box-shadow:none;transform:translateY(-50%);z-index:2}
#addToCart .cartcfg .slick-prev{left:7px}#addToCart .cartcfg .slick-next{right:7px}#addToCart .cartcfg .slick-disabled{opacity:.35}
#addToCart .cartcfg .cart-product-configurator__thumb-column{display:block;width:100%;max-width:100%;flex:none;padding:0;margin:10px 0 0}
#addToCart .cartcfg .cart-product-configurator__thumbs .slick-list{margin:0 -3px}
#addToCart .cartcfg .cart-product-configurator__thumb{height:62px;padding:0 3px;margin:0;border:0;box-shadow:none!important;background:transparent}
#addToCart .cartcfg-thumb{display:block;width:100%;height:62px;padding:6px;border:1px solid var(--cartcfg-line);border-radius:4px;background:#fff;cursor:pointer;transition:border-color .22s ease,box-shadow .22s ease}
#addToCart .cartcfg-thumb img{width:100%;height:100%;object-fit:contain}
#addToCart .slick-current .cartcfg-thumb{border-color:var(--cartcfg-orange);box-shadow:inset 0 0 0 1px var(--cartcfg-orange)}
#addToCart .cartcfg .cart-product-configurator__thumbs:not(.slick-initialized){display:flex;overflow:hidden}#addToCart .cartcfg .cart-product-configurator__thumbs:not(.slick-initialized)>.carousel-box{flex:0 0 25%}
#addToCart .cartcfg-product-link{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:var(--cartcfg-muted);padding:12px 0 0;text-decoration:none}#addToCart .cartcfg-product-link:hover{color:var(--cartcfg-orange)}
#addToCart .cartcfg .cart-product-configurator__details{min-width:0;max-width:none;padding:16px;border:1px solid var(--cartcfg-line);border-radius:6px;background:var(--cartcfg-paper)}
#addToCart .cartcfg-label{display:block;margin:0 0 5px;font-size:11px;font-weight:400;color:var(--cartcfg-muted);line-height:1.5}
#addToCart .cartcfg-price>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}
#addToCart .cartcfg-price strong{font-size:26px;line-height:1.25;letter-spacing:-.7px;font-weight:600;overflow-wrap:anywhere}
#addToCart .cartcfg-unit{font-size:11px;color:var(--cartcfg-muted)}
#addToCart .cartcfg .cartcfg-discount{margin-top:6px;align-items:center;gap:8px;font-size:11px;color:var(--cartcfg-muted)}#addToCart .cartcfg-discount>span{padding:2px 5px;border:1px solid #f1d2b9;border-radius:3px;background:#fff3e9;color:#b14a08;font-size:10px;font-weight:600}
#addToCart .cartcfg-price>small{display:block;color:var(--cartcfg-muted);font-size:10px;margin-top:7px}
#addToCart .cartcfg-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;margin:16px 0;padding:16px 0;border-top:1px solid #dce1e6;border-bottom:1px solid #dce1e6}
#addToCart .cartcfg-option{min-width:0;margin:0;padding:0;border:0}
#addToCart .cartcfg-option legend{float:none;display:block;width:100%;margin:0 0 5px;padding:0;font-size:10px;font-weight:400;line-height:1.5;color:var(--cartcfg-muted);overflow-wrap:anywhere}
#addToCart .cartcfg-values{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
#addToCart .cartcfg-choice{position:relative;display:block;max-width:100%;margin:0;font-weight:400;cursor:pointer}
#addToCart .cartcfg-choice input{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#addToCart .cartcfg-choice>span{display:flex;align-items:center;justify-content:center;gap:6px;min-height:32px;max-width:100%;padding:6px 9px;border:1px solid #dce1e6;border-radius:4px;background:#fff;color:#46505a;font-size:11px;line-height:1.4;text-align:center;overflow-wrap:anywhere;transition:border-color .2s ease,background .2s ease}
#addToCart .cartcfg-choice input:checked+span{border-color:#d95609;background:#fff8f1;color:#9c450f}
#addToCart .cartcfg-option.is-fixed .cartcfg-choice input:checked+span{border-color:#dce1e6;background:#fff;color:#46505a}
#addToCart .cartcfg-choice input:focus-visible+span{outline:2px solid #d95609;outline-offset:3px}
#addToCart .cartcfg-color i{display:block;width:15px;height:15px;border:1px solid #0002;border-radius:50%;flex-shrink:0}
#addToCart .cartcfg-quantity{padding:0;margin-top:16px}
#addToCart .cartcfg-quantity-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px}
#addToCart .cartcfg .aiz-plus-minus{display:flex;flex-wrap:nowrap;width:132px!important;max-width:100%;margin:0;border:1px solid #d5dbe2;border-radius:4px!important;background:#fff;overflow:visible}
#addToCart .cartcfg .aiz-plus-minus .btn{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border:0;background:#fff;color:#606b76;border-radius:4px;box-shadow:none}
#addToCart .cartcfg .aiz-plus-minus .btn:disabled{color:#b6bec5;background:#fff}
#addToCart .cartcfg .aiz-plus-minus input{display:block;width:40px;min-width:0;min-height:40px;height:40px;padding:5px 0;font-size:16px;appearance:textfield;box-shadow:none;background:#fff;color:var(--cartcfg-ink)}#addToCart .cartcfg input::-webkit-inner-spin-button{appearance:none}
#addToCart .cartcfg-stock{display:flex;align-items:center;gap:5px;font-size:10px;line-height:1.5;color:#a9654b}#addToCart .cartcfg-stock.is-available{color:#41734d}#addToCart .cartcfg-stock>span[aria-hidden]{width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}
#addToCart .cartcfg-footer{position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 24px;border-top:1px solid var(--cartcfg-line);background:#fff;box-shadow:0 -4px 12px #25272405}
#addToCart .cartcfg .cart-product-configurator__total{display:flex;flex-direction:column;min-width:0;gap:1px}#addToCart .cartcfg .cart-product-configurator__total .cartcfg-label{margin:0;font-size:10px}
#addToCart .cartcfg .cart-product-configurator__total strong{display:block;min-height:27px;font-size:22px!important;line-height:1.25;color:var(--cartcfg-ink)!important;font-weight:600;letter-spacing:-.5px;overflow-wrap:anywhere}
#addToCart .cartcfg #chosen_price:empty::before{content:'—';color:#b4bbc2}
#addToCart .cartcfg .cart-product-configurator__actions{display:flex;flex-shrink:0;margin:0;padding:0}
#addToCart .cartcfg .cart-product-configurator__add-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:210px;min-height:46px;padding:11px 20px;margin:0;border:1px solid var(--cartcfg-orange);border-radius:4px!important;background:var(--cartcfg-orange);color:#fff;font-size:12px;font-weight:600;line-height:1.5;box-shadow:none!important;cursor:pointer;position:relative;overflow:hidden;transition:background .2s,transform .2s}
#addToCart .cartcfg-submit::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 20%,#ffffff38 50%,transparent 80%);transform:translateX(-130%);transition:transform .6s ease}
#addToCart .cartcfg .cart-product-configurator__add-button i{font-size:19px;margin:0}#addToCart .cartcfg .cart-product-configurator__add-button>span{display:inline}
#addToCart .cartcfg .cart-product-configurator__add-button:disabled{background:#e9edf1;border-color:#e0e5e9;color:#87909a;cursor:default}
@media(hover:hover) and (pointer:fine){#addToCart .cartcfg-submit:hover{background:#bc4705;border-color:#bc4705;transform:translateY(-1px)}#addToCart .cartcfg-submit:hover::before{transform:translateX(130%)}#addToCart .cartcfg-submit:active{transform:none}}
@media(max-width:767.98px){#addToCart .cartcfg-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);padding:16px;gap:14px}#addToCart .cartcfg-header{padding:16px 56px 14px 16px}#addToCart .cartcfg .cart-product-configurator__title{font-size:19px!important}#addToCart .cartcfg .cart-product-configurator__main-gallery .carousel-box{height:270px;padding:22px}#addToCart .cartcfg .cart-product-configurator__details{padding:14px}#addToCart .cartcfg-price strong{font-size:24px}#addToCart .cartcfg-footer{padding:12px 16px}}
@media(max-width:575.98px){#addToCart:has(.cartcfg) .modal-dialog{width:calc(100% - 16px);min-height:calc(100% - 16px);margin:8px auto}#addToCart .cartcfg{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}#addToCart .cartcfg-layout{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}#addToCart .cartcfg-header{padding:14px 54px 12px 14px}#addToCart .cartcfg .cart-product-configurator__title{font-size:17px!important;line-height:1.35}#addToCart .cartcfg-eyebrow{font-size:9px;margin-bottom:5px}#addToCart .cartcfg-sku{font-size:10px;margin-top:6px}#addToCart .cartcfg .cart-product-configurator__main-gallery .carousel-box{height:210px;padding:18px 32px}#addToCart .cartcfg .cart-product-configurator__thumb-column{margin-top:8px}#addToCart .cartcfg .cart-product-configurator__thumb,#addToCart .cartcfg-thumb{height:54px}#addToCart .cartcfg-product-link{font-size:10px;padding-top:9px}#addToCart .cartcfg .cart-product-configurator__details{padding:12px}#addToCart .cartcfg-price strong{font-size:24px}#addToCart .cartcfg-options{margin:12px 0;padding:12px 0;gap:10px}#addToCart .cartcfg-choice>span{min-height:34px;font-size:11px;padding:7px 8px}#addToCart .cartcfg-quantity{margin-top:12px}#addToCart .cartcfg-footer{gap:10px;padding:11px 12px calc(11px + env(safe-area-inset-bottom))}#addToCart .cartcfg .cart-product-configurator__total strong{font-size:19px!important;min-height:24px}#addToCart .cartcfg .cart-product-configurator__add-button{min-width:0;max-width:190px;min-height:44px;padding:10px 13px;font-size:11px}#addToCart .cartcfg .cart-product-configurator__add-button i{font-size:17px}}
@media(max-width:374.98px){#addToCart .cartcfg .cart-product-configurator__main-gallery .carousel-box{height:180px}#addToCart .cartcfg .cart-product-configurator__total strong{font-size:17px!important}#addToCart .cartcfg .cart-product-configurator__add-button{padding:10px 11px;font-size:10px;gap:6px}}
@media(max-height:500px) and (min-width:576px){#addToCart .cartcfg .cart-product-configurator__main-gallery .carousel-box{height:220px}}
@media(prefers-reduced-motion:reduce){#addToCart .cartcfg *,#addToCart .cartcfg *::before{transition:none!important;scroll-behavior:auto!important}#addToCart .cartcfg-submit:hover{transform:none}}

/* Keep the pending cart request over the configurator instead of shifting it. */
#addToCart:has(.cartcfg) .c-preloader{position:absolute;inset:0;z-index:20;padding:0!important;background:rgba(255,255,255,.82)}
#addToCart:has(.cartcfg) .c-preloader>i{position:absolute;left:calc(50% - 24px);top:calc(50% - 24px);width:48px;height:48px;line-height:48px;color:#d95609}
