/* Shared storefront dialog system: catalogue colours, readable controls and bounded scrolling. */
body .modal{--ob-dialog-accent:var(--primary,#ec6608);--ob-dialog-ink:#252e38;--ob-dialog-muted:#737d88;--ob-dialog-line:#e3e7eb;color:var(--ob-dialog-ink);padding-left:0!important}
body .modal .modal-dialog{display:flex;align-items:center;width:calc(100% - 48px);max-width:520px;min-height:calc(100% - 48px);margin:24px auto}
body .modal .modal-dialog.modal-lg{max-width:920px}body .modal .modal-dialog.modal-xl{max-width:1140px}
body .modal .modal-content{width:100%;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);min-width:0;border:1px solid var(--ob-dialog-line)!important;border-radius:12px!important;background:#fff;box-shadow:0 20px 65px #15202b2b;overflow:hidden}
body .modal .modal-content>form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
body .modal .modal-header{position:relative;flex-shrink:0;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--ob-dialog-line);background:#fff}
body .modal .modal-title{margin:0;color:var(--ob-dialog-ink);font-size:20px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
body .modal .modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 24px;font-size:14px;line-height:1.6;scrollbar-width:thin;scrollbar-color:var(--ob-dialog-accent) #f3f5f7}
body .modal .modal-body::-webkit-scrollbar,body .modal .cart-added-dialog__scroll::-webkit-scrollbar{width:6px}body .modal .modal-body::-webkit-scrollbar-thumb,body .modal .cart-added-dialog__scroll::-webkit-scrollbar-thumb{background:var(--ob-dialog-accent);border-radius:8px}
body .modal .modal-footer{flex-shrink:0;gap:10px;padding:16px 24px;border-top:1px solid var(--ob-dialog-line);background:#fafbfc}
body .modal .modal-footer>*{margin:0}
body .modal .btn{min-height:42px;padding:10px 16px;border-radius:7px!important;font-size:14px;font-weight:600;line-height:1.5;box-shadow:none}
body .modal .btn-primary{border-color:var(--ob-dialog-accent);background:var(--ob-dialog-accent);color:#fff}
body .modal .btn-primary:hover{border-color:#c04a08;background:#c04a08}
body .modal .btn-secondary{border-color:#e1e5e9;background:#f1f3f5;color:#35404c}
body .modal .btn-secondary:hover{background:#e6eaed;color:#252e38}
body .modal .btn-danger{background:#c62828;border-color:#c62828;color:#fff}
body .modal .form-control,body .modal .bootstrap-select>.dropdown-toggle{min-height:44px;border:1px solid #dce2e8!important;border-radius:7px!important;background-color:#fff;color:#252e38;font-size:16px;box-shadow:none}
body .modal .form-control:focus{border:1px solid var(--ob-dialog-accent)!important;box-shadow:0 0 0 3px #ec660812}
body .modal textarea.form-control{min-height:96px}
body .modal label,body .modal .form-label{font-size:13px;line-height:1.5;color:#4a5562}
body .modal input[type=checkbox],body .modal input[type=radio]{accent-color:var(--ob-dialog-accent)}
body .modal .close{position:relative;display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;margin:0;padding:0!important;border:1px solid #e3e7eb;border-radius:7px!important;background:#f8f9fa;color:#63707e;font-size:0;opacity:1;box-shadow:none;cursor:pointer;text-shadow:none;transform:none}
body .modal .close>*{display:none!important}
body .modal .close::before,body .modal .close::after{content:'';position:absolute;left:calc(50% - 8px);top:calc(50% - .75px);width:16px;height:1.5px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
body .modal .close::after{transform:rotate(-45deg)}
body .modal .close:hover{color:#c04a08;background:#fff2e8;border-color:#efd7c5;transform:none}
body .modal :focus-visible{outline:2px solid var(--ob-dialog-accent);outline-offset:3px}
body .modal.fade .modal-dialog{transform:translateY(-14px);transition:transform .24s ease,opacity .2s ease}
body .modal.show .modal-dialog{transform:none}
body .modal-backdrop{background:#17232e}body .modal-backdrop.show{opacity:.44}
body.modal-open .crisp-client{display:none!important}
@supports(scrollbar-gutter:stable){body.modal-open{padding-right:0!important}}
/* Keep the existing media/file-picker widths. */
body #image_modal .modal-dialog,body .aiz-uploader-modal .modal-dialog{max-width:1140px}
body #login_modal .modal-body>.p-3{padding:0!important}
body #login_modal .modal-body .mb-5{margin-bottom:20px!important}
body #account_delete_confirm .modal-header>.close{position:absolute;right:16px;top:16px}
/* Cart configuration and confirmation use the same shell. */
body #addToCart .modal-dialog,body #addToCart:has(.cartcfg) .modal-dialog{width:calc(100% - 48px);max-width:960px;min-height:calc(100% - 48px);margin:24px auto}
body #addToCart .modal-content,body #addToCart:has(.cartcfg) .modal-content{border-radius:12px!important}
body #addToCart #addToCart-modal-body{min-height:0;overflow:hidden}
body #addToCart .cart-flow-modal__close,body #addToCart:has(.cartcfg) .cart-flow-modal__close{position:absolute;top:18px;right:18px;z-index:12;width:36px;height:36px;border-radius:7px!important;background:#f8f9fa;border:1px solid #e3e7eb;transform:none}
body #addToCart .cartcfg{max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px)}
body #addToCart .cartcfg .cartcfg-label,body #addToCart .cartcfg-sku{font-size:12px}
body #addToCart .cartcfg-choice>span{font-size:13px;border-radius:6px}
body #addToCart .cartcfg .cart-product-configurator__add-button{border-radius:7px!important;background:var(--ob-dialog-accent);border-color:var(--ob-dialog-accent);font-size:14px}
body #addToCart .cart-added-dialog{display:flex;flex-direction:column;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);min-height:0;padding:0;overflow:hidden;background:#fff;color:var(--ob-dialog-ink)}
body #addToCart .cart-added-dialog__header{display:flex;align-items:center;gap:12px;flex-shrink:0;margin:0;padding:20px 70px 20px 24px;border-bottom:1px solid var(--ob-dialog-line)}
.cart-added-dialog__success{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border:1px solid #f4dfd0;border-radius:10px;background:#fff5ee;color:#c04a08}
.cart-added-dialog__success svg{width:24px;height:24px}
.cart-added-dialog__eyebrow{display:block;margin-bottom:3px;font-size:11px;line-height:1.4;color:var(--ob-dialog-muted)}
body #addToCart .cart-added-dialog__title{font-size:21px;font-weight:700;line-height:1.3;margin:0;color:var(--ob-dialog-ink)}
.cart-added-dialog__count{display:grid;place-items:center;flex-shrink:0;min-width:25px;height:25px;padding:2px 7px;border-radius:6px;background:#f0f3f5;color:#63707e;font-size:12px;font-weight:600}
.cart-added-dialog__scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px;scrollbar-width:thin;scrollbar-color:var(--ob-dialog-accent) #f3f5f7}
body #addToCart .cart-added-dialog__cart-items{display:grid;max-height:none;gap:10px;margin:0;padding:0;overflow:visible}
body #addToCart .cart-added-dialog__cart-item{grid-template-columns:76px minmax(0,1fr) auto 32px;min-height:98px;gap:14px;padding:12px;border:1px solid #e2e7eb;border-radius:8px;background:#fff}
body #addToCart .cart-added-dialog__cart-item::after{display:none}
body #addToCart .cart-added-dialog__cart-image-wrap{width:76px;height:72px;border:1px solid #edf0f2;border-radius:6px!important;overflow:hidden}
body #addToCart .cart-added-dialog__cart-image{object-fit:contain;padding:4px;transform:none}
body #addToCart .cart-added-dialog__cart-name{color:var(--ob-dialog-ink);font-size:14px;font-weight:600;line-height:1.45}
body #addToCart .cart-added-dialog__cart-meta{margin-top:5px;color:#77828e;font-size:12px;gap:3px 10px}
body #addToCart .cart-added-dialog__cart-price{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin:0;color:var(--ob-dialog-ink);font-size:17px;line-height:1.35;white-space:normal}
body #addToCart .cart-added-dialog__cart-price strong{font-size:17px;font-weight:700;overflow-wrap:anywhere}
body #addToCart .cart-added-dialog__cart-price del{color:#8b939c;font-size:11px}
body #addToCart .cart-added-dialog__cart-price.is-discounted strong{color:#c62828}
body #addToCart .cart-added-dialog__cart-remove{width:32px;height:32px;border:1px solid #e4e8ec;border-radius:6px;background:#f8f9fa;color:#7b8793;box-shadow:none;font-size:17px}
body #addToCart .cart-added-dialog__cart-remove:hover{color:#c62828;background:#fff3f2;border-color:#f0d4d1}
body #addToCart .cart-added-dialog__related{margin:22px 0 0;padding:20px 0 0;border-top:1px solid var(--ob-dialog-line)}
body #addToCart .cart-added-dialog__related-heading{margin-bottom:14px}
body #addToCart .cart-added-dialog__related-title{font-size:16px;font-weight:600;line-height:1.4;color:var(--ob-dialog-ink)}
body #addToCart .cart-added-dialog__related-card{display:flex;flex-direction:column;min-height:258px;padding:0;border:1px solid #e2e7eb;border-radius:7px!important;overflow:hidden;box-shadow:none;background:#fff;transition:border-color .2s}
body #addToCart .cart-added-dialog__related-card:hover{border-color:#edb58c}
body #addToCart .cart-added-dialog__related-image-link{display:flex;align-items:center;justify-content:center;height:132px;padding:14px;background:#fff}
body #addToCart .cart-added-dialog__related-image{width:100%;height:100%;object-fit:contain;transform:none}
body #addToCart .cart-added-dialog__related-content{padding:0;min-width:0}
body #addToCart .cart-added-dialog__related-name{display:-webkit-box;min-height:54px;margin:0;padding:9px 12px;color:#303a45;font-size:13px;font-weight:500;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body #addToCart .cart-added-dialog__related-buy-row{align-items:center;min-height:62px;margin-top:auto;padding:10px 12px;gap:6px;border-top:1px solid #e7ebee;background:#f3f5f7}
body #addToCart .cart-added-dialog__related-price{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.35}
body #addToCart .cart-added-dialog__related-price>span{color:#252e38;font-size:16px;font-weight:700;overflow-wrap:anywhere}
body #addToCart .cart-added-dialog__related-price.is-discounted>span{color:#c62828}
body #addToCart .cart-added-dialog__related-price del{color:#8b939c;font-size:10px}
body #addToCart .cart-added-dialog__quick-add{width:38px;height:38px;flex-basis:38px;border-radius:6px;background:var(--ob-dialog-accent);border-color:var(--ob-dialog-accent);box-shadow:none}
body #addToCart .cart-added-dialog__quick-add svg{width:19px;height:19px}
body #addToCart .cart-added-dialog__quick-add:hover{background:#c04a08;border-color:#c04a08;box-shadow:none}
body #addToCart .cart-added-dialog__related-list.aiz-carousel .slick-arrow{width:30px;height:30px;border:1px solid #e2e7eb;border-radius:6px;background:#fff;box-shadow:0 3px 8px #15202b10;font-size:14px}
body #addToCart .cart-added-dialog__actions{display:grid;grid-template-columns:1fr 1fr;flex-shrink:0;gap:12px;margin:0;padding:16px 24px;border-top:1px solid var(--ob-dialog-line);background:#fafbfc}
body #addToCart .cart-added-dialog__actions .btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;border-radius:7px!important;font-size:14px;font-weight:600;line-height:1.4;box-shadow:none!important}
body #addToCart .cart-added-dialog__continue{border:1px solid #dfe4e9;background:#fff;color:#4b5764}
body #addToCart .cart-added-dialog__continue:hover{background:#edf0f3;color:#252e38}
body #addToCart .cart-added-dialog__checkout{border:1px solid var(--ob-dialog-accent);background:var(--ob-dialog-accent);color:#fff}
body #addToCart .cart-added-dialog__checkout:hover{background:#c04a08;border-color:#c04a08}
body #addToCart .cart-added-dialog__empty{border:1px dashed #dfe4e9;border-radius:8px;font-size:14px;color:#73808d;background:#fafbfc}
/* Notifications and cookie preferences follow the same surface and controls. */
body .aiz-notify{max-width:calc(100vw - 32px)!important;padding:14px 40px 14px 16px;border:1px solid #e1e6eb;border-left:3px solid var(--primary,#ec6608);border-radius:9px;background:#fff;color:#35404c;box-shadow:0 10px 30px #15202b24;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
body .aiz-notify.alert-success{border-left-color:#41734d}body .aiz-notify.alert-danger{border-left-color:#c62828}
body .aiz-notify [data-notify=dismiss]{width:26px;height:26px;border:0;background:transparent;color:#73808d;font-size:20px;opacity:1}
body .obramag-cookie-dialog{border:1px solid #e1e6eb;border-radius:12px;background:#fff;box-shadow:0 20px 65px #15202b2b}
body .obramag-cookie-dialog .btn{min-height:42px;border-radius:7px!important;font-size:13px}
body .obramag-cookie-close{display:grid;place-items:center;width:34px;height:34px;min-width:34px;padding:0;border:1px solid #e3e7eb;border-radius:7px;background:#f8f9fa;color:#63707e}
@media(max-width:991.98px){body .modal .modal-dialog,body #addToCart .modal-dialog,body #addToCart:has(.cartcfg) .modal-dialog{width:calc(100% - 32px);min-height:calc(100% - 32px);margin:16px auto}body .modal .modal-content,body #addToCart .cart-added-dialog,body #addToCart .cartcfg{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}}
@media(max-width:575.98px){
body .modal .modal-dialog,body #addToCart .modal-dialog,body #addToCart:has(.cartcfg) .modal-dialog{width:calc(100% - 16px);min-height:calc(100% - 16px);margin:8px auto}
body .modal .modal-content,body #addToCart .cart-added-dialog,body #addToCart .cartcfg{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}
body .modal .modal-header{padding:16px}body .modal .modal-title{font-size:18px}body .modal .modal-body{padding:16px}body .modal .modal-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));gap:8px}body .modal .modal-footer>.btn{flex:1;min-width:0;width:auto!important;font-size:13px}
body #addToCart .cart-flow-modal__close,body #addToCart:has(.cartcfg) .cart-flow-modal__close{top:14px;right:12px;width:34px;height:34px}
body #addToCart .cart-added-dialog__header{gap:9px;padding:14px 54px 14px 14px}.cart-added-dialog__success{width:36px;height:36px;border-radius:8px}.cart-added-dialog__success svg{width:21px;height:21px}.cart-added-dialog__eyebrow{font-size:10px}body #addToCart .cart-added-dialog__title{font-size:19px}.cart-added-dialog__count{min-width:22px;height:22px;font-size:11px}
.cart-added-dialog__scroll{padding:14px}
body #addToCart .cart-added-dialog__cart-item{grid-template-columns:58px minmax(0,1fr) 28px;gap:8px 10px;padding:10px;min-height:98px}
body #addToCart .cart-added-dialog__cart-image-wrap{width:58px;height:62px;grid-row:1 / span 2;align-self:start}
body #addToCart .cart-added-dialog__cart-copy{grid-column:2;grid-row:1}body #addToCart .cart-added-dialog__cart-name{font-size:13px}
body #addToCart .cart-added-dialog__cart-meta{font-size:11px;margin-top:4px}
body #addToCart .cart-added-dialog__cart-price{grid-column:2;grid-row:2;margin:0;align-self:start}body #addToCart .cart-added-dialog__cart-price strong{font-size:15px}
body #addToCart .cart-added-dialog__cart-remove{grid-column:3;grid-row:1 / span 2;width:28px;height:30px;align-self:start}
body #addToCart .cart-added-dialog__related{margin-top:18px;padding-top:16px}body #addToCart .cart-added-dialog__related-title{font-size:14px}body #addToCart .cart-added-dialog__related-heading{margin-bottom:12px}
body #addToCart .cart-added-dialog__related-card{min-height:224px}body #addToCart .cart-added-dialog__related-image-link{height:110px;padding:10px}body #addToCart .cart-added-dialog__related-name{min-height:52px;padding:8px;font-size:12px;line-height:1.45}
body #addToCart .cart-added-dialog__related-buy-row{padding:8px;gap:4px;min-height:58px}body #addToCart .cart-added-dialog__related-price>span{font-size:14px}body #addToCart .cart-added-dialog__quick-add{width:34px;height:36px;flex-basis:34px}body #addToCart .cart-added-dialog__quick-add svg{width:18px;height:18px}
body #addToCart .cart-added-dialog__actions{grid-template-columns:1fr;gap:8px;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px))}body #addToCart .cart-added-dialog__actions .btn{font-size:13px;min-height:42px;padding:10px 12px}
body #addToCart .cartcfg .cart-product-configurator__add-button{font-size:12px}
}
@media(max-width:359.98px){body #addToCart .cart-added-dialog__header{gap:7px}.cart-added-dialog__count{display:none}body #addToCart .cart-added-dialog__related-buy-row{flex-wrap:wrap}body #addToCart .cart-added-dialog__quick-add{margin-left:auto}}
@media(prefers-reduced-motion:reduce){body .modal.fade .modal-dialog,body .modal *,body .aiz-notify{transition:none!important;animation:none!important}}
body .modal .modal-dialog.product-modal{max-width:960px}
body .obramag-cookie-card{border:1px solid #e1e6eb;border-radius:12px;background:#fff;color:#252e38;box-shadow:0 14px 45px #15202b2b}
body .obramag-cookie-card h2{color:#252e38;font-size:18px}
body .obramag-cookie-card p{color:#667380;font-size:13px;line-height:1.6}
body .obramag-cookie-actions .btn{min-height:42px;border-radius:7px!important;font-size:13px;font-weight:600}
body .obramag-cookie-actions [data-cookie-action="reject"],body .obramag-cookie-actions [data-cookie-action="reject"]:hover,body .obramag-cookie-actions [data-cookie-action="reject"]:focus{border-color:#dce2e8!important;background:#f0f3f5!important;color:#35404c!important}
body .obramag-cookie-actions [data-cookie-action="settings"]{border:1px solid #dce2e8;background:#fff;color:#35404c}
body:has(.obramag-cookie-modal:not([hidden])){overflow:hidden}
body:has(.obramag-cookie-modal:not([hidden])) .crisp-client{display:none!important}
body .obramag-cookie-modal{padding:16px;background:#17232e70}
body .obramag-cookie-dialog{display:flex;flex-direction:column;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);min-height:0;padding:0;overflow:hidden}
body .obramag-cookie-dialog-header{position:relative;flex-shrink:0;padding:20px 66px 16px 20px;border-bottom:1px solid #e3e7eb}
body .obramag-cookie-dialog h2{margin:0;font-size:19px;line-height:1.4;color:#252e38}
body .obramag-cookie-close{top:15px;right:16px}
body .obramag-cookie-dialog-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px;scrollbar-width:thin;scrollbar-color:var(--primary,#ec6608) #f3f5f7}
body .obramag-cookie-dialog-body>p{font-size:13px;line-height:1.6;color:#667380;margin-bottom:14px}
body .obramag-cookie-footer{flex-shrink:0;margin:0;padding:14px 20px;border-top:1px solid #e3e7eb;background:#fafbfc}
body .obramag-cookie-dialog>p:last-child{flex-shrink:0;margin:0!important;padding:0 20px 16px;background:#fafbfc;font-size:12px;line-height:1.5}
body .obramag-cookie-card .obramag-cookie-link{color:#a94000}
@media(max-width:575.98px){body .obramag-cookie-modal{padding:8px}body .obramag-cookie-dialog{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}body .obramag-cookie-dialog-header{padding:15px 54px 14px 14px}body .obramag-cookie-dialog h2{font-size:17px}body .obramag-cookie-close{top:12px;right:12px}body .obramag-cookie-dialog-body{padding:14px}body .obramag-cookie-footer{display:grid;grid-template-columns:1fr;gap:7px;padding:12px 14px}body .obramag-cookie-footer .btn{width:100%;min-height:40px;padding:9px 12px}body .obramag-cookie-dialog>p:last-child{padding:0 14px calc(12px + env(safe-area-inset-bottom,0px));font-size:11px}}
body #addToCart .cart-added-dialog:has(.cart-added-dialog__empty) .cart-added-dialog__checkout{display:none}
body #addToCart .cart-added-dialog:has(.cart-added-dialog__empty) .cart-added-dialog__actions{grid-template-columns:1fr}
body #addToCart .cartcfg{scrollbar-color:var(--primary,#ec6608) #f3f5f7}
body #addToCart .cart-added-dialog__quick-add.is-added{background:#41734d;border-color:#41734d}
body .popover{border:1px solid #e1e6eb;border-radius:8px;box-shadow:0 8px 24px #15202b1c;color:#35404c}
body .popover-header{background:#f7f9fa;border-bottom:1px solid #e3e7eb;font-size:13px;font-weight:600;color:#252e38}
body .popover-body{font-size:13px;line-height:1.5;color:#63707e}
body .aiz-notify.alert-success,body .aiz-notify.alert-danger,body .aiz-notify.alert-primary,body .aiz-notify.alert-warning,body .aiz-notify.alert-info,body .aiz-notify.alert-dark,body .aiz-notify.alert-secondary,body .aiz-notify.alert-light{background:#fff;color:#35404c}
body .aiz-notify .progress{height:2px;background:#f0f2f4}
body .aiz-notify .progress-bar{background:var(--primary,#ec6608)}
body .aiz-notify.alert-success .progress-bar{background:#41734d}
body .aiz-notify.alert-danger .progress-bar{background:#c62828}
body .aiz-notify{min-width:0}
body .aiz-notify [data-notify=dismiss]:focus-visible{outline:2px solid var(--primary,#ec6608);outline-offset:2px}
@media(max-width:991.98px){body .aiz-notify{margin-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}}
body #image_modal .modal-content>.p-4{min-height:0;padding:16px!important;overflow:auto}
body #image_modal .modal-content>.p-4>div{width:100%!important;max-width:450px;height:auto!important;aspect-ratio:1;max-height:calc(100vh - 140px);max-height:calc(100dvh - 140px);margin:auto}
body #image_modal .modal-content>.p-4 img{width:100%;height:100%;object-fit:contain}
body #addToCart .c-preloader{position:absolute;inset:0;z-index:20;padding:0!important;background:rgba(255,255,255,.84)}
body #addToCart .c-preloader>i{position:absolute;left:calc(50% - 24px);top:calc(50% - 24px);width:48px;height:48px;line-height:48px;color:var(--primary,#ec6608)}
body #addToCart .modal-content{min-height:140px}
body .modal .modal-header>.close{margin-left:auto}
