/* November refinements: responsive photography, catalog feedback and readable wide screens. */
.mtc-card-media>a{position:relative;padding:0!important}
.mtc-about-photo img{object-position:50% 20%}
.mtc-card-media img.mtc-card-main,.mtc-card-media img.mtc-card-secondary{position:absolute;inset:0;width:100%;height:100%;padding:20px;object-fit:contain;mix-blend-mode:normal;background:#f4f4f3;transition:opacity .2s ease,transform .2s ease}
.mtc-product-card:hover .mtc-card-secondary{opacity:0}
@media(hover:hover) and (pointer:fine){.mtc-product-card.is-gallery-ready:hover .mtc-card-main{opacity:0;transform:none}.mtc-product-card.is-gallery-ready:hover .mtc-card-secondary{opacity:1;transform:none}}
@media(max-width:767px){.mtc-card-media img.mtc-card-main,.mtc-card-media img.mtc-card-secondary{padding:10px}}
.mtc-native-container{display:flex;flex-direction:column;min-width:0;gap:0}
.mtc-native-layout>.mtc-native-container{width:100%}
.mtc-native-layout .elementor-widget{min-width:0;max-width:100%;margin:0}
.mtc-live-search{border-top:1px solid var(--line);margin-top:10px;padding-top:16px}
.mtc-search-status{font-size:13px;color:var(--muted);margin-bottom:12px!important;line-height:1.6}
.mtc-search-results{max-height:42dvh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.mtc-search-product{display:flex;align-items:center;gap:16px;border:1px solid transparent;border-bottom-color:var(--line);padding:12px 10px;border-radius:5px}
.mtc-search-product:hover,.mtc-search-product[aria-selected=true]{border-color:var(--accent);background:var(--surface-2)}
.mtc-search-product>img{width:56px;height:64px;object-fit:contain;background:#fff;border-radius:4px;flex:none}
.mtc-search-product>span{min-width:0;display:flex;flex-wrap:wrap;column-gap:16px;row-gap:3px}
.mtc-search-product strong{font-size:15px;line-height:1.5;font-weight:600;display:block;width:100%;color:var(--fg)}
.mtc-search-product small{font-size:12px;line-height:1.5;color:var(--muted)}
.mtc-search-category{font-size:12px;line-height:1.5;color:var(--accent)}
.mtc-search-all{margin-top:14px;font-size:14px}
.mtc-search-retry{border:0;background:none;color:var(--accent)!important;font-size:14px;padding:10px 0}
.mtc-search-dialog.has-suggestions .mtc-search-categories{display:none}
.mtc-site .mtc-search-dialog.has-suggestions{width:760px}
.mtc-search-dialog .mtc-search-form input{min-width:0}
@media(min-width:1600px){.mtc-search-product strong{font-size:17px}.mtc-search-status,.mtc-search-all{font-size:15px}.mtc-search-product small,.mtc-search-category{font-size:14px}}
@media(max-width:767px){.mtc-search-product{gap:12px;padding:10px 5px}.mtc-search-product strong{font-size:13px}.mtc-search-product small,.mtc-search-category{font-size:11px}.mtc-search-results{max-height:42dvh}.mtc-search-status{font-size:12px}.mtc-search-dialog .mtc-search-form{gap:6px}.mtc-search-dialog .mtc-search-form .mtc-button{padding:13px}.mtc-search-product>img{width:45px;height:55px}}
.mtc-gallery-main{overflow:hidden}
.mtc-gallery-main>img{transform-origin:var(--zoom-x,50%) var(--zoom-y,50%);transition:transform .2s ease}
@media(hover:hover) and (pointer:fine){.mtc-gallery-main.is-zoomed>img{transform:scale(2.2)}.mtc-gallery-main.is-zoomed>span{opacity:0}.mtc-card-media>a{overflow:hidden}.mtc-product-card:hover .mtc-card-main{transform:scale(1.07)}}
.mtc-hero-visual{border-top-left-radius:36px}
.mtc-hero-visual>img{object-position:50% 30%;opacity:1}
.mtc-category-card>img{object-position:50% 35%}
.mtc-category-card::after{background:linear-gradient(0deg,rgba(4,8,14,.9),rgba(4,8,14,.05) 65%)}
#mtc-catalog-view{position:relative;min-height:400px;outline:0}
#mtc-catalog-view[aria-busy=true] .mtc-catalog-results{opacity:.45;transition:opacity .15s}
.mtc-catalog-status{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:12px 20px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--fg);box-shadow:var(--shadow);font-size:14px;max-width:calc(100vw - 40px);z-index:100;opacity:0;pointer-events:none;transition:opacity .15s}
.mtc-catalog-status.visible{opacity:1}
.mtc-catalog-error{padding:20px;margin-block:24px;border:1px solid #b06b5d;border-radius:6px;background:var(--surface);font-size:15px}
.mtc-catalog-error button,.mtc-catalog-error a{margin-left:14px;color:var(--accent);text-decoration:underline;background:none;border:0;padding:5px}
@media(min-width:1600px){
 body.mtc-site{font-size:18px}
 .mtc-site h2,.mtc-site .elementor-widget-heading h2.elementor-heading-title{font-size:64px}
 .mtc-site h3{font-size:28px}
 .mtc-eyebrow{font-size:13px}
 .mtc-nav{font-size:16px;gap:30px}
 .mtc-topline{font-size:11px}
 .mtc-header-inner{height:88px}
 .mtc-header-quote{font-size:14px}
 .mtc-site .mtc-button{font-size:16px;min-height:56px;padding:16px 24px}
 .mtc-text-link{font-size:16px}
 .mtc-hero-copy>p{font-size:20px;max-width:540px}
 .mtc-hero-spec span,.mtc-hero-bottom,.mtc-hero-bottom a{font-size:12px}
 .mtc-visual-caption{font-size:11px}
 .mtc-glass-tag span{font-size:13px}
 .mtc-glass-tag strong{font-size:18px}
 .mtc-proof,.mtc-proof p{font-size:16px}
 .mtc-section-heading p,.mtc-site .mtc-editorial-lead p,.mtc-site .mtc-page-hero .mtc-editorial-lead p{font-size:18px;max-width:640px}
 .mtc-category-caption h3{font-size:34px}
 .mtc-category-caption>span>span{font-size:14px}
 .mtc-category-index{font-size:11px}
 .mtc-card-info h3{font-size:18px;min-height:54px;line-height:1.5}
 .mtc-card-category{font-size:13px}
 .mtc-sku,.mtc-card-info .mtc-sku{font-size:13px}
 .mtc-card-quote{font-size:15px!important;min-height:48px}
 .mtc-quick-button{font-size:14px}
 .mtc-service-item h3{font-size:28px}
 .mtc-service-item p,.mtc-services-full .mtc-service-item p,.mtc-process-content>div,.mtc-about-copy>p,.mtc-cta-bottom p{font-size:18px}
 .mtc-service-number{font-size:13px}
 .mtc-process-step summary{font-size:20px}
 .mtc-process-content figcaption{font-size:11px}
 .mtc-footer-grid>div>a:not(.mtc-logo),.mtc-footer ul a,.mtc-footer-contact p{font-size:16px}
 .mtc-footer h2{font-size:18px}
 .mtc-footer-base{font-size:13px}
 .mtc-breadcrumbs{font-size:14px}
 .mtc-archive-hero p{font-size:18px;max-width:660px}
 .mtc-category-chips a{font-size:15px;padding:11px 16px}
 .mtc-category-chips a span{font-size:12px}
 .mtc-results-bar{font-size:15px}
 .mtc-results-bar>span{font-size:12px}
 .mtc-catalog-layout{grid-template-columns:240px 1fr;gap:50px}
 .mtc-filters summary{font-size:16px}
 .mtc-filter-help p{font-size:16px}
 .mtc-reset{font-size:14px}
 .mtc-site label{font-size:15px}
 .mtc-site input:not([type=checkbox]),.mtc-site select,.mtc-site textarea{font-size:16px}
 .mtc-pagination a,.mtc-pagination span{font-size:15px;min-width:42px;height:42px}
 .mtc-single-info h1{font-size:52px}
 .mtc-product-short-description,.mtc-rich-text,.mtc-product-detail p,.mtc-private-label-note p{font-size:18px}
 .mtc-product-note span{font-size:14px}
 .mtc-product-detail h2{font-size:38px}
 .mtc-gallery-main>span{font-size:13px}
 .mtc-contact-line,.mtc-contact-line a,.mtc-contact-line p{font-size:17px}
 .mtc-contact-line h3{font-size:16px}
 .mtc-contact-line a.mtc-text-link{font-size:15px}
 .mtc-form-heading h2{font-size:42px}
 .mtc-form-heading p,.mtc-form-note,.mtc-upload small{font-size:14px}
 .mtc-consent{font-size:14px!important}
 .mtc-site label .optional{font-size:12px}
 .mtc-site .mtc-upload input{font-size:15px}
 .mtc-inquiry-summary>h2{font-size:34px}
 .mtc-summary-help p,.mtc-summary-help a{font-size:15px}
 .mtc-faq-list summary{font-size:22px}
 .mtc-faq-list details>div,.mtc-rich-page p,.mtc-rich-page li{font-size:18px}
 .mtc-mega-panel{grid-template-columns:250px 1fr}
 .mtc-mega-panel h2{font-size:34px}
 .mtc-mega-columns a{font-size:14px}
 .mtc-mega-columns a.mtc-mega-parent{font-size:17px}
 .mtc-site dialog.mtc-drawer{width:520px}
 .mtc-dialog-header h2{font-size:36px}
 .mtc-dialog-header .mtc-eyebrow{font-size:11px}
 .mtc-quote-item h3{font-size:16px}
 .mtc-quote-item .mtc-sku{font-size:12px}
 .mtc-quote-item-controls label,.mtc-quote-item>label{font-size:13px}
 .mtc-remove{font-size:13px!important}
 .mtc-site .mtc-quote-item textarea,.mtc-drawer-footer p,.mtc-drawer-footer>.mtc-text-link,.mtc-empty-list{font-size:15px}
 .mtc-floating-quote{font-size:14px!important}
 .mtc-toast{font-size:15px}
 .mtc-quick-layout h2{font-size:38px}
 .mtc-quick-layout .mtc-rich-text,.mtc-quick-layout .mtc-text-link{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.mtc-gallery-main>img,.mtc-catalog-status{transition:none}}

/* Device theme is the default; customers can keep a manual preference. */
.mtc-theme-control{position:relative;flex-shrink:0}
.mtc-theme-toggle{list-style:none;cursor:pointer}
.mtc-theme-toggle::-webkit-details-marker{display:none}
.mtc-theme-toggle .sun{display:inline-flex}
.mtc-theme-toggle .moon,[data-theme=dark] .mtc-theme-toggle .sun{display:none}
[data-theme=dark] .mtc-theme-toggle .moon{display:inline-flex}
.mtc-theme-control[open]>.mtc-theme-toggle{background:var(--surface-2)}
.mtc-theme-panel{position:absolute;top:calc(100% + 12px);right:0;width:220px;padding:10px;background:var(--surface);color:var(--fg);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);z-index:2}
.mtc-theme-heading{display:block;padding:8px 10px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.04em}
.mtc-theme-panel button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:44px;padding:10px;border:0;border-radius:5px;background:transparent;color:var(--fg);font:inherit;font-size:14px;text-align:left}
.mtc-theme-panel button:hover,.mtc-theme-panel button[aria-pressed=true]{background:var(--surface-2)}
.mtc-theme-panel button svg{flex-shrink:0;visibility:hidden;color:var(--accent)}
.mtc-theme-panel button[aria-pressed=true] svg{visibility:visible}

/* Mastermind logo palette — orange-gold, warm neutrals, and true black. */
:root{
 --brand-gold:#ffa600;--bg:#fffdf8;--surface:#ffffff;--surface-2:#f5f0e6;
 --fg:#171717;--muted:#625c52;--line:#e2d9ca;--accent:#995c00;
 --accent-button:var(--brand-gold);--button-text:#17120a;
 --glass:rgba(255,253,248,.96);--shadow:0 12px 50px #2116000a;
 --control-border:#8b8172;
}
:root[data-theme=dark]{
 --bg:#000000;--surface:#0c0c0c;--surface-2:#171717;
 --fg:#f5f5f5;--muted:#bdb7ac;--line:#37332d;--accent:#ffa600;
 --accent-button:var(--brand-gold);--button-text:#17120a;
 --glass:rgba(9,9,9,.96);--shadow:0 12px 50px #0006;
 --control-border:#81796e;
}
body.mtc-site{
 --e-global-color-primary:var(--accent);--e-global-color-secondary:var(--fg);
 --e-global-color-text:var(--fg);--e-global-color-accent:var(--accent);
 background:var(--bg);color:var(--fg);
}
body.mtc-site :is(h1,h2,h3,h4,.elementor-heading-title){color:var(--fg)!important}
body.mtc-site .mtca-headline-accent{color:var(--fg)!important}
body.mtc-site .mtc-category-caption h3{color:#fff!important}
body.mtc-site .mtc-button:not(.secondary){background:var(--brand-gold);border-color:var(--brand-gold);color:var(--button-text)!important}
body.mtc-site .mtc-button.secondary{background:transparent;border-color:var(--accent);color:var(--accent)!important}
body.mtc-site .mtc-button.secondary:hover{background:color-mix(in srgb,var(--accent) 10%,var(--surface))}
body.mtc-site .mtc-header-quote,body.mtc-site .mtc-header-quote:hover{background:var(--brand-gold);border-color:var(--brand-gold);color:var(--button-text)!important}
body.mtc-site .mtc-quick-button{background:var(--surface);color:var(--accent)!important;border-color:var(--line)}
body.mtc-site .mtc-gallery-main>span{background:var(--surface);color:var(--accent)}
body.mtc-site .mtc-lightbox>.mtc-icon-button{background:var(--surface);color:var(--accent)}
body.mtc-site .mtc-hero-visual,body.mtc-site .mtc-category-card{background:#0c0c0c}
body.mtc-site .mtc-hero-visual::after{background:linear-gradient(0deg,#000d,transparent 30%)}
body.mtc-site .mtc-visual-caption{color:#f1e9db}
body.mtc-site .mtc-glass-tag{background:#0c0c0ccc;border-color:#ffffff40;color:#d0c7b7}
body.mtc-site .mtc-glass-tag svg{color:var(--brand-gold)}
body.mtc-site .mtc-category-card::after{background:linear-gradient(0deg,#000e,rgba(0,0,0,.05) 65%)}
body.mtc-site .mtc-category-index{background:#000c;color:#fff}
body.mtc-site .mtc-category-caption>span>span{color:#f1e9db}
body.mtc-site .mtc-about-photo>span{background:linear-gradient(0deg,#000c,transparent)}
body.mtc-site dialog::backdrop{background:#000b}
body.mtc-site.page-id-14 .mtca-hero-photo:after{background:linear-gradient(transparent,rgba(0,0,0,.85))}
body.mtc-site.page-id-14 .mtca-photo-label{background:rgba(0,0,0,.75)}
body.mtc-site.page-id-14 .mtca-craft-photo figcaption{background:rgba(0,0,0,.75)}
body.mtc-site.page-id-14 .mtca-hero-photo figcaption small{color:#f1e9db}
body.mtc-site ::selection{background:var(--brand-gold);color:#17120a}
