/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Makerpax shared palette · 2026-10-10. UI only; product images and keyboard materials retain their colors. */
:root {
  --mpx-orange-50: #FDE9E1;
  --mpx-orange-500: #F26432;
  --mpx-orange-600: #D9531E;
  --mpx-orange-700: #F26432;
  --mpx-ink: #17191F;
  --mpx-gray-700: #343A44;
  --mpx-gray-500: #626B78;
  --mpx-gray-300: #CBD1DA;
  --mpx-gray-100: #EEF1F4;
  --mpx-white: #FFFFFF;
  --mpx-bg: #FAFBFC;
  --mpx-success: #1F9D55;
  --mpx-danger: #D93B3B;
  --mpx-star: #F5B301;
  --mpx-orange-50-rgb: 253,233,225;
  --mpx-orange-500-rgb: 242,100,50;
  --mpx-orange-600-rgb: 217,83,30;
  --mpx-orange-700-rgb: 188,75,34;
  --mpx-ink-rgb: 23,25,31;
  --mpx-gray-700-rgb: 52,58,68;
  --mpx-gray-500-rgb: 98,107,120;
  --mpx-gray-300-rgb: 203,209,218;
  --mpx-gray-100-rgb: 238,241,244;
  --mpx-white-rgb: 255,255,255;
  --mpx-bg-rgb: 250,251,252;
  --mpx-success-rgb: 31,157,85;
  --mpx-danger-rgb: 217,59,59;
  --mpx-star-rgb: 245,179,1;
}

