/* Scoped contracts, loaded after native and Elementor styles. */
body.mdb-complete-site :is(.mdb-header,.mdb-elementor-region-header) a.mdb-header-order,
body.mdb-complete-site .mdb-elementor-document a.mdb-header-order {color:#fff!important;-webkit-text-fill-color:#fff;background:var(--mdb-ink,#444e60)!important;}
body.mdb-complete-site :is(.mdb-header,.mdb-elementor-region-header) a.mdb-header-order:hover {background:#354052!important;}
body.mdb-complete-site .mdb-cart-shell table.shop_table td.actions,
body.mdb-complete-site .mdb-cart-shell table.shop_table tr:has(>td.actions) {height:auto!important;min-height:0;overflow:visible;}
body.mdb-complete-site .mdb-cart-shell table.shop_table td.actions {display:block!important;grid-column:1/-1;padding:16px 22px!important;box-sizing:border-box;}
body.mdb-complete-site .mdb-cart-shell details.mdb-cart-coupon-disclosure[open] > .coupon {float:none!important;height:auto!important;max-width:640px;align-items:stretch;margin:0;}
body.mdb-complete-site .mdb-cart-shell td.actions .coupon :is(input,button) {box-sizing:border-box;padding-block:0!important;min-height:48px;line-height:1.25;}
body.mdb-complete-site .mdb-checkout-shell #ship-to-different-address {font-size:1rem;margin:24px 0 16px;}
body.mdb-complete-site .mdb-checkout-shell #ship-to-different-address label,
body.mdb-complete-site .mdb-checkout-shell .mdb-specs-confirmation label {display:flex;align-items:flex-start;gap:10px;line-height:1.5;}
body.mdb-complete-site .mdb-checkout-shell input[type=checkbox] {width:20px;height:20px;flex:none;margin:2px 0 0;accent-color:var(--mdb-ink);}
body.mdb-complete-site .mdb-checkout-shell .mdb-field-error {color:#923f4b;font-size:.875rem;line-height:1.5;margin:6px 0 12px;}
body.mdb-complete-site .mdb-checkout-shell [aria-invalid=true] {border-color:#923f4b;}
body.mdb-complete-site .mdb-checkout-shell [hidden],body.mdb-complete-site #mdb-checkout-toast[hidden] {display:none!important;}
body.mdb-complete-site #mdb-checkout-toast {position:fixed;z-index:99999;top:24px;left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:480px;box-sizing:border-box;padding:16px 20px;background:var(--mdb-ink,#444e60);color:#fff;box-shadow:0 8px 24px #0002;line-height:1.5;}
body.mdb-complete-site .mdb-surefit-checkout {font-size:.875rem;line-height:1.5;margin:12px 0 20px;}
body.mdb-complete-site .mdb-surefit-checkout strong {display:block;}
body.mdb-native-cpo .product #uni_cpo_options [data-mdb-artwork="chain"] {gap:8px;}
body.mdb-native-cpo .product #uni_cpo_options [data-mdb-artwork="chain"] > .uni-cpo-option-label {flex:0 0 calc((100% - 24px)/4)!important;width:calc((100% - 24px)/4)!important;max-width:none;min-width:0;}
body.mdb-native-cpo .product #uni_cpo_options [data-mdb-artwork="chain"] img {width:100%!important;height:auto!important;max-width:100%!important;max-height:100px!important;object-fit:contain!important;aspect-ratio:1!important;padding:4px;}
body.mdb-native-cpo .product #uni_cpo_options .uni-row-content {align-items:flex-start;align-content:start;}
body.mdb-native-cpo .product #uni_cpo_options .uni-col-content {min-width:0;}
body.mdb-native-cpo .product #uni_cpo_options :is(.uni-cpo-tooltip,.uni-cpo-module-tooltip,.mdb-help-trigger,[class*="popmake-"]):hover,
body.mdb-native-cpo .product #uni_cpo_options :is(.uni-cpo-tooltip,.uni-cpo-module-tooltip,.mdb-help-trigger,[class*="popmake-"]):focus-visible {color:var(--mdb-teal-dark,#237f87)!important;background:var(--mdb-mist,#edf5f4);}
/* Maintain DOM question order while resizing. Do not override native display rules. */
body.mdb-native-cpo .product #uni_cpo_options .uni-row-content {flex-direction:row!important;flex-wrap:wrap!important;width:100%;box-sizing:border-box;}
body.mdb-native-cpo .product #uni_cpo_options .uni-row-content > [class*="uni-node-"] {flex:0 0 100%!important;order:0!important;box-sizing:border-box;}
body.mdb-native-cpo .product #uni_cpo_options .uni-cpo-tooltip {display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;cursor:pointer;}
@media(pointer:coarse){body.mdb-native-cpo .product #uni_cpo_options .uni-cpo-tooltip {min-width:44px;min-height:44px;}}
@media(max-width:480px){body.mdb-complete-site .mdb-cart-shell td.actions .coupon button {font-size:.75rem;padding-inline:10px!important;}body.mdb-native-cpo .product #uni_cpo_options [data-mdb-artwork="chain"] .uni-cpo-option-label__image-wrap::after {font-size:.75rem;padding:8px 2px;overflow-wrap:anywhere;}}

/* Both legacy and current WooCommerce notices are hidden only after relocation. */
body.mdb-complete-site .mdb-checkout-shell [data-mdb-relocated]{display:none!important;}
body.mdb-complete-site #mdb-checkout-toast{top:max(16px,env(safe-area-inset-top));max-height:calc(100dvh - 32px);overflow:auto;animation:mdb-checkout-notice-in .15s ease-out;}
@keyframes mdb-checkout-notice-in{from{opacity:0;}to{opacity:1;}}
@media(prefers-reduced-motion:reduce){body.mdb-complete-site #mdb-checkout-toast{animation:none;}}
