/**
 * Theme Name: Muge Lighting
 * Description: 中山市沐戈照明科技有限公司的双语 B2B 风扇灯企业主题。产品采用 CPT 与产品分类法管理，不依赖 WooCommerce。
 * Version: 1.0.0
 * Requires at least: 6.4
 * Requires PHP: 8.0
 * Text Domain: muge-lighting
 *
 * 设计提示：机械静物志 / Contemporary Industrial Editorial。
 * 黑曜石承载制造的稳定，骨白用于采购信息阅读，安全橙只承担索引与行动提示。
 */

:root{--ink:#0d0e0f;--carbon:#17191a;--steel:#282b2b;--bone:#f2f1eb;--paper:#fbfaf5;--line:rgba(13,14,15,.16);--orange:#d66b2d;--muted:#767872;--wide:min(1160px,calc(100% - 80px));--ease:cubic-bezier(.23,1,.32,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",Arial,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}button,input,textarea,select{font:inherit}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.muge-shell{overflow:hidden}.muge-width{width:var(--wide);margin:auto}.muge-kicker{display:flex;gap:10px;align-items:center;margin:0 0 18px;color:var(--orange);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.muge-kicker:before{content:"";width:28px;height:1px;background:currentColor}.muge-button{display:inline-flex;align-items:center;gap:14px;background:var(--orange);color:#17110d;padding:15px 19px;font-size:13px;font-weight:800;transition:transform .18s var(--ease),background .18s var(--ease)}.muge-button:hover{background:#ea7d3c;transform:translateY(-2px)}.muge-button:after{content:"↗";font-size:17px}.muge-button--dark{background:var(--ink);color:white}.muge-button--line{background:transparent;border:1px solid currentColor;color:var(--ink)}

/* Header：黑曜石制造铭牌，导航保持克制。 */
.muge-header{position:relative;z-index:20;background:var(--ink);color:#fff;border-bottom:1px solid rgba(255,255,255,.14)}.muge-header__inner{width:var(--wide);margin:auto;min-height:86px;display:flex;align-items:center;gap:26px}.muge-brand{display:flex;gap:13px;align-items:center;min-width:250px}.muge-brand__mark{width:39px;height:39px;object-fit:contain}.muge-brand__name{display:block;font-size:16px;line-height:1.15;letter-spacing:.08em}.muge-brand__sub{display:block;color:#b9bbb4;font-size:12px;letter-spacing:.1em;line-height:1.4;margin-top:4px}.muge-header__meta{font-size:12px;color:#b9bbb4;letter-spacing:.08em;white-space:nowrap}.muge-header__meta:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--orange);margin:0 8px 1px 0}.muge-nav{display:flex;align-items:center;gap:29px;margin-left:auto}.muge-nav a{font-size:13px;font-weight:700;white-space:nowrap;position:relative;padding:32px 0}.muge-nav a:hover,.muge-nav .current-menu-item>a{color:var(--orange)}.muge-language{margin-left:4px;font-size:12px;font-weight:700;letter-spacing:.08em;white-space:nowrap}.muge-language a{margin-left:6px}.muge-menu-toggle{display:none;background:none;border:0;color:white;font-size:24px;padding:8px}.muge-mobile-nav{display:none}

/* Footer：所有模板强制调用同一固定组件。 */
.muge-footer{background:#0a0b0c;color:#fff;padding:55px 0 28px}.muge-footer__top{display:flex;justify-content:space-between;align-items:center;padding-bottom:47px}.muge-footer__top .muge-brand{min-width:0}.muge-footer__top .muge-brand__mark{width:32px;height:32px}.muge-footer__arrow{color:var(--orange);font-size:32px}.muge-footer__main{display:grid;grid-template-columns:1.3fr .7fr;gap:100px;padding-bottom:55px}.muge-footer__title{margin:0;max-width:580px;font-size:clamp(36px,4vw,61px);line-height:.98;letter-spacing:-.06em}.muge-footer__copy{align-self:end;max-width:390px;color:#c0c2bc;font-size:14px}.muge-footer__copy p{margin:0 0 22px}.muge-footer__contact{color:var(--orange);font-size:13px;font-weight:800}.muge-footer__base{border-top:1px solid rgba(255,255,255,.18);padding-top:17px;display:flex;gap:23px;flex-wrap:wrap;color:#aeb0aa;font-size:12px}.muge-footer__base small{margin-left:auto;font-size:12px}

/* Hero：不做零售化横幅，以制造静物和大字建立 B2B 识别。 */
.muge-hero{min-height:595px;position:relative;isolation:isolate;color:#fff;background:var(--carbon);display:flex;align-items:stretch}.muge-hero__visual{position:absolute;inset:0;background:linear-gradient(90deg,#111 16%,rgba(17,17,17,.68) 48%,rgba(17,17,17,.12)),linear-gradient(0deg,rgba(0,0,0,.18),rgba(0,0,0,.18));background-size:cover;background-position:center}.muge-hero__visual.has-image{background-color:#111}.muge-hero__inner{width:var(--wide);margin:auto;position:relative;z-index:1;display:flex;align-items:center;padding:98px 0}.muge-hero__copy{max-width:620px}.muge-hero h1{margin:0;max-width:580px;font-size:clamp(45px,5.4vw,83px);font-weight:800;line-height:.94;letter-spacing:-.07em}.muge-hero__description{margin:25px 0 31px;max-width:545px;font-size:15px;color:#d3d4cf}.muge-hero__file{position:absolute;right:0;bottom:44px;color:#fff;font-size:12px;font-weight:700;text-align:right;letter-spacing:.1em;line-height:1.7}.muge-hero__file span{display:block}.muge-page-hero{min-height:355px}.muge-page-hero .muge-hero__inner{padding:72px 0}.muge-page-hero h1{font-size:clamp(42px,4.8vw,70px)}

/* Home：四分类的封面图由产品分类后台字段驱动。 */
.muge-section{padding:105px 0}.muge-section--bone{background:var(--bone)}.muge-section--dark{background:#202323;color:white}.muge-section-heading{display:grid;grid-template-columns:1.1fr .9fr;gap:90px;align-items:end;margin-bottom:44px}.muge-section-heading h2{margin:0;font-size:clamp(35px,4.2vw,59px);line-height:.98;letter-spacing:-.06em}.muge-section-heading>p{margin:0 0 5px;color:#73756e;font-size:14px}.muge-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.muge-category-card{position:relative;min-height:350px;overflow:hidden;background:#252626;color:white}.muge-category-card img{width:100%;height:100%;min-height:350px;object-fit:cover;transition:transform .5s var(--ease)}.muge-category-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.7))}.muge-category-card:hover img{transform:scale(1.045)}.muge-category-card__info{position:absolute;z-index:1;inset:auto 18px 18px}.muge-category-card__number{display:inline-flex;background:var(--orange);color:#15110e;padding:3px 6px;font-size:11px;font-weight:800;margin-bottom:14px}.muge-category-card__label{display:block;color:#deded9;font-size:11px;letter-spacing:.1em;margin-bottom:4px}.muge-category-card h3{font-size:22px;margin:0;line-height:1.1}.muge-overview{display:grid;grid-template-columns:1fr 1fr;gap:90px;padding:115px 0}.muge-overview h2{margin:0;max-width:610px;font-size:clamp(40px,4.9vw,68px);line-height:.97;letter-spacing:-.06em}.muge-overview__side{align-self:end;color:#c5c6c0;font-size:15px}.muge-overview__side p{margin:0 0 33px}.muge-overview__list{border-top:1px solid rgba(255,255,255,.2)}.muge-overview__list li{list-style:none;border-bottom:1px solid rgba(255,255,255,.2);padding:13px 0;display:flex;gap:17px;font-size:13px}.muge-overview__list b{color:var(--orange);font-size:12px}

/* Product archive：十二个档案卡片，非商城卡片。 */
.muge-catalogue{padding:80px 0 105px}.muge-catalogue__head{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px}.muge-catalogue__head p{font-size:12px;color:var(--muted);margin:0 0 4px;letter-spacing:.1em}.muge-catalogue__head h1{margin:0;font-size:40px;line-height:1;letter-spacing:-.05em}.muge-term-nav{display:flex;gap:8px;flex-wrap:wrap;padding:16px 0 25px}.muge-term-nav a{padding:8px 12px;border:1px solid var(--line);font-size:12px;font-weight:700}.muge-term-nav a:hover,.muge-term-nav .is-current{background:var(--ink);color:white;border-color:var(--ink)}.muge-product-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.muge-product-card{position:relative;background:#fff;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}.muge-product-card__image{aspect-ratio:1/1;overflow:hidden;background:#e5e3dc;position:relative}.muge-product-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}.muge-product-card:hover img{transform:scale(1.035)}.muge-product-card__id{position:absolute;top:10px;left:10px;background:var(--ink);color:white;padding:3px 6px;font-size:11px;font-weight:800}.muge-product-card__body{padding:15px 15px 18px;min-height:177px}.muge-product-card__term{display:block;color:var(--orange);font-size:11px;font-weight:800;letter-spacing:.1em;margin-bottom:9px}.muge-product-card h2{font-size:18px;line-height:1.15;margin:0 0 7px;letter-spacing:-.03em}.muge-product-card p{font-size:12px;color:#676a64;margin:0 0 12px}.muge-product-card__model{border-top:1px solid var(--line);padding-top:10px;font-size:11px;color:#51534e;display:flex;justify-content:space-between;gap:10px}.muge-pagination{display:flex;gap:8px;justify-content:center;align-items:center;padding:35px 0}.muge-pagination a,.muge-pagination span{border:1px solid var(--line);min-width:34px;height:34px;display:grid;place-items:center;font-size:12px}.muge-pagination .current{background:var(--ink);color:white}

/* Single product：特色图片是唯一的主视觉。 */
.muge-product-detail{background:var(--ink);color:white;padding:32px 0 0}.muge-detail-back{font-size:13px;font-weight:700;display:inline-flex;gap:9px;align-items:center;margin-bottom:44px}.muge-detail-back:before{content:"←"}.muge-detail-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:65px;align-items:end;padding-bottom:65px}.muge-detail-copy{padding-bottom:46px}.muge-detail-copy p{margin:0;color:var(--orange);font-size:12px;font-weight:700;letter-spacing:.12em}.muge-detail-copy h1{font-size:clamp(48px,6vw,88px);line-height:.92;letter-spacing:-.07em;margin:22px 0 14px}.muge-detail-copy span{font-size:14px;color:#c6c7c1}.muge-detail-image{aspect-ratio:1/1;position:relative;background:#262727}.muge-detail-image img{width:100%;height:100%;object-fit:cover}.muge-detail-image__index{position:absolute;left:19px;top:19px;display:flex;gap:9px;align-items:center}.muge-detail-image__index b{background:var(--orange);color:var(--ink);padding:4px 7px;font-size:12px}.muge-detail-image__index span{font-size:12px;font-weight:700}.muge-detail-note{background:var(--bone);color:var(--ink);padding:22px 0}.muge-detail-note .muge-width{display:flex;justify-content:space-between;gap:25px;align-items:center;font-size:13px;font-weight:700}.muge-detail-note a{color:var(--orange)}

/* Editorial pages：信息采用制造档案的对开节奏。 */
.muge-feature-split{display:grid;grid-template-columns:1fr 1fr;min-height:530px}.muge-feature-split__image{background:#252626 center/cover no-repeat;min-height:420px}.muge-feature-split__copy{padding:74px clamp(34px,7vw,105px);background:var(--bone);display:flex;flex-direction:column;justify-content:center}.muge-feature-split__copy h2,.muge-prose-section h2{margin:0 0 25px;font-size:clamp(35px,4.3vw,62px);line-height:.97;letter-spacing:-.06em}.muge-feature-split__copy p,.muge-prose-section__copy{font-size:15px;color:#646761;margin:0}.muge-prose-section{padding:105px 0;background:#202323;color:white}.muge-prose-section__inner{display:grid;grid-template-columns:1fr .85fr;gap:95px}.muge-prose-section__copy{color:#c4c6bf}.muge-archive-list{margin:33px 0 0;padding:0;border-top:1px solid rgba(255,255,255,.18)}.muge-archive-list li{list-style:none;display:flex;gap:18px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.18);font-size:13px}.muge-archive-list b{color:var(--orange);font-size:12px}.muge-capability-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.21);border-left:1px solid rgba(255,255,255,.21);margin-top:45px}.muge-capability-grid article{min-height:185px;padding:20px;border-right:1px solid rgba(255,255,255,.21);border-bottom:1px solid rgba(255,255,255,.21)}.muge-capability-grid span{color:var(--orange);font-size:12px}.muge-capability-grid h3{font-size:18px;margin:35px 0 7px}.muge-capability-grid p{font-size:12px;color:#c5c6bf;margin:0}.muge-contact{padding:85px 0 110px}.muge-contact-grid{display:grid;grid-template-columns:.7fr 1.05fr .95fr;gap:60px}.muge-contact h2{font-size:42px;line-height:1;margin:0}.muge-contact-details{border-top:1px solid var(--line)}.muge-contact-details div{border-bottom:1px solid var(--line);padding:20px 0}.muge-contact-details small{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.muge-contact-details a,.muge-contact-details p{font-size:15px;margin:0}.muge-contact-qr{border-left:1px solid var(--line);padding-left:35px}.muge-contact-qr h3{margin:0 0 18px;font-size:26px}.muge-qr-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.muge-qr-placeholder{aspect-ratio:1;background:repeating-conic-gradient(#131415 0 25%,#fff 0 50%) 50%/20px 20px;border:8px solid white;outline:1px solid var(--line)}.muge-qr-grid small{font-size:12px;font-weight:700}

/* WordPress content and responsive. */
.wp-block-image img{height:auto}.muge-empty{padding:70px 0;color:#62645f}.muge-notice{background:#fff5e6;border-left:3px solid var(--orange);padding:14px 16px;font-size:13px}.muge-page-content{width:min(760px,calc(100% - 48px));margin:85px auto}.muge-page-content h1{font-size:48px;line-height:1}.muge-page-content p{font-size:16px}@media(max-width:900px){:root{--wide:min(100% - 38px,1160px)}.muge-header__inner{min-height:64px}.muge-brand{min-width:0}.muge-brand__mark{width:28px;height:28px}.muge-brand__name{font-size:13px}.muge-brand__sub,.muge-header__meta,.muge-nav,.muge-language{display:none}.muge-menu-toggle{display:block;margin-left:auto}.muge-mobile-nav{background:#111214;padding:8px 19px 16px}.muge-mobile-nav.is-open{display:grid;gap:2px}.muge-mobile-nav a{padding:12px 0;color:white;border-bottom:1px solid rgba(255,255,255,.1);font-size:14px}.muge-mobile-nav .muge-language{display:block;padding-top:12px}.muge-hero{min-height:360px}.muge-hero__inner{padding:60px 0}.muge-hero h1{font-size:42px}.muge-hero__description{font-size:13px;margin:18px 0 23px;max-width:94%}.muge-hero__file{font-size:10px;right:19px;bottom:18px}.muge-section{padding:60px 0}.muge-section-heading,.muge-footer__main,.muge-overview,.muge-prose-section__inner{grid-template-columns:1fr;gap:25px}.muge-section-heading h2{font-size:38px}.muge-category-grid{grid-template-columns:repeat(2,1fr);gap:10px}.muge-category-card,.muge-category-card img{min-height:215px}.muge-category-card__info{inset:auto 12px 12px}.muge-category-card h3{font-size:18px}.muge-overview{padding:65px 0}.muge-overview h2{font-size:42px}.muge-catalogue{padding:50px 0 65px}.muge-product-grid{grid-template-columns:repeat(2,1fr)}.muge-product-card__body{padding:11px;min-height:150px}.muge-product-card h2{font-size:15px}.muge-product-card p{font-size:11px}.muge-product-card__model{font-size:10px}.muge-detail-layout{grid-template-columns:1fr;gap:24px}.muge-detail-copy{padding:0}.muge-detail-copy h1{font-size:53px}.muge-feature-split{grid-template-columns:1fr}.muge-feature-split__copy{padding:55px 26px}.muge-capability-grid{grid-template-columns:1fr 1fr}.muge-contact-grid{grid-template-columns:1fr;gap:35px}.muge-contact-qr{border-left:0;border-top:1px solid var(--line);padding:28px 0 0}.muge-footer{padding:38px 0 22px}.muge-footer__top{padding-bottom:35px}.muge-footer__main{padding-bottom:35px}.muge-footer__title{font-size:39px}.muge-footer__copy{font-size:13px}.muge-footer__base{display:grid;grid-template-columns:1fr 1fr;gap:10px}.muge-footer__base small{margin:8px 0 0;grid-column:1/-1}.muge-page-hero{min-height:280px}.muge-page-hero h1{font-size:40px}}
