/* MEAT X 肉界 v1.1.0 */
:root{--mx-black:#0B0B0B;--mx-bone:#F7F4EE;--mx-stone:#6B6B6B;--mx-red:#8B1E1E}
body.mx-site{margin:0;background:var(--mx-bone);color:var(--mx-black);font-family:-apple-system,"PingFang TC","Microsoft JhengHei","Noto Sans TC",sans-serif;line-height:1.8}
body.mx-site h4,body.mx-site h5,body.mx-site h6{font-family:inherit}
body.mx-site h1,body.mx-site h2,body.mx-site h3{font-family:"Noto Serif TC","Playfair Display",serif;font-weight:700;letter-spacing:.04em;line-height:1.35}
/* 隱藏主題頁首頁尾（Woo 頁面） */
body.mx-woo header.wp-block-template-part,body.mx-woo footer.wp-block-template-part,body.mx-woo .site-header,body.mx-woo .site-footer,body.mx-woo #masthead,body.mx-woo #colophon{display:none!important}
.mx-notice{background:#1a1a1a;border-bottom:1px solid #2a2a2a;color:#fff;text-align:center;font-size:13px;letter-spacing:.08em;padding:6px 12px}
.mx-bar{position:sticky;top:0;z-index:1000;background:var(--mx-black);border-bottom:1px solid #222}
body.admin-bar .mx-bar{top:32px}
@media screen and (max-width:782px){body.admin-bar .mx-bar{top:46px}}
.mx-bar-in{max-width:1240px;margin:0 auto;height:72px;padding:0 28px;display:flex;align-items:center;gap:28px}
.mx-logo{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;white-space:nowrap}
.mx-logo img{height:40px;width:auto;display:block}
.mx-logo picture,.mx-img>picture,.mx-hero-in>picture{display:contents}
.mx-logo span{font-family:"Playfair Display","Noto Serif TC",serif;font-size:17px;letter-spacing:.22em}
.mx-logo i{font-style:normal;color:var(--mx-red)}
.mx-nav{flex:1}
.mx-nav ul{display:flex;justify-content:center;gap:36px;margin:0;padding:0;list-style:none}
.mx-nav a{color:#eee;text-decoration:none;font-size:15px;letter-spacing:.14em;padding:6px 0;border-bottom:2px solid transparent}
.mx-nav a:hover{color:#fff}
.mx-nav a[aria-current="page"]{border-color:var(--mx-red);color:#fff}
.mx-icons{display:flex;gap:12px;align-items:center}
.mx-icon{position:relative;width:38px;height:38px;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none}
.mx-icon svg{width:22px;height:22px}
.mx-count{position:absolute;top:0;right:-4px;background:var(--mx-red);color:#fff;font-size:11px;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;box-sizing:border-box}
.mx-burger{display:none;background:none;border:0;cursor:pointer;padding:8px}
.mx-burger span{display:block;width:22px;height:1.5px;background:#fff;margin:6px 0}
/* sections */
.mx-main{display:block}
.mx-section{padding:96px 0}
.mx-dark{background:var(--mx-black);color:#eee}.mx-dark h1,.mx-dark h2,.mx-dark h3{color:#fff}
.mx-bone{background:var(--mx-bone)}.mx-white{background:#fff}
.mx-wrap{max-width:1160px;margin:0 auto;padding:0 28px}.mx-narrow{max-width:760px}
.mx-center{text-align:center}.mx-muted{color:var(--mx-stone)}.mx-dark .mx-muted{color:#9a9a9a}.mx-small{font-size:.9rem}
.mx-title{text-align:center;font-size:1.9rem;margin:0 0 48px}
.mx-hero{position:relative;min-height:88vh;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.mx-hero-sm{min-height:0;padding:96px 0 72px}
.mx-hero-photo{position:absolute;inset:0;border-radius:0!important;background:linear-gradient(120deg,#151515,#262626 60%,#151515)!important;align-items:flex-end!important;padding-bottom:24px}
.mx-hero-in{position:relative;padding:40px 24px;max-width:900px}
.mx-hero-logo{width:auto!important;height:auto!important;max-height:150px!important;max-width:40vw!important;display:block;margin:0 auto 36px}
.mx-hero h1{font-size:clamp(2rem,5.2vw,3.8rem);margin:0 0 16px}
.mx-sub{font-size:clamp(1rem,2vw,1.3rem);color:#cfcfcf;letter-spacing:.12em;margin:0}
.mx-btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:40px}.mx-btns.mx-center{justify-content:center}
.mx-btn{display:inline-block;padding:13px 32px;border-radius:2px;text-decoration:none;font-size:15px;letter-spacing:.18em;border:1px solid transparent;transition:opacity .2s}
.mx-btn:hover{opacity:.85}
.mx-btn-red{background:var(--mx-red);color:#fff}
.mx-btn-line{border-color:#fff;color:#fff}
.mx-btn-dark{border-color:var(--mx-black);color:var(--mx-black)}
.mx-three{display:grid;grid-template-columns:repeat(3,1fr);gap:56px}
.mx-layer{text-align:center}
.mx-ico{display:inline-flex;width:56px;height:56px;color:var(--mx-black);margin-bottom:12px}.mx-ico svg{width:100%;height:100%}
.mx-layer h3{font-size:1.35rem;margin:0 0 12px}.mx-layer h3 b{font-size:1.7rem}
.mx-layer p{color:#333;margin:0 0 16px}
.mx-link{color:var(--mx-black);text-decoration:none;border-bottom:1px solid var(--mx-black);font-size:14px;letter-spacing:.1em}
.mx-three-plain{text-align:center}.mx-three-plain h3{font-size:1.15rem;margin:0 0 8px}.mx-three-plain p{color:#aaa;margin:0}
.mx-tiles{display:grid;grid-template-columns:repeat(3,1fr);max-width:960px;margin:0 auto;gap:2px;background:#222;border:1px solid #222}
.mx-tile{background:var(--mx-black);padding:40px 28px;color:#eee;text-decoration:none;display:flex;flex-direction:column;gap:8px;transition:background .2s}
.mx-tile:hover{background:#161616}.mx-tile b{font-family:"Noto Serif TC",serif;font-size:1.4rem;color:#fff}.mx-tile span{color:#9a9a9a;font-size:.95rem}
.mx-photo{background:#2a2a2a;color:#8a8a8a;display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;padding:16px;box-sizing:border-box;min-height:200px;border-radius:2px}
.mx-photo-tall{min-height:380px}
.mx-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.mx-card{background:#fff;text-decoration:none;color:var(--mx-black);display:block}
.mx-card img{width:100%;height:220px;object-fit:cover;display:block}.mx-card .mx-photo{min-height:220px}
.mx-card-title{display:block;padding:18px 4px;font-family:"Noto Serif TC",serif;font-size:1.05rem}
.mx-brand-mark{width:160px;height:auto;display:block;margin:0 auto 32px}
.mx-brand{padding:140px 0}.mx-brand h2{font-size:2.2rem;margin:0 0 32px}.mx-brand p{color:#cfcfcf}
.mx-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.mx-split h2{font-size:2rem;margin:0 0 16px}
.mx-list{list-style:none;padding:0;margin:0}.mx-list li{padding:14px 0;border-bottom:1px solid #e2ddd3}
/* Woo 商品格 */
body.mx-site .woocommerce ul.products li.product .button{background:var(--mx-black);color:#fff;border-radius:2px}
body.mx-site .woocommerce span.onsale{background:var(--mx-red)}
/* footer */
.mx-foot{background:var(--mx-black);color:#aaa;padding:72px 0 32px;font-size:14px}
.mx-foot a{color:#ddd;text-decoration:none}
.mx-foot-line{font-family:"Noto Serif TC",serif;color:#fff;font-size:1.3rem;letter-spacing:.12em;margin:0 0 40px}
.mx-foot-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;border-top:1px solid #222;padding-top:40px}
.mx-foot h4{color:#fff;font-size:15px;letter-spacing:.12em;margin:0 0 12px;font-weight:500}
.mx-foot-legal{border-top:1px solid #222;margin-top:40px;padding-top:20px;font-size:12px;color:#777}
@media (max-width:900px){
 .mx-burger{display:block}
 .mx-bar-in{height:60px;padding:0 18px;gap:12px}
 .mx-logo span{display:none}
 .mx-nav{position:absolute;top:60px;left:0;right:0;background:var(--mx-black);display:none;border-top:1px solid #222}
 body.mx-open .mx-nav{display:block}
 .mx-nav ul{flex-direction:column;gap:0;padding:8px 24px 20px}
 .mx-nav a{display:block;padding:14px 0;border:0;border-bottom:1px solid #1c1c1c}
 .mx-icons{margin-left:auto}
 .mx-section{padding:64px 0}
 .mx-three,.mx-cards,.mx-split,.mx-foot-cols{grid-template-columns:1fr;gap:36px}
 .mx-tiles{grid-template-columns:1fr}
 .mx-hero{min-height:78vh}
}

/* 學堂卡：等高三欄 */
.mx-cards-guides{align-items:stretch}
.mx-cards-guides .mx-card{display:flex;flex-direction:column;height:100%}
.mx-cards-guides .mx-photo{aspect-ratio:4/3;min-height:0;width:100%}
.mx-cards-guides .mx-card-title{flex:1;display:flex;align-items:flex-start;padding:18px 20px 22px;min-height:3.4em}

/* Guards against injected <p>/<br> in grids */
.mx-tiles>p,.mx-tiles>br,.mx-cards>p,.mx-cards>br,.mx-three>p,.mx-three>br,.mx-btns>p,.mx-btns>br,.mx-split>p:empty,.mx-split>br{display:none!important}
.mx-main p:empty{display:none}
.mx-tile>br,.mx-card>br,.mx-layer>br{display:none}
.mx-card img{max-width:100%;margin:0}

/* v1.1.6 home hero: photo bg, left aligned */
.mx-hero-home{justify-content:flex-start;text-align:left;background:#0B0B0B}
.mx-hero-bg,.mx-hero-bg img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:right center;margin:0!important;border-radius:0!important}
.mx-hero-home::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(11,11,11,.85) 0%,rgba(11,11,11,.55) 38%,rgba(11,11,11,0) 62%)}
.mx-hero-home .mx-hero-in{z-index:2;width:45%;max-width:620px;margin-left:clamp(24px,6vw,96px);padding:40px 0}
.mx-hero-home .mx-hero-logo{margin:0 0 32px!important}
.mx-hero-home .mx-btns{justify-content:flex-start}
.mx-hero-note{position:absolute;right:16px;bottom:12px;z-index:2;font-size:11px;letter-spacing:.1em;color:#F7F4EE;opacity:.45}
@media (max-width:768px){
.mx-hero-home{align-items:flex-start;min-height:180vw}
.mx-hero-home .mx-sub{margin-bottom:16px}
.mx-hero-home .mx-btn{padding:10px 18px!important}
.mx-hero-home h1{font-size:1.75rem}
.mx-hero-home .mx-hero-in{padding-top:28px!important}
.mx-hero-bg img{object-position:center bottom}
.mx-hero-home::before{background:linear-gradient(180deg,rgba(11,11,11,.85) 0%,rgba(11,11,11,.5) 40%,rgba(11,11,11,0) 65%)}
.mx-hero-home .mx-hero-in{width:auto;max-width:none;margin:0;padding:40px 24px}
.mx-hero-home .mx-hero-logo{max-height:96px!important}
}

/* v1.1.6 home photos */
.mx-img{position:relative;overflow:hidden}
.mx-img img{display:block;width:100%;height:100%;object-fit:cover;margin:0!important;border-radius:0!important}
.mx-mock{position:absolute;right:8px;bottom:6px;font-size:10px;letter-spacing:.1em;color:#F7F4EE;opacity:.55;text-shadow:0 0 4px rgba(0,0,0,.6)}
.mx-layer>.mx-img{aspect-ratio:4/3;margin:0 0 20px}
.mx-tile-img{position:relative;padding:0!important;aspect-ratio:1/1;justify-content:flex-end}
.mx-tile-img>.mx-img{position:absolute;inset:0}
.mx-tile-img::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,11,11,.85),rgba(11,11,11,0) 55%)}
.mx-tile-img b,.mx-tile-img>span{position:relative;z-index:1;padding:0 24px}
.mx-tile-img>span:last-child{padding-bottom:24px}
.mx-tile-img .mx-mock{z-index:2}
.mx-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.mx-catcard{text-decoration:none;color:var(--mx-black);text-align:center}
.mx-catcard>.mx-img{aspect-ratio:1/1;margin-bottom:12px}
.mx-catcard b{font-family:"Noto Serif TC",serif;font-size:1.25rem}
.mx-cats>p,.mx-cats>br,.mx-catcard>br{display:none!important}
@media (max-width:768px){.mx-cats{grid-template-columns:repeat(2,1fr)}}

/* v1.1.7 */
.mx-ico{width:64px;height:64px;color:var(--mx-black)}
.mx-layer h3{line-height:1.5;padding-top:4px;overflow:visible}
.mx-layer{overflow:visible}
.mx-card>.mx-img{aspect-ratio:3/2}
.mx-gift{aspect-ratio:16/9;min-height:0}

/* v1.1.8 */
.mx-eyebrow{font-family:"Playfair Display",serif;letter-spacing:.2em;text-transform:uppercase;font-size:12px;color:var(--mx-stone);margin:0 0 4px}
.mx-products{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:32px}
.mx-pcard{text-decoration:none;color:var(--mx-black);background:#fff;display:flex;flex-direction:column}
.mx-pcard>.mx-img{aspect-ratio:1/1}
.mx-pname{font-family:"Noto Serif TC",serif;font-size:1.05rem;padding:14px 16px 2px}
.mx-price{color:var(--mx-stone);font-size:.9rem;padding:0 16px 16px}
.mx-products>p,.mx-products>br,.mx-pcard>br{display:none!important}
.mx-tile-empty>.mx-img{background:#1a1a1a;display:flex;align-items:center;justify-content:center}
.mx-todo{color:#777;font-size:13px;position:relative;z-index:2;margin-top:-40px}
.mx-tile-img b{padding-bottom:24px!important}
.mx-signup{display:flex;gap:8px;max-width:480px;margin:24px auto 8px}
.mx-signup input{flex:1;padding:12px 14px;border:1px solid var(--mx-black);background:#fff;font-size:15px}
.mx-signup>br,.mx-signup>p{display:none!important}
body.home .mx-notice{display:none}
@media (max-width:768px){.mx-products{grid-template-columns:repeat(2,1fr)}.mx-signup{flex-direction:column}}
.mx-section-tight{padding-top:0}
.mx-help{display:block;font-size:12px;color:var(--mx-stone);margin-top:4px;line-height:1.5}
.mx-social{margin:24px 0 8px}.mx-social a{margin-right:18px;display:inline-flex;align-items:center;gap:8px;color:inherit;text-decoration:none}.mx-fb-link,.mx-ig-link{display:inline-flex;align-items:center;gap:6px;color:inherit}
/* v1.4.0：商品圖不裁切（contain），底色配合相片米白底 */
.mx-pcard>.mx-img,.woocommerce ul.products li.product a img,.woocommerce-product-gallery__image,.woocommerce div.product div.images img{background:#F4F1EC}
.mx-pcard>.mx-img img,.woocommerce ul.products li.product a img{object-fit:contain!important;aspect-ratio:1/1;height:auto}
.woocommerce div.product div.images img{object-fit:contain!important;width:100%;height:auto}

/* v1.8.0 首頁主視覺可讀性：標題／副標／內文一律奶油白；加由下往上的暗漸層（只動首頁 hero，不動其他版面） */
.mx-hero-home h1,.mx-hero-home .mx-hero-in h1{color:#F7F4EE!important;text-shadow:0 2px 16px rgba(0,0,0,.6),0 1px 2px rgba(0,0,0,.5)}
.mx-hero-home .mx-sub,.mx-hero-home .mx-hero-in p{color:#F7F4EE!important;text-shadow:0 1px 10px rgba(0,0,0,.65),0 1px 2px rgba(0,0,0,.5)}
.mx-hero-home .mx-btn-red,.mx-hero-home .mx-btn-red:hover{color:#fff!important}
.mx-hero-home::before{background:linear-gradient(0deg,rgba(11,11,11,.6) 0%,rgba(11,11,11,0) 45%),linear-gradient(90deg,rgba(11,11,11,.88) 0%,rgba(11,11,11,.66) 40%,rgba(11,11,11,0) 68%)}
@media (max-width:768px){
.mx-hero-home::before{background:linear-gradient(0deg,rgba(11,11,11,.7) 0%,rgba(11,11,11,0) 40%),linear-gradient(180deg,rgba(11,11,11,.88) 0%,rgba(11,11,11,.64) 42%,rgba(11,11,11,0) 70%)}
}

/* v1.9.7：送貨安排及運費清單（可讀性） */
.mx-ship{margin:12px 0 16px}.mx-ship-h{font-weight:600;margin:0 0 8px;letter-spacing:.04em}.mx-ship-list{margin:0;padding-left:1.2em;list-style:disc;line-height:1.75}.mx-ship-list li{margin:0 0 6px;padding-left:2px}.mx-foot .mx-ship-h{color:#fff}.mx-foot .mx-ship-list{font-size:14px}.mx-foot .mx-ship-list li::marker{color:#777}@media(max-width:640px){.mx-ship-list{line-height:1.8}.mx-ship-list li{margin-bottom:8px}}
