/* 2MT homepage palette. Existing site variables take precedence where available. */
body.mt3d-product-page{--accent:#ff4e00;--accent-dark:#b83500;--accent-soft:#fff0e6;--ink:#29231f;--muted:#7b7069;--line:#ede3db;--paper:#fffdfa;background:var(--paper)!important;color:var(--ink)!important}
body.mt3d-product-page,body.mt3d-product-page .color-scheme-light,body.mt3d-product-page .color-scheme-dark,body.mt3d-product-page [class*=whb-color-]{--wd-text-color:#7b7069!important;--wd-title-color:#29231f!important;--wd-link-color:#29231f!important;--wd-link-color-hover:#b83500!important;--wd-primary-color:#ff4e00!important;--wd-main-bgcolor:#fffdfa!important;--wd-header-el-color:#29231f!important;--wd-header-el-color-hover:#b83500!important;--wd-navigation-color:41,35,31!important;--wd-form-color:#29231f!important;--wd-form-placeholder-color:#7b7069!important;--wd-form-brd-color:#ede3db!important}
body.mt3d-product-page .wd-page-wrapper,body.mt3d-product-page .main-page-wrapper,body.mt3d-product-page .wd-content-layout,body.mt3d-product-page .whb-row,body.mt3d-product-page .footer-container,body.mt3d-product-page .copyrights-wrapper{background:var(--paper)!important;color:var(--ink)!important}
body.mt3d-product-page .whb-row{border-color:var(--line)!important}body.mt3d-product-page .site-logo img{filter:brightness(0)}
body.mt3d-product-page .summary,body.mt3d-product-page .woocommerce-tabs,body.mt3d-product-page .footer-container{color:var(--ink)}
body.mt3d-product-page .product_title,body.mt3d-product-page .summary h3,body.mt3d-product-page .woocommerce-tabs :is(h2,h3,h4),body.mt3d-product-page .footer-container :is(h3,h5){color:var(--ink)!important}
body.mt3d-product-page .price,body.mt3d-product-page .price .amount{color:var(--accent-dark)!important}
body.mt3d-product-page .wd-tools-element>a,body.mt3d-product-page .wd-nav>li>a,body.mt3d-product-page .woocommerce-breadcrumb,body.mt3d-product-page .woocommerce-breadcrumb a{color:var(--ink)!important}
body.mt3d-product-page .wd-header-search-form input,body.mt3d-product-page .searchform{background:#fff!important;color:var(--ink)!important;border-color:var(--line)!important}
body.mt3d-product-page .wd-product-info{background:var(--accent-soft)!important;color:var(--ink)!important}
body.mt3d-product-page .mt3d-root{--mt-ink:var(--ink);--mt-muted:var(--muted);--mt-line:var(--line);--mt-accent:var(--accent-soft)}
.mt3d-specs table{width:100%;border-collapse:collapse}.mt3d-specs th,.mt3d-specs td{padding:10px;border-bottom:1px solid var(--line,#ede3db);text-align:left}.mt3d-specs .mt3d-table-wrap{overflow:auto}

/* Footer descendants retain explicit dark-theme colors unless overridden. */
body.mt3d-product-page .footer-container{--color-gray-300:#7b7069;--color-gray-400:#61554d;--color-gray-500:#61554d;--color-gray-600:#51473f;--color-gray-700:#29231f;--color-gray-800:#29231f;--color-gray-900:#29231f;border-top:1px solid #ede3db}
body.mt3d-product-page .footer-container :is(p,li,span,strong,address,h2,h3,h4,h5,h6,.widget-title){color:#29231f!important;text-shadow:none!important}
body.mt3d-product-page .footer-container a{color:#51473f!important;text-shadow:none!important}
body.mt3d-product-page .footer-container a:hover{color:#b83500!important;text-decoration:underline}
body.mt3d-product-page .footer-container :is(time,.recent-posts-comment,.recent-posts-info){color:#61554d!important}
body.mt3d-product-page .footer-container :is(a,button):focus-visible{outline:2px solid #b83500;outline-offset:3px}
body.mt3d-product-page .footer-container img[alt="2MTdesign Logo"],body.mt3d-product-page .footer-container img[src*="-light.svg"],body.mt3d-product-page .footer-container img[data-src*="-light.svg"]{filter:brightness(0)!important}
body.mt3d-product-page .copyrights-wrapper,body.mt3d-product-page .copyrights-wrapper :is(a,p,span,strong){color:#61554d!important}

/* Account dashboard, addresses, orders and account/login forms. */
body.woocommerce-account.mt3d-product-page .page-title{background:#fff0e6!important;padding:28px 15px!important;margin-bottom:28px!important}
body.woocommerce-account.mt3d-product-page .page-title .title{color:#29231f!important;font-size:clamp(28px,4vw,42px)!important;line-height:1.3;text-shadow:none!important}
body.woocommerce-account.mt3d-product-page .woocommerce{max-width:1220px;margin-inline:auto}
body.woocommerce-account.mt3d-product-page .wd-my-account-wrapper{gap:24px}
body.woocommerce-account.mt3d-product-page :is(.wd-my-account-sidebar,.woocommerce-MyAccount-content,.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword){background:#fff!important;color:#29231f!important;border:1px solid #ede3db!important;border-radius:18px;padding:24px;min-width:0;box-sizing:border-box;box-shadow:0 8px 28px rgba(41,35,31,.04)}
body.woocommerce-account.mt3d-product-page .main-page-wrapper :is(h2,h3,h4,legend,label,th,td,p,address){color:#29231f!important;text-shadow:none!important}
body.woocommerce-account.mt3d-product-page .main-page-wrapper a:not(.button){color:#a63300!important}
body.woocommerce-account.mt3d-product-page .woocommerce-MyAccount-navigation li{border:0!important;margin-bottom:5px}
body.woocommerce-account.mt3d-product-page .woocommerce-MyAccount-navigation a{display:block;padding:13px 15px;border-radius:10px;color:#29231f!important;background:transparent!important;min-height:46px;line-height:1.5}
body.woocommerce-account.mt3d-product-page .woocommerce-MyAccount-navigation :is(.is-active>a,a:hover){background:#fff0e6!important;color:#a63300!important}
body.woocommerce-account.mt3d-product-page .wd-my-account-links{gap:14px!important}
body.woocommerce-account.mt3d-product-page .wd-my-account-links a{background:#fffaf6!important;border:1px solid #ede3db!important;border-radius:14px;padding:22px 14px!important;color:#29231f!important}
body.woocommerce-account.mt3d-product-page .wd-my-account-links a:hover{background:#fff0e6!important;border-color:#c5805b!important}
body.woocommerce-account.mt3d-product-page .wd-my-account-links a::before{color:#b83500!important}
body.woocommerce-account.mt3d-product-page .wd-my-account-links .wd-nav-icon,body.woocommerce-account.mt3d-product-page .wd-my-account-links .wd-nav-icon::before{color:#b83500!important}
body.woocommerce-account.mt3d-product-page .wd-breadcrumbs,body.woocommerce-account.mt3d-product-page .wd-breadcrumbs :is(a,span){color:#61554d!important}
body.woocommerce-account.mt3d-product-page .woocommerce :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea,.select2-selection){background:#fff!important;color:#29231f!important;border:1px solid #d8ccc3!important;border-radius:12px!important;min-height:46px;box-shadow:none!important}
body.woocommerce-account.mt3d-product-page .woocommerce textarea{min-height:110px!important}
body.woocommerce-account.mt3d-product-page .woocommerce :is(input,textarea)::placeholder{color:#7b7069!important}
body.woocommerce-account.mt3d-product-page .woocommerce :is(input[type=checkbox],input[type=radio]){accent-color:#b83500;width:18px;height:18px}
body.woocommerce-account.mt3d-product-page .woocommerce :is(button[type=submit],input[type=submit],.button){background:#ff4e00!important;color:#fff!important;border:1px solid #ff4e00!important;border-radius:12px!important;min-height:46px;padding:12px 20px;text-shadow:none!important;box-shadow:none!important}
body.woocommerce-account.mt3d-product-page .woocommerce :is(button[type=submit],input[type=submit],.button):hover{background:#b83500!important;border-color:#b83500!important}
body.woocommerce-account.mt3d-product-page :is(a,button,input,textarea,select):focus-visible{outline:2px solid #b83500!important;outline-offset:3px}
body.woocommerce-account.mt3d-product-page .woocommerce fieldset{border:1px solid #ede3db;border-radius:12px;padding:20px;margin:24px 0}
body.woocommerce-account.mt3d-product-page .woocommerce legend{padding-inline:8px;font-size:18px}
body.woocommerce-account.mt3d-product-page .woocommerce :is(.shop_table th,.shop_table td){border-color:#ede3db!important;background:transparent!important;overflow-wrap:anywhere}
body.woocommerce-account.mt3d-product-page .woocommerce-Addresses .woocommerce-Address{background:#fffaf6;border:1px solid #ede3db;border-radius:12px;padding:18px;min-width:0}
body.woocommerce-account.mt3d-product-page :is(.woocommerce-info,.woocommerce-message){background:#fff0e6!important;color:#29231f!important;border:1px solid #ede3db!important;border-radius:12px}
body.woocommerce-account.mt3d-product-page .woocommerce-error{background:#fff4f2!important;color:#922c23!important;border:1px solid #d99891!important;border-radius:12px}
@media(max-width:767px){
body.woocommerce-account.mt3d-product-page .main-page-wrapper{padding-bottom:95px!important}
body.woocommerce-account.mt3d-product-page .wd-my-account-wrapper{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
body.woocommerce-account.mt3d-product-page :is(.wd-my-account-sidebar,.woocommerce-MyAccount-content){width:100%!important;max-width:100%!important;grid-column:auto!important;padding:18px;float:none}
body.woocommerce-account.mt3d-product-page .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
body.woocommerce-account.mt3d-product-page .woocommerce-MyAccount-navigation a{font-size:14px;padding:11px 9px;overflow-wrap:anywhere}
body.woocommerce-account.mt3d-product-page .wd-my-account-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.woocommerce-account.mt3d-product-page .woocommerce :is(.form-row-first,.form-row-last,.u-column1,.u-column2){width:100%!important;float:none!important}
body.woocommerce-account.mt3d-product-page .woocommerce :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;max-width:100%}
body.woocommerce-account.mt3d-product-page .woocommerce fieldset{padding:14px}
body.woocommerce-account.mt3d-product-page .woocommerce :is(button[type=submit],input[type=submit]){width:100%}
body.woocommerce-account.mt3d-product-page :is(.woocommerce-Addresses,.u-columns){display:block!important}
body.woocommerce-account.mt3d-product-page .woocommerce-Address{margin-bottom:16px}
body.woocommerce-account.mt3d-product-page .woocommerce-MyAccount-content{overflow-wrap:anywhere}
body.woocommerce-account.mt3d-product-page .woocommerce table{max-width:100%}
}

/* Cart and shared mobile purchase flow. */
body.woocommerce-cart.mt3d-product-page .page-title{background:#fff0e6!important;color:#29231f!important;padding-block:28px!important;margin-bottom:24px!important}
body.woocommerce-cart.mt3d-product-page .woocommerce{max-width:1220px;margin-inline:auto}
body.woocommerce-cart.mt3d-product-page :is(.woocommerce-cart-form,.cart-totals-inner){background:#fff!important;color:#29231f!important;border:1px solid #ede3db!important;border-radius:20px;padding:24px;box-shadow:0 8px 28px rgba(41,35,31,.04)!important;box-sizing:border-box;min-width:0}
body.woocommerce-cart.mt3d-product-page :is(.shop_table,.cart_totals,.cart-actions,.coupon){background:transparent!important;color:#29231f!important}
body.woocommerce-cart.mt3d-product-page :is(.shop_table th,.shop_table td,.cart_totals h2,.cart_totals p,.cart_totals label){color:#29231f!important;border-color:#ede3db!important;text-shadow:none!important}
body.woocommerce-cart.mt3d-product-page .main-page-wrapper a:not(.checkout-button):not(.button){color:#a63300!important}
body.woocommerce-cart.mt3d-product-page .product-name a{color:#29231f!important;font-weight:600;overflow-wrap:anywhere}
body.woocommerce-cart.mt3d-product-page .shop_table .amount{color:#a63300!important}
body.woocommerce-cart.mt3d-product-page .cart_totals .order-total{background:#fff0e6!important}
body.woocommerce-cart.mt3d-product-page .cart_totals .order-total .amount{font-size:23px}
body.woocommerce-cart.mt3d-product-page .cart_totals :is(th,td){padding:15px 10px}
body.woocommerce-cart.mt3d-product-page :is(.checkout-button,.coupon button,button[name=update_cart],.shipping-calculator-form button){background:#ff4e00!important;color:#fff!important;border:1px solid #ff4e00!important;border-radius:12px!important;min-height:48px;text-shadow:none!important;box-shadow:none!important}
body.woocommerce-cart.mt3d-product-page :is(.checkout-button,.coupon button,button[name=update_cart],.shipping-calculator-form button):hover{background:#b83500!important;border-color:#b83500!important}
body.woocommerce-cart.mt3d-product-page button:disabled{background:#ede3db!important;border-color:#ede3db!important;color:#61554d!important;opacity:1!important}
body.woocommerce-cart.mt3d-product-page :is(.coupon input,.shipping-calculator-form input,.shipping-calculator-form select,.quantity input){background:#fff!important;color:#29231f!important;border-color:#d8ccc3!important;border-radius:10px;min-height:44px}
body.woocommerce-cart.mt3d-product-page .quantity :is(input,button){min-width:36px;min-height:44px}
body.woocommerce-cart.mt3d-product-page :is(.woocommerce-info,.woocommerce-message){background:#fff0e6!important;color:#29231f!important;border:1px solid #ede3db!important;border-radius:12px}
body.woocommerce-cart.mt3d-product-page :is(input,select,button,a):focus-visible{outline:2px solid #b83500!important;outline-offset:3px}
@media(max-width:767px){
body:is(.woocommerce-cart,.woocommerce-checkout).mt3d-product-page .main-page-wrapper{padding-bottom:95px!important}
body:is(.woocommerce-cart,.woocommerce-checkout).mt3d-product-page :is(form,.cart-content-wrapper,.cart_totals,.checkout-order-review,#customer_details){min-width:0;max-width:100%}
body:is(.woocommerce-cart,.woocommerce-checkout).mt3d-product-page .main-page-wrapper :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
body.woocommerce-cart.mt3d-product-page :is(.woocommerce-cart-form,.cart-totals-inner){padding:16px;border-radius:16px}
body.woocommerce-cart.mt3d-product-page .cart-content-wrapper{gap:20px}
body.woocommerce-cart.mt3d-product-page .cart-actions{gap:14px;flex-direction:column}
body.woocommerce-cart.mt3d-product-page .coupon{width:100%;flex-direction:column;gap:10px;padding:0!important}
body.woocommerce-cart.mt3d-product-page .coupon :is(input,button){width:100%!important;max-width:none!important;margin:0!important}
body.woocommerce-cart.mt3d-product-page .quantity{width:auto;justify-content:flex-end}
body.woocommerce-cart.mt3d-product-page .product-name{padding-right:26px!important}
body.woocommerce-cart.mt3d-product-page .product-thumbnail img{max-width:75px}
body.woocommerce-checkout.mt3d-product-page #payment .wc_payment_method{padding:12px!important}
body.woocommerce-checkout.mt3d-product-page .woocommerce-checkout-review-order-table{table-layout:fixed;width:100%}
body.woocommerce-checkout.mt3d-product-page .woocommerce-checkout-review-order-table :is(th,td){overflow-wrap:anywhere}
body.woocommerce-checkout.mt3d-product-page .woocommerce-checkout-review-order-table .product-name img{max-width:48px;float:none;margin:0 8px 8px 0}
body.woocommerce-checkout.mt3d-product-page :is(#payment,#order_review){min-width:0;max-width:100%}
}

/* Checkout: keep WooCommerce/Germanized field order and payment behavior intact. */
body.woocommerce-checkout.mt3d-product-page{--wd-form-bg:#fff;--wd-form-brd-radius:12px;--wd-btn-accent-bg:#ff4e00;--wd-btn-accent-bg-hover:#b83500;--wd-btn-accent-color:#fff;--wd-btn-accent-color-hover:#fff}
body.woocommerce-checkout.mt3d-product-page .main-page-wrapper{padding-top:24px}
body.woocommerce-checkout.mt3d-product-page .page-title{background:#fff0e6!important;color:#29231f!important;padding-block:28px!important;margin-bottom:24px!important}
body.woocommerce-checkout.mt3d-product-page .woocommerce{max-width:1220px;margin-inline:auto}
body.woocommerce-checkout.mt3d-product-page :is(#customer_details,.checkout-order-review){box-sizing:border-box;background:#fff!important;color:#29231f!important;border:1px solid #ede3db!important;border-radius:20px;padding:28px;box-shadow:0 8px 28px rgba(41,35,31,.04)!important}
body.woocommerce-checkout.mt3d-product-page .checkout-order-review::before,body.woocommerce-checkout.mt3d-product-page .checkout-order-review::after{display:none!important;background:none!important}
body.woocommerce-checkout.mt3d-product-page :is(#order_review,.wd-table-wrapper,#payment,.woocommerce-checkout-review-order-table){background:transparent!important;color:#29231f!important;box-shadow:none!important}
body.woocommerce-checkout.mt3d-product-page .wd-table-wrapper{padding:0!important}
body.woocommerce-checkout.mt3d-product-page form.checkout :is(h2,h3,h4,th,label,p,td){color:#29231f!important;text-shadow:none!important}
body.woocommerce-checkout.mt3d-product-page form.checkout :is(h2,h3,h4){font-size:21px;line-height:1.4;text-transform:none;letter-spacing:0;margin-bottom:20px}
body.woocommerce-checkout.mt3d-product-page :is(#order_payment_heading,#order_review_heading){color:#29231f!important;text-shadow:none!important;filter:none!important;animation:none!important}
body.woocommerce-checkout.mt3d-product-page form.checkout .form-row{margin-bottom:18px}
body.woocommerce-checkout.mt3d-product-page form.checkout label{font-size:14px;line-height:1.6;font-weight:600}
body.woocommerce-checkout.mt3d-product-page :is(form.checkout,form.checkout_coupon) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),select,textarea),body.woocommerce-checkout.mt3d-product-page .select2-container--default .select2-selection--single{background:#fff!important;color:#29231f!important;border:1px solid #d8ccc3!important;border-radius:12px!important;box-shadow:none!important;min-height:46px}
body.woocommerce-checkout.mt3d-product-page form.checkout textarea{min-height:110px!important;padding:12px}
body.woocommerce-checkout.mt3d-product-page :is(input,textarea)::placeholder{color:#7b7069!important}
body.woocommerce-checkout.mt3d-product-page :is(input,select,textarea,button,a):focus-visible{outline:2px solid #b83500!important;outline-offset:3px}
body.woocommerce-checkout.mt3d-product-page :is(input[type=radio],input[type=checkbox]){accent-color:#b83500;width:18px;height:18px;vertical-align:middle}
body.woocommerce-checkout.mt3d-product-page #payment ul.payment_methods{background:transparent!important;padding:0!important;border:0!important}
body.woocommerce-checkout.mt3d-product-page #payment .wc_payment_method{background:#fffaf6!important;border:1px solid #ede3db!important;border-radius:12px;padding:16px!important;margin:0 0 12px!important;color:#29231f!important}
body.woocommerce-checkout.mt3d-product-page #payment .wc_payment_method:has(input:checked){border-color:#b83500!important;background:#fff0e6!important}
body.woocommerce-checkout.mt3d-product-page #payment .payment_box{background:#fff!important;color:#51473f!important;border:1px solid #ede3db;border-radius:10px;box-shadow:none!important;padding:14px!important;margin-top:12px!important;line-height:1.7}
body.woocommerce-checkout.mt3d-product-page #payment .payment_box::before{display:none!important}
body.woocommerce-checkout.mt3d-product-page :is(.woocommerce-info,.woocommerce-message){background:#fff0e6!important;color:#29231f!important;border:1px solid #ede3db!important;border-radius:12px;padding:18px 22px!important;box-shadow:none!important}
body.woocommerce-checkout.mt3d-product-page :is(.woocommerce-info,.woocommerce-message)::before{color:#b83500!important}
body.woocommerce-checkout.mt3d-product-page .woocommerce-error{background:#fff4f2!important;color:#922c23!important;border:1px solid #d99891!important;border-radius:12px}
body.woocommerce-checkout.mt3d-product-page .main-page-wrapper a:not(.button){color:#a63300!important}
body.woocommerce-checkout.mt3d-product-page :is(.showcoupon,.showlogin){color:#a63300!important;text-decoration:underline}
body.woocommerce-checkout.mt3d-product-page .shop_table :is(th,td){border-color:#ede3db!important;background:transparent!important;vertical-align:top;padding-block:15px}
body.woocommerce-checkout.mt3d-product-page .shop_table .order-total{background:#fff0e6!important}
body.woocommerce-checkout.mt3d-product-page .shop_table .order-total .amount{color:#a63300!important;font-size:23px}
body.woocommerce-checkout.mt3d-product-page .woocommerce-terms-and-conditions-wrapper{line-height:1.7}
body.woocommerce-checkout.mt3d-product-page :is(#place_order,form.checkout_coupon button,.woocommerce-button){background:#ff4e00!important;border:1px solid #ff4e00!important;color:#fff!important;border-radius:12px!important;text-shadow:none!important;box-shadow:none!important;font-weight:700;min-height:50px}
body.woocommerce-checkout.mt3d-product-page #place_order{width:100%;font-size:17px;margin-top:18px}
body.woocommerce-checkout.mt3d-product-page :is(#place_order,form.checkout_coupon button,.woocommerce-button):hover{background:#b83500!important;border-color:#b83500!important}
body.woocommerce-checkout.mt3d-product-page :is(#place_order,form.checkout_coupon button):disabled{opacity:.55;cursor:not-allowed}
@media(max-width:767px){body.woocommerce-checkout.mt3d-product-page :is(#customer_details,.checkout-order-review){padding:18px;border-radius:16px;width:100%;float:none;margin-bottom:20px}body.woocommerce-checkout.mt3d-product-page form.checkout :is(.form-row-first,.form-row-last){width:100%;float:none}body.woocommerce-checkout.mt3d-product-page .shop_table :is(th,td){padding-inline:8px;overflow-wrap:anywhere}body.woocommerce-checkout.mt3d-product-page .shop_table .product-name{width:65%}body.woocommerce-checkout.mt3d-product-page .page-title{padding-block:20px!important}}
