/* Maison 內頁：保留原有表格、篩選及購買流程，只統一版面。 */
body[data-template="maison"] main>.container,body[data-template="maison"] .cart-page>.container{max-width:1440px;padding-inline:clamp(20px,3.27vw,48px)}
body[data-template="maison"] main :is(.pi-name,.cart-header h1,.checkout-page h1,.cat-hero h1,.search-hero h1){font-family:Georgia,"Noto Serif CJK TC","Noto Serif CJK JP","Noto Serif CJK KR",serif;font-weight:400;letter-spacing:.01em}
body[data-template="maison"] :is(.gallery-main,.gallery-thumb,.sidebar,.cat-sidebar,.cat-hero,.search-hero,.products-toolbar,.cat-toolbar,.cat-chip,.sort-select,.filter-toggle,.btn-filter,.filter-tag,.cart-summary,.checkout-summary,.checkout-section,.qty-selector,.pi-price-block,.pi-category,.pi-variant-btn){border-radius:0;box-shadow:none}
body[data-template="maison"] :is(.sidebar,.cat-sidebar,.products-toolbar,.cat-toolbar,.cart-summary,.checkout-summary){border-color:var(--ma-line);background-color:var(--ma-paper)}
body[data-template="maison"] :is(.products-toolbar,.cat-toolbar){padding-block:18px;border-top:1px solid var(--ma-line);border-bottom:1px solid var(--ma-line);gap:16px;flex-wrap:wrap}
body[data-template="maison"] .cat-chip{background:transparent;border-color:var(--ma-line);color:var(--text)}
body[data-template="maison"] .cat-chip.active{border-color:var(--primary);background:var(--ma-panel)}
body[data-template="maison"] .gallery-main{background:var(--ma-panel)}
body[data-template="maison"] .pi-price-block:not(.has-flash){background:transparent;border:0;border-block:1px solid var(--ma-line);padding:18px 0}
body[data-template="maison"] .pi-price-now{font-size:24px;font-weight:400}
body[data-template="maison"] :is(.btn-add-cart,.btn-buy-now,.cart-page .btn-main,.checkout-page button[type="submit"],#btnPlaceOrder){border-radius:0;box-shadow:none;font-weight:400;min-height:44px}
body[data-template="maison"] .btn-add-cart{background:var(--btn-bg);color:var(--btn-text)}
body[data-template="maison"] .btn-add-cart:hover{background:var(--hover);box-shadow:none;transform:none}
body[data-template="maison"] .btn-buy-now{background:var(--ma-paper);color:var(--link);border:1px solid var(--ma-line)}
body[data-template="maison"] .btn-buy-now:hover{background:var(--ma-panel);transform:none;box-shadow:none}
body[data-template="maison"] :is(.checkout-page,.cart-page) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){border-radius:0;border-color:var(--ma-line)}
@media(max-width:768px){
body[data-template="maison"] main>.container,body[data-template="maison"] .cart-page>.container{padding-inline:16px}
body[data-template="maison"] main .breadcrumb{font-size:11px;line-height:1.6;gap:5px;flex-wrap:wrap}
body[data-template="maison"] :is(.products-area,.cat-main,.product-info,.checkout-main,.checkout-summary){min-width:0}
body[data-template="maison"] .products-grid:not(.list-view){grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
body[data-template="maison"] .products-grid .pc-info{padding:14px 0}
body[data-template="maison"] .products-grid .pc-name{font-size:14px}
body[data-template="maison"] :is(.toolbar-left,.toolbar-right,.cat-toolbar-left,.cat-toolbar-right){min-width:0;max-width:100%;flex-wrap:wrap;gap:8px}
body[data-template="maison"] .sort-select{max-width:100%;font-size:12px}
body[data-template="maison"] .product-main{grid-template-columns:minmax(0,1fr);gap:24px;padding-bottom:32px}
body[data-template="maison"] .gallery{position:static}
body[data-template="maison"] .pi-name{font-size:26px;line-height:1.2}
body[data-template="maison"] .pi-short-desc{font-size:13px;line-height:1.7}
body[data-template="maison"] .pi-actions{flex-wrap:wrap;gap:12px}
body[data-template="maison"] .pi-actions :is(.btn-add-cart,.btn-buy-now){flex:1 1 100%;padding:14px 20px;font-size:14px}
body[data-template="maison"] :is(.cart-header h1,.checkout-page h1){font-size:26px}
body[data-template="maison"] :is(.cart-summary,.checkout-summary){padding:20px 16px}
body[data-template="maison"] :is(.checkout-page,.cart-page) :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){max-width:100%;font-size:16px}
}
