
/* Codex mobile hub link targets 2026-07-16 */
@media (max-width: 767px) {
  .page-id-302598 .entry-content li a,
  .page-id-302599 .entry-content li a,
  .page-id-302600 .entry-content li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 7px;
    line-height: 1.55;
  }
}
/* End Codex mobile hub link targets */

/* MET_HOME_305807_WP7_FIX_START */
.page-id-305807 .met-v3-root > .wp-block-group__inner-container > .met-wrap:nth-child(3){width:100%!important;max-width:none!important;background:var(--met-navy)!important;color:#fff;padding:12px 0!important}
.page-id-305807 .met-v3-root > .wp-block-group__inner-container > .met-wrap:nth-child(3) > .wp-block-group__inner-container{width:min(1100px,calc(100% - 40px));margin-inline:auto}
.page-id-305807 .met-topbar .met-wrap > .wp-block-group__inner-container,.page-id-305807 .met-logo-unit > .wp-block-group__inner-container,.page-id-305807 .met-section-head > .wp-block-group__inner-container{display:flex;align-items:center;justify-content:space-between;gap:12px}
.page-id-305807 .met-logo-unit > .wp-block-group__inner-container{justify-content:flex-start;gap:10px}
.page-id-305807 .met-product-grid,.page-id-305807 .met-reader-row,.page-id-305807 .met-process,.page-id-305807 .met-sample-grid,.page-id-305807 .met-footer-grid{display:block!important}
.page-id-305807 .met-product-grid > .wp-block-group__inner-container,.page-id-305807 .met-reader-row > .wp-block-group__inner-container,.page-id-305807 .met-process > .wp-block-group__inner-container,.page-id-305807 .met-sample-grid > .wp-block-group__inner-container,.page-id-305807 .met-footer-grid > .wp-block-group__inner-container{display:grid;align-items:stretch}
.page-id-305807 .met-product-grid > .wp-block-group__inner-container{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.page-id-305807 .met-reader-row > .wp-block-group__inner-container{grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px}
.page-id-305807 .met-process > .wp-block-group__inner-container{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.page-id-305807 .met-sample-grid > .wp-block-group__inner-container{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.page-id-305807 .met-footer.met-wrap{width:100%!important;max-width:none!important}
.page-id-305807 .met-footer > .wp-block-group__inner-container{width:min(1100px,calc(100% - 40px));margin-inline:auto}
.page-id-305807 .met-footer-grid > .wp-block-group__inner-container{grid-template-columns:2fr 1fr 1fr 1.3fr;gap:28px}
.page-id-305807 .met-product-grid > .wp-block-group__inner-container > *,.page-id-305807 .met-reader-row > .wp-block-group__inner-container > *,.page-id-305807 .met-process > .wp-block-group__inner-container > *,.page-id-305807 .met-sample-grid > .wp-block-group__inner-container > *,.page-id-305807 .met-footer-grid > .wp-block-group__inner-container > *{margin-block-start:0!important}
@media(max-width:960px){.page-id-305807 .met-product-grid > .wp-block-group__inner-container{grid-template-columns:repeat(3,minmax(0,1fr))}.page-id-305807 .met-reader-row > .wp-block-group__inner-container{grid-template-columns:repeat(3,minmax(150px,1fr));overflow-x:auto}.page-id-305807 .met-footer-grid > .wp-block-group__inner-container{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.page-id-305807 .met-v3-root > .wp-block-group__inner-container > .met-wrap:nth-child(3) > .wp-block-group__inner-container,.page-id-305807 .met-footer > .wp-block-group__inner-container{width:min(1100px,calc(100% - 24px))}.page-id-305807 .met-topbar .met-wrap > .wp-block-group__inner-container{justify-content:center;text-align:center}.page-id-305807 .met-section-head > .wp-block-group__inner-container{align-items:flex-start;flex-direction:column}.page-id-305807 .met-product-grid > .wp-block-group__inner-container{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.page-id-305807 .met-reader-row > .wp-block-group__inner-container{display:flex;overflow-x:auto}.page-id-305807 .met-reader-row > .wp-block-group__inner-container > *{flex:0 0 145px}.page-id-305807 .met-process > .wp-block-group__inner-container{grid-template-columns:1fr}.page-id-305807 .met-sample-grid > .wp-block-group__inner-container{display:flex;overflow-x:auto}.page-id-305807 .met-sample-grid > .wp-block-group__inner-container > *{flex:0 0 230px}.page-id-305807 .met-footer-grid > .wp-block-group__inner-container{grid-template-columns:1fr}}
/* MET_HOME_305807_WP7_FIX_END */

/* MET_HOME_305807_TOUCH_FIX_START */
@media(max-width:640px){
.page-id-305807 .met-menu .wp-block-button__link,.page-id-305807 .met-filterbar .wp-block-button__link,.page-id-305807 .met-footer .wp-block-button__link,.page-id-305807 .met-bottomnav .wp-block-button__link{min-height:44px!important;display:flex!important;align-items:center;justify-content:center}
.page-id-305807 .met-footer .wp-block-button__link{justify-content:flex-start}
}
/* MET_HOME_305807_TOUCH_FIX_END */
@media(max-width:640px){.page-id-305807 .met-footer .wp-block-button__link{min-width:44px!important}}

/* MET GLOBAL HEADER FOOTER SHOP 2026-07-30 */
:root{--met-navy:#123a5e;--met-navy-dark:#0d2b46;--met-coral:#ff6a3d;--met-gold:#f5b544;--met-cream:#fbf7f0;--met-teal:#2a9d8f;--met-text:#243447;}
#masthead,.site-main-header-wrap,.site-main-header-wrap .site-header-row-container-inner{background:var(--met-navy)!important;}
.site-main-header-wrap,.site-main-header-wrap .site-header-row-container-inner,.site-main-header-wrap .site-header-row-container-inner>.site-container{margin-top:0!important;margin-bottom:0!important;}
.site-main-header-inner-wrap{min-height:76px!important;}
.site-header-item{margin-top:0!important;margin-bottom:0!important;}
.met-global-brand{display:flex;align-items:center;gap:12px;color:#fff!important;text-decoration:none;line-height:1.15;}
.met-global-brand__mark,.met-global-brand__fallback{width:52px;height:52px;flex:0 0 52px;border-radius:14px;display:block;}
.met-global-brand__fallback{background:var(--met-coral);color:var(--met-gold);font-size:30px;line-height:52px;text-align:center;}
.met-global-brand__copy{display:flex;flex-direction:column;gap:4px;white-space:nowrap;}
.met-global-brand__copy strong{font-size:1.48rem;font-weight:700;letter-spacing:.04em;color:#fff;}
.met-global-brand__copy small{font-size:.72rem;letter-spacing:.12em;color:#d9e9f5;}
.site-header-main-section-right .primary-menu-container>ul>li>a{color:#fff!important;font-weight:600;}
.site-header-main-section-right .primary-menu-container>ul>li>a:hover,.site-header-main-section-right .primary-menu-container>ul>li.current-menu-item>a{color:#ffd3c4!important;}
.header-button{background:var(--met-coral)!important;color:#fff!important;border:0!important;border-radius:8px!important;min-height:44px!important;padding:0 20px!important;font-weight:700!important;box-shadow:none!important;}
.header-button:hover{background:#e9572e!important;transform:translateY(-1px);}
.mobile-toggle-open-container .menu-toggle-open{color:#fff!important;min-width:44px!important;min-height:44px!important;}
.popup-drawer .drawer-inner{background:var(--met-navy-dark)!important;}
.popup-drawer .drawer-header .drawer-toggle,.popup-drawer .mobile-navigation a{color:#fff!important;}
.popup-drawer .mobile-navigation a{min-height:48px;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.12);font-weight:600;}
#colophon,.site-footer-wrap .site-footer-row-container-inner{background:var(--met-navy-dark)!important;color:#e8f1f7;}
.site-footer-wrap{margin-top:0!important;}
.site-footer-wrap .widget-title,.site-footer-wrap strong{color:#fff;}
.site-footer-wrap a{color:#dbeaf5;text-decoration:none;}
.site-footer-wrap a:hover{color:#ffb69e;}
.met-footer-brand strong{display:block;font-size:1.2rem;margin-bottom:10px;}
.met-footer-brand p{margin:.35em 0;}
.met-footer-links,.met-footer-service{display:flex;flex-direction:column;gap:4px;}
.met-footer-links a,.met-footer-service a{display:flex;align-items:center;min-height:36px;}
.met-shop-shell{--card-radius:18px;color:var(--met-text);}
.met-shop-shell>.wp-block-group__inner-container{display:flex;flex-direction:column;gap:0;}
.met-shop-hero{background:linear-gradient(135deg,var(--met-navy),#1f5b88);color:#fff;border-radius:24px;padding:clamp(28px,5vw,60px);margin:12px 0 38px;overflow:hidden;position:relative;}
.met-shop-hero:after{content:'★';position:absolute;right:4%;top:-34px;color:rgba(245,181,68,.18);font-size:180px;line-height:1;}
.met-shop-hero h2,.met-shop-hero p{color:#fff;position:relative;z-index:1;}
.met-shop-hero h2{font-size:clamp(1.8rem,4vw,3rem);line-height:1.2;margin:0 0 14px;}
.met-shop-hero p{max-width:680px;font-size:1.05rem;}
.met-shop-shell .wp-block-button__link{border-radius:8px;min-height:46px;display:inline-flex;align-items:center;padding:0 22px;font-weight:700;}
.met-shop-shell .is-style-fill .wp-block-button__link{background:var(--met-coral);color:#fff;}
.met-shop-shell .is-style-outline .wp-block-button__link{background:#fff;color:var(--met-navy);border:2px solid #fff;}
.met-shop-section{margin:0 0 44px;}
.met-shop-section>h2{text-align:center;color:var(--met-navy);font-size:clamp(1.5rem,3vw,2.15rem);margin-bottom:8px;}
.met-shop-section>.met-section-intro{text-align:center;max-width:720px;margin:0 auto 24px;color:#5a6875;}
.met-category-grid,.met-year-grid,.met-trust-grid,.met-faq-grid{display:grid!important;gap:16px!important;}
.met-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.met-category-card{border-radius:var(--card-radius);padding:22px!important;min-height:178px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid rgba(18,58,94,.08);box-shadow:0 8px 24px rgba(13,43,70,.07);}
.met-category-card:nth-child(1){background:#fff0ea}.met-category-card:nth-child(2){background:#eaf5ff}.met-category-card:nth-child(3){background:#fff7df}.met-category-card:nth-child(4){background:#e8f7f3}
.met-category-card h3{margin:0 0 8px;color:var(--met-navy);font-size:1.25rem;}
.met-category-card p{margin:0 0 16px;color:#536270;}
.met-category-card a{font-weight:700;color:var(--met-navy);text-decoration:none;}
.met-year-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
.met-year-tile{margin:0!important;}
.met-year-tile .wp-block-button__link{width:100%;justify-content:center;background:#fff;color:var(--met-navy);border:2px solid #d9e5ee;min-height:58px;}
.met-year-tile:nth-child(4n+1) .wp-block-button__link{border-color:#ffb69e;background:#fff5f1}.met-year-tile:nth-child(4n+2) .wp-block-button__link{border-color:#8fc6e9;background:#f0f8fd}.met-year-tile:nth-child(4n+3) .wp-block-button__link{border-color:#f6cf78;background:#fff9e9}.met-year-tile:nth-child(4n) .wp-block-button__link{border-color:#87cdc1;background:#effaf7}
.met-year-tile .wp-block-button__link:hover{border-color:var(--met-coral);transform:translateY(-2px);}
.met-trust-grid{grid-template-columns:repeat(4,minmax(0,1fr));background:var(--met-cream);border-radius:20px;padding:24px!important;}
.met-trust-item{padding:8px!important;text-align:center;}
.met-trust-item strong{color:var(--met-navy);display:block;margin-bottom:5px;}
.met-faq-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.met-faq-card{background:#fff;border:1px solid #e2e9ef;border-radius:16px;padding:20px!important;}
.met-faq-card h3{font-size:1.08rem;color:var(--met-navy);margin:0 0 8px;}
.met-coming-soon{background:#f0f7fc;border-left:5px solid var(--met-teal);border-radius:14px;padding:22px!important;}
@media(max-width:1024px){.met-global-brand__copy small{display:none}.met-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.met-year-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.met-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px){.site-main-header-inner-wrap{min-height:66px!important}.met-global-brand{gap:9px}.met-global-brand__mark,.met-global-brand__fallback{width:44px;height:44px;flex-basis:44px;border-radius:11px}.met-global-brand__fallback{font-size:24px;line-height:44px}.met-global-brand__copy strong{font-size:1.08rem}.met-shop-hero{border-radius:16px;padding:28px 20px;margin-top:4px}.met-shop-shell .wp-block-buttons{gap:10px}.met-shop-shell .wp-block-button{width:100%}.met-shop-shell .wp-block-button__link{width:100%;justify-content:center}.met-category-grid,.met-year-grid,.met-trust-grid,.met-faq-grid{grid-template-columns:1fr!important}.met-category-card{min-height:145px}.met-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.met-year-tile .wp-block-button__link{min-height:54px}.site-footer-row{row-gap:10px!important}.site-footer-wrap .widget{margin-bottom:14px;}}
/* END MET GLOBAL HEADER FOOTER SHOP 2026-07-30 */
/* MET SHOP QA FIX 2026-07-30 */
.post-type-archive-product .entry-hero.-archive-hero-section,.post-type-archive-product .entry-hero-container-inner,.post-type-archive-product .entry-hero-container-inner .hero-container{height:auto!important;min-height:0!important;}
.post-type-archive-product .entry-hero-container-inner .entry-header{height:auto!important;min-height:0!important;padding:34px 0!important;}
.met-shop-hero .wp-block-button.is-style-outline .wp-block-button__link{background:#fff!important;color:#123a5e!important;border-color:#fff!important;}
.met-shop-hero .wp-block-button.is-style-outline .wp-block-button__link:hover{background:#fff4ef!important;color:#0d2b46!important;}
@media(max-width:767px){.post-type-archive-product .entry-hero-container-inner .entry-header{padding:24px 0!important;}.post-type-archive-product .entry-hero-container-inner .entry-title{font-size:1.75rem!important;}}
/* END MET SHOP QA FIX 2026-07-30 */
/* MET PRODUCT SYSTEM 2026-07-30 */
.single-product .site-main{background:#fbf7f0;}
.single-product div.product{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:clamp(26px,4vw,48px);align-items:start;}
.single-product div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;background:#fff;border:1px solid #eadfce;border-radius:18px;padding:16px;box-shadow:0 14px 34px rgba(18,58,94,.10);overflow:hidden;}
.single-product div.product .woocommerce-product-gallery__image,.single-product div.product .woocommerce-product-gallery__image img,.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{border-radius:12px;}
.single-product div.product .summary{width:100%!important;float:none!important;margin:0!important;background:#fff;border:1px solid #eadfce;border-radius:18px;padding:clamp(22px,3vw,34px);box-shadow:0 14px 34px rgba(18,58,94,.08);}
.single-product div.product .product_title{color:#123a5e;font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.3;margin:0 0 10px;}
.single-product div.product .woocommerce-product-rating{margin:8px 0 12px;}
.single-product div.product .price{color:#ff6a3d!important;font-size:clamp(1.9rem,4vw,2.4rem)!important;font-weight:800;margin:14px 0!important;}
.single-product div.product .woocommerce-product-details__short-description{color:#526373;font-size:1rem;margin:12px 0 18px;}
.single-product div.product form.cart{display:flex;align-items:center;gap:12px;margin:20px 0 0!important;}
.single-product div.product form.cart .quantity input{min-height:50px;border:1px solid #d7e3ef;border-radius:9px;}
.single-product div.product form.cart .single_add_to_cart_button{flex:1;min-height:50px;background:#ff6a3d!important;color:#fff!important;border:0!important;border-radius:10px!important;font-size:1rem!important;font-weight:800!important;padding:0 24px!important;box-shadow:none!important;}
.single-product div.product form.cart .single_add_to_cart_button:hover{background:#e9572e!important;transform:translateY(-1px);}
.met-mobile-cart-price{display:none;}
.met-product-assurance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 12px;}
.met-product-assurance>div{background:#f3f8fc;border:1px solid #dce8f1;border-radius:12px;padding:13px;text-align:center;min-width:0;}
.met-product-assurance>div>span{display:block;font-size:1.35rem;margin-bottom:4px;}
.met-product-assurance strong{display:block;color:#123a5e;font-size:.88rem;margin-bottom:4px;}
.met-product-assurance small{display:block;color:#667786;font-size:.72rem;line-height:1.45;}
.met-product-licence{background:#fff9e9;border:1px solid #f1d793;border-radius:11px;padding:12px 14px;color:#685522;font-size:.82rem;line-height:1.55;}
.met-product-licence strong{color:#123a5e;}
.single-product div.product .product_meta{margin-top:16px;padding-top:14px;border-top:1px solid #edf0f2;color:#75828e;font-size:.82rem;}
.single-product div.product .woocommerce-tabs,.single-product div.product .related.products,.single-product div.product .upsells.products{grid-column:1/-1;width:100%;}
.single-product div.product .woocommerce-tabs ul.tabs{display:flex;gap:8px;overflow-x:auto;border-bottom:2px solid #eadfce!important;margin:28px 0 18px!important;padding:0!important;}
.single-product div.product .woocommerce-tabs ul.tabs:before{display:none!important;}
.single-product div.product .woocommerce-tabs ul.tabs li{background:transparent!important;border:0!important;margin:0!important;padding:0!important;}
.single-product div.product .woocommerce-tabs ul.tabs li:before,.single-product div.product .woocommerce-tabs ul.tabs li:after{display:none!important;}
.single-product div.product .woocommerce-tabs ul.tabs li a{white-space:nowrap;color:#6b7a88!important;padding:12px 18px!important;border-bottom:3px solid transparent;font-weight:700!important;}
.single-product div.product .woocommerce-tabs ul.tabs li.active a{color:#ff6a3d!important;border-bottom-color:#ff6a3d;}
.single-product div.product .woocommerce-tabs .panel{background:#fff;border:1px solid #eadfce;border-radius:16px;padding:clamp(20px,3vw,30px);margin:0!important;}
.single-product div.product .woocommerce-tabs .panel h2,.single-product div.product .related.products>h2,.single-product div.product .upsells.products>h2{color:#123a5e;}
.woocommerce ul.products li.product{background:#fff;border:1px solid #eadfce;border-radius:16px;overflow:hidden;padding:12px!important;box-shadow:0 7px 20px rgba(18,58,94,.07);transition:transform .2s,box-shadow .2s;}
.woocommerce ul.products li.product:hover,.woocommerce ul.products li.product:focus-within{transform:none!important;box-shadow:0 14px 30px rgba(18,58,94,.13);}
.woocommerce ul.products li.product a img{border-radius:11px;margin-bottom:12px!important;}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:#123a5e;font-size:1rem!important;line-height:1.45;padding:4px 2px!important;}
.woocommerce ul.products li.product .price{color:#ff6a3d!important;font-weight:800;font-size:1.1rem!important;}
.woocommerce ul.products li.product .button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:center;background:#123a5e;color:#fff;border-radius:9px;font-weight:700;}
.woocommerce ul.products li.product .button:hover{background:#ff6a3d;}
@media(max-width:900px){.single-product div.product{grid-template-columns:1fr}.single-product div.product .woocommerce-product-gallery{max-width:560px;margin:0 auto!important}.met-product-assurance{grid-template-columns:1fr}.single-product div.product .woocommerce-tabs,.single-product div.product .related.products,.single-product div.product .upsells.products{grid-column:auto}}
@media(max-width:767px){body.met-digital-product{padding-bottom:82px}.single-product .content-container{padding-left:16px!important;padding-right:16px!important}.single-product div.product{gap:18px}.single-product div.product .summary{padding:20px 18px}.single-product div.product form.cart{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:#fff;border-top:1px solid #eadfce;box-shadow:0 -5px 20px rgba(18,58,94,.14);padding:10px 14px!important;margin:0!important;display:flex!important;gap:10px}.single-product div.product form.cart .quantity{display:none!important}.single-product div.product form.cart .single_add_to_cart_button{min-height:52px}.met-mobile-cart-price{display:block;flex:0 0 auto;color:#ff6a3d;font-weight:800;font-size:1.25rem;white-space:nowrap}.met-product-assurance>div{display:grid;grid-template-columns:36px 1fr;text-align:left;column-gap:8px}.met-product-assurance>div>span{grid-row:1/3;align-self:center;margin:0}.single-product div.product .woocommerce-tabs ul.tabs li a{padding:11px 13px!important}.single-product div.product .woocommerce-tabs .panel{padding:18px}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:100%!important;margin:0!important;float:none!important}}
@media(max-width:420px){.woocommerce ul.products{grid-template-columns:1fr!important}}
/* END MET PRODUCT SYSTEM 2026-07-30 */
/* MET PRODUCT SEARCH 2026-07-30 */
.met-product-search-wrap{position:relative;z-index:2;max-width:820px;margin:24px 0 0;}
.met-product-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;background:#fff;border-radius:14px;padding:8px;box-shadow:0 10px 28px rgba(13,43,70,.18);}
.met-product-search__field{width:100%;min-width:0;min-height:50px;border:0!important;background:#fff!important;color:#243447!important;padding:0 14px!important;font-size:1rem!important;box-shadow:none!important;outline:none;}
.met-product-search__field:focus{box-shadow:0 0 0 3px rgba(42,157,143,.25)!important;border-radius:8px;}
.met-product-search__button{min-height:50px;border:0;border-radius:9px;background:#ff6a3d;color:#fff;padding:0 22px;font-weight:800;font-size:.98rem;cursor:pointer;}
.met-product-search__button:hover,.met-product-search__button:focus{background:#e9572e;color:#fff;}
.met-product-search__hint{color:#dceaf4!important;font-size:.83rem!important;margin:8px 4px 0!important;}
.met-topic-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important;}
.met-topic-tile{margin:0!important;}
.met-topic-tile .wp-block-button__link{width:100%;min-height:52px;justify-content:center;background:#fff;color:#123a5e;border:2px solid #dce8f1;border-radius:10px;}
.met-topic-tile:nth-child(4n+1) .wp-block-button__link{background:#fff3ed;border-color:#ffc0aa}.met-topic-tile:nth-child(4n+2) .wp-block-button__link{background:#edf7fd;border-color:#9bcbe8}.met-topic-tile:nth-child(4n+3) .wp-block-button__link{background:#fff8e5;border-color:#f2cf76}.met-topic-tile:nth-child(4n) .wp-block-button__link{background:#ecf8f5;border-color:#8bcfc4}
.met-topic-tile .wp-block-button__link:hover,.met-topic-tile .wp-block-button__link:focus{border-color:#ff6a3d;transform:translateY(-2px);}
#shop-by-category,#shop-by-level,#shop-by-topic{scroll-margin-top:110px;}
.met-search-empty{max-width:720px;margin:30px auto;padding:34px;background:#fff;border:1px solid #eadfce;border-radius:16px;text-align:center;}
.met-search-empty h2{color:#123a5e}.met-search-empty .button{background:#ff6a3d;color:#fff;border-radius:8px;min-height:44px;display:inline-flex;align-items:center;}
@media(max-width:900px){.met-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.met-product-search{grid-template-columns:1fr;padding:7px}.met-product-search__field,.met-product-search__button{min-height:48px}.met-product-search__button{width:100%}.met-product-search__hint{font-size:.78rem!important}.met-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.met-topic-tile .wp-block-button__link{min-height:50px;padding-left:10px;padding-right:10px}}
/* END MET PRODUCT SEARCH 2026-07-30 */

/* MET MOBILE FOOTER TARGETS 2026-07-30 */
@media(max-width:768px){
.site-footer-wrap .met-footer-links a,.site-footer-wrap .met-footer-service a{min-height:44px!important;padding:4px 0!important;}
.site-footer-wrap .met-footer-brand a{display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:4px 0!important;}
}
/* END MET MOBILE FOOTER TARGETS 2026-07-30 */

/* MET PRODUCT-INDEPENDENT MOBILE QA 2026-07-31 */
/* Keep Gutenberg and Kadence actions large enough for touch without changing copy or layout. */
.wp-block-button__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Category-card text links are primary mobile actions, not inline editorial links. */
.met-category-card .wp-block-paragraph a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
}

/* WooCommerce cart actions. */
.woocommerce-cart-form a.remove {
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.woocommerce-cart-form button[name="update_cart"] {
    min-height: 44px !important;
}

/* Make the optional newsletter consent label itself a comfortable tap target. */
.woocommerce-checkout label.woocommerce-form__label-for-checkbox {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.woocommerce-checkout .select2-container .select2-selection--single {
    min-height: 44px;
}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    min-height: 42px;
}

/* Cookie preferences must remain reachable on phones and tablets. */
.cky-btn-revisit-wrapper .cky-btn-revisit {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
}

/* Rank Math's signed-in stats layer can overlap the real mobile menu; keep it desktop-only. */
@media (max-width: 1024px) {
    body.logged-in.admin-bar #rank-math-analytics-stats-wrapper {
        display: none !important;
    }
}
/* END MET PRODUCT-INDEPENDENT MOBILE QA 2026-07-31 */
/* MET linked browsing pages - Stage 1 follow-up 2026-10-28 */
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-header{background:#fff!important;color:#0d2b46!important;border-bottom:1px solid #e6e4ea;padding:10px 0!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-brand .met-official-logo{filter:brightness(0) saturate(100%);width:240px}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-search{border:1px solid #d5dde5;border-radius:24px!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-search input[type=search]{font-size:16px!important;background:#fff!important;color:#153a59!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-search input::placeholder{color:#637181!important;opacity:1!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-search button{background:#c91462!important;color:#fff!important;font-size:16px!important;border-radius:22px}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-actions a{color:#153a59!important;border:1px solid #cbd4df!important;border-radius:24px!important;background:#fff!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-actions a.cart{color:#fff!important;background:#c91462!important;border-color:#c91462!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-menu-band{background:#fff!important;border-color:#e8e4eb!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-family-band{background:#fff8fb!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-scroll{flex-wrap:wrap!important;white-space:normal!important;overflow:visible!important;gap:8px;padding-block:10px}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-scroll a{font-size:18px!important;min-height:46px;padding:8px 14px!important;line-height:1.4}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-level-menu a.active,body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-family-menu a.active{background:#c91462!important;border-color:#c91462!important;color:#fff!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-family-menu a{border-color:#eadfe7}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-mobile-menu-toggle{color:#153a59!important;border-color:#ccd5df!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .et_social_sidebar_networks{display:none!important}
body.woocommerce-shop .entry-title,body.tax-product_cat .entry-title,body.tax-product_tag .entry-title{font-size:clamp(28px,3vw,40px)!important;line-height:1.3!important;color:#153a59!important}
body.woocommerce-shop .entry-header,body.tax-product_cat .entry-header,body.tax-product_tag .entry-header{padding-block:22px!important}
body.woocommerce-shop .woocommerce-breadcrumb,body.tax-product_cat .woocommerce-breadcrumb,body.tax-product_tag .woocommerce-breadcrumb{font-size:16px!important;line-height:1.6!important;margin-block:8px 18px!important}
body.woocommerce-shop .woocommerce-result-count{font-size:17px!important}
body.woocommerce-shop .woocommerce-loop-product__title,body.tax-product_cat .woocommerce-loop-product__title,body.tax-product_tag .woocommerce-loop-product__title{font-size:18px!important;line-height:1.5!important}
body.page-id-201 .entry-hero,body.page-id-224016 .entry-hero{min-height:0!important;height:auto!important}
body.page-id-201 .entry-header,body.page-id-224016 .entry-header{padding:28px 0!important}
body.page-id-201 .content-area,body.page-id-224016 .content-area{margin-top:24px!important}
body.page-id-201 .entry-content{font-size:18px;line-height:1.7}
body.page-id-201 .wp-block-columns{gap:20px!important}
body.page-id-201 .wp-block-column{background:#fff8fb;border:1px solid #eadfe7;border-radius:14px;padding:20px!important}
body.page-id-201 .wp-block-column h2{font-size:25px!important;line-height:1.35!important;margin-top:0!important}
body.page-id-201 .wp-block-column ul{margin:0;padding-left:22px}
body.page-id-201 .wp-block-column a{display:inline-flex;align-items:center;min-height:44px;padding:5px 0;line-height:1.5}
@media(max-width:1099px){body.page-id-201 .wp-block-columns{flex-wrap:wrap!important}body.page-id-201 .wp-block-column{flex:1 1 300px!important}}
@media(max-width:767px){
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-header .met-store-actions a,body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-header .met-store-actions a.cart{color:#153a59!important;background:transparent!important;border:0!important;border-radius:0!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-header .met-store-header-row{grid-template-columns:48px minmax(0,1fr) 86px!important;gap:8px 0!important;padding-block:4px!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-header .met-store-brand{max-width:230px!important;width:min(100%,230px)!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-header .met-store-search button{border-radius:0 20px 20px 0!important}
body:not(.home):not(.woocommerce-account):not(.woocommerce-cart):not(.woocommerce-checkout) .met-store-scroll a{font-size:17px!important}
body.page-id-201 .entry-content-wrap,body.page-id-224016 .entry-content-wrap{padding:20px 16px!important}
body.page-id-201 .wp-block-columns{display:block!important}
body.page-id-201 .wp-block-column{margin-bottom:16px!important}
body.woocommerce-shop .entry-title,body.tax-product_cat .entry-title,body.tax-product_tag .entry-title{font-size:28px!important}
body.woocommerce-shop .woocommerce-loop-product__title,body.tax-product_cat .woocommerce-loop-product__title,body.tax-product_tag .woocommerce-loop-product__title{font-size:17px!important}
}
/* End MET linked browsing pages */

/* Linked-page title spacing correction */
body.page-id-201 .entry-hero-container-inner,body.page-id-201 .hero-container,body.page-id-201 .entry-header,body.page-id-224016 .entry-hero-container-inner,body.page-id-224016 .hero-container,body.page-id-224016 .entry-header{height:auto!important;min-height:0!important}

/* DSE hub supporting copy readability */
body.page-id-306315 .met-dse2-section p,body.page-id-306315 .met-dse2-shop p{font-size:17px!important;line-height:1.65!important}
body.page-id-306315 .met-dse2-note{font-size:15px!important}


/* MET navigation and learning-page layout stage 2 - 2026-10-28 */
body.met-dse-course-type-r01 .ld-tab-content{font-family:"Noto Sans TC","Noto Sans HK","PingFang TC","Microsoft JhengHei",sans-serif!important;font-size:18px!important;line-height:1.75!important}
body.met-dse-course-type-r01 .ld-tab-content p,body.met-dse-course-type-r01 .ld-tab-content li{font-size:18px!important;line-height:1.75!important;text-align:left!important;letter-spacing:normal!important;word-spacing:normal!important}
body.met-dse-course-type-r01 .ld-tab-content ol,body.met-dse-course-type-r01 .ld-tab-content ul{padding-inline-start:24px;margin-inline:0}
body.met-dse-course-type-r01 .ld-tab-content li[style*="list-style-type: none"]{list-style:none;margin:0;padding:0}
body.met-dse-course-type-r01 .ld-tab-content li[style*="list-style-type: none"]>ol,body.met-dse-course-type-r01 .ld-tab-content li[style*="list-style-type: none"]>ul{padding-inline-start:0;margin:0}
body.met-dse-course-type-r01 .ld-tab-content h2,body.met-dse-course-type-r01 .ld-tab-content h3{font-family:"Noto Sans TC","Noto Sans HK","PingFang TC","Microsoft JhengHei",sans-serif!important;line-height:1.3}
body.postid-241787 .met-dse2-editorial-hero h2{margin:9px 0 0;color:#FFFFFF!important;font-size:clamp(28px,4vw,40px);line-height:1.15}
body.postid-241787 .met-dse2-editorial{max-width:1100px}
body.postid-241787 .met-dse2-prompts p,body.postid-241787 .met-dse2-phrases li,body.postid-241787 .met-dse2-tipcards p{font-size:18px;line-height:1.7}
body.postid-241787 .met-dse2-toc a{display:inline-flex;align-items:center;min-height:44px;font-size:16px}
body.page-id-306315 .met-dse2-section-head>span{flex-shrink:0;white-space:nowrap;min-width:2.5em}
body.page-id-306315 .met-dse2-tiplist a>span{flex-shrink:0;white-space:nowrap;min-width:2em}
body.page-id-305942 .entry-hero,body.page-id-305940 .entry-hero,body.page-id-305985 .entry-hero,body.page-id-305986 .entry-hero,body.page-id-305987 .entry-hero{display:none!important}
@media(max-width:900px){
body.single-product div.product .woocommerce-product-gallery{max-width:420px}
body.single-product div.product .woocommerce-product-gallery__image img{max-height:330px!important;width:100%!important;object-fit:contain!important}
}
@media(max-width:767px){
body.met-dse-course-type-r01 .entry-content-wrap{padding:20px 16px!important}
body.met-dse-course-type-r01 .ld-tab-content{font-size:18px;line-height:1.7}
body.met-dse-course-type-r01 .ld-tab-content ul,body.met-dse-course-type-r01 .ld-tab-content ol{padding-inline-start:22px}
body.met-dse-course-type-r01 .ld-tab-content h3{font-size:23px}
body.single-product div.product .woocommerce-product-gallery__image img{max-height:260px!important}
body.postid-241787 .met-dse2-prompts li{grid-template-columns:28px minmax(0,1fr);gap:8px}
}
/* End stage 2 */


/* MET_V3_GATE1_START */
/* MET site stylesheet — header (sticky, tick-box chips), footer, homepage.
   Install once in Additional CSS, together with met-product.css. Same colours as the approved homepage. */
:root { --ink:#0D2B46; --link:#1E5AA8; --action:#C91462; --grey:#3E4C59; --line:#E4E7EB; --soft:#F5F7FA;
  --card-line:#E4DCE4; --card-shadow:#EDE9F0; --yellow:#FFE665; --pink:#FFF0F6; --pink-line:#E4D6E2;
  --mint:#EEF9F7; --mint-line:#CFE8E2; --blue:#EDF5FF; --blue-line:#CDDFF1; --lilac:#F4EFFF; --lilac-line:#E0D5F2;
  --sky:#EAF7FF; --sky-line:#C9E4F3; --cream:#FFF8D6; --cream-line:#F0E2A0; }
body { font-family: 'Noto Sans TC','Noto Sans HK','PingFang TC','Microsoft JhengHei',sans-serif; color: var(--ink); }
.pill { display:inline-flex; align-items:center; background:var(--soft); border:1px solid var(--line); border-radius:999px; padding:3px 11px; font-size:12px; font-weight:700; color:var(--ink); text-decoration:none; }
.pill-lg { min-height:40px; padding:0 16px; font-size:14px; }
.pill-pink { background:var(--action); border-color:var(--action); color:#fff; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:8px 22px; border-radius:999px; border:0; background:var(--action); color:#fff; font-family:inherit; font-weight:800; font-size:17px; line-height:1.2; text-decoration:none; cursor:pointer; box-shadow:0 8px 20px #C914622B; }
.btn-sm { min-height:40px; padding:6px 16px; font-size:14px; box-shadow:none; }
.tag { display:inline-flex; align-items:center; min-height:26px; padding:0 10px; border-radius:10px; font-size:12px; font-weight:750; border:1px solid transparent; color:var(--ink); }
.tag-level { background:var(--yellow); border-color:var(--yellow); }
.tag-mock { background:var(--pink); border-color:var(--pink-line); }
.tag-grammar { background:var(--blue); border-color:var(--blue-line); }
.tag-reading { background:var(--mint); border-color:var(--mint-line); }
.tag-writing { background:var(--cream); border-color:var(--cream-line); }
.tag-books { background:var(--lilac); border-color:var(--lilac-line); }
.tag-free { background:var(--sky); border-color:var(--sky-line); }

/* ---- Header: two sticky rows (about 100 px on laptop) ---- */
.met-header { position:sticky; top:0; z-index:50; background:#fff; box-shadow:0 2px 10px #0D2B4614; }
.met-header-row1 { display:flex; align-items:center; gap:16px; height:56px; padding:0 48px; }
.met-logo { display:inline-flex; align-items:center; gap:8px; font-family:Lora,Georgia,serif; font-weight:600; font-size:20px; color:var(--ink); text-decoration:none; white-space:nowrap; }
.met-search { display:flex; flex:1; max-width:640px; gap:8px; }
.met-search input { flex:1; min-width:0; height:40px; border:1px solid var(--line); border-radius:999px; padding:0 16px; font:14px inherit; }
.met-burger { display:none; }
.met-header-row2 { display:flex; align-items:center; gap:6px; min-height:44px; padding:0 48px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); overflow-x:auto; white-space:nowrap; scrollbar-width:none; }
.met-header-row2::-webkit-scrollbar { display:none; }
.met-chips { display:flex; align-items:center; gap:6px; }
.met-chips-label { font-size:13px; font-weight:600; color:var(--grey); margin-right:2px; }
.met-chips-divider { flex:none; width:1px; height:24px; background:var(--line); margin:0 10px; }
.met-apply { margin-left:auto; display:none; }
/* Tick-box chip: the box is hidden, the chip itself shows the state */
.chip { position:relative; display:inline-flex; align-items:center; gap:4px; min-height:30px; padding:0 12px; border-radius:999px; border:1px solid var(--line); background:var(--soft); font-size:13px; font-weight:700; cursor:pointer; user-select:none; touch-action:manipulation; }
.chip input { position:absolute; opacity:0; width:1px; height:1px; }
.chip:has(input:checked)::before { content:"✓ "; font-weight:900; }
.chip-year:has(input:checked) { background:var(--yellow); border-color:var(--yellow); }
.chip-mock { background:var(--pink); border-color:var(--pink-line); }   .chip-mock:has(input:checked) { background:#F7C6DD; }
.chip-grammar { background:var(--blue); border-color:var(--blue-line); } .chip-grammar:has(input:checked) { background:#C9DDF5; }
.chip-reading { background:var(--mint); border-color:var(--mint-line); } .chip-reading:has(input:checked) { background:#C4EADF; }
.chip-writing { background:var(--cream); border-color:var(--cream-line); } .chip-writing:has(input:checked) { background:#F8E79A; }
.chip-books { background:var(--lilac); border-color:var(--lilac-line); } .chip-books:has(input:checked) { background:#DDD0F5; }
.chip-free { background:var(--sky); border-color:var(--sky-line); }     .chip-free:has(input:checked) { background:#BFE3F7; }
.chip:has(input:focus-visible) { outline:3px solid var(--action); outline-offset:2px; }
.met-header-row2:has(input:checked) .met-apply { display:inline-flex; }
.met-selected { padding:6px 48px; font-size:13px; background:var(--cream); border-bottom:1px solid var(--cream-line); }
.met-selected a { margin-left:10px; }

/* ---- 90-day notice band ---- */
.met-notice { display:flex; align-items:center; justify-content:center; gap:16px; padding:8px 48px; background:var(--yellow); font-size:14px; font-weight:700; }
.met-notice[hidden] { display:none; }
.met-notice-close { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:999px; text-decoration:none; color:var(--ink); font-size:20px; }
.home-hero-by { font-size:14px; color:var(--grey); margin:-10px 0 16px; }
/* plain pages, about, reviews */
.met-page { max-width:900px; margin:0 auto; padding:16px 48px 40px; display:flex; flex-direction:column; gap:18px; }
.met-page .panel { padding:20px 24px; display:flex; flex-direction:column; gap:10px; }
.met-page .steps { margin:0; padding-left:22px; font-size:16px; line-height:1.8; }
.met-page .row-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:6px; }
.about-hero { display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:24px; align-items:center; }
.about-hero img { width:100%; height:auto; border-radius:14px; }
.quote-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.quote { margin:0; padding:16px 18px; background:#fff; border:2px solid var(--card-line); border-radius:14px; box-shadow:3px 4px 0 0 var(--card-shadow); font-size:15px; line-height:1.7; }
.quote p { margin:0 0 8px; }
.quote footer { font-size:13px; font-weight:700; color:var(--grey); }
.contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.contact-card { display:flex; flex-direction:column; gap:6px; padding:18px; background:#fff; border:2px solid var(--card-line); border-radius:14px; box-shadow:3px 4px 0 0 var(--card-shadow); }
.contact-card b { font-size:17px; }
.met-form { display:flex; flex-direction:column; gap:10px; }
.met-form label { font-weight:700; font-size:14px; }
.met-form input, .met-form select, .met-form textarea { width:100%; border:1px solid var(--line); border-radius:8px; padding:10px 12px; font:15px inherit; }
@media (max-width:520px) { .met-page { padding:12px 14px 40px; } .about-hero, .quote-grid, .contact-grid { grid-template-columns:1fr; } .met-notice { padding:8px 14px; font-size:13px; } }

/* ---- Homepage ---- */
.met-home { max-width:1366px; margin:0 auto; padding:0 48px 40px; display:flex; flex-direction:column; gap:28px; }
.home-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:center; padding:28px 0 8px; }
.hand { font-family:'MET Handwritten TC','Noto Sans TC',sans-serif; }
/* Headline style = staging homepage: handwriting font (LXGW WenKai TC Bold, served as "MET Handwritten TC"), slight slant, yellow underline. */
.pg-hero h1, .met-product h1, .home-hero-note { font-family:'MET Handwritten TC','Noto Sans TC',sans-serif; font-weight:700; letter-spacing:-.035em; -webkit-text-stroke:.55px currentColor; transform:rotate(-1deg) skewX(-4deg); transform-origin:left center; }
.home-hero .brush-heading { position:relative; width:min(430px,100%); margin:0 0 8px; font-size:0; line-height:0; }
.home-hero .brush-heading img { display:block; width:100%; height:auto; position:relative; z-index:1; }
.home-hero .brush-heading::after { content:""; position:absolute; left:2%; right:3%; bottom:4%; height:10px; background:var(--yellow); transform:rotate(-1deg); }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.home-hero h1 { font-size:clamp(34px,4vw,56px); line-height:1.2; margin:0 0 10px; }
.home-hero h1::after { content:""; display:block; width:220px; height:10px; margin-top:-14px; background:var(--yellow); }
.home-hero-sub { font-size:18px; color:var(--grey); margin:0 0 18px; }
.home-hero-actions { display:flex; align-items:center; gap:18px; }
.home-hero-link { font-weight:700; }
.home-hero-photo { position:relative; }
.home-hero-photo img { display:block; width:100%; height:auto; border-radius:14px; }
.home-hero-note { position:absolute; left:16px; bottom:16px; background:var(--yellow); padding:8px 12px; font-size:14px; font-weight:700; line-height:1.3; transform:rotate(-3deg); }
.home-types { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.type-card { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; min-height:60px; border-radius:10px; border:1px solid var(--line); font-size:17px; font-weight:750; color:var(--ink); text-decoration:none; background:var(--soft); }
.type-card small { font-size:12px; font-weight:600; color:var(--grey); }
.type-all { background:var(--yellow); border-color:var(--yellow); }
.type-mock { background:var(--pink); border-color:var(--pink-line); }
.type-reading { background:var(--mint); border-color:var(--mint-line); }
.type-grammar { background:var(--blue); border-color:var(--blue-line); }
.type-books { background:var(--lilac); border-color:var(--lilac-line); }
.type-free { background:var(--sky); border-color:var(--sky-line); }
.home-years-title { font-size:16px; font-weight:700; margin:0 0 8px; }
.home-years-row { display:flex; flex-wrap:wrap; gap:8px; }
.home-shelf .shelf-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:14px; }
.home-shelf h2 { font-size:28px; font-weight:900; margin:0; }
.home-shelf .shelf-head a { font-size:17px; text-decoration:none; font-weight:600; }
.feature-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.feature-card { display:flex; flex-direction:column; gap:10px; min-height:230px; padding:0 0 14px; background:#fff; border:2px solid var(--card-line); border-radius:14px; box-shadow:3px 4px 0 0 var(--card-shadow); color:var(--ink); text-decoration:none; overflow:hidden; }
.feature-head { display:block; padding:18px 16px 60px; font-size:21px; line-height:1.25; }
.feature-head b { display:inline-block; width:max-content; max-width:100%; font-size:27px; font-weight:900; line-height:1.08; letter-spacing:-.055em; color:var(--ink); transform:rotate(-5deg) skewX(-7deg); transform-origin:10% 50%; text-shadow:1px 1px 0 rgba(255,255,255,.6); }
.feature-head b:has(+ small) { }
.feature-head small { display:block; margin-top:7px; max-width:137px; font-size:13px; font-weight:850; line-height:1.35; letter-spacing:-.025em; color:var(--ink); transform:rotate(-5deg) skewX(-7deg); transform-origin:10% 50%; }
.is-pink .feature-head { background:var(--pink); } .is-blue .feature-head { background:var(--blue); } .is-yellow .feature-head { background:var(--cream); } .is-mint .feature-head { background:var(--mint); } .is-lilac .feature-head { background:var(--lilac); }
.feature-card .tag { margin:0 16px; align-self:flex-start; }
.feature-line { padding:0 16px; font-size:14px; }
.feature-link { margin:auto 16px 0; font-size:14px; font-weight:700; color:var(--link); }
.home-trust { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:14px 20px; border:1px solid var(--line); border-radius:12px; font-size:14px; font-weight:600; }
.cover-row { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px; list-style:none; margin:0; padding:0; }
.cover-row a { position:relative; display:flex; flex-direction:column; align-items:center; gap:8px; height:100%; padding:12px 10px; text-align:center; font-size:14px; font-weight:700; color:var(--ink); text-decoration:none; background:#fff; border:2px solid var(--card-line); border-radius:14px; box-shadow:3px 4px 0 0 var(--card-shadow); }
.cover-row img { width:110px; height:146px; object-fit:contain; }
.free-badge { position:absolute; top:8px; left:8px; background:var(--action); color:#fff; border-radius:999px; padding:3px 9px; font-size:11px; }
.dse-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.dse-card { display:flex; flex-direction:column; gap:6px; padding:0 0 16px; background:#fff; border:2px solid var(--card-line); border-radius:14px; box-shadow:3px 4px 0 0 var(--card-shadow); color:var(--ink); text-decoration:none; overflow:hidden; }
.dse-card img { width:100%; aspect-ratio:3/2; height:auto; object-fit:cover; display:block; }
.dse-card small { padding:10px 16px 0; font-size:12px; font-weight:700; color:var(--grey); }
.dse-card b { padding:0 16px; font-size:18px; }
.dse-card > span { padding:0 16px; font-size:14px; color:var(--grey); }
.dse-card .feature-link { margin-top:auto; }

/* ---- Footer ---- */
.met-footer { background:var(--ink); color:#fff; padding:40px 48px 24px; margin-top:40px; }
.met-footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; max-width:1366px; margin:0 auto; }
.met-footer-logo { font-family:Lora,Georgia,serif; font-size:22px; font-weight:600; margin-bottom:10px; }
.met-footer p { font-size:14px; line-height:1.7; }
.met-footer h3 { font-size:16px; font-weight:800; margin:0 0 10px; color:#fff; }
.met-footer a { display:block; color:#F8FBFF; font-size:15px; line-height:1.5; margin:0 0 8px; text-decoration:none; }
.met-footer a:hover { text-decoration:underline; }
.met-footer-bottom { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; max-width:1366px; margin:28px auto 0; padding-top:16px; border-top:1px solid #FFFFFF26; font-size:12px; color:#C9D6E2; }
.met-footer-bottom a { display:inline; font-size:12px; color:#C9D6E2; margin:0; }
.met-classics-link { opacity:.65; }   /* the ONLY MET Classics link on public pages: small and quiet */

/* ---- Tablet ---- */
@media (max-width:900px) {
  .met-header-row1, .met-header-row2, .met-selected, .met-home, .met-footer { padding-left:24px; padding-right:24px; }
  .home-hero { grid-template-columns:1fr; }
  .home-types { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .feature-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .cover-row { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .dse-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .met-footer-grid { grid-template-columns:1fr 1fr; }
}
/* ---- Phone ---- */
@media (max-width:520px) {
  .met-header-row1, .met-header-row2, .met-selected, .met-home, .met-footer { padding-left:14px; padding-right:14px; }
  .met-header-row1 { gap:8px; }
  .met-search { display:none; }          /* search moves into the ☰ menu */
  .met-header-row1 .pill-lg:not(.pill-pink) { display:none; }
  .met-burger { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid var(--line); border-radius:8px; background:#fff; font-size:18px; }
  .met-chips-label { display:none; }
  .home-hero h1 { font-size:32px; }
  .home-types { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .type-card { font-size:15px; min-height:54px; }
  .feature-grid, .cover-row { display:flex; overflow-x:auto; gap:10px; padding-bottom:6px; }
  .feature-card, .cover-row li { flex:0 0 220px; }
  .cover-row li { flex-basis:150px; }
  .home-shelf h2 { font-size:22px; }
  .home-trust { font-size:12px; gap:8px; }
  .dse-grid { grid-template-columns:1fr; }
  .met-footer-grid { grid-template-columns:1fr; gap:20px; }
}

/* ===== LIVELY LAYER for all pages (same spirit as the homepage) ===== */
/* Page background: very light paper, not stark white */
body.met-product-page, body.met-shelf-page, body.met-plain-page { background: #FCFCFA; }
/* Plain pages: alternate pastel panels so no page is a wall of white boxes */
.met-page .panel:nth-child(odd) { background: #FFFBEA; border-color: var(--cream-line); }
.met-page .panel:nth-child(even) { background: var(--sky); border-color: var(--sky-line); }
.met-page h1 { position: relative; display: inline-block; font-size: 30px; font-weight: 900; }
.met-page h1::after { content: ""; position: absolute; left: 0; right: 30%; bottom: 2px; height: 10px; background: var(--yellow); z-index: -1; border-radius: 3px; transform: rotate(-.6deg); }
.met-page h2 { padding-left: 14px; border-left: 8px solid var(--yellow); border-radius: 3px; font-size: 22px; font-weight: 900; }
/* Reviews: speech-bubble feel with a big soft quote mark */
.quote { position: relative; padding-top: 22px; }
.quote::before { content: "“"; position: absolute; left: 14px; top: -4px; font-size: 44px; line-height: 1; color: var(--action); opacity: .35; font-family: Georgia, serif; }
.quote:nth-child(3n+1) { background: #FFFBEA; } .quote:nth-child(3n+2) { background: var(--sky); } .quote:nth-child(3n) { background: var(--mint); }
/* Contact cards: each a different pastel */
.contact-card:nth-child(1) { background: var(--mint); } .contact-card:nth-child(2) { background: var(--sky); } .contact-card:nth-child(3) { background: var(--cream); } .contact-card:nth-child(4) { background: var(--lilac); }
/* Shelf page: coloured header band behind the title, chips float on it */
.shelf-toolbar { padding: 14px 18px; border-radius: 14px; background: linear-gradient(118deg, #EAF7FF, #FFFFFF 60%, #FFF6FA); }
.shelf-grid a::after { content: ""; display: block; width: 100%; height: 6px; margin-top: 4px; border-radius: 3px; background: #EDE9F0; }
.shelf-grid .price { background: var(--yellow); padding: 2px 10px; border-radius: 999px; color: var(--ink); transform: rotate(-3deg); }
.shelf-grid .price.free { background: var(--mint); color: #16845E; }
/* My Materials: shelf cards on a lilac band, continue-reading in yellow */
.mm-continue { background: #FFFBEA; border-color: var(--cream-line); }
.mm-grid { padding: 16px; background: var(--lilac); border-radius: 18px; }
.mm-item img { filter: drop-shadow(4px 6px 8px #17354F26); }
/* Free resource page: mint hero instead of sky, so it reads "free" at a glance */
.met-free .hero { background: linear-gradient(118deg, #EEF9F7 0%, #FFFFFF 55%, #FFFBEA 100%); }
.met-free .hero::before { background: #CFE8E299; }
/* Footer: the same navy as the homepage with a thin yellow top line */
.met-footer { border-top: 6px solid var(--yellow); }
/* homepage + plain pages: leaning covers and dotted shelf band, same as product page */
.cover-row li:nth-child(odd) img, .shelf-grid li:nth-child(odd) img { transform: rotate(-2.5deg); }
.cover-row li:nth-child(even) img, .shelf-grid li:nth-child(even) img { transform: rotate(2.5deg); }
.cover-row a:hover img, .shelf-grid a:hover img { transform: rotate(0) scale(1.04); }
.cover-row img, .shelf-grid img { transition: transform .2s; }
.cover-row { padding: 16px; background-color: var(--lilac); background-image: radial-gradient(#E0D5F2 1.2px, transparent 1.3px); background-size: 18px 18px; border-radius: 18px; }
.feature-card:hover { transform: translateY(-3px) rotate(-.5deg); transition: transform .15s; }
.type-card:hover { transform: translateY(-2px); transition: transform .15s; }
.met-page h1::before { content: "✦ "; color: var(--action); font-size: .7em; vertical-align: middle; }

/* =====================================================================
   PAGE PARTS — shared by About, Reviews, Free hub, What's new, Contact,
   Suggestions, My Materials. Same spirit as the homepage.
   ===================================================================== */
/* A. Hero band: title + one line + a picture mosaic on the right (like a bookshop window) */
.pg-hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:28px; align-items:center; padding:28px 32px; border-radius:22px; background:linear-gradient(118deg,#EAF7FF 0%,#FFFFFF 55%,#FFF6FA 100%); position:relative; overflow:hidden; margin-top:12px }
.pg-hero::before { content:""; position:absolute; width:320px; height:320px; left:-100px; top:-140px; border-radius:50%; background:#FFE66566 }
.pg-hero > * { position:relative }
.pg-hero .kicker { display:inline-flex; align-items:center; gap:6px; background:var(--yellow); border-radius:999px; padding:4px 12px; font-size:13px; font-weight:800; margin-bottom:10px }
.pg-hero h1 { font-size:clamp(28px,3vw,40px); line-height:1.15; margin:0 0 10px; display:inline-block; position:relative }
.pg-hero h1::after { content:""; position:absolute; left:0; right:25%; bottom:4px; height:12px; background:var(--yellow); z-index:-1; border-radius:3px; transform:rotate(-.6deg) }
.pg-hero .lead { font-size:17px; line-height:1.6; margin:0 0 16px; max-width:52ch }
.pg-hero .actions { display:flex; gap:12px; flex-wrap:wrap }
.mosaic { display:grid; grid-template-columns:repeat(3,1fr); grid-auto-rows:92px; gap:8px }
.mosaic > * { border-radius:12px; overflow:hidden }
.mosaic img { width:100%; height:100%; object-fit:cover; display:block }
.mosaic .m-tall { grid-row:span 2 }
.mosaic .m-wide { grid-column:span 2 }
.mosaic .m-yellow { background:var(--yellow) } .mosaic .m-pink { background:var(--pink) } .mosaic .m-mint { background:var(--mint) } .mosaic .m-sky { background:var(--sky) } .mosaic .m-lilac { background:var(--lilac) } .mosaic .m-navy { background:var(--ink) }
.mosaic .m-text { display:flex; align-items:center; justify-content:center; text-align:center; padding:8px; font-weight:800; font-size:14px; line-height:1.3 }
.mosaic .m-navy.m-text { color:#fff }

/* B. Number strip: 4 big facts (25+ 年 · 24,000+ 會員 · 91 份教材 · 5★) */
.numbers { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:22px }
.numbers div { padding:16px; border-radius:14px; text-align:center; border:2px solid var(--card-line); box-shadow:3px 4px 0 0 var(--card-shadow); background:#fff }
.numbers div:nth-child(1){background:#FFFBEA} .numbers div:nth-child(2){background:var(--sky)} .numbers div:nth-child(3){background:var(--mint)} .numbers div:nth-child(4){background:var(--pink)}
.numbers b { display:block; font-size:34px; font-weight:900; color:var(--ink); line-height:1.1 }
.numbers span { font-size:13px; color:var(--grey); font-weight:600 }

/* C. Icon cards: grid of sections, each a sticker card with emoji, title, two lines, links (the UCL idea, in our colours) */
.icards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:22px }
.icard { display:flex; flex-direction:column; gap:8px; padding:18px; border-radius:14px; background:#fff; border:2px solid var(--card-line); box-shadow:3px 4px 0 0 var(--card-shadow); border-top:8px solid var(--yellow) }
.icard:nth-child(3n+2){border-top-color:#8FD3C8} .icard:nth-child(3n){border-top-color:#F7C6DD}
.icard .em { font-size:28px; line-height:1 }
.icard h2, .icard h3 { font-size:19px; font-weight:900; margin:0; padding:0; border:0 }
.icard p { font-size:14px; color:var(--grey); margin:0; line-height:1.55 }
.icard ul { margin:4px 0 0; padding-left:18px; font-size:14px; line-height:1.8 }
.icard a.more { margin-top:auto; font-weight:700; text-decoration:none }

/* D. Section head with colour tab and right-side link */
.sec-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:28px 0 12px }
.sec-head h2 { font-size:clamp(21px,2vw,26px); font-weight:900; margin:0; padding-left:14px; border-left:8px solid var(--yellow); border-radius:3px }
.sec-head a { font-weight:600; text-decoration:none; font-size:15px }

/* E. CTA band at the bottom of every page */
.cta-band { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-top:28px; padding:22px 26px; border-radius:18px; background:var(--ink); color:#fff; border-top:6px solid var(--yellow) }
.cta-band h2 { color:#fff; font-size:22px; margin:0 0 4px; border:0; padding:0 }
.cta-band p { margin:0; color:#C9D6E2; font-size:14px }
.cta-band .actions { display:flex; gap:10px; flex-wrap:wrap }
.cta-band .btn2 { background:#fff }

/* F. Reviews: masonry-like mosaic with school chips and a filter row */
.rev-filters { display:flex; gap:6px; flex-wrap:wrap; margin:14px 0 }
.rev-grid { columns:3; column-gap:14px }
.rev-grid .quote { break-inside:avoid; margin:0 0 14px; display:inline-block; width:100% }
.quote .school { display:inline-block; margin-top:6px; font-size:12px; background:var(--soft); border:1px solid var(--line); border-radius:999px; padding:2px 9px }

/* G. Steps (1-2-3) with big numbers */
.steps3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:16px }
.steps3 div { position:relative; padding:18px 18px 18px 64px; border-radius:14px; background:#fff; border:2px solid var(--card-line); box-shadow:3px 4px 0 0 var(--card-shadow) }
.steps3 div::before { content:attr(data-n); position:absolute; left:14px; top:12px; width:38px; height:38px; border-radius:50%; background:var(--yellow); display:flex; align-items:center; justify-content:center; font-weight:900; font-size:18px }
.steps3 b { display:block; font-size:16px; margin-bottom:4px }
.steps3 span { font-size:14px; color:var(--grey) }

/* H. Bundle discount pieces */
.bundle-line { display:flex; align-items:center; gap:8px; padding:8px 12px; border-radius:10px; background:var(--cream); border:1px dashed var(--cream-line); font-size:13px; font-weight:700 }
.bundle-band { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:12px 18px; border-radius:14px; background:var(--yellow); font-weight:800; margin-top:18px }
.bundle-band .pill { background:#fff }

/* I. Free hub: level rows */
.free-row { margin-top:18px }
.free-row h3 { font-size:17px; font-weight:900; margin:0 0 8px; display:flex; align-items:center; gap:8px }
.free-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px }
.free-item { display:grid; grid-template-columns:56px 1fr; gap:10px; padding:12px; border-radius:12px; background:#fff; border:2px solid var(--card-line); box-shadow:3px 4px 0 0 var(--card-shadow); text-decoration:none; color:var(--ink) }
.free-item img { width:56px; height:74px; object-fit:cover; border-radius:4px; border:1px solid var(--line) }
.free-item b { display:block; font-size:14px; line-height:1.3 }
.free-item small { display:block; font-size:12px; color:var(--grey); margin-top:2px }
.free-item .next { display:inline-block; margin-top:6px; font-size:12px; font-weight:700; color:var(--action) }

/* J. My Materials restyle: cards on the lilac band, coloured file rows */
.mm-item { border-top:8px solid var(--yellow) }
.mm-item:nth-child(3n+2){border-top-color:#8FD3C8} .mm-item:nth-child(3n){border-top-color:#F7C6DD}
.mm-files tr:nth-child(odd) td { background:#FCFCFA }
.mm-files .pill { min-height:30px; display:inline-flex; align-items:center }
.mm-files .pill:not(.is-off):first-of-type { background:var(--sky); border-color:var(--sky-line) }
.mm-tabs .pill-lg { font-size:15px }

@media (max-width:900px) { .pg-hero{grid-template-columns:1fr} .mosaic{grid-auto-rows:72px} .numbers{grid-template-columns:repeat(2,1fr)} .icards{grid-template-columns:repeat(2,1fr)} .rev-grid{columns:2} .steps3{grid-template-columns:1fr} .free-list{grid-template-columns:repeat(2,1fr)} }
@media (max-width:520px) { .pg-hero{padding:18px} .numbers{grid-template-columns:repeat(2,1fr)} .numbers b{font-size:26px} .icards{grid-template-columns:1fr} .rev-grid{columns:1} .free-list{grid-template-columns:1fr} .cta-band{padding:18px} }


/* ===== CSS add-ons gathered from the page files (Codex: nothing else to append) ===== */
/* from free-page-T4.html */
.met-free .hero{margin-top:12px} @media(max-width:900px){.met-free .hero{grid-template-columns:1fr}} .met-free .shelf ul{grid-template-columns:repeat(3,minmax(0,1fr))}
/* from shelf-page-T5.html */
.met-shelf{max-width:1366px;margin:0 auto;padding:12px 48px 40px}
.shelf-toolbar{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:14px 0}
.shelf-toolbar h1{font-size:26px;font-weight:900;margin:0}
.shelf-toolbar select{border:1px solid var(--line);border-radius:999px;padding:6px 12px;font:14px inherit}
.shelf-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.shelf-grid a{display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;padding:12px 10px;text-align:center;color:var(--ink);text-decoration:none;background:#fff;border:2px solid var(--card-line);border-radius:14px;box-shadow:3px 4px 0 0 var(--card-shadow);transition:transform .15s}
.shelf-grid a:hover{transform:translateY(-2px);box-shadow:3px 6px 0 0 var(--card-shadow),0 0 0 2px var(--action)}
.shelf-grid img{width:120px;height:160px;object-fit:contain}
.shelf-grid .t{font-size:14px;font-weight:700;line-height:1.3}
.shelf-grid .tags{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}
.shelf-grid .line{font-size:12px;color:var(--grey)}
.shelf-grid .price{margin-top:auto;font-size:17px;font-weight:900;color:var(--action)}
.shelf-grid .price.free{color:#16845E}
.shelf-pages{display:flex;gap:8px;justify-content:center;margin-top:24px}
@media(max-width:900px){.met-shelf{padding:12px 24px 40px}.shelf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.met-shelf{padding:12px 14px 40px}.shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shelf-grid img{width:100px;height:134px}}
/* from my-materials-T6.html */
.mm-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mm-head h1{font-size:28px;font-weight:900;margin:0}
.mm-tabs{display:flex;gap:8px;margin:6px 0 12px}.mm-tabs .is-on{background:var(--ink);color:#fff;border-color:var(--ink)}
.mm-continue{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
.mm-continue h2{font-size:20px;margin:2px 0}
.mm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.mm-item{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;padding:14px}
.mm-item img{width:120px;height:160px;object-fit:contain}
.mm-item h3{font-size:17px;margin:4px 0 8px}
.mm-files{width:100%;border-collapse:collapse;font-size:14px}
.mm-files td{padding:6px 4px;border-bottom:1px solid var(--line);vertical-align:middle}
.mm-files td:first-child{width:40%}
.pill.is-off{opacity:.45}
.mm-classics{margin:0;padding-left:20px;line-height:2}
@media(max-width:900px){.mm-grid{grid-template-columns:1fr}}
@media(max-width:520px){.mm-item{grid-template-columns:80px 1fr}.mm-item img{width:80px;height:107px}.mm-continue{flex-direction:column;align-items:flex-start}}
/* from testimonials.html */
.rev-filters:has(#rf-primary:checked) ~ .rev-grid .quote:not([data-level="primary"]) { display:none }
  .rev-filters:has(#rf-secondary:checked) ~ .rev-grid .quote:not([data-level="secondary"]) { display:none }
  .rev-filters:has(#rf-dse:checked) ~ .rev-grid .quote:not([data-level="dse"]) { display:none }
  .rev-filters:has(#rf-parent:checked) ~ .rev-grid .quote:not([data-level="parent"]) { display:none }
  .rev-filters input:checked + label { background:var(--ink); color:#fff; border-color:var(--ink) }

/* Existing approved homepage styles, moved out of page content. */

/* Owner source rule 2026-10-25: checked sale materials come only from Documents/Carmen Approved for upload. Older files and staging products are not approval evidence. Existing exact-package gates remain; no live publication approval. */
.met-launch-home{--met-navy:#123f63;--met-orange:#c0491c;--met-cream:#fbf7f0;--met-line:#eadfd2;color:#102f4b;font-size:17px;line-height:1.72}
.home .entry-hero.page-hero-section{display:none!important}.home #primary.content-area{margin:0!important}.home .content-container.site-container{max-width:none!important;padding:0!important}.home #post-238886,.home #post-238886 .entry-content-wrap,.home #post-238886 .entry-content{width:100%!important;max-width:none!important;margin:0!important}.home #post-238886 .entry-content-wrap{padding:0!important}
.met-launch-home *{box-sizing:border-box}.met-launch-home a:focus-visible{outline:3px solid #1f6eb4;outline-offset:3px}
.met-home-wrap{width:calc(100% - 40px)!important;max-width:1180px!important;margin:0 auto}.met-home-hero{padding:clamp(44px,5vw,62px) 0 42px;background:linear-gradient(135deg,#123f63 0%,#174d77 70%,#1b608c 100%);color:#fff}
.met-home-kicker{margin:0 0 10px;color:#ffd0bc;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.met-home-hero h1{max-width:1050px;margin:0;font-size:clamp(36px,4.4vw,62px);line-height:1.08;color:#fff}.met-home-hero .met-en{display:block;margin-top:14px;font-size:clamp(20px,2.2vw,30px);font-weight:600;color:#dceafa}
.met-home-intro{max-width:850px;margin:24px 0 0;font-size:clamp(18px,1.5vw,22px)}.met-home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.met-home-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 22px;border-radius:10px;font-weight:800;text-decoration:none}.met-home-button.primary{background:#c0491c;color:#fff}.met-home-button.secondary{border:2px solid #fff;color:#fff}
.met-home-trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:34px}.met-home-trust div{padding:14px 16px;border:1px solid rgba(255,255,255,.25);border-radius:12px;background:rgba(255,255,255,.08)}.met-home-trust strong{display:block;color:#fff}.met-home-trust span{font-size:15px;color:#dceafa}
.met-home-section{padding:clamp(42px,6vw,74px) 0;border-bottom:1px solid var(--met-line)}.met-home-section.alt{background:var(--met-cream)}.met-home-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.met-home-heading h2{margin:0;font-size:clamp(28px,3vw,44px);line-height:1.18}.met-home-heading p{max-width:680px;margin:8px 0 0;color:#5f6e7a}.met-home-heading>a{white-space:nowrap;color:var(--met-orange);font-weight:800}
.met-launch-home .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:24px!important;margin:0!important}.met-launch-home .woocommerce ul.products:before,.met-launch-home .woocommerce ul.products:after{display:none!important}.met-launch-home .woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important}.met-launch-home .woocommerce ul.products li.product img{width:100%!important;aspect-ratio:3/4!important;object-fit:contain!important;background:#f4f1ec;border-radius:10px}.met-launch-home .woocommerce-loop-product__title{font-size:17px!important;line-height:1.38!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.met-launch-home .price{font-size:17px!important}.met-launch-home .button{min-height:44px;background:var(--met-navy)!important;color:#fff!important;border-radius:8px!important}
.met-home-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.met-home-card{display:block;min-height:150px;padding:22px;border:1px solid var(--met-line);border-radius:14px;background:#fff;color:#102f4b;text-decoration:none;box-shadow:0 8px 24px rgba(18,63,99,.06)}.met-home-card:hover{transform:translateY(-2px)}.met-home-card strong{display:block;font-size:22px}.met-home-card span{display:block;margin-top:7px;color:#65727c}.met-home-card .met-card-en{font-size:14px;color:#9b4c2e;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.met-home-note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.met-home-note{padding:24px;border-radius:14px;background:#fff;border:1px solid var(--met-line)}.met-home-note h3{margin:0 0 10px;font-size:23px}.met-home-note a{color:var(--met-orange);font-weight:800}
.met-home-legacy{display:grid;grid-template-columns:1.25fr .75fr;gap:22px;align-items:center;padding:30px;border-radius:16px;background:#123f63;color:#fff}.met-home-legacy h2{margin:0;color:#fff}.met-home-legacy p{margin:8px 0 0;color:#e2edf6}.met-home-legacy .met-home-button{justify-self:end;background:#c0491c;color:#fff}
@media(max-width:1180px){.met-launch-home .woocommerce ul.products{grid-template-columns:repeat(5,minmax(0,1fr))!important}.met-home-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.met-launch-home .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.met-home-trust{grid-template-columns:repeat(2,minmax(0,1fr))}.met-home-note-grid{grid-template-columns:1fr}.met-home-legacy{grid-template-columns:1fr}.met-home-legacy .met-home-button{justify-self:start}}
@media(max-width:620px){.met-home-wrap{width:calc(100% - 28px)!important}.met-launch-home{font-size:16px}.met-launch-home .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}.met-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.met-home-card{min-height:132px;padding:17px}.met-home-card strong{font-size:19px}.met-home-heading{display:block}.met-home-heading>a{display:inline-block;margin-top:10px}.met-home-trust{grid-template-columns:1fr 1fr}.met-home-actions{display:grid}.met-home-button{width:100%}}

/* Existing approved homepage styles, moved out of page content. */

/* MET STAGE 1 READABILITY 2026-10-28 */
body.home .met-launch-home .met-energy-levels{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;white-space:normal!important;gap:8px!important;padding:14px 0!important;font-size:18px!important}
body.home .met-launch-home .met-energy-levels strong{flex:0 0 100%;font-size:17px!important;color:#4d5b6b;line-height:1.5}
body.home .met-launch-home .met-energy-levels a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:58px;padding:8px 14px!important;border:1px solid #dce3eb;border-radius:10px;background:#fff;font-size:18px!important;line-height:1.4;font-weight:750}
body.home .met-launch-home .met-energy-levels a:hover{background:#fff0f6;border-color:#c91462}
body.home .met-launch-home .met-desktop-level-picker{display:none!important}
body.home .met-launch-home .met-energy-tabs{flex-wrap:wrap!important;overflow:visible!important}
body.home .met-launch-home .met-energy-tabs a{font-size:17px!important;min-height:60px;padding:10px 14px!important}
body.home .met-launch-home .met-energy-tabs small{font-size:13px!important;line-height:1.4}
body.home .met-launch-home .met-energy-english{font-size:18px!important;line-height:1.55!important}
body.home .met-launch-home .met-energy-intro{font-size:17px!important;line-height:1.65!important}
body.home .met-launch-home .met-energy-secondary{font-size:17px!important}
body.home .met-launch-home .met-energy-primary{font-size:18px!important;min-height:48px!important}
body.home .met-launch-home .met-energy-featured-head>a{font-size:16px!important;min-height:44px}
body.home .met-launch-home .met-feature-tag{font-size:13px!important}
body.home .met-launch-home .met-feature-caption{font-size:14px!important;white-space:normal!important;line-height:1.5}
body.home .met-launch-home .met-feature-open{font-size:16px!important;min-height:44px}
body.home .met-launch-home .met-feature-title small{font-size:13px!important;line-height:1.35}
body.home .met-launch-home .met-feature-detail{min-height:125px!important}
body.home .met-launch-home .met-energy-benefit strong{font-size:16px!important;white-space:normal}
body.home .met-launch-home .met-energy-benefit span{font-size:13px!important}
body.home .met-launch-home .met-energy-benefit-row{gap:16px;padding-block:18px!important}
body.home .met-launch-home .met-shelf-header p{font-size:17px!important}
body.home .met-launch-home .met-shelf-browse,body.home .met-launch-home .met-shelf-cta{font-size:16px!important;min-height:44px!important}
body.home .met-launch-home .met-shelf-eyebrow{font-size:13px!important}
body.home .met-launch-home .met-shelf-card h3{font-size:18px!important;line-height:1.5!important}
body.home .met-launch-home .met-energy-featured-head h2{font-size:28px!important}
@media(min-width:1100px){body.home .met-launch-home .met-energy-hero,body.home .met-launch-home .met-energy-inner{min-height:290px!important}body.home .met-launch-home .met-energy-inner{padding-block:22px!important}body.home .met-launch-home .met-energy-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%}body.home .met-launch-home .met-energy-quickbar{display:block}body.home .met-launch-home .met-feature-art{height:140px}body.home .met-launch-home .met-energy-note{font-size:14px}body.home .met-launch-home .met-energy-note span{font-size:12px}}
@media(min-width:768px) and (max-width:1099px){body.home .met-launch-home .met-energy-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}body.home .met-launch-home .met-energy-benefit-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){body.home .met-launch-home .met-energy-levels a{font-size:17px!important;min-width:54px;padding:8px 12px!important}body.home .met-launch-home .met-energy-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.home .met-launch-home .met-energy-tabs a{min-width:0;white-space:normal;justify-content:flex-start;font-size:16px!important}body.home .met-launch-home .met-energy-english{font-size:17px!important}body.home .met-launch-home .met-energy-intro{font-size:16px!important}body.home .met-launch-home .met-energy-featured-head{align-items:flex-start;flex-wrap:wrap}body.home .met-launch-home .met-energy-featured-head h2{font-size:25px!important}body.home .met-launch-home .met-energy-benefit{flex-basis:225px}body.home .met-launch-home .met-shelf-card h3{font-size:17px!important}}
body.home .met-launch-home .met-energy-tabs>br,body.home .met-launch-home .met-energy-tabs>p:empty{display:none!important}
/* END MET STAGE 1 READABILITY */

/* Existing approved homepage styles, moved out of page content. */

/* Stage 1 responsive revision: phone and tablet only */
@media(max-width:1099px){
body.home .met-launch-home .met-feature-row{display:grid!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;gap:16px!important;scroll-snap-type:none!important}
body.home .met-launch-home .met-feature-card{min-width:0!important;width:100%!important;min-height:0!important}
body.home .met-launch-home .met-feature-art{height:150px!important}
body.home .met-launch-home .met-feature-detail{min-height:130px!important}
body.home .met-launch-home .met-feature-art>svg{width:70px!important;right:8px!important;opacity:.65}
body.home .met-launch-home .met-energy-benefit-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;gap:18px!important}
body.home .met-launch-home .met-energy-benefit{min-width:0!important;flex-basis:auto!important;align-items:flex-start}
body.home .met-launch-home .met-energy-benefit>svg{width:30px!important;flex-basis:30px!important}
body.home .met-launch-home .met-energy-benefit strong{font-size:15px!important}
body.home .met-launch-home .met-energy-benefit span{font-size:12px!important}
}
@media(min-width:768px){.met-phone-grade-picker{display:none!important}}
.met-phone-grade-picker>summary{display:none}
@media(max-width:767px){
body.home .met-launch-home .met-energy-inner{padding:18px 0 185px!important}
body.home .met-launch-home .met-energy-kicker{display:none!important}
body.home .met-launch-home .met-energy-title.met-brush-heading{width:min(350px,100%)!important}
body.home .met-launch-home .met-energy-photo{height:190px!important}
body.home .met-launch-home .met-energy-english{font-size:16px!important;max-width:none!important}
body.home .met-launch-home .met-energy-intro{font-size:16px!important;margin-bottom:12px!important}
body.home .met-launch-home .met-energy-note{font-size:12px!important;max-width:150px!important}
body.home .met-launch-home .met-energy-note span{font-size:11px!important}
body.home .met-launch-home .met-energy-tabs a{padding:8px 10px!important;min-height:56px!important}
body.home .met-launch-home .met-energy-browse-inner>.met-energy-levels{display:none!important}body.home .met-launch-home .met-phone-grade-picker{display:block;border:1px solid #dce3eb;border-radius:10px;margin:8px 0 0;background:#fff}
body.home .met-launch-home .met-phone-grade-picker>summary{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:10px 14px;font-size:17px;font-weight:750;cursor:pointer;list-style:none}
body.home .met-launch-home .met-phone-grade-picker>summary::after{content:"＋";font-size:22px}
body.home .met-launch-home .met-phone-grade-picker[open]>summary::after{content:"−"}
body.home .met-launch-home .met-phone-grade-picker>summary::-webkit-details-marker{display:none}
body.home .met-launch-home .met-phone-grade-picker:not([open])>.met-energy-levels{display:none!important}
body.home .met-launch-home .met-phone-grade-picker .met-energy-levels{padding:10px!important}
body.home .met-launch-home .met-phone-grade-picker .met-energy-levels strong{display:none!important}
body.home .met-launch-home .met-feature-row{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:3px 3px 8px!important}
body.home .met-launch-home .met-feature-card{display:grid!important;grid-template-columns:46% minmax(0,1fr)!important;box-shadow:2px 3px 0 #ede9f0!important}
body.home .met-launch-home .met-feature-art{height:auto!important;min-height:120px!important;padding:16px 10px!important;display:flex;align-items:center}
body.home .met-launch-home .met-feature-title,body.home .met-launch-home .met-feature-title.is-long-title{font-size:21px!important;line-height:1.2!important;letter-spacing:-.04em!important;transform:rotate(-3deg) skewX(-4deg)!important}
body.home .met-launch-home .met-feature-title small{font-size:12px!important;max-width:145px!important;margin-top:6px!important}
body.home .met-launch-home .met-feature-art>svg{display:none!important}
body.home .met-launch-home .met-feature-detail{min-height:120px!important;padding:10px!important;gap:4px!important;background:linear-gradient(110deg,var(--tile),#fff 35px)!important}
body.home .met-launch-home .met-feature-tag{font-size:12px!important}
body.home .met-launch-home .met-feature-caption{font-size:13px!important}
body.home .met-launch-home .met-feature-open{font-size:15px!important;min-height:36px!important;gap:5px}
body.home .met-launch-home .met-energy-featured-head{gap:4px!important;margin-bottom:10px!important}
body.home .met-launch-home .met-energy-featured-head h2{font-size:24px!important}
body.home .met-launch-home .met-energy-featured-head>a{font-size:14px!important}
}
/* End Stage 1 responsive revision */


/* Theme integration and accessible touch controls for supplied shared components. */
body.met-v3{-webkit-font-smoothing:antialiased}body.met-v3 .site-header,body.met-v3 #colophon,body.met-v3 .met-launch-footer{display:none!important}.met-header *,.met-page *,.met-footer *{box-sizing:border-box}.met-header{z-index:60}.met-logo img{width:174px;height:auto;max-width:none}.met-header-row1{justify-content:space-between}.met-header .met-search{margin:0}.met-header-row2{margin:0;max-width:100vw}.met-header .chip{flex:none;min-height:40px}.met-header .met-chips{flex:none}.met-selected{display:flex;align-items:center;gap:12px;min-height:44px}.met-selected[hidden],.met-v3-drawer[hidden]{display:none!important}.met-selected .btn{min-height:36px;font-size:13px}.met-selected .pill{min-height:36px;cursor:pointer}.met-header .met-apply{display:none!important}.met-v3-drawer{padding:18px;background:#fff;border-bottom:1px solid var(--line)}.met-v3-drawer a{display:inline-flex;margin:8px 14px 0 0;min-height:44px;align-items:center}.met-v3-drawer form{display:flex;flex-wrap:wrap;gap:8px}.met-notice-close{flex:none;min-width:44px;min-height:44px}.met-notice{padding-block:2px}.met-page .btn,.met-page .btn2{min-height:44px}.met-page .sr,.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.met-page{width:100%;max-width:1366px!important}.met-page .card{border:2px solid var(--card-line);border-radius:14px;box-shadow:3px 4px var(--card-shadow)}.met-page .facts{width:100%;border-collapse:collapse}.met-page .facts th,.met-page .facts td{padding:10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}.met-page .facts th{width:110px}.met-page p{margin:0 0 10px}.met-page h1{font-family:"MET Handwritten TC","Noto Sans TC",sans-serif}.met-page .icard{min-width:0}.met-page .m-text{overflow-wrap:anywhere}.met-page .free-item.is-pending{opacity:.75}.met-page .free-item{min-width:0}.met-page .free-item>span{min-width:0}.met-page .cta-band{margin-top:18px}.met-footer .cookie-line{max-width:1270px;margin:20px auto 0;font-size:12px}.met-footer .cookie-line a{display:inline;font-size:12px}.met-v3-home-additions{padding-top:28px}.met-v3-home-additions .cover-row{grid-template-columns:repeat(6,minmax(0,1fr))}.met-form-status{padding:18px;text-align:center;background:var(--mint)}.rev-filters label{min-height:44px;cursor:pointer}.rev-filters label:focus-visible{outline:3px solid var(--action)}
@media(min-width:1100px){.met-page .rev-grid{display:block}.met-page .rev-grid .quote{margin:0 0 18px;columns:2;column-gap:32px}.met-page .rev-grid .quote footer{column-span:all}.met-page .quote-grid{display:block}.met-page .quote-grid .quote{columns:2;column-gap:32px;margin-bottom:18px}.met-page .quote-grid .quote footer{column-span:all}.met-v3-home-additions .quote-grid{display:block}.met-v3-home-additions .quote{columns:2;margin-bottom:18px}.met-v3-home-additions .quote footer{column-span:all}.met-page .icards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.met-logo img{width:146px}.met-header-row1{gap:6px}.met-header-row1 .pill-lg{padding:0 10px}.met-selected{font-size:12px;gap:8px}.met-selected>span{flex:1}.met-notice{font-size:12px;gap:6px}.met-footer{padding-bottom:100px}.met-page{padding:12px 14px 30px}.met-page .facts th{width:76px}.met-page .facts th,.met-page .facts td{padding:8px}.met-page .pg-hero{padding:18px}.met-v3-home-additions .cover-row{display:flex}.met-v3-home-additions .quote{font-size:14px}}
@media(prefers-reduced-motion:reduce){.met-v3 *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.met-logo img{filter:brightness(0)}
/* Fix inherited theme colours on the supplied navy footer and pill controls. */
body.met-v3 .met-footer a,body.met-v3 .met-footer h3{color:#F8FBFF!important}body.met-v3 .met-header .pill-pink,body.met-v3 .met-header .btn,body.met-v3 .met-page .btn{color:#fff!important}.met-page .m-navy{color:#fff}.met-page .m-navy *{color:inherit}
@media(min-width:1100px){.met-page .met-form{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;max-width:none!important}.met-page .met-form>div:nth-child(5){grid-column:1/-1}.met-page .met-form textarea{height:110px}.met-page .met-form>.small{grid-column:1/-1}}
/* Measured row-height and missing-image-slot fixes. */
body.met-plain-page #primary{margin-block:0!important}body.met-plain-page,body.met-plain-page .site{background:#FCFCFA!important}.met-page .free-item:not(:has(img))>span{grid-column:1/-1}
@media(min-width:1100px){.met-page .rev-grid{columns:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.met-page .rev-grid .quote{columns:auto;margin:0;display:block}.met-page .rev-grid .quote.review-long{grid-column:1/-1;columns:2}.met-page .sec .icards:has(>:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}.met-level-shelf{padding-block:22px!important}.met-level-shelf .met-shelf-image{height:220px!important;aspect-ratio:auto!important}.met-level-shelf .met-shelf-image img{height:220px!important;object-fit:contain!important}.met-level-shelf .met-shelf-header{margin-bottom:16px!important}}
.met-header .met-burger{color:var(--ink)!important}.met-header input::placeholder{color:#63717E!important;opacity:1}
@media(min-width:1100px){.met-level-shelf .met-dse-visual{height:220px;aspect-ratio:auto}}
@media(max-width:900px){.met-header .chip{min-height:44px}.met-header .met-selected button{min-height:44px}}
@media(min-width:1100px){body.met-v3.home .met-level-shelf{padding:12px 0!important}body.met-v3.home .met-level-shelf .met-shelf-header{margin-bottom:12px!important}}
/* Carmen review: tighter English punctuation, more breathing room in navigation. */
body.met-v3 .quote{font-family:Arial,"Noto Sans TC","PingFang TC",sans-serif;letter-spacing:normal;word-break:normal}
body.met-v3 .quote p,body.met-v3 .quote footer{font-family:inherit;letter-spacing:normal}
body.met-v3 .met-header-row1{height:64px;gap:22px}
body.met-v3 .met-header-row2{padding-top:8px;padding-bottom:8px;gap:10px}
body.met-v3 .met-chips{gap:10px}
body.met-v3 .met-chips-divider{margin-inline:14px}
@media(max-width:520px){body.met-v3 .met-header-row1{height:62px;gap:10px}}
/* Keep account and cart together; spare width belongs beside search. */
body.met-v3 .met-header-row1{justify-content:flex-start;gap:14px}
body.met-v3 .met-header-row1>.met-search{margin-right:auto}
@media(max-width:520px){body.met-v3 .met-header-row1{gap:10px}body.met-v3 .met-header-row1>.met-logo{margin-right:auto}}
/* Align both legal lines with the footer content column. */
body.met-v3 .met-footer .cookie-line{max-width:1366px;text-align:left}
/* Gate 2: contact/summary row, then payment/consent row. */
@media(min-width:1100px){
body.met-v3.woocommerce-checkout:not(.woocommerce-order-received) form.checkout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 28px;align-items:start}
body.met-v3.woocommerce-checkout #customer_details{grid-column:1;grid-row:1 / span 2;width:auto!important;float:none!important}
body.met-v3.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;margin:0!important}
body.met-v3.woocommerce-checkout #order_review{display:contents!important}
body.met-v3.woocommerce-checkout .woocommerce-checkout-review-order-table{grid-column:2;grid-row:2;width:100%!important;margin:0!important}
body.met-v3.woocommerce-checkout #payment{grid-column:1 / -1;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:18px!important;width:100%!important;margin:0!important}
body.met-v3.woocommerce-checkout #payment .payment_methods,body.met-v3.woocommerce-checkout #payment .place-order{padding:0!important;margin:0!important;width:auto!important;float:none!important}
body.met-v3.woocommerce-checkout #payment .payment_box{padding:10px 0!important;margin:6px 0!important}
body.met-v3.woocommerce-checkout #payment .payment_box p{margin:0 0 8px!important}
}
body.met-v3.woocommerce-checkout #payment .payment_method_stripe_alipay,body.met-v3.woocommerce-checkout #payment .payment_method_stripe_wechat_pay{background:var(--soft)!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:8px;padding:10px!important;margin-top:8px!important}
body.met-v3.woocommerce-checkout #place_order{background:var(--action)!important;min-height:44px}
@media(min-width:1100px){
body.met-v3.woocommerce-checkout #payment{padding:14px!important;align-items:start}
body.met-v3.woocommerce-checkout #payment fieldset.wc-payment-form{margin:0!important;padding:0!important;border:0!important}
body.met-v3.woocommerce-checkout #payment .testmode-info{font-size:13px;line-height:20px}
body.met-v3.woocommerce-checkout #payment .payment_method_stripe_alipay,body.met-v3.woocommerce-checkout #payment .payment_method_stripe_wechat_pay{padding:4px 10px!important}
}
@media(min-width:1100px){body.met-v3.woocommerce-checkout #order_review_heading{width:100%!important;float:none!important}body.met-v3.woocommerce-checkout #payment{padding:12px!important}}
body.met-v3.woocommerce-checkout #payment .payment_method_stripe_alipay>label,body.met-v3.woocommerce-checkout #payment .payment_method_stripe_wechat_pay>label{background:transparent!important;color:var(--ink)!important}

/* MET product page — shared stylesheet v2 (homepage style)
   Install ONCE: WordPress → Appearance → Customize → Additional CSS.
   Never paste CSS into a product page.
   Colours and shapes copied from the approved homepage:
   ink #0D2B46 · link #1E5AA8 · action pink #C91462 · pill buttons (999px) ·
   sticker cards (2px #E4DCE4 border, 3px 4px hard shadow #EDE9F0) ·
   category chip colours: yellow FFE665 · pink FFF0F6 · mint EEF9F7 · blue EDF5FF · lilac F4EFFF · sky EAF7FF */

/* 1. Theme overrides on product pages (body gets class met-product-page) */
body.met-product-page .entry-hero,
body.met-product-page .entry-header { display: none !important; }
body.met-product-page #primary { margin-block: 0 !important; }
body.met-product-page .content-container.site-container { width: calc(100% - 48px) !important; max-width: 1366px !important; padding: 0 !important; margin-inline: auto !important; }
body.met-product-page #main { width: 100% !important; max-width: none !important; margin: 0 !important; }
body.met-product-page .entry-content-wrap,
body.met-product-page .entry-content { padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }

/* 2. Base */
.met-product {
  --ink: #0D2B46; --link: #1E5AA8; --action: #C91462; --grey: #3E4C59; --line: #E4E7EB;
  --card-line: #E4DCE4; --card-shadow: #EDE9F0; --soft: #F5F7FA;
  --yellow: #FFE665; --pink: #FFF0F6; --pink-line: #E4D6E2; --mint: #EEF9F7; --mint-line: #CFE8E2;
  --blue: #EDF5FF; --blue-line: #CDDFF1; --lilac: #F4EFFF; --lilac-line: #E0D5F2; --sky: #EAF7FF; --sky-line: #C9E4F3;
  --cream: #FFF8D6; --cream-line: #F0E2A0;
  color: var(--ink);
  font: 16px/1.55 'Noto Sans TC', 'Noto Sans HK', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 10px 0 40px;
}
.met-product * { box-sizing: border-box; min-width: 0; }
.met-product h1, .met-product h2, .met-product h3 { font-family: inherit; color: var(--ink); margin: 0; line-height: 1.2; text-wrap: balance; }
.met-product h1 { font-size: clamp(24px, 2.3vw, 30px); font-weight: 900; }
.met-product h2 { font-size: clamp(21px, 2vw, 26px); font-weight: 900; }
.met-product p { margin: 0 0 8px; }
.met-product ul { margin: 6px 0; padding-left: 20px; }
.met-product a { color: var(--link); text-underline-offset: 3px; }
.met-product a:focus-visible, .met-product button:focus-visible, .met-product summary:focus-visible, .met-product label:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.met-product .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.met-product .small { font-size: 13px; color: var(--grey); }
.met-product .crumb { font-size: 13px; color: var(--grey); margin: 0 0 12px; }
.met-product .card { background: #fff; border: 2px solid var(--card-line); border-radius: 14px; box-shadow: 3px 4px 0 0 var(--card-shadow); }
.met-product .pill { display: inline-block; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: 12px; font-weight: 700; color: var(--ink); }
.met-product .btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 20px; border-radius: 999px; border: 0; background: var(--action); color: #fff; font-family:inherit; font-weight:800; font-size:17px; line-height:1.2; text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px #C914622B; }
.met-product .btn2 { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-family:inherit; font-weight:800; font-size:15px; line-height:1.2; text-decoration: none; }
.met-product .btn[disabled] { opacity: .6; cursor: not-allowed; }

/* 3. The three tags — same colours as the shop chips */
.met-product .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.met-product .tag { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 750; border: 1px solid transparent; color: var(--ink); }
.met-product .tag-level { background: var(--yellow); border-color: var(--yellow); }
.met-product .tag-mock { background: var(--pink); border-color: var(--pink-line); }      /* 模擬試卷 / TSA */
.met-product .tag-grammar { background: var(--blue); border-color: var(--blue-line); }   /* 文法練習 */
.met-product .tag-reading { background: var(--mint); border-color: var(--mint-line); }   /* 閱讀理解 */
.met-product .tag-writing { background: var(--cream); border-color: var(--cream-line); } /* 寫作練習 */
.met-product .tag-books { background: var(--lilac); border-color: var(--lilac-line); }   /* 英文圖書 */
.met-product .tag-free { background: var(--sky); border-color: var(--sky-line); }        /* 免費資源 */
.met-product .tag-skill { background: var(--mint); border-color: var(--mint-line); }

/* 4. Hero */
.met-product .hero { padding: 16px 24px 14px; display: flex; flex-direction: column; gap: 12px; }
.met-product .hero-grid { display: grid; grid-template-columns: minmax(300px, .95fr) minmax(0, 1.3fr) 320px; gap: 26px; align-items: start; }
.met-product .hero-main { display: flex; flex-direction: column; gap: 10px; }
.met-product .subtitle { font-size: 15px; color: var(--grey); font-weight: 600; margin: 2px 0 0; }
.met-product .promise { display: inline; align-self: flex-start; margin: 0; font-size: 16px; font-weight: 700; line-height: 1.6; background: linear-gradient(transparent 55%, var(--yellow) 55%); }
.met-product .facts { width: 100%; border-collapse: collapse; font-size: 14px; }
.met-product .facts th { width: 80px; text-align: left; font-weight: 700; color: var(--grey); padding: 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.met-product .facts td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.met-product .fit { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.met-product .fit b { font-weight: 800; }
.met-product .fit span { display: inline-flex; align-items: center; gap: 6px; }
.met-product .fit svg { flex: none; }
.met-product .note { font-size: 12px; color: var(--grey); }

/* Cover gallery: radio buttons + labels, no JavaScript */
/* Amazon-style: thumbnails in a column on the left, big cover filling the column height */
.met-product .gallery { border: 0; padding: 0; margin: 0; min-inline-size: 0; display: flex; flex-direction: row-reverse; align-items: flex-start; justify-content: flex-end; gap: 10px; }
.met-product .gallery-stage { display: grid; flex: 1; min-width: 0; height: 420px; overflow: hidden; border-radius: 8px; }
.met-product .slide { display: none; grid-area: 1 / 1; align-items: center; justify-content: center; }
.met-product .slide img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center top; filter: drop-shadow(8px 10px 12px #17354F33); }
.met-product .gallery-strip { display: flex; flex-direction: column; gap: 6px; flex: none; }
.met-product .gallery-strip label, .met-product .gallery-strip a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 48px; min-height: 50px; padding: 2px; border: 2px solid var(--card-line); border-radius: 10px; background: #fff; cursor: pointer; color: var(--ink); font-size: 11px; font-weight: 700; text-decoration: none; touch-action: manipulation; }
.met-product .gallery-strip img { display: block; width: 22px; height: 28px; object-fit: cover; border-radius: 2px; }
.met-product #slide-0:checked ~ .gallery-stage .slide-0,
.met-product #slide-1:checked ~ .gallery-stage .slide-1,
.met-product #slide-2:checked ~ .gallery-stage .slide-2,
.met-product #slide-3:checked ~ .gallery-stage .slide-3 { display: flex; }
.met-product #slide-0:checked ~ .gallery-strip label[for="slide-0"],
.met-product #slide-1:checked ~ .gallery-strip label[for="slide-1"],
.met-product #slide-2:checked ~ .gallery-strip label[for="slide-2"],
.met-product #slide-3:checked ~ .gallery-strip label[for="slide-3"] { border-color: var(--link); background: var(--blue); }

/* Buy box */
.met-product .buy-box { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; background: var(--pink); border-color: var(--pink-line); }
.met-product .buy-title { font-size: 15px; font-weight: 800; line-height: 1.35; }
.met-product .buy-title small { display: block; font-size: 13px; font-weight: 600; color: var(--grey); }
.met-product .price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.met-product .price, .met-product .buy-box .woocommerce-Price-amount { font-size: 36px; font-weight: 900; color: var(--action); line-height: 1.1; }
.met-product .buy-box ul { font-size: 13px; line-height: 1.7; margin: 0; padding-left: 18px; }
.met-product .buy-box .btn, .met-product .buy-box .button, .met-product .buy-box .btn2 { width: 100%; }
.met-product .buy-box .chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* Trust strip: same 5 items as the homepage */
.met-product .trust { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 8px 0; border-top: 1px solid var(--line); }
.met-product .trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.met-product .trust svg { flex: none; }

/* 5. Row 2: description (2/3) + free sample (1/3) */
.met-product .row2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; align-items: stretch; }
.met-product .panel { padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.met-product .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.met-product .panel fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; display: contents; }
.met-product .langs { display: flex; gap: 4px; }
.met-product .langs label { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); font-size: 13px; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.met-product .lang-panel { display: none; }
.met-product #lang-0:checked ~ .lang-panel-0, .met-product #lang-1:checked ~ .lang-panel-1, .met-product #lang-2:checked ~ .lang-panel-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.met-product #lang-0:checked ~ .panel-head label[for="lang-0"], .met-product #lang-1:checked ~ .panel-head label[for="lang-1"], .met-product #lang-2:checked ~ .panel-head label[for="lang-2"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.met-product .lang-panel > div { font-size: 15px; line-height: 1.7; }
.met-product .contents-title { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.met-product .contents { width: 100%; border-collapse: collapse; font-size: 13px; }
.met-product .contents th, .met-product .contents td { padding: 6px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.met-product .contents th { font-weight: 700; color: var(--grey); }
.met-product .contents .n { text-align: right; white-space: nowrap; }
.met-product .free { background: var(--mint); border-color: var(--mint-line); }
.met-product .previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.met-product .thumb { margin: 0; background: #fff; border: 2px solid var(--card-line); border-radius: 10px; padding: 8px; text-align: center; font-size: 13px; font-weight: 700; }
.met-product .thumb img { display: block; width: 100%; height: 150px; object-fit: contain; object-position: top; margin-bottom: 6px; }
.met-product .free .btn2 { margin-top: auto; }

/* 6. Shelf of related covers */
.met-product .shelf { margin-top: 22px; }
.met-product .shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.met-product .shelf-head a { font-size: 16px; text-decoration: none; font-weight: 600; }
.met-product .shelf ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.met-product .shelf a { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 12px 10px; text-align: center; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; border: 2px solid var(--card-line); border-radius: 14px; box-shadow: 3px 4px 0 0 var(--card-shadow); transition: transform .15s, box-shadow .15s; }
.met-product .shelf a:hover { transform: translateY(-2px); box-shadow: 3px 6px 0 0 var(--card-shadow), 0 0 0 2px var(--action); }
.met-product .shelf img { width: 110px; height: 146px; object-fit: contain; }
.met-product .shelf .tag { min-height: 26px; font-size: 12px; padding: 0 10px; }

/* 7. FAQ in two columns, licence strip */
.met-product .faq { margin-top: 22px; padding: 20px 24px; }
.met-product .faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 12px; }
.met-product .faq details { border-bottom: 1px solid var(--line); }
.met-product .faq summary { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; min-height: 44px; }
.met-product .faq summary::before { content: "Q"; color: var(--action); font-weight: 900; }
.met-product .faq summary::-webkit-details-marker { display: none; }
.met-product .faq p { font-size: 14px; line-height: 1.6; margin: 0 0 12px 24px; }
.met-product .licence { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 14px 20px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; color: var(--grey); }
.met-product .licence a { white-space: nowrap; font-weight: 700; }

/* 8. Phone sticky bottom bar (hidden on wider screens) */
.met-product .phone-bar { display: none; }

/* 9. Tablet (521–900 px) */
@media (max-width: 900px) {
  body.met-product-page .content-container.site-container { width: calc(100% - 32px) !important; }
  .met-product .hero { padding: 16px; }
  .met-product .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; }
  .met-product .gallery-stage { height: 380px; }
  .met-product .buy-box { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 8px 20px; align-items: center; }
  .met-product .buy-box ul, .met-product .buy-box .chips { grid-column: 1; }
  .met-product .buy-box .btn, .met-product .buy-box .btn2 { grid-column: 2; }
  .met-product .row2 { grid-template-columns: 1fr; }
  .met-product .shelf ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .met-product .shelf li:nth-child(n+5) { display: none; }
  .met-product .faq-grid { gap: 0 28px; }
}

/* 10. Phone (≤520 px) */
@media (max-width: 520px) {
  body.met-product-page .content-container.site-container { width: calc(100% - 24px) !important; }
  .met-product { font-size: 15px; padding-bottom: 96px; }
  .met-product .hero { padding: 14px; gap: 12px; }
  .met-product .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .met-product .hero-main { order: 1; }
  .met-product .hero-cover { order: 2; }
  .met-product .buy-box { order: 3; display: flex; }
  .met-product .hero-cover .gallery { flex-direction: column; align-items: center; }
  .met-product .gallery-stage { height: 300px; width: 100%; }
  .met-product .gallery-strip { flex-direction: row; }
  .met-product h1 { font-size: 24px; }
  .met-product .promise { font-size: 15px; }
  .met-product .facts { font-size: 14px; }
  .met-product .facts th { width: 56px; }
  .met-product .fit { flex-direction: column; align-items: flex-start; gap: 5px; }
  .met-product .trust span { font-size: 11px; }
  .met-product .panel { padding: 16px 14px; }
  .met-product #lang-0:checked ~ .lang-panel-0, .met-product #lang-1:checked ~ .lang-panel-1, .met-product #lang-2:checked ~ .lang-panel-2 { grid-template-columns: 1fr; gap: 14px; }
  .met-product .langs { width: 100%; }
  .met-product .langs label { flex: 1; }
  .met-product .thumb img { height: 120px; }
  .met-product .shelf ul { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 6px; }
  .met-product .shelf li { flex: 0 0 140px; }
  .met-product .shelf li:nth-child(n+5) { display: block; }
  .met-product .shelf img { width: 90px; height: 120px; }
  .met-product .faq { padding: 16px 14px; }
  .met-product .faq-grid { grid-template-columns: 1fr; }
  .met-product .licence { font-size: 12px; }
  .met-product .phone-bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px #0D2B4614; }
  .met-product .phone-bar .small { font-size: 11px; }
  .met-product .phone-bar .price { font-size: 22px; }
  .met-product .phone-bar .btn { flex: 1; max-width: 220px; min-height: 44px; font-size: 15px; }
}

/* 12. Sale sticker on the cover (only when there is a discount): <span class="sticker"><s>HK$68</s> HK$38</span> inside .hero-cover */
.met-product .hero-cover { position: relative; }
.met-product .sticker { position: absolute; top: 6px; right: 6px; z-index: 2; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 50%; background: var(--action); color: #fff; font-size: 17px; font-weight: 900; line-height: 1.1; box-shadow: 0 6px 14px #C914624D; transform: rotate(8deg); }
.met-product .sticker s { font-size: 11px; font-weight: 600; opacity: .85; }
.met-product .price-row s { font-size: 16px; color: var(--grey); font-weight: 600; }

/* 13. Pop-up preview (放大) — CSS only, opens on the same page. Link: <a href="#zoom">放大</a>. Close: <a href="#">×</a> */
.met-product .lightbox { display: none; position: fixed; inset: 0; z-index: 100; background: #0D2B46E6; padding: 24px; align-items: center; justify-content: center; }
.met-product .lightbox:target { display: flex; }
.met-product .lightbox-inner { position: relative; width: min(96vw, 1100px); height: min(94vh, 1200px); background: #fff; border-radius: 12px; padding: 48px 16px 16px; }
.met-product .lightbox iframe, .met-product .lightbox img { display: block; width: 100%; height: 100%; border: 0; border-radius: 6px; object-fit: contain; }
.met-product .lightbox-close { position: absolute; top: 8px; right: 12px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--ink); color: var(--ink); font-size: 22px; font-weight: 800; text-decoration: none; background: #fff; }
.met-product .lightbox-title { position: absolute; top: 14px; left: 16px; font-size: 14px; font-weight: 800; }

/* 14. In-page reader for free pages (page pictures in a scroll box) */
.met-product .reader { height: 420px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 10px; background: #fff; border: 2px solid var(--card-line); border-radius: 10px; scrollbar-gutter: stable; }
.met-product .reader img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.met-product .reader-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.met-product .lightbox-scroll { overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.met-product .lightbox-scroll img { height: auto; width: min(100%, 820px); margin: 0 auto; border: 1px solid var(--line); }
@media (max-width: 520px) { .met-product .reader { height: 320px; } .met-product .reader-actions { grid-template-columns: 1fr; } }

/* 15. Mini review under the hero */
.met-product .quote-mini { margin: 0; padding: 10px 14px; background: var(--cream); border: 1px solid var(--cream-line); border-radius: 10px; font-size: 14px; line-height: 1.6; }
.met-product .quote-mini p { margin: 0 0 4px; }
.met-product .quote-mini footer { font-size: 12px; font-weight: 700; color: var(--grey); }

/* 11. Print */
@page { size: A4; margin: 15mm; }
@media print { .met-product .phone-bar { display: none !important; } .met-product section { break-inside: avoid; } }

/* ===== 16. LIVELY LAYER — same spirit as the homepage: pastel colour blocks, hand-drawn highlight, tilted stickers ===== */
/* Hero: soft sky block with two pastel "blobs" behind the cover, like the homepage photo card */
.met-product .hero { position: relative; overflow: hidden; background: linear-gradient(118deg, #EAF7FF 0%, #FFFFFF 48%, #FFF6FA 100%); }
.met-product .hero::before, .met-product .hero::after { content: ""; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.met-product .hero::before { width: 360px; height: 360px; left: -90px; top: -120px; background: #FFE66566; }
.met-product .hero::after { width: 260px; height: 260px; right: 300px; bottom: -120px; background: #CFE8E266; }
.met-product .hero > * { position: relative; z-index: 1; }
/* Hand-drawn feel on the product name: yellow marker swoosh under the first words */
.met-product h1 { position: relative; display: inline-block; }
.met-product h1::after { content: ""; position: absolute; left: 0; right: 28%; bottom: 2px; height: 10px; background: var(--yellow); z-index: -1; border-radius: 3px; transform: rotate(-.6deg); }
/* Section titles: short colour bar on the left, like a highlighter tab */
.met-product .panel > h2, .met-product .panel-head h2, .met-product .shelf-head h2, .met-product .faq h2 { padding-left: 14px; border-left: 8px solid var(--yellow); border-radius: 3px; }
.met-product .free > h2 { border-left-color: #8FD3C8; }
.met-product .faq h2 { border-left-color: #F7C6DD; }
/* Row 2 panels: each its own pastel, not all white */
.met-product .row2 > .panel:first-child { background: #FFFBEA; border-color: var(--cream-line); }
.met-product .free { background: var(--mint); }
/* Shelf: a coloured band behind the shelf, with a "wooden shelf" line under the covers */
.met-product .shelf { padding: 20px 24px 24px; background: var(--lilac); border-radius: 18px; }
.met-product .shelf ul { position: relative; }
.met-product .shelf a { background: #fff; }
.met-product .shelf a::after { content: ""; display: block; width: 100%; height: 6px; margin-top: 4px; border-radius: 3px; background: #E0D5F2; }
/* FAQ: pink tint; questions as rounded rows */
.met-product .faq { background: var(--pink); border-color: var(--pink-line); }
.met-product .faq details { background: #fff; border: 1px solid var(--pink-line); border-radius: 10px; margin: 8px 0; padding: 0 14px; }
.met-product .faq summary { border: 0; }
/* Stickers: tilt the sale sticker and the free badge, like a price label in a bookshop */
.met-product .sticker { transform: rotate(10deg); }
.met-product .buy-box .btn { box-shadow: 0 8px 20px #C914623D; }
.met-product .buy-box { background: linear-gradient(160deg, #FFF0F6, #FFF8FB); }
/* Trust strip: small coloured dots instead of plain icons */
.met-product .trust span svg { background: var(--sky); border-radius: 50%; padding: 4px; width: 28px; height: 28px; }
/* Tags: a little bolder, pill-shaped like the homepage chips */
.met-product .tag { border-radius: 999px; box-shadow: 2px 2px 0 0 #EDE9F0; }
@media (max-width: 520px) { .met-product .hero::after { display: none; } .met-product h1::after { right: 15%; } }

/* ===== 17. MORE LIFE + row 2 fits one laptop screen ===== */
/* Row 2 in one screen: compact description, 300 px reader */
.met-product .row2 { align-items: start; }
.met-product .panel { padding: 16px 20px; gap: 10px; }
.met-product .lang-panel > div { font-size: 14px; line-height: 1.6; }
.met-product .lang-panel ul { margin: 4px 0; }
.met-product .contents { font-size: 12.5px; }
.met-product .contents th, .met-product .contents td { padding: 5px 0; }
.met-product .reader { height: 300px; }
.met-product .reader-actions { margin-top: 0; }
/* Books lean on the shelf: alternate tilt; straighten on hover */
.met-product .shelf li:nth-child(odd) img { transform: rotate(-2.5deg); }
.met-product .shelf li:nth-child(even) img { transform: rotate(2.5deg); }
.met-product .shelf a:hover img { transform: rotate(0) scale(1.04); }
.met-product .shelf img { transition: transform .2s; }
/* Shelf band: soft dotted paper */
.met-product .shelf { background-color: var(--lilac); background-image: radial-gradient(#E0D5F2 1.2px, transparent 1.3px); background-size: 18px 18px; }
/* Little "NEW" / "熱門" sticker on a shelf card: <span class="shelf-badge">新書</span> inside the <a> */
.met-product .shelf a { position: relative; }
.met-product .shelf-badge { position: absolute; top: 8px; left: 8px; background: var(--action); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; transform: rotate(-6deg); }
/* Tags wiggle slightly into view; thumbnails get a colour ring when chosen */
.met-product .gallery-strip label:hover { transform: translateY(-2px); }
.met-product .gallery-strip label { transition: transform .15s; }
/* Buy box: a gentle pulse on the main button so the eye lands on it */
@keyframes met-pulse { 0%,100% { box-shadow: 0 8px 20px #C914623D; } 50% { box-shadow: 0 10px 28px #C9146266; } }
.met-product .buy-box .btn { animation: met-pulse 2.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .met-product .buy-box .btn { animation: none; } }
/* FAQ question rows: coloured dot bullets instead of a plain Q */
.met-product .faq summary::before { content: ""; width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: var(--action); flex: none; }
/* Section emoji sits in a small yellow circle */
.met-product h2 { line-height: 1.3; }

/* ===== 18. One-row-one-screen guard (laptop and up): each row stays under ~590 px ===== */
@media (min-width: 1100px) {
  .met-product .hero { max-height: none; }
  .met-product .row2 > .panel { max-height: none; }
  .met-product .shelf { max-height: none; }
  .met-product .faq { max-height: none; }
  .met-product .faq p { font-size: 13px; }
  .met-product .shelf img { width: 100px; height: 132px; }
  .met-product .shelf a { padding: 10px 8px; font-size: 13px; }
}

/* 19. Browse-by-type row (reuses the homepage boxes; CSS for .home-types/.type-card is in met-site.css) */
.met-product .browse { margin-top: 22px; }
.met-product .browse h2 { margin-bottom: 12px; padding-left: 14px; border-left: 8px solid var(--yellow); border-radius: 3px; }

/* Integration fixes for the supplied v3 template. */
.met-product{max-width:1366px;margin:auto;padding-inline:24px}.met-product h1{font-family:"MET Handwritten TC","Noto Sans TC",sans-serif;font-weight:700}.met-product .lightbox.is-open{display:flex;opacity:1;visibility:visible;pointer-events:auto}.met-modal-open{overflow:hidden}.met-product .related-pending{padding:14px;border:1px solid var(--line);border-radius:14px;display:flex;flex-direction:column;gap:8px;background:var(--soft)}.met-product .hero-grid{gap:18px}.met-product .hero-main{gap:7px}.met-product .hero{padding:14px 18px}.met-product .quote-mini{margin-top:16px}.met-product .phone-bar .small{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.met-product .gallery-strip label,.met-product .langs label{min-height:44px}.met-product .lightbox-close{min-width:44px;min-height:44px}.met-product .lightbox-scroll img{height:auto;flex:none}.met-product .phone-bar{z-index:55}@media(max-width:520px){.met-product{padding-inline:14px}.met-product .hero{padding:14px}.met-product .hero-grid{grid-template-columns:1fr}.met-product .hero-main{order:1}.met-product .hero-cover{order:2}.met-product .buy-box{order:3}.met-product .phone-bar{gap:10px}.met-product .phone-bar .btn{font-size:14px;padding:8px 12px}}
.met-product #lang-0:checked~.panel-head label[for="lang-0"],.met-product #lang-1:checked~.panel-head label[for="lang-1"],.met-product #lang-2:checked~.panel-head label[for="lang-2"]{color:#fff!important}

/* MET_V3_GATE1_END */
/* Compact restored IGCSE essay headings */body:is(.page-id-307497,.page-id-307498,.page-id-307499,.page-id-307500) .entry-hero .entry-header{min-height:0!important;padding-top:20px!important;padding-bottom:20px!important;}body:is(.page-id-307497,.page-id-307498,.page-id-307499,.page-id-307500) .content-area{margin-top:20px!important;}@media(max-width:767px){body:is(.page-id-307497,.page-id-307498,.page-id-307499,.page-id-307500) .entry-hero .entry-header{padding-top:14px!important;padding-bottom:14px!important;}body:is(.page-id-307497,.page-id-307498,.page-id-307499,.page-id-307500) .content-area{margin-top:14px!important;}}
