
/* UCE365 — miratap visual clone (pixel-accurate) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&display=swap');
body,#header,#footer,#side,#btmBox,#header *,#footer *,#gNavi *{font-family:"Noto Sans TC","Microsoft JhengHei","PingFang TC","Hiragino Kaku Gothic Pro",Meiryo,sans-serif!important}

/* Reset */
*{box-sizing:border-box;margin:0;padding:0}
html{font-size:14px}
body{color:#323232;background:#fff;line-height:1.6em;font-weight:400}
a{color:#323232;text-decoration:none}
h1,h2,h3,h4,h5,h6{font-weight:400}
p,th,td,li,dt,dd{line-height:1.6em}
a:hover{opacity:.6}
img{max-width:100%;height:auto;border:0}
ul,ol{list-style:none}
table{border-collapse:collapse}
.boxinner{width:1200px;margin:0 auto}
.wrapper{max-width:1200px;margin:0 auto}
.clearfix::after{content:"";display:table;clear:both}

/* === HEADER (miratap exact: h=129, transparent bg) === */
#header{background:transparent;border-bottom:1px solid #d2d0d0}
.headerUpper{margin-bottom:18px}
.header_logo{float:left;padding:16px 0 0}
.header_logo a{display:block}
.logo-text{font-size:24px;font-weight:700;color:#1e1e1e;letter-spacing:1px}
.logo-sub{font-size:12px;color:#999;margin-left:6px;font-weight:400}
#userNavi{float:right;padding-top:20px}
#userNavi>div{display:inline-block;vertical-align:middle}
#userNavi>div+div::before{content:"";display:inline-block;width:1px;height:30px;background:#e1e1e1;vertical-align:middle;margin:0 10px}

/* Search bar (miratap: #f0f0f0 bg, not dark) */
#keySearch{display:inline-block;vertical-align:middle}
#keySearch form{display:flex;align-items:center}
#keySearch select{border:none;width:160px;height:30px;background:#f0f0f0;font-size:12px;padding:0 8px;color:#333}
#keySearch input[type='text'],#keySearch input[type='search']{border:none;width:220px;height:30px;background:#f0f0f0;font-size:14px;padding:0 3px;color:#333}
#keySearch input::placeholder{color:#999}
#keySearch button{width:50px;height:30px;background:#666;color:#fff;border:none;cursor:pointer;font-size:0;background-image:none}
#keySearch button::after{content:"搜尋";font-size:12px}

/* MyPage / Cart */
#toMyPage,#cartBox{display:inline-block;vertical-align:middle;font-size:12px;padding:0 8px}
#toMyPage a,#cartBox a{color:#333}
.cart-count{background:#f00;color:#fff;border-radius:50%;padding:1px 5px;font-size:10px}

/* === NAV (flexbox instead of table — flex supports position:relative on items) === */
#gNavi{border-top:1px solid #d2d0d0}
#gNavi>ul{display:flex;max-width:1200px;margin:0 auto;padding:0;list-style:none}
#gNavi>ul>li{flex:1;text-align:center;cursor:pointer;border-right:1px solid #e1e1e1;position:relative}
#gNavi>ul>li:last-child{border-right:none}
#gNavi>ul>li>a{display:block;height:59px;line-height:59px;text-align:center;font-size:14px;color:#323232;border-bottom:3px solid transparent}
#gNavi>ul>li:hover>a{border-bottom-color:#030202}

/* === MEGA DROPDOWN — positioned relative to each <li> (works with flex) === */
.ddMenu{display:none;position:absolute;top:59px;left:0;z-index:1000;background:#fff;box-shadow:3px 3px 15px rgba(0,0,0,.2);padding:20px 0;width:600px}
.hasMenu:hover .ddMenu{display:block}
.hasMenu:hover>a{border-bottom-color:#030202}
.ddMenu-inner{width:100%;padding:0 16px}
.ctg-grid{display:flex;flex-wrap:wrap;gap:0;padding:0;list-style:none}
.ctg-grid li{width:33.33%;padding:0;list-style:none}
.ctg-grid li a{display:flex;align-items:center;gap:10px;color:#323232;text-decoration:none;font-size:13px;padding:8px 10px;line-height:1.6em}
.ctg-grid li a:hover{background:#f5f5f5;opacity:1}
.ctg-grid li img{width:80px;height:52px;object-fit:cover;flex-shrink:0;display:block}

/* List-style dropdown (non-category menus) */
.ddMenu-list{width:220px}
.dd-links{padding:0;list-style:none}
.dd-links li{padding:0;list-style:none}
.dd-links li a{display:block;padding:10px 20px;font-size:13px;color:#333;text-decoration:none;border-bottom:1px solid #f3f1f1}
.dd-links li a:hover{background:#f5f5f5;opacity:1}
.dd-links li:last-child a{border-bottom:none}

/* Right-side menus: align dropdown to right edge to stay in viewport */
.gNavi_support .ddMenu,.gNavi_service .ddMenu{left:auto;right:0}

/* === HERO (miratap exact: FULL-WIDTH, slidesPerView:auto, 700px slides, 502px) === */
#miratopIndexMain{background:#d6d6d6;position:relative;overflow:hidden;width:100vw;margin-left:calc(-50vw + 50%)}
#miratopIndexMainSlide{position:relative;width:100%}
#heroSwiper{overflow:hidden;height:502px;width:100%}
#heroSwiper .swiper-slide{width:700px;height:502px;overflow:hidden}
#heroSwiper .swiper-slide img{width:100%;height:100%;object-fit:cover;display:block}
.hero-controls-wrapper{background:#fff;border-bottom:1px solid #e1e1e1}
.hero-controls{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:20px;padding:16px 0}
.hero-nav-prev,.hero-nav-next{width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:20px;color:#333;background:#fff;border:none}
.hero-nav-prev:hover,.hero-nav-next:hover{color:#000}
#heroDots{position:static;display:flex;gap:8px;justify-content:center}
#heroDots .swiper-pagination-bullet{width:12px;height:12px;background:#d2d0d0;opacity:1;border-radius:0}
#heroDots .swiper-pagination-bullet-active{background:#323232}

/* === NEWS TICKER (miratap: full-width, red label, dates, white bg) === */
#miratopIndexInformation{background:#fff;border-bottom:1px solid #e1e1e1;border-top:1px solid #e1e1e1;padding:16px 0}
.info-container{display:flex;align-items:flex-start;font-size:12px;max-width:1200px;margin:0 auto}
.info-label{background:#d32f2f;color:#fff;padding:4px 12px;font-size:11px;font-weight:700;white-space:nowrap;margin-right:16px;flex-shrink:0}
.info-list{flex:1;line-height:2}
.info-item{display:block;margin-bottom:2px}
.info-date{color:#999;margin-right:8px}
.info-tag{color:#d32f2f;font-weight:700;margin-right:4px}
.info-more{white-space:nowrap;margin-left:16px;color:#333;font-size:11px;flex-shrink:0}

/* === TABS (miratap: 4 tabs with underline, image cards below) === */
#miratopIndexTab{padding:30px 0;background:#fff;border-bottom:1px solid #e1e1e1}
.tab-nav{display:table;width:100%;table-layout:fixed;border:2px solid #323232;margin-bottom:24px}
.tab-nav li{display:table-cell;text-align:center;padding:14px 0;font-size:14px;cursor:pointer;color:#999;background:#fff;border-right:1px solid #e1e1e1}
.tab-nav li:last-child{border-right:none}
.tab-nav li.tab-active{color:#fff;background:#3a3a3a;font-weight:700}
.tab-nav li:hover{color:#323232}
.tab-panel{display:none}
.tab-panel.tab-active{display:block}

/* === CATEGORY TILES (miratap: 5 per row, large lifestyle photos) === */
#indexCategoryTile{padding:40px 0;background:#fff}
.indexCategoryTileContainer{max-width:1200px;margin:0 auto}
#indexCategoryTile .title{font-size:16px;font-weight:400;text-align:center;margin-bottom:30px;letter-spacing:2px;color:#323232}
#indexCategoryTile .tiles{display:flex;flex-wrap:wrap;padding:0}
#indexCategoryTile .tiles li{width:20%;padding:0 4px;margin-bottom:16px}
#indexCategoryTile .tiles li a{display:block;color:#323232;text-decoration:none}
#indexCategoryTile .tiles li a:hover{opacity:.6}
.ctgImg{margin-bottom:6px}
.ctgImg img{width:100%;height:auto;display:block}
.ctgName{font-size:12px;font-weight:400;text-align:left}

/* Section titles */
.contents .title{font-size:16px;font-weight:400;text-align:center;margin-bottom:24px;letter-spacing:2px}

/* === PRODUCT GRID (miratap: 4 per row, no border, transparent) === */
.product-grid{display:flex;flex-wrap:wrap;margin:0 -10px}
.product-card{width:25%;padding:0 10px;margin-bottom:20px}
.product-card-link{display:block;color:inherit;text-decoration:none}
.product-card-link:hover{opacity:.6}
.product-card-image{aspect-ratio:1;overflow:hidden;background:#f5f5f5;margin-bottom:8px;position:relative}
.product-card-image img{width:100%;height:100%;object-fit:cover}
.product-card-name{font-size:12px;line-height:1.6em;margin-bottom:4px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.product-card-price{font-size:14px;font-weight:700}
.product-card-price .unit,.product-card-price .tax-label{font-size:11px;font-weight:400;color:#666}
.product-card-stock{font-size:11px;margin-top:2px}
.product-card-stock.no-stock{color:#f00}
.status-badge{position:absolute;top:4px;left:4px;padding:2px 6px;font-size:10px;color:#fff}
.status-badge.sold-out{background:#f00}
.maker-direct-badge{font-size:10px;background:#aa996d;color:#fff;padding:1px 4px}
.product-grid-empty{text-align:center;padding:40px;color:#999}
.result-count{font-size:12px;color:#666;margin-bottom:12px}

/* === PRODUCT DETAIL (miratap exact) === */
#productContainer{background:#fff}
#productsInfo{display:flex;padding:20px 0}
#prPhoto{width:50%}
#prPhoto #photoMain img{width:100%;cursor:crosshair}
.photo-list{display:flex;gap:4px;margin-top:8px}
.photo-list li{width:56px;height:56px;border:1px solid #e1e1e1;cursor:pointer;overflow:hidden}
.photo-list li.current{border-color:#323232}
.photo-list li img{width:100%;height:100%;object-fit:cover}
#prData{width:50%;padding-left:30px}
#prData h1{font-size:22px;font-weight:400;line-height:1.6em;margin-bottom:10px}
.sku-code{font-size:12px;color:#999;margin-bottom:16px}
.priceDispArea{margin:16px 0}
.priceDispArea .price{font-size:30px;font-weight:700}
.priceDispArea .unit{font-size:14px;color:#666}
.priceDispArea .tax-info{font-size:12px;color:#666}
.product-specs-primary dt{font-size:12px;color:#666;float:left;width:90px;padding:8px 0;clear:left;border-bottom:1px solid #f3f1f1}
.product-specs-primary dd{padding:8px 0;margin-left:100px;border-bottom:1px solid #f3f1f1;font-size:13px}
.product-variants{margin:16px 0}
.variant-list{display:flex;flex-wrap:wrap;gap:4px}
.variant-list li{border:1px solid #d2d0d0;padding:2px}
.variant-list li.current{border-color:#323232;border-width:2px}
.variant-list li.no-stock{opacity:.4}
.variant-list li img{width:40px;height:40px;object-fit:cover}
.stock-status{font-size:13px;padding:8px 0}
.stock-status.in-stock{color:#323232}
.stock-status.out-of-stock{color:#f00}
.stock-status.made-to-order{color:#0aa}
.add-to-cart-form{margin:16px 0;padding:16px 0;border-top:1px solid #e1e1e1}
.add-to-cart-form input[type="number"]{width:50px;padding:6px;border:1px solid #d2d0d0;text-align:center;margin-right:8px}
.btn-add-cart{background:#1e1e1e;color:#fff;padding:12px 40px;border:none;cursor:pointer;font-size:14px}
.btn-add-cart:hover{opacity:.6}
.btn-sold-out{background:#ccc;color:#666;padding:12px 40px;border:none;cursor:not-allowed}
#productsDetail{border-top:1px solid #e1e1e1;padding:20px 0}
.spec-table th{text-align:left;padding:8px 12px;background:#f5f5f5;border:1px solid #e1e1e1;width:120px;font-size:12px}
.spec-table td{padding:8px 12px;border:1px solid #e1e1e1;font-size:13px}

/* === CATEGORY LIST === */
/* === CATEGORY PAGE (miratap style: sidebar with icon+subcats+filters, main with products) === */
#listContainer{max-width:1200px;margin:0 auto;padding:0 16px}
.category-layout{display:flex;gap:0}
.category-sidebar{width:240px;flex-shrink:0;padding-right:30px}
.category-main{flex:1;padding-left:40px}
.category-main h1{font-size:2.14em;font-weight:400;margin-bottom:16px}
.category-description{font-size:14px;color:#323232;line-height:1.6em;margin-bottom:24px}
.category-description p{margin-bottom:10px}

/* Category sidebar header — miratap: icon+name, border-top 3px */
.cat-header{display:flex;align-items:center;gap:10px;padding:16px 0;border-top:3px solid #323232;margin-bottom:0}
.cat-icon{font-size:28px;opacity:.5;filter:grayscale(100%)}
.cat-sidebar-title{font-size:16px;font-weight:400}

/* Subcategory navigation — miratap: underlined links in #4d4399, line-height 1.6em */
.cat-subnav{margin-bottom:20px}
.cat-subnav ul{padding:0;list-style:none}
.cat-subnav li{border-bottom:1px solid #e1e1e1}
.cat-subnav li a{display:block;padding:14px 0;font-size:14px;color:#323232;line-height:1.6em}
.cat-subnav li a:hover{opacity:.6}

/* Filters — miratap: border-top 3px, centered text */
.cat-filters{margin-top:20px;border-top:3px solid #323232;padding-top:12px}
.filter-group{margin-bottom:0;border-bottom:1px solid #e1e1e1}
.filter-group summary{padding:14px 0;font-size:14px;cursor:pointer;list-style:none;color:#323232;text-align:center;line-height:1.6em}
.filter-group summary::-webkit-details-marker{display:none}
.filter-group .price-range{display:flex;align-items:center;gap:4px;padding:8px 0}
.filter-group .price-range input{width:70px;padding:4px 6px;border:1px solid #d2d0d0;font-size:12px}
.filter-group select{width:100%;padding:6px;border:1px solid #d2d0d0;font-size:12px;margin-bottom:8px}
.filter-group .btn-filter{width:100%;padding:6px;background:#323232;color:#fff;border:none;cursor:pointer;font-size:12px;margin-bottom:8px}
.subcategory-grid{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.subcategory-item a{display:block;text-align:center;font-size:11px}
.subcategory-item img{width:100px;height:100px;object-fit:cover;margin-bottom:4px}
.facet-panel{padding:12px;border:1px solid #e1e1e1;font-size:12px}
.facet-title{font-size:13px;font-weight:700;margin-bottom:8px}
.facet-group{margin-bottom:12px;border:none}
.facet-group legend{font-size:12px;margin-bottom:4px}
.price-range{display:flex;align-items:center;gap:4px}
.price-range input{width:60px;padding:4px;border:1px solid #d2d0d0;font-size:12px}
.btn-filter{width:100%;padding:8px;background:#1e1e1e;color:#fff;border:none;cursor:pointer;font-size:12px}
.btn-clear{display:block;text-align:center;margin-top:6px;font-size:11px}

/* Pagination */
.pagination{padding:20px 0;text-align:center}
.pagination-list{display:flex;justify-content:center;gap:2px}
.pagination-list li a,.pagination-list li span{display:inline-block;padding:6px 12px;border:1px solid #d2d0d0;font-size:12px}
.pagination-list li.current span{background:#323232;color:#fff;border-color:#323232}

/* Breadcrumb */
#topicPath{padding:10px 0;font-size:11px;color:#999}
#topicPath a{color:#4d4399;text-decoration:underline}
.breadcrumb-list{display:flex;flex-wrap:wrap;font-size:11px}
.breadcrumb-list li::after{content:" > ";margin:0 4px;color:#ccc}
.breadcrumb-list li:last-child::after{content:""}

/* === FOOTER (miratap exact) === */
/* === FOOTER (miratap exact — full-width backgrounds, centered content) === */
#btmBox{background:#7c7c7c;color:#fff;padding:30px 0;text-align:center}
#btmBox a{color:#fff}
#contactBox{max-width:1200px;margin:0 auto}
#contactBox .phone{font-size:16px;margin-bottom:6px}
#contactBox .fax{font-size:14px;margin-bottom:6px}
#contactBox .email{margin-bottom:12px}
.banner-links{margin-top:16px}
.banner-links a{display:inline-block;margin:0 12px;padding:6px 16px;border:1px solid #fff;font-size:12px}
.banner-links a:hover{background:rgba(255,255,255,.2);opacity:1}

#footNav{background:#1e1e1e;padding:40px 0}
.footer-columns{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(6,1fr);gap:20px;padding:0 16px}
.footer-col h4{color:#fff;font-size:13px;font-weight:700;margin-bottom:10px}
.footer-col ul{padding:0;list-style:none}
.footer-col li{margin-bottom:4px}
.footer-col a{color:#999;font-size:11px}
.footer-col a:hover{color:#fff;opacity:1}

.social-links{text-align:center;padding:16px 0;background:#1e1e1e;border-top:1px solid #333;max-width:100%}
.social-links a{display:inline-block;margin:0 8px;color:#999;font-size:12px;padding:4px 8px;border:1px solid #666;border-radius:3px}
.social-links a:hover{color:#fff;border-color:#fff;opacity:1}

#footer-copyright{background:#111;text-align:center;padding:16px 0;color:#666;font-size:11px}
#footer-copyright a{color:#666}
#footer-copyright a:hover{color:#999;opacity:1}
#footer-copyright p{margin:4px 0}

/* === FEATURES === */
.feature-grid{display:flex;justify-content:center;gap:40px;text-align:center;padding:20px 0}
.feature-item{width:200px}
.feature-icon{font-size:28px;display:block;margin-bottom:8px}
.feature-item h3{font-size:13px;margin-bottom:4px}
.feature-item p{font-size:11px;color:#666}
.section-contact{text-align:center;padding:30px 0;background:#f5f5f5}

/* === SERIES === */
.series-hero-image{width:100%}
.series-hero-info h1{font-size:22px;font-weight:400}
.series-anchor-nav{border-bottom:1px solid #e1e1e1;margin-bottom:20px}
.anchor-menu{display:flex}
.anchor-menu li a{display:block;padding:12px 20px;font-size:13px;color:#323232;border-bottom:3px solid transparent}
.anchor-menu li a:hover{border-bottom-color:#323232;opacity:1}

/* === BUTTONS === */
.btn-primary,.btn-checkout,.btn-place-order,.btn-login,.btn-register,.btn-contact{display:inline-block;background:#1e1e1e;color:#fff;padding:10px 30px;border:none;cursor:pointer}
.btn-primary:hover,.btn-checkout:hover{opacity:.6;text-decoration:none}
.btn-secondary,.btn-continue,.btn-back-cart{display:inline-block;background:#fff;color:#323232;padding:10px 30px;border:1px solid #d2d0d0}

/* === CART/CHECKOUT === */
.cart-page h1,.checkout-page h1{font-size:22px;font-weight:400;margin-bottom:16px}
.cart-table{width:100%}
.cart-table th{background:#f5f5f5;padding:10px 12px;font-size:12px;border-bottom:1px solid #e1e1e1;text-align:left}
.cart-table td{padding:10px 12px;border-bottom:1px solid #f3f1f1;font-size:13px}
.qty-input{width:40px;text-align:center;padding:4px;border:1px solid #d2d0d0}
.cart-summary{padding:20px 0}
.summary-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px}
.summary-row.total{border-top:2px solid #323232;font-size:18px;font-weight:700;padding-top:16px}
.free-shipping{color:#0a0}
.cart-actions{display:flex;gap:12px;margin-top:20px}
.cart-empty{text-align:center;padding:60px 0}
.checkout-layout{display:flex;gap:30px}
.checkout-info{flex:1}
.checkout-summary{width:360px}
.form-section{border:none;margin-bottom:20px}
.form-section legend{font-size:15px;font-weight:700;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #e1e1e1}
.form-field{margin-bottom:12px}
.form-field label{display:block;margin-bottom:4px;font-size:12px}
.form-field input,.form-field select,.form-field textarea{width:100%;padding:8px;border:1px solid #d2d0d0;font-size:13px;box-sizing:border-box;font-family:inherit}
.form-field textarea{line-height:1.7;resize:vertical;min-height:120px}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#e57322;outline:0;box-shadow:0 0 0 2px rgba(229,115,34,.15)}
.form-row{display:flex;gap:12px}
.form-row .form-field{flex:1;min-width:0}
.required{color:#f00}
/* v5.15：/form/:type 表單寬度約束 + 訪客可讀行長 */
.form-page.boxinner{}  /* 用 boxinner 預設 max-width 做整體約束 */
.contact-form--constrained{max-width:760px;margin:0 0 40px;padding:28px 30px;background:#fafafa;border:1px solid #e8e8e8;border-radius:6px}
.form-field--check{font-size:13px;color:#323232;margin-top:8px}
.form-field--check label{display:flex;align-items:flex-start;gap:8px;margin:0}
.form-field--check input[type="checkbox"]{width:auto;flex-shrink:0;margin-top:3px;accent-color:#e57322}
.form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid #e1e1e1}
.form-actions .btn-primary{min-width:180px}
/* 提交成功確認（v5.15 Phase 10I） */
.form-submitted-card{max-width:640px;margin:0 0 40px;padding:40px 30px;text-align:center;background:#fafafa;border:1px solid #e8e8e8;border-radius:6px}
.form-submitted-card h2{font-size:18px;font-weight:500;margin:8px 0 12px;color:#323232;letter-spacing:.03em}
.form-submitted-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#e57322;color:#fff;font-size:28px;font-weight:700;line-height:1;margin-bottom:6px}
.form-submitted-card .submission-id{font-size:13px;color:#666;margin:12px 0 24px;line-height:1.8}
.form-submitted-card .submission-id code{background:#fff;padding:2px 8px;border:1px solid #e1e1e1;border-radius:3px;font-family:'SF Mono',Consolas,monospace;font-size:12px;color:#323232}
.form-submitted-card .submission-id small{color:#999}
@media(max-width:768px){
  .contact-form--constrained{padding:16px 14px;margin:16px 0 32px}
  .form-row{flex-direction:column;gap:0}
  .form-actions{flex-direction:column;align-items:stretch}
  .form-actions .btn-primary,.form-actions .btn-secondary{width:100%;text-align:center}
}
.order-summary-card{border:1px solid #e1e1e1;padding:20px;position:sticky;top:80px}

/* === AUTH/ERROR/LEGAL/SEARCH/ACCOUNT/FAQ/GALLERY/SHOWROOM === */
.auth-page{display:flex;justify-content:center;padding:60px 0}
.auth-card{width:380px;border:1px solid #e1e1e1;padding:30px}
.auth-card h1{font-size:18px;font-weight:400;margin-bottom:20px;text-align:center}
.auth-error{background:#fdf7f2;border:1px solid #f00;color:#f00;padding:10px;margin-bottom:16px;font-size:13px}
.auth-links{text-align:center;margin-top:16px;font-size:12px}
.auth-form .btn-login,.auth-form .btn-register{width:100%;text-align:center}
.error-page{text-align:center;padding:80px 0}
.error-code{font-size:80px;font-weight:700;color:#d2d0d0}
.error-page h1{font-size:18px;font-weight:400;margin:12px 0}
.error-actions{margin-top:24px;display:flex;gap:12px;justify-content:center}
.legal-page{max-width:800px;margin:20px auto;padding:30px;background:#fff}
.legal-page h1{font-size:18px;font-weight:400}
.legal-date{color:#999;font-size:12px;margin-bottom:20px}
.legal-page h2{font-size:14px;font-weight:700;margin:20px 0 8px}
.legal-page ul{padding-left:20px;list-style:disc;font-size:13px}
.search-results-page h1{font-size:18px;font-weight:400}
.search-query{font-size:12px;color:#666}
.search-form-inline{display:flex;gap:4px;margin:12px 0 20px}
.search-form-inline input{flex:1;padding:8px;border:1px solid #d2d0d0;font-size:13px}
.search-form-inline button{padding:8px 16px;background:#1e1e1e;color:#fff;border:none}
.no-results{text-align:center;padding:40px 0}
.search-suggestions{list-style:disc;padding-left:20px;text-align:left;display:inline-block;font-size:13px}
.account-page h1{font-size:18px;font-weight:400;margin-bottom:16px}
.account-nav{display:flex;border-bottom:1px solid #e1e1e1;margin-bottom:20px}
.account-nav a{padding:10px 16px;font-size:13px;color:#323232;border-bottom:2px solid transparent}
.account-nav a.active{border-bottom-color:#323232;font-weight:700}
.orders-table th{background:#f5f5f5;padding:8px 10px;font-size:12px;text-align:left}
.orders-table td{padding:8px 10px;border-bottom:1px solid #f3f1f1;font-size:13px}
.order-status{padding:2px 6px;font-size:11px}
.faq-item{border-bottom:1px solid #e1e1e1}
.faq-question{padding:14px 0;font-size:14px;cursor:pointer;list-style:none}
.faq-question::-webkit-details-marker{display:none}
.faq-question::before{content:"Q. ";font-weight:700;color:#aa996d}
.faq-answer{padding:0 0 14px 24px;font-size:13px;color:#666;line-height:1.8}
.gallery-grid{display:flex;flex-wrap:wrap;gap:16px}
.gallery-card{width:calc(33.33% - 11px)}
.showroom-grid{display:flex;flex-wrap:wrap;gap:20px}
.showroom-card{width:calc(50% - 10px);border:1px solid #e1e1e1}
.showroom-info{padding:16px}
.showroom-info h2{font-size:15px;font-weight:400}
.page-intro{font-size:13px;color:#666;margin-bottom:20px;line-height:1.8}
.no-data{text-align:center;padding:40px;color:#999}

/* === CATEGORY HERO BANNER === */
.cat-hero-banner{position:relative;margin-bottom:24px;overflow:hidden;max-height:300px}
.cat-hero-img{width:100%;height:300px;object-fit:cover;display:block}
.cat-hero-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.5));padding:30px 20px 20px;color:#fff}
.cat-hero-overlay h2{font-size:24px;font-weight:400;letter-spacing:1px}

/* === SUBCATEGORY SHOWCASE (miratap exact: 2-col, 59% aspect-ratio, 1px #e1e1e1 border) === */
.subcat-showcase{margin-bottom:30px}
.subcat-grid{display:flex;flex-wrap:wrap;margin-left:-20px}
.subcat-card{width:50%;padding-left:20px;margin-top:20px}
.subcat-card a{display:block;color:inherit;text-decoration:none;border:1px solid #e1e1e1;padding:10px}
.subcat-card a:hover{opacity:.6}
.subcat-card-img{position:relative;width:100%;padding-bottom:59%;overflow:hidden;background:#f5f5f5}
.subcat-card-img img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block}
.subcat-card-info{padding:10px 0 5px}
.subcat-card-info h3{font-size:1.14em;font-weight:700;color:#323232}
.subcat-card-info p{display:none}

/* === GUIDE ARTICLES (miratap: border-left 3px #afafaf, 1.6em line-height) === */
.guide-section{margin-bottom:30px}
.guide-article{margin-bottom:24px}
.guide-article h3{font-size:1.43em;font-weight:400;color:#323232;margin-bottom:14px;border-left:3px solid #afafaf;padding-left:12px;line-height:1.6em}
.guide-article-img{margin-bottom:16px;overflow:hidden}
.guide-article-img img{width:100%;height:auto;display:block}
.guide-article-body{font-size:14px;line-height:1.6em;color:#323232}
.guide-article-body p{margin-bottom:12px}
.guide-article-body h4{font-size:1.14em;font-weight:700;color:#323232;margin:20px 0 8px}
.guide-article-body ul{padding-left:20px;list-style:disc;margin-bottom:12px}
.guide-article-body li{margin-bottom:4px}

/* === GUIDE NAV (sidebar navigation for guides) === */
.guide-nav{margin:20px 0;border-top:3px solid #aa996d;padding-top:12px}
.guide-nav h3{font-size:13px;font-weight:700;margin-bottom:8px;color:#323232}
.guide-nav ul{padding:0;list-style:none}
.guide-nav li{border-bottom:1px solid #f3f1f1}
.guide-nav li a{display:block;padding:10px 8px;font-size:12px;color:#4d4399}
.guide-nav li a:hover{background:#f5f5f5;opacity:1}

/* === SIDEBAR SEARCH (miratap style) === */
.sidebar-search{margin:20px 0;padding-top:20px}
.sidebar-search-box{display:flex;border:1px solid #d2d0d0}
.sidebar-search-box input{flex:1;border:none;padding:8px 10px;font-size:13px;font-weight:300;background:#fff}
.sidebar-search-box input::placeholder{color:#999}
.sidebar-search-box button{width:36px;border:none;background:#fff;cursor:pointer;font-size:14px;border-left:1px solid #d2d0d0}

/* === PROMO BANNERS (sidebar — miratap: "PICK UP" style) === */
.promo-banner-sidebar{margin:20px 0;overflow:hidden}
.promo-banner-sidebar a{display:block}
.promo-banner-sidebar img{width:100%;height:auto;display:block}
.promo-text{display:block;padding:10px;font-size:12px;text-align:center;color:#323232;background:#f9f9f9;font-weight:300}

/* === FEATURE HIGHLIGHTS === */
.feature-highlights{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px}
.feature-highlight-item{flex:1;min-width:200px;background:#f9f9f9;padding:20px;text-align:center}
.feature-highlight-item img{max-width:80px;height:auto;margin-bottom:10px}
.feature-highlight-item h3{font-size:14px;font-weight:700;margin-bottom:8px}

/* === SECTION HEADINGS (miratap style: 1.43em, weight 400) === */
.section-heading{font-size:1.43em;font-weight:400;color:#323232;padding-bottom:10px;margin-bottom:20px}
.category-products-section{margin-top:30px}

/* === PRODUCT TABS (miratap style: horizontal tab nav + content panels) === */
.product-tabs-container{border-top:1px solid #e1e1e1;margin-top:20px}
.product-tab-nav{display:flex;border-bottom:3px solid #323232;margin:0;padding:0;list-style:none}
.product-tab-item{padding:14px 24px;font-size:14px;cursor:pointer;color:#999;background:#f5f5f5;border:1px solid #e1e1e1;border-bottom:none;margin-right:2px}
.product-tab-item.tab-active{color:#323232;background:#fff;font-weight:700;border-bottom:3px solid #fff;margin-bottom:-3px}
.product-tab-item:hover{color:#323232}
.product-tab-panel{display:none;padding:24px 0}
.product-tab-panel.tab-active{display:block}
.product-tab-panel .rich-content{font-size:13px;line-height:2;color:#555}
.product-tab-panel .rich-content p{margin-bottom:12px}
.product-tab-panel .rich-content h3{font-size:16px;font-weight:700;color:#323232;margin:20px 0 10px}
.product-tab-panel .rich-content h4{font-size:14px;font-weight:700;color:#323232;margin:16px 0 8px}
.product-tab-panel .rich-content ul{padding-left:20px;list-style:disc;margin-bottom:12px}
.product-tab-panel .rich-content ol{padding-left:20px;list-style:decimal;margin-bottom:12px}
.product-tab-panel .rich-content li{margin-bottom:4px}
.product-tab-panel .rich-content img{max-width:100%;height:auto;margin:12px 0}
.product-tab-panel .rich-content table{width:100%;border-collapse:collapse;margin:12px 0}
.product-tab-panel .rich-content table th{background:#f5f5f5;padding:8px 12px;border:1px solid #e1e1e1;font-size:12px;text-align:left}
.product-tab-panel .rich-content table td{padding:8px 12px;border:1px solid #e1e1e1;font-size:13px}
.tab-img{margin:12px 0}
.tab-img img{width:100%;height:auto;display:block}
.content-divider{border:none;border-top:1px solid #e1e1e1;margin:20px 0}
.caution-block{background:#fff9f0;border-left:4px solid #f0ad4e;padding:16px;margin-bottom:12px}
.caution-block h3{color:#e67e22;font-size:14px;margin-bottom:8px}

/* === RELATED PRODUCTS === */
.related-products{margin-top:30px;padding-top:24px;border-top:1px solid #e1e1e1}

/* === RICH CONTENT (shared — miratap: 1.6em line-height, #323232 color) === */
.rich-content{font-size:14px;line-height:1.6em;color:#323232}
.rich-content p{margin-bottom:12px}
.rich-content h3{font-size:1.14em;font-weight:700;color:#323232;margin:16px 0 8px}
.rich-content h4{font-size:1.14em;font-weight:700;color:#323232;margin:12px 0 6px}
.rich-content ul{padding-left:20px;list-style:disc;margin-bottom:12px}
.rich-content ol{padding-left:20px;list-style:decimal;margin-bottom:12px}
.rich-content li{margin-bottom:4px}
.rich-content img{max-width:100%;height:auto;margin:8px 0}
.rich-content table{width:100%;border-collapse:collapse;margin:12px 0}
.rich-content table th{background:#f5f5f5;padding:8px 12px;border:1px solid #e1e1e1;font-size:12px;text-align:left}
.rich-content table td{padding:8px 12px;border:1px solid #e1e1e1;font-size:13px}
.rich-content blockquote{border-left:3px solid #aa996d;padding:8px 16px;margin:12px 0;background:#f9f9f9;font-style:italic}

/* === RICH PAGE LAYOUT (shared hero + features + CTA for gallery/showroom/catalog/support/services) === */
.rich-page-container{max-width:1200px;margin:0 auto;padding:0 16px}

/* Page hero banner */
.page-hero{position:relative;height:300px;overflow:hidden;margin-bottom:30px;margin-left:-16px;margin-right:-16px}
.page-hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:brightness(.6)}
.page-hero-content{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;height:100%;max-width:800px;margin:0 auto;padding:0 40px;color:#fff}
.page-hero-content h1{font-size:2.14em;font-weight:400;margin-bottom:12px}
.page-hero-content p{font-size:14px;line-height:1.6em;opacity:.9}

/* Feature boxes row */
.page-features{margin-bottom:30px;padding:30px 0;border-bottom:1px solid #e1e1e1}
.feature-row{display:flex;gap:20px}
.feature-box{flex:1;text-align:center;padding:20px 16px}
.feature-box-icon{font-size:32px;display:block;margin-bottom:10px}
.feature-box h3{font-size:1.14em;font-weight:700;margin-bottom:8px;color:#323232}
.feature-box p{font-size:12px;color:#666;line-height:1.6em}

/* CTA section */
.page-cta-section{margin:30px 0;padding:30px 0;border-top:1px solid #e1e1e1}
.page-cta-box{text-align:center;background:#f9f9f9;padding:40px;border:1px solid #e8e8e8}
.page-cta-box h2{font-size:20px;font-weight:400;margin-bottom:12px;color:#323232}
.page-cta-box p{font-size:13px;color:#666;line-height:1.8;margin-bottom:20px;max-width:600px;margin-left:auto;margin-right:auto}
.cta-buttons{display:flex;gap:12px;justify-content:center}

/* Info grid (cards) */
.page-info-section{margin-bottom:30px}
.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.info-card{background:#f9f9f9;padding:24px;border:1px solid #e8e8e8}
.info-card h3{font-size:1.14em;font-weight:700;margin-bottom:8px;color:#323232}
.info-card p{font-size:12px;color:#666;line-height:1.6em}
.info-card a{color:#4d4399}

/* === GALLERY PAGE — v5.14 嚴格對齊 miratap /shop/gallery/ === */
.gallery-page{max-width:1180px;margin:0 auto;padding:0 16px 60px}
.gallery-page .breadcrumb-list{margin:16px 0 20px;font-size:12px;color:#888}
.gallery-page .breadcrumb-list ol{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}
.gallery-page .breadcrumb-list li{display:inline-flex;align-items:center}
.gallery-page .breadcrumb-list li::after{content:'';margin:0}
.gallery-page .breadcrumb-list li+li::before{content:'>';margin:0 8px;color:#bbb}
.gallery-page .breadcrumb-list a{color:#666;text-decoration:none}
.gallery-page .breadcrumb-list a:hover{color:#e57322;text-decoration:underline}
.gallery-page-title{font-size:28px;font-weight:400;color:#323232;margin:0 0 18px;padding-bottom:14px;border-bottom:1px solid #e1e1e1;letter-spacing:.05em}
.gallery-message-area{font-size:13px;color:#555;line-height:1.9;margin:0 0 28px}
/* Tab（對齊 miratap .gallery_menu_tab；使用複合選擇器以勝過全域 .pc 規則）*/
.gallery-page .gallery-menu-tab{list-style:none;padding:0;margin:0;display:flex;align-items:flex-end;border-bottom:3px solid #ccc;text-align:center}
.gallery-menu-tab li{margin:0 10px 0 0;padding:10px 20px;font-size:14px;background:#efefef;border:1px solid #ccc;border-bottom:0;border-radius:6px 6px 0 0;color:#323232;cursor:pointer;display:inline-flex;align-items:center;line-height:1.4;min-height:44px}
.gallery-menu-tab li strong{font-weight:700;margin-right:2px}
.gallery-menu-tab li a{display:inline-flex;align-items:center;color:inherit;text-decoration:none}
.gallery-menu-tab li.form{background:#e57322;color:#fff;border-color:#e57322}
.gallery-menu-tab li.form::before{content:'✓';display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-right:8px;background:#fff;color:#e57322;border-radius:50%;font-size:11px;font-weight:700}
.gallery-menu-tab li.product::before{content:'🔍';margin-right:8px;font-size:14px}
.gallery-menu-tab li.product:hover{background:#f5f5f5}
/* Flex 工具類（對齊 miratap .fx / .fx--*，用於模板可自由組合；主要版面已在 .refine / .layout4.fx 內建）*/
.fx{display:flex}
.fx--wrap{flex-wrap:wrap}
.fx--jc-sb{justify-content:space-between}
.fx--jc-c{justify-content:center}
.fx--item-c{align-items:center}
.fx--item-s{align-items:flex-start}
.layout-base{box-sizing:border-box}
/* 篩選表單（對齊 miratap #searchForm / fieldset.refine）*/
.search-form{background:#fafafa;border:1px solid #e0e0e0;border-top:0;padding:20px 24px 24px}
.search-form fieldset{border:0;padding:0;margin:0}
.search-form .acd-wrap{height:auto;opacity:1}
.refine{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid #e8e8e8;gap:20px}
.refine:last-of-type{border-bottom:0}
.refine-lead{position:relative;width:15%;text-align:center;flex:0 0 auto}
.refine-lead legend{display:block;font-weight:700;font-size:14px;color:#323232;margin:0 auto}
.refine-lead::after{content:'';display:block;width:1px;height:100%;background-color:#ccc;position:absolute;top:0;right:0;bottom:0}
.refine .labels{flex:1}
.refine .labels ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px 18px}
.refine .labels li{display:inline-flex}
.refine-label{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#323232;cursor:pointer;user-select:none;padding:4px 0;min-height:28px}
.refine-label input[type="checkbox"]{width:16px;height:16px;margin:0;accent-color:#e57322;cursor:pointer}
.refine-label:hover span{color:#e57322}
.refine-label.is-selected span{color:#e57322;font-weight:600}
/* 搜尋按鈕（對齊 miratap .searchButton）*/
.searchButton{text-align:center;padding:28px 0 4px}
.searchButton .type-reset,.searchButton .type-search{display:inline-block;padding:12px 24px;min-width:200px;margin:0 8px;text-align:center;font-size:15px;line-height:1.4;cursor:pointer;border-radius:4px;text-decoration:none;min-height:48px;box-sizing:border-box}
.searchButton .type-reset{border:1px solid #ccc;background:#fff;color:#323232}
.searchButton .type-reset::before{content:'↺';display:inline-block;margin-right:8px;font-weight:700;color:#888}
.searchButton .type-reset:hover{border-color:#323232}
.searchButton .type-search{border:0;background:#e57322;color:#fff;font-weight:600}
.searchButton .type-search:hover{background:#c35f14}
/* SP 捷徑按鈕（display 由全域 .sp-only !important 控制，此處僅定義外觀）*/
.gallery-search-list .btn.sp-only{margin:22px 0;padding:16px;text-align:center;background:#efefef;color:#323232;text-decoration:none;border-radius:4px;font-size:14px}
.gallery-search-list .btn.sp-only:hover{background:#e2e2e2}
/* 計數標頭 */
.case-count-header{display:flex;justify-content:space-between;align-items:baseline;margin:24px 0 14px;padding-bottom:10px;border-bottom:2px solid #323232}
.case-count-title{font-size:18px;margin:0;font-weight:500;letter-spacing:.05em}
.case-count-meta{font-size:13px;color:#888}
.case-count-total{font-weight:500;color:#323232}
/* 網格（對齊 miratap .layout4.fx）*/
.layout4{list-style:none;padding:0;margin:0 0 32px}
.layout4.fx{display:flex;flex-wrap:wrap}
.layout4.fx>li{width:23.5%;margin-right:2%;margin-bottom:28px}
.layout4.fx>li:nth-of-type(4n){margin-right:0}
.layout4 .box--link{position:relative;margin:0 0 10px;padding:0;overflow:hidden;aspect-ratio:4/3;background:#f5f5f5}
.layout4 .box--link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease,filter .3s ease}
.layout4 .box--link:hover img{transform:scale(1.05);filter:brightness(.95)}
.layout4 .box--link>a{position:absolute;inset:0;display:block;text-indent:-9999px;background:transparent;transition:background .3s}
.layout4 .box--link:hover>a{background:rgba(255,255,255,.08)}
.layout4 .gallery-card-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:40px;color:#ccc;background:#f5f5f5}
.layout4 .tags{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:4px 6px}
.layout4 .tags li{display:inline-flex}
.layout4 .tags a{display:inline-block;padding:2px 10px;font-size:11px;color:#666;background:#f2f2f2;border-radius:9999px;text-decoration:none;line-height:1.7;transition:background .15s,color .15s}
.layout4 .tags a:hover{background:#e57322;color:#fff}
/* 從推薦商品尋找（對齊 miratap #searchProduct / .dv_recommend）*/
.search-product{margin-top:48px;padding:36px 0 0;border-top:1px solid #e1e1e1}
.search-product-title{font-size:20px;font-weight:500;color:#323232;margin:0 0 8px;letter-spacing:.05em}
.search-product-lead{font-size:13px;color:#666;margin:0 0 24px}
.dv_recommend{display:grid;grid-template-columns:repeat(4,1fr);gap:20px 16px}
.dv_rc_items a{display:block;color:inherit;text-decoration:none;transition:opacity .2s}
.dv_rc_items a:hover{opacity:.85}
.dv_rc_img{aspect-ratio:1/1;overflow:hidden;background:#f5f5f5;margin-bottom:8px}
.dv_rc_img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.dv_rc_items a:hover .dv_rc_img img{transform:scale(1.04)}
.dv_rc_category_name{font-size:11px;color:#888;margin-bottom:2px}
.dv_rc_name{font-size:13px;color:#323232;font-weight:500}
/* 空狀態（無符合案例）*/
.gallery-empty{text-align:center;padding:60px 20px}
.gallery-empty-icon{font-size:64px;display:block;margin-bottom:16px}
.gallery-empty h3{font-size:18px;font-weight:400;margin-bottom:8px}
.gallery-empty p{font-size:13px;color:#666;margin-bottom:20px}
.gallery-empty-actions{display:flex;gap:12px;justify-content:center;margin-top:16px;flex-wrap:wrap}
/* 詳情頁 */
.gallery-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}
.gallery-detail-photo img{width:100%;height:auto;display:block;cursor:pointer}
.gallery-detail-actions{display:flex;gap:12px;margin-top:20px}
.gallery-company{font-size:13px;color:#666;margin:0 0 8px}
.gallery-excerpt{font-size:13px;color:#666;margin:6px 0 0;line-height:1.7}
.case-tag-list{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:12px 0;list-style:none}
.case-tag-list>li{display:inline-flex}
.case-tag-link{display:inline-flex;align-items:center;padding:4px 12px;border-radius:9999px;font-size:12px;text-decoration:none;line-height:1.4;transition:filter .15s,transform .15s;min-height:28px}
.case-tag-link:hover{filter:brightness(.95);transform:translateY(-1px)}
.case-tag-link.case-tag--space{background:#eef5ff;color:#1a5fb4}
.case-tag-link.case-tag--style{background:#fff4e6;color:#b86e00}
.case-tag-link.case-tag--type{background:#f0f8e8;color:#3d7a1c}
/* 分頁 */
.pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin:32px 0}
.pagination-btn{padding:8px 18px;border:1px solid #d0d0d0;border-radius:6px;color:#323232;text-decoration:none;background:#fff;min-height:40px;display:inline-flex;align-items:center}
.pagination-btn:hover{border-color:#e57322;color:#e57322}
.pagination-btn.is-disabled{opacity:.4;cursor:not-allowed;pointer-events:none}
.pagination-meta{font-size:14px;color:#666}

/* === 精簡 CTA 區塊（v5.15，showroom/catalog/services 共用）=== */
.showroom-reserve-cta{margin:36px 0 8px;padding:24px 28px;background:#fafafa;border:1px solid #e0e0e0;border-radius:6px}
.showroom-reserve-cta h2{font-size:18px;font-weight:500;margin:0 0 8px;color:#323232;letter-spacing:.05em}
.showroom-reserve-cta p{font-size:13px;color:#555;line-height:1.8;margin:0 0 16px}
.showroom-reserve-cta .cta-buttons{display:flex;gap:12px;flex-wrap:wrap}
.partner-benefit-list{list-style:disc;padding-left:20px;margin:0 0 20px;font-size:13px;color:#323232;line-height:1.9}
.partner-benefit-list li{margin-bottom:6px}
.partner-benefit-list strong{color:#e57322;margin-right:4px}
/* === 資訊頁樣式（info-pages：about / delivery / guide / tokushoho）=== */
.info-page .info-section{margin:28px 0}
.info-page .info-section h2{font-size:16px;color:#323232;margin:0 0 12px;padding-bottom:6px;border-bottom:1px solid #e1e1e1;font-weight:500;letter-spacing:.03em}
.info-page .info-section p{font-size:13px;color:#444;line-height:1.9;margin:0 0 10px}
.info-page .info-list{list-style:disc;padding-left:22px;margin:0 0 12px;font-size:13px;color:#323232;line-height:1.9}
.info-page .info-list li{margin-bottom:4px}
.info-page .info-list li strong{color:#e57322;margin-right:2px}
.info-page .info-dl{display:grid;grid-template-columns:140px 1fr;gap:10px 20px;font-size:13px;margin:0 0 12px}
.info-page .info-dl dt{color:#666;font-weight:500}
.info-page .info-dl dd{color:#323232;margin:0}
.info-page .info-table{width:100%;border-collapse:collapse;margin:0 0 12px;font-size:13px}
.info-page .info-table th,.info-page .info-table td{padding:10px 12px;border:1px solid #e1e1e1;text-align:left;vertical-align:top;line-height:1.7}
.info-page .info-table th{background:#f7f7f7;color:#323232;font-weight:500}
.info-page .info-table td:nth-child(2),.info-page .info-table td:nth-child(3){white-space:nowrap}
.info-page .info-note{font-size:12px;color:#888;margin:18px 0 0;padding:10px 12px;background:#f7f7f7;border-left:3px solid #e57322}
@media(max-width:768px){
  .info-page .info-dl{grid-template-columns:1fr;gap:4px 0}
  .info-page .info-dl dt{margin-top:8px}
  .info-page .info-table{font-size:12px}
  .info-page .info-table th,.info-page .info-table td{padding:8px 6px}
  .info-page .info-table td:nth-child(2),.info-page .info-table td:nth-child(3){white-space:normal}
}
/* === SHOWROOM PAGE (rich version) === */
.showroom-grid-rich{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.showroom-card-rich{border:1px solid #e8e8e8;overflow:hidden;display:flex;flex-direction:column}
.showroom-card-img{height:220px;overflow:hidden;background:#f5f5f5}
.showroom-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.showroom-card-body{padding:20px;flex:1;display:flex;flex-direction:column}
.showroom-card-body h3{font-size:16px;font-weight:700;margin-bottom:12px;color:#323232}
.showroom-details{margin-bottom:16px}
.showroom-details dt{font-size:12px;color:#666;margin-bottom:2px}
.showroom-details dd{font-size:13px;margin-bottom:10px;margin-left:0}
.showroom-details a{color:#4d4399}
.showroom-card-actions{margin-top:auto}
.showroom-empty{text-align:center;padding:60px 20px}
.showroom-empty-icon{font-size:64px;display:block;margin-bottom:16px}

/* === CATALOG PAGE === */
.catalog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.catalog-card{border:1px solid #e8e8e8;overflow:hidden;display:flex}
.catalog-card-img{width:200px;flex-shrink:0;overflow:hidden;background:#f5f5f5}
.catalog-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.catalog-card-body{flex:1;padding:20px;display:flex;flex-direction:column}
.catalog-card-body h3{font-size:15px;font-weight:700;margin-bottom:4px;color:#323232}
.catalog-pages{font-size:11px;color:#999;margin-bottom:8px}
.catalog-card-body p{font-size:12px;color:#666;line-height:1.7;margin-bottom:12px}
.catalog-card-actions{display:flex;gap:8px;margin-top:auto}
.catalog-card-actions .btn-primary,.catalog-card-actions .btn-secondary{padding:6px 16px;font-size:12px}

/* === SUPPORT PAGE === */
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.service-card{border:1px solid #e8e8e8;overflow:hidden;transition:box-shadow .2s}
.service-card:hover{box-shadow:0 2px 12px rgba(0,0,0,.1)}
.service-card a{display:block;color:inherit;text-decoration:none}
.service-card-img{height:140px;overflow:hidden;background:#f5f5f5}
.service-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.service-card:hover .service-card-img img{transform:scale(1.03)}
.service-card-body{padding:16px}
.service-card-icon{font-size:24px;display:block;margin-bottom:8px}
.service-card-body h3{font-size:14px;font-weight:700;margin-bottom:6px;color:#323232}
.service-card-body p{font-size:12px;color:#666;line-height:1.7}
.faq-preview-section{margin:30px 0;padding-bottom:20px;border-bottom:1px solid #e1e1e1}
.faq-more{text-align:right;margin-top:12px;font-size:13px}
.faq-more a{color:#4d4399}
.contact-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.contact-card{text-align:center;padding:24px 16px;background:#f9f9f9;border:1px solid #e8e8e8}
.contact-icon{font-size:28px;display:block;margin-bottom:8px}
.contact-card h3{font-size:13px;font-weight:700;margin-bottom:8px;color:#323232}
.contact-value{font-size:14px;margin-bottom:4px}
.contact-value a{color:#4d4399;font-weight:700}
.contact-note{font-size:11px;color:#999}

/* === SERVICES PAGE === */
.service-card-wide{display:flex;border:1px solid #e8e8e8;margin-bottom:20px;overflow:hidden}
.service-card-wide-img{width:300px;flex-shrink:0;overflow:hidden;background:#f5f5f5}
.service-card-wide-img img{width:100%;height:100%;object-fit:cover;display:block}
.service-card-wide-body{flex:1;padding:24px;display:flex;flex-direction:column}
.service-card-wide-body h3{font-size:16px;font-weight:700;margin-bottom:8px;color:#323232}
.service-card-wide-body p{font-size:13px;color:#666;line-height:1.8;margin-bottom:16px;flex:1}
.about-preview{display:flex;gap:30px;margin-bottom:30px;padding-bottom:30px;border-bottom:1px solid #e1e1e1}
.about-preview-content{flex:1}
.about-text p{margin-bottom:12px}
.about-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;width:280px;flex-shrink:0}
.stat-item{text-align:center;padding:20px;background:#f9f9f9;border:1px solid #e8e8e8}
.stat-number{font-size:28px;font-weight:700;color:#323232;display:block}
.stat-label{font-size:12px;color:#666}
.partner-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}
.partner-benefit{text-align:center;padding:20px;background:#f9f9f9;border:1px solid #e8e8e8}
.partner-benefit-icon{font-size:28px;display:block;margin-bottom:8px}
.partner-benefit h3{font-size:13px;font-weight:700;margin-bottom:6px;color:#323232}
.partner-benefit p{font-size:11px;color:#666;line-height:1.6}
.partner-cta{text-align:center;margin-top:20px}

/* === RESPONSIVE === */
.pc-only,.pc{display:block}
.sp-only,.sp{display:none!important}
@media(max-width:768px){
.pc-only,.pc{display:none!important}
.sp-only,.sp{display:block!important}
.boxinner,.wrapper{width:100%;padding:0 10px}
.headerUpper{margin-bottom:8px}
.header_logo{float:none;text-align:center;padding:8px 0}
#userNavi{float:none;display:flex;justify-content:center;padding:8px 0;flex-wrap:wrap}
#gNavi>ul{display:flex;overflow-x:auto}
#gNavi>ul>li{display:block;white-space:nowrap}
#gNavi>ul>li>a{width:auto;height:auto;line-height:1;padding:10px 16px}
#productsInfo{flex-direction:column}
#prPhoto,#prData{width:100%;padding:0}
#prData{padding-top:16px}
.category-layout{flex-direction:column}
.category-sidebar{width:100%;border-right:none;padding-right:0;border-bottom:1px solid #e1e1e1;padding-bottom:12px;margin-bottom:12px}
.category-main{padding-left:0}
.cat-subnav ul{display:flex;flex-wrap:wrap;gap:4px}
.cat-subnav li{border-bottom:none}
.cat-subnav li a{padding:6px 12px;border:1px solid #e1e1e1;font-size:12px}
.product-card{width:50%}
.checkout-layout{flex-direction:column}
.checkout-summary{width:100%}
.footer-columns{grid-template-columns:repeat(2,1fr)}
.feature-grid{flex-wrap:wrap}
.feature-item{width:45%}
#indexCategoryTile .tiles li{width:50%}
.tab-nav{display:flex;overflow-x:auto}
.tab-nav li{display:block;white-space:nowrap;flex-shrink:0}
.gallery-card{width:calc(50% - 8px)}
.showroom-card{width:100%}
.subcat-card{width:100%}
.subcat-card-img{height:160px}
.product-tab-nav{overflow-x:auto}
.product-tab-item{white-space:nowrap;padding:10px 16px;font-size:13px}
.feature-highlights{flex-direction:column}
.cat-hero-banner{max-height:200px}
.cat-hero-img{height:200px}
.page-hero{height:200px}
.page-hero-content h1{font-size:22px}
.feature-row{flex-direction:column}
.info-grid{grid-template-columns:1fr}
/* 行動版：.pc / .sp-only display 由全域 !important 處理，此處只調整尺寸/邊距 */
.search-form{border-top:1px solid #e0e0e0;border-radius:4px;padding:16px}
.refine{flex-direction:column;align-items:stretch;gap:10px;padding:14px 0}
.refine-lead{width:100%;text-align:left}
.refine-lead::after{display:none}
.refine-lead legend{text-align:left;margin:0}
.fx--sp-block{flex-direction:column;align-items:stretch}
.refine .labels ul{gap:8px 14px}
.searchButton{padding:20px 0 4px}
.searchButton .type-reset,.searchButton .type-search{min-width:140px;margin:4px}
.layout4.fx>li{width:48.5%;margin-right:3%;margin-bottom:20px}
.layout4.fx>li:nth-of-type(4n){margin-right:3%}
.layout4.fx>li:nth-of-type(2n){margin-right:0}
.dv_recommend{grid-template-columns:repeat(2,1fr)}
.case-count-header{flex-direction:column;gap:4px;align-items:flex-start}
.gallery-page-title{font-size:22px}
.gallery-detail-grid{grid-template-columns:repeat(2,1fr)}
.showroom-grid-rich{grid-template-columns:1fr}
.catalog-grid{grid-template-columns:1fr}
.catalog-card{flex-direction:column}
.catalog-card-img{width:100%;height:160px}
.service-grid{grid-template-columns:1fr}
.contact-grid{grid-template-columns:repeat(2,1fr)}
.service-card-wide{flex-direction:column}
.service-card-wide-img{width:100%;height:160px}
.about-preview{flex-direction:column}
.about-stats{width:100%}
.partner-benefits{grid-template-columns:repeat(2,1fr)}
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
