/* MISTPARF V4: scoped presentation, legacy theme still handles transactions. */
body.mpv4{--mp-ink:#28231f;--mp-muted:#645b51;--mp-line:#e4d9cc;--mp-fog:#f6f1e9;--mp-paper:#fdfbf8;--mp-gold:#785533;--mp-dark:#232323;--mp-serif:Georgia,"Noto Serif TC","Songti TC","PMingLiU",serif;--mp-sans:system-ui,-apple-system,BlinkMacSystemFont,"Noto Sans TC","Microsoft JhengHei",sans-serif}
body.mpv4 .website-wrapper>header.whb-header,body.mpv4 .website-wrapper>.whb-clone,body.mpv4 .website-wrapper>.footer-container,body.mpv4 .website-wrapper>.wd-prefooter,body.mpv4 .wd-promo-popup,body.mpv4 .wd-toolbar{display:none!important}
.mpv4 [hidden].mpv4-hero-controls,.mpv4 [hidden].mpv4-hero-frame,.mpv4 [hidden].mpv4-copy-fallback,.mpv4 .mpv4-share button[hidden],.mpv4 .mpv4-hero-controls button span[hidden]{display:none!important}
.mpv4-header-shell,.mpv4-ribbon,.mpv4-footer,.mpv4-home,.mpv4-service,.mpv4-product-details,.mpv4-purchase-info,.mpv4-share{font-family:var(--mp-sans)}
.mpv4 :is(.mpv4-header-shell,.mpv4-footer,.mpv4-home,.mpv4-service,.mpv4-product-details,.mpv4-purchase-info,.mpv4-share) :is(a,button,summary,input):focus-visible{outline:2px solid #946b42;outline-offset:3px}
.mpv4-header-shell{position:sticky;top:0;z-index:450;background:#fffdf9;color:var(--mp-ink);box-shadow:0 1px 0 #49352220;transition:transform .22s ease}
body.admin-bar .mpv4-header-shell{top:32px}
.mpv4-header-shell[data-scroll="down"]:not(:focus-within){transform:translateY(calc(-100% - 2px))}
.mpv4-header-row{max-width:1380px;margin:auto;min-height:65px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:24px;padding:0 clamp(16px,3.3vw,45px);position:relative}
.mpv4-brand{color:var(--mp-ink);font:500 clamp(21px,2.1vw,31px)/1 Georgia,serif;letter-spacing:.15em;text-decoration:none;white-space:nowrap;justify-self:start}
.mpv4-brand:is(:hover,:focus){color:var(--mp-gold)}
.mpv4-primary,.mpv4-tools{display:flex;align-items:center;gap:clamp(12px,2vw,29px)}
.mpv4-tools{justify-content:flex-end;gap:5px}
.mpv4-primary a,.mpv4-mobile-panel a{color:var(--mp-ink);font-size:14px;font-weight:550;white-space:nowrap;text-decoration:none}
.mpv4-primary a:is(:hover,[aria-current]),.mpv4-mobile-panel a:is(:hover,[aria-current]){text-decoration:underline;text-decoration-color:var(--mp-gold);text-underline-offset:.45em}
.mpv4-tools .mpv4-tool,.mpv4-mobile-menu>.mpv4-tool{display:inline-flex;align-items:center;justify-content:center;position:relative;width:41px;height:44px;min-height:44px;color:var(--mp-ink);border-radius:8px;cursor:pointer;text-decoration:none;list-style:none}
.mpv4-tool:hover{background:var(--mp-fog)}
.mpv4-tool svg,.mpv4-share svg,.mpv4-assurance svg,.mpv4-hero-controls svg{width:21px;height:21px;flex:none}
.mpv4-tool::-webkit-details-marker{display:none}
.mpv4-tool::marker{content:""}
.mpv4-tools details,.mpv4-mobile-menu{margin:0}
.mpv4-tip{position:absolute;z-index:4;right:0;top:100%;background:#26221d;color:#fff;border-radius:4px;padding:5px 8px;font:500 12px/1.5 var(--mp-sans);opacity:0;visibility:hidden;pointer-events:none;white-space:nowrap}
.mpv4-tool:is(:hover,:focus-visible)>.mpv4-tip,.mpv4-share :is(a,button):is(:hover,:focus-visible)>.mpv4-tip{opacity:1;visibility:visible}
.mpv4-ribbon{text-align:center;font-size:13px;line-height:1.55;padding:8px 13px;background:#eee4d7;color:#493629}
.mpv4-ribbon a{color:inherit;text-decoration:underline;text-underline-offset:3px;font-weight:650;margin-left:.55em;display:inline-block}
.mpv4-skip:not(:focus),.mpv4-sr{border:0!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;height:1px!important;width:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important}
.mpv4-skip:focus{position:absolute;left:12px;top:8px;z-index:8;padding:10px 16px;background:#fff;color:#25211d}
.mpv4-search-panel,.mpv4-mobile-panel{position:absolute;z-index:3;right:clamp(14px,3.3vw,45px);top:100%;width:min(360px,calc(100vw - 28px));padding:17px;background:#fffdf9;color:var(--mp-ink);border:1px solid var(--mp-line);box-shadow:0 14px 30px #3024161c;border-radius:0 0 10px 10px}
.mpv4-search-panel label{font-weight:650;display:block;margin-bottom:7px}
.mpv4-search-fields{display:flex;gap:7px}
.mpv4-search-fields input{width:100%;min-width:0;border-radius:5px}
.mpv4-search-fields button{min-height:44px;background:#29211c;color:#fff;flex:none;border-radius:5px;text-transform:none}
.mpv4-mobile-menu{display:none}
.mpv4-footer{background:var(--mp-dark);color:#eee8df;width:100%}
.mpv4-footer :is(h2,h3,p,a){color:inherit;margin:0}
.mpv4-footer a{text-decoration:none}
.mpv4-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.mpv4-footer-inner{max-width:1380px;margin:auto;padding:clamp(34px,5vw,66px) clamp(21px,4vw,58px) 22px}
.mpv4-footer-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.83fr) minmax(0,1fr);gap:clamp(22px,5vw,78px);padding-bottom:34px}
.mpv4-footer h2{font:400 28px Georgia,serif;letter-spacing:.16em;margin:0 0 13px}
.mpv4-footer h3{font-weight:650;font-size:18px;line-height:1.5;margin:0 0 11px}
.mpv4-footer p,.mpv4-footer li{font-size:16px;line-height:1.7}
.mpv4-footer-main ul{padding:0;margin:0;list-style:none;display:grid;gap:7px}
.mpv4-footer-meta{padding-top:18px;border-top:1px solid #4d4945;display:flex;flex-wrap:wrap;justify-content:space-between;gap:11px;color:#ded4c8}
.mpv4-footer-meta p{font-size:14px}
@media(max-width:782px){body.admin-bar .mpv4-header-shell{top:46px}}
@media(max-width:740px){
 .mpv4-header-row{grid-template-columns:auto minmax(0,1fr) auto;min-height:57px;gap:6px;padding-inline:11px}
 .mpv4-brand{font-size:clamp(17px,5.1vw,22px);letter-spacing:.095em}
 .mpv4-primary{display:none}
 .mpv4-mobile-menu{display:block}
 .mpv4-mobile-menu>.mpv4-tool,.mpv4-tools .mpv4-tool{width:36px}
 .mpv4-mobile-panel{left:12px;right:auto;display:grid;gap:3px}
 .mpv4-mobile-panel a{padding:10px;display:block}
 .mpv4-tools{gap:0}
 .mpv4-tool svg{width:19px;height:19px}
 .mpv4-footer-main{grid-template-columns:1fr 1fr;gap:21px 14px}
 .mpv4-footer-brand{grid-column:1/-1}
 .mpv4-footer-meta{display:grid;gap:5px}
}
@media(max-width:599px){body.admin-bar .mpv4-header-shell{top:0}}
@media(prefers-reduced-motion:reduce){.mpv4-header-shell{transition:none}}