/* Palette roles. Only color, borders, shadows and the requested primary CTA text minimums. */
html body.makerpax-white {
  --wd-primary-color: var(--mpx-orange-500);
  --wd-alternative-color: var(--mpx-orange-700);
  --wd-text-color: var(--mpx-ink);
  --wd-title-color: var(--mpx-ink);
  --wd-link-color: var(--mpx-orange-700);
  --wd-link-color-hover: var(--mpx-orange-600);
  --wd-entities-title-color: var(--mpx-ink);
  --wd-entities-title-color-hover: var(--mpx-orange-700);
  --wd-widget-title-color: var(--mpx-ink);
  --wd-main-bgcolor: var(--mpx-white);
  --wd-form-bg: var(--mpx-white);
  --wd-form-color: var(--mpx-ink);
  --wd-form-placeholder-color: var(--mpx-gray-500);
  --wd-form-brd-color: var(--mpx-gray-300);
  --btn-accented-bgcolor: var(--mpx-orange-500);
  --btn-accented-bgcolor-hover: var(--mpx-orange-600);
  --btn-accented-color: var(--mpx-white);
  --btn-accented-color-hover: var(--mpx-white);
  --notices-success-bg: var(--mpx-success);
  --notices-success-color: var(--mpx-white);
  --notices-warning-bg: var(--mpx-danger);
  --notices-warning-color: var(--mpx-white);
  color: var(--mpx-ink);
  background-color: var(--mpx-white);
}
html body.makerpax-white .mpx-premium-home { --mpxp-ink:var(--mpx-ink);--mpxp-muted:var(--mpx-gray-500);--mpxp-line:var(--mpx-gray-100);--mpxp-accent:var(--mpx-orange-500); }
html body.makerpax-white .mpx-premium-home .mpxp-hero h1 span { color:var(--mpx-orange-500)!important; }
html body.makerpax-white :is(.mpxp-button-light,.mpxp-custom-button,.checkout-button,#place_order,.single_add_to_cart_button,.woocommerce-form-login__submit,.woocommerce-form-register__submit,.wpcf7-submit,.mpx-delivery-submit,.mpx-cart-actions .button,.btn-accent) {
  background-color:var(--mpx-orange-500)!important;background-image:none!important;border-color:var(--mpx-orange-500)!important;color:var(--mpx-white)!important;font-size:15px!important;font-weight:700!important;
}
html body.makerpax-white :is(.mpxp-button-light,.mpxp-custom-button,.checkout-button,#place_order,.single_add_to_cart_button,.woocommerce-form-login__submit,.woocommerce-form-register__submit,.wpcf7-submit,.mpx-delivery-submit,.mpx-cart-actions .button,.btn-accent):is(:hover,:focus-visible) {background-color:var(--mpx-orange-600)!important;border-color:var(--mpx-orange-600)!important;color:var(--mpx-white)!important;}
html body.makerpax-white :is(.mpxp-button-light,.mpxp-custom-button,.checkout-button,#place_order,.single_add_to_cart_button,.btn-accent) :is(span,svg){color:var(--mpx-white)!important;}
html body.makerpax-white .products .wd-product :is(.wd-add-btn,.wd-product-card-static) .button,
html body.makerpax-white .products .wd-product .button.add-to-cart-loop,
html body.makerpax-white .products .product .button.add_to_cart_button {
  background:transparent!important;border:1px solid var(--mpx-orange-500)!important;color:var(--mpx-orange-700)!important;box-shadow:none!important;
}
html body.makerpax-white .products .wd-product :is(.wd-add-btn,.wd-product-card-static) .button:is(:hover,:focus-visible),
html body.makerpax-white .products .wd-product .button.add-to-cart-loop:is(:hover,:focus-visible),
html body.makerpax-white .products .product .button.add_to_cart_button:is(:hover,:focus-visible) {background:var(--mpx-orange-500)!important;border-color:var(--mpx-orange-500)!important;color:var(--mpx-white)!important;}
html body.makerpax-white .products .wd-product .button :is(span,svg){color:inherit!important;}
html body.makerpax-white :is(.product-label.onsale,.product-label.new,.product-label.featured,.mpx-set-badge,.ck-count-pill,.ck-chip,.ck-mobile-discount) {background:var(--mpx-orange-50)!important;border-color:var(--mpx-orange-50)!important;color:var(--mpx-orange-700)!important;}
html body.makerpax-white .price {color:var(--mpx-ink)!important;}
html body.makerpax-white .price ins,html body.makerpax-white :is(.ck-quote-discount dt,.ck-quote-discount dd) {color:var(--mpx-orange-700)!important;}
html body.makerpax-white :is(.mpx-nav>a[aria-current=page],.mpx-nav>a.mpx-custom-nav,.mpx-catalog-nav a[aria-current=page],.mpx-mobile-expand,.mpx-mobile-all,.mpx-mobile-top,.mpx-search-result span) {color:var(--mpx-orange-700)!important;}
html body.makerpax-white .mpx-header .mpx-cart-count {background:var(--mpx-orange-500)!important;color:var(--mpx-white)!important;}
html body.makerpax-white .mpx-nav>a.mpx-custom-nav {background:var(--mpx-orange-50)!important;border-color:var(--mpx-orange-500)!important;}
html body.makerpax-white #mpx-mobile-drawer .mpx-mobile-custom {background:var(--mpx-orange-500)!important;border-color:var(--mpx-orange-500)!important;color:var(--mpx-white)!important;}
html body.makerpax-white #mpx-mobile-drawer .mpx-mobile-custom:is(:hover,:focus-visible) {background:var(--mpx-orange-600)!important;color:var(--mpx-white)!important;}
html body.makerpax-white .mpx-premium-home :is(.mpxp-gamer-feature,.mpxp-story),
html body.makerpax-white .mpx-ck :is(.ck-mobile-bar,.ck-discount-hint) {background:var(--mpx-ink)!important;color:var(--mpx-white)!important;border-color:var(--mpx-gray-700)!important;}
html body.makerpax-white .mpx-premium-home :is(.mpxp-gamer-feature,.mpxp-story) :is(h2,h3,strong),
html body.makerpax-white .mpx-ck .ck-mobile-bar strong {color:var(--mpx-white)!important;}
html body.makerpax-white .mpx-premium-home :is(.mpxp-gamer-feature,.mpxp-story) :is(p,.mpxp-label,.mpxp-eyebrow),
html body.makerpax-white .mpx-ck :is(.ck-mobile-meta,.ck-discount-copy>span) {color:var(--mpx-gray-300)!important;}
html body.makerpax-white .mpx-premium-home :is(.mpxp-gamer-feature,.mpxp-story) :is(h2 span,.mpxp-eyebrow>span),
html body.makerpax-white .mpx-ck .ck-discount-badge {color:var(--mpx-orange-500)!important;}
html body.makerpax-white .mpx-premium-home .mpxp-gamer-feature .mpxp-button-light {color:var(--mpx-white)!important;}
html body.makerpax-white :is(.star-rating,.stars a,.wd-star-rating,.mpx-rating-stars) {color:var(--mpx-star)!important;}
html body.makerpax-white :is(.stock.in-stock,.ck-after h2,.ck-success-mark) {color:var(--mpx-success)!important;}
html body.makerpax-white :is(.stock.out-of-stock,.woocommerce-invalid label,.ck-field-error,.ck-feedback.is-error) {color:var(--mpx-danger)!important;}
html body.makerpax-white .woocommerce-message {background:var(--mpx-success)!important;color:var(--mpx-white)!important;}
html body.makerpax-white .woocommerce-error {background:var(--mpx-danger)!important;color:var(--mpx-white)!important;}
html body.makerpax-white .woocommerce-info {background:var(--mpx-bg)!important;color:var(--mpx-ink)!important;border-color:var(--mpx-gray-300)!important;}
html body.makerpax-white :is(.woocommerce-message,.woocommerce-error) a {color:var(--mpx-white)!important;}
html body.makerpax-white .mpx-ck {--ck-ink:var(--mpx-ink);--ck-muted:var(--mpx-gray-500);--ck-line:var(--mpx-gray-300);--ck-orange:var(--mpx-orange-500);--ck-surface:var(--mpx-bg);}
html body.makerpax-white .mpx-ck :is(.ck-chip,.ck-count-pill,.ck-layout.is-active,.ck-standard-choice.is-active) {background:var(--mpx-orange-50)!important;color:var(--mpx-orange-700)!important;border-color:var(--mpx-orange-500)!important;}
html body.makerpax-white .mpx-ck .ck-layout.is-active small {color:var(--mpx-orange-700)!important;}
html body.makerpax-white .mpx-ck :is(.ck-submit,.ck-mobile-bar button) {background:var(--mpx-orange-500)!important;border-color:var(--mpx-orange-500)!important;color:var(--mpx-white)!important;font-size:15px!important;font-weight:700!important;}
html body.makerpax-white .mpx-ck :is(.ck-submit,.ck-mobile-bar button):is(:hover,:focus-visible) {background:var(--mpx-orange-600)!important;border-color:var(--mpx-orange-600)!important;color:var(--mpx-white)!important;}
html body.makerpax-white .mpx-ck button:disabled,
html body.makerpax-white :is(#place_order,.single_add_to_cart_button):disabled {background:var(--mpx-gray-100)!important;border-color:var(--mpx-gray-300)!important;color:var(--mpx-gray-500)!important;opacity:1!important;}
html body.makerpax-white .mpx-ck .ck-discount-badge {background:var(--mpx-orange-50)!important;color:var(--mpx-orange-700)!important;}
html body.makerpax-white .mpx-ck .ck-discount-copy>strong {color:var(--mpx-white)!important;}

/* Quiet menu highlight: keep its pale surface and legible ink label. */
html body.makerpax-white .mpx-header .mpx-nav > a[href="/custom-keycap/"] {
  background:rgba(var(--mpx-orange-50-rgb),.45)!important;border-color:rgba(var(--mpx-orange-500-rgb),.38)!important;color:var(--mpx-ink)!important;
}
html body.makerpax-white .mpx-header .mpx-nav > a[href="/custom-keycap/"]:is(:hover,:focus-visible) {
  background:var(--mpx-orange-50)!important;border-color:var(--mpx-orange-500)!important;color:var(--mpx-ink)!important;
}
html body.makerpax-white .mpx-header .mpx-nav > a[href="/custom-keycap/"]::before {color:var(--mpx-orange-500)!important;}
html body.makerpax-white .mpx-ck .ck-selected-chip {background:var(--mpx-orange-50)!important;color:var(--mpx-orange-700)!important;border-color:var(--mpx-orange-500)!important;}
html body.makerpax-white .mpx-delivery-actions .mpx-primary {background:var(--mpx-orange-500)!important;color:var(--mpx-white)!important;border-color:var(--mpx-orange-500)!important;font-size:15px!important;font-weight:700!important;}
html body.makerpax-white .mpx-delivery-actions .mpx-primary:is(:hover,:focus-visible) {background:var(--mpx-orange-600)!important;color:var(--mpx-white)!important;border-color:var(--mpx-orange-600)!important;}
html body.makerpax-white .star-rating::before {color:var(--mpx-gray-300)!important;}
html body.makerpax-white .star-rating span::before {color:var(--mpx-star)!important;}
html body.makerpax-white .woocommerce-tabs .tabs li.active > a {background:var(--mpx-orange-500)!important;color:var(--mpx-white)!important;}

/* Narrow Custom Keycap banner. Live text remains selectable; artwork is decorative. */
html body.makerpax-white #mpx-custom-keycap > .ck-heading {
  position:relative;isolation:isolate;overflow:hidden;display:block;
  min-height:220px;padding:26px 30px;border:1px solid var(--mpx-gray-100);border-radius:10px;
  background:var(--mpx-bg);
}
html body.makerpax-white #mpx-custom-keycap > .ck-heading::before {
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background-image:linear-gradient(90deg,rgba(var(--mpx-bg-rgb),1) 0%,rgba(var(--mpx-bg-rgb),.96) 37%,rgba(var(--mpx-bg-rgb),.82) 52%,rgba(var(--mpx-bg-rgb),0) 72%),url("https://makerpax.com/wp-content/uploads/2026/10/makerpax-custom-keycap-banner-2026-10-10.webp");
  background-size:cover;background-position:center;
}
html body.makerpax-white #mpx-custom-keycap > .ck-heading > div:first-child {max-width:64%;}
html body.makerpax-white #mpx-custom-keycap > .ck-heading .ck-lead {max-width:680px;}
html body.makerpax-white #mpx-custom-keycap > .ck-heading > .ck-heading-note {
  display:inline-flex;max-width:64%;margin:17px 0 0;padding:9px 13px;
  background:rgba(var(--mpx-white-rgb),.90);border-color:var(--mpx-gray-300);
}
@media (max-width:1100px) {
  html body.makerpax-white #mpx-custom-keycap > .ck-heading > div:first-child {max-width:72%;}
}
@media (max-width:760px) {
  html body.makerpax-white #mpx-custom-keycap > .ck-heading {min-height:0;padding:20px 18px;}
  html body.makerpax-white #mpx-custom-keycap > .ck-heading::before {opacity:.16;background-position:68% center;}
  html body.makerpax-white #mpx-custom-keycap > .ck-heading > div:first-child {max-width:100%;}
  html body.makerpax-white #mpx-custom-keycap > .ck-heading > .ck-heading-note {max-width:100%;margin-top:14px;padding:8px 10px;gap:9px;}
}

/* Restore the former white footer and its existing dimensions on every page. */
html body.makerpax-white .mpx-footer {background:var(--mpx-white)!important;color:var(--mpx-gray-700)!important;border-color:var(--mpx-gray-300)!important;width:100%!important;max-width:1600px!important;margin-inline:auto!important;}
html body.makerpax-white .mpx-footer :is(strong,a) {color:var(--mpx-gray-700)!important;}
html body.makerpax-white .mpx-footer :is(.mpx-footer-bottom,.mpx-footer-top>span,.mpx-cookie-preferences) {color:var(--mpx-gray-500)!important;}
html body.makerpax-white .mpx-footer a:is(:hover,:focus-visible) {color:var(--mpx-orange-700)!important;}
html body.makerpax-white .mpx-footer .mpx-footer-bottom {border-color:var(--mpx-gray-100)!important;}
html body.makerpax-white .mpx-footer .mpx-payment-badges {display:flex!important;background:var(--mpx-white)!important;border-color:var(--mpx-gray-100)!important;color:var(--mpx-gray-700)!important;}
html body.makerpax-white .mpx-footer .mpx-payment-badges__label {color:var(--mpx-gray-700)!important;}
html body.makerpax-white .mpx-footer .mpx-payment-badges__note {color:var(--mpx-gray-500)!important;border-color:var(--mpx-gray-100)!important;}
