/* Shop-only polish. No continuous animation or extra scene renderer. */
body.wmi-shop-polished .walkin-catalog-shell { --catalog-line:#d7af6940; --catalog-text:#f5e8d1; --catalog-muted:#d2b999; --catalog-gold:var(--wmi-gold,#e6c17b); gap:28px; }
body.wmi-shop-polished .walkin-catalog-filters { position:relative; padding:20px 16px; border-color:#d7af696b; border-radius:16px; background:linear-gradient(155deg,#542529d9,#250d13ed 65%); box-shadow:inset 0 1px 0 #fff1cf12,0 12px 26px #14060830; }
body.wmi-shop-polished .walkin-catalog-filters::before { content:""; position:absolute; top:-1px; left:24px; right:24px; height:1px; background:linear-gradient(90deg,transparent,#f8da9b,transparent); pointer-events:none; }
body.wmi-shop-polished .walkin-catalog-filters summary { gap:10px; font-family:"Noto Serif TC",serif; font-size:17px; letter-spacing:.08em; }
body.wmi-shop-polished .walkin-catalog-filters summary > span:first-child::before { content:"✦"; color:#e2bc7c; font-size:14px; margin-right:10px; }
body.wmi-shop-polished .walkin-catalog-form fieldset { margin-top:22px; padding-top:12px; border-color:#d7af692b; }
body.wmi-shop-polished .walkin-catalog-form legend { color:#e6c896; font-size:12px; letter-spacing:.14em; }
body.wmi-shop-polished .walkin-filter-choice { position:relative; min-height:44px; gap:10px; padding:5px 9px; border:1px solid transparent; border-radius:8px; margin-top:3px; font-size:13px; transition:background-color .16s,border-color .16s; }
body.wmi-shop-polished .walkin-filter-choice:has(input:checked) { color:#ffe4b3; border-color:#d7af6954; background:linear-gradient(90deg,#b88d482c,#b88d4807); }
body.wmi-enabled.wmi-shop-layout.wmi-shop-polished .walkin-filter-choice { margin:3px 0 0 !important; }
body.wmi-shop-polished .walkin-filter-choice small { min-width:22px; border-radius:20px; padding:1px 5px; background:#e8c98512; text-align:center; font:11px/1.6 system-ui,sans-serif; }
body.wmi-shop-polished .walkin-filter-choice input { appearance:none; display:grid; place-content:center; background:#190b0e; border:1px solid #d9b7808c; width:16px; height:16px; flex-basis:16px; border-radius:4px; }
body.wmi-shop-polished .walkin-filter-choice input[type=radio] { border-radius:50%; }
body.wmi-shop-polished .walkin-filter-choice input:checked { background:#e0bb78; border-color:#f2d394; }
body.wmi-shop-polished .walkin-filter-choice input::after { content:""; width:8px; height:4px; border-left:2px solid #3a191e; border-bottom:2px solid #3a191e; transform:rotate(-45deg) translateY(-1px); opacity:0; }
body.wmi-shop-polished .walkin-filter-choice input[type=radio]::after { width:6px; height:6px; border:0; border-radius:50%; background:#3a191e; transform:none; }
body.wmi-shop-polished .walkin-filter-choice input:checked::after { opacity:1; }
body.wmi-shop-polished .walkin-filter-options { scrollbar-color:#a7834c #ffffff05; }
body.wmi-shop-polished .walkin-catalog-shell :is(input[type=search],input[type=number],select) { border-color:#d7af6952; border-radius:9px; background:#291317e0; color:#f4e6cf; box-shadow:inset 0 1px 3px #10040630; }
body.wmi-shop-polished .walkin-catalog-search { gap:10px; padding:7px; border:1px solid #d7af6957; border-radius:13px; background:#30141aca; box-shadow:inset 0 1px 0 #ffebc90a; }
body.wmi-shop-polished .walkin-catalog-search input { border-color:transparent; background:transparent; box-shadow:none; padding-left:13px; }
body.wmi-shop-polished .walkin-catalog-search button,body.wmi-shop-polished .walkin-filter-actions button { border-color:#dbb97b; border-radius:8px; background:linear-gradient(135deg,#eacb8c,#cfa66c); color:#32131a; font-weight:600; }
body.wmi-shop-polished .walkin-catalog-results .brand-shop-catalog-heading { border:0; gap:12px; }
body.wmi-shop-polished .walkin-catalog-sorting { display:grid; grid-template-columns:repeat(3,max-content) minmax(150px,1fr); border-color:#d7af6945; border-radius:12px; padding:8px; background:linear-gradient(100deg,#401c24de,#261116d9); gap:6px; }
body.wmi-shop-polished .walkin-catalog-sorting > a { border-color:transparent; border-radius:8px; background:transparent; color:#d9c4a4; padding-inline:16px; }
body.wmi-shop-polished .walkin-catalog-sorting > a.is-active { color:#38202a; border-color:#e2c28a; background:linear-gradient(135deg,#f0d59a,#c9a268); box-shadow:0 2px 8px #13040730; }
body.wmi-shop-polished .walkin-price-sort { margin-left:auto; flex:0 1 245px; width:min(245px,100%); min-width:0; }
body.wmi-enabled.wmi-shop-layout.wmi-shop-polished .walkin-price-sort { margin-block:0 !important; }
body.wmi-shop-polished .walkin-price-sort button { border-radius:8px; background:#6231397a; }
body.wmi-shop-polished .walkin-price-fields { gap:5px; }
body.wmi-shop-polished .walkin-price-fields input { padding:8px 5px; }
body.wmi-shop-polished .walkin-filter-actions a { color:#d5b98b; min-height:44px; text-underline-offset:4px; }
body.wmi-enabled.wmi-shop-layout.wmi-shop-polished .brand-shop-content .wc-block-product-template > li { border-color:#b99a6f; border-radius:15px; box-shadow:0 9px 20px #16070c42,inset 0 1px 0 #ffedc80e; }
body.wmi-enabled.wmi-shop-layout.wmi-shop-polished .brand-shop-content .wc-block-product-template > li::before { border-radius:11px; border-color:#c5a27438; }
body.wmi-enabled.wmi-shop-layout.wmi-shop-polished .brand-shop-content .wc-block-product-template > li .wc-block-components-product-image img { border-radius:9px; outline-color:#e7c79124; }
body.wmi-enabled.wmi-shop-layout.wmi-shop-polished .brand-shop-content .brand-shop-product-title { letter-spacing:.03em; }
body.wmi-enabled.wmi-shop-layout.wmi-shop-polished .brand-shop-content .wp-block-woocommerce-product-price { margin-bottom:12px !important; }
body.wmi-enabled.wmi-shop-layout.wmi-shop-polished .brand-shop-content .wc-block-components-product-price { color:#f1d39e; font-family:system-ui,sans-serif; font-weight:500; }
body.wmi-enabled.wmi-shop-layout.wmi-shop-polished .brand-shop-content .wc-block-components-product-button :is(button,.wmi-preview-buy) { width:100%; border-radius:8px; border-color:#c19a604f; background:linear-gradient(110deg,#b18a451c,#b18a4509); color:#f2d9b0; letter-spacing:.04em; }
body.wmi-shop-polished .walkin-catalog-empty { border-radius:15px; padding:50px 24px; background:linear-gradient(150deg,#54252bcc,#240f14eb); border-color:#d7af6954; }
body.wmi-shop-polished .walkin-catalog-empty h2 { font-family:"Noto Serif TC",serif; letter-spacing:.06em; }
body.wmi-shop-polished .walkin-catalog-empty a { display:inline-flex; align-items:center; min-height:44px; padding:0 18px; border:1px solid #d7af695c; border-radius:24px; color:#eed4a6; text-decoration:none; }
@media(hover:hover) and (pointer:fine) {
 body.wmi-shop-polished .walkin-filter-choice:hover { background:#c39a4e14; }
 body.wmi-shop-polished .walkin-catalog-sorting > a:hover { border-color:#d7af6966; color:#ffe4b3; }
 body.wmi-shop-polished .walkin-catalog-sorting > a.is-active:hover { color:#32131a; }
 body.wmi-shop-polished .walkin-catalog-search button:hover,body.wmi-shop-polished .walkin-filter-actions button:hover { background:#f0d398; color:#32131a; }
}
@media(max-width:1100px) and (min-width:901px) { body.wmi-shop-polished .walkin-catalog-shell { gap:20px; } body.wmi-shop-polished .walkin-catalog-filters { padding-inline:10px; } }
@media(max-width:900px) { body.wmi-shop-polished .walkin-catalog-shell { gap:16px; } body.wmi-shop-polished .walkin-catalog-filters { padding:8px 16px; } body.wmi-shop-polished .walkin-filter-toggle { width:26px; height:26px; display:grid; place-items:center; border:1px solid #d7af694f; border-radius:50%; font-family:system-ui,sans-serif; } }
@media(max-width:600px) { body.wmi-shop-polished .walkin-catalog-search { padding:5px; gap:4px; } body.wmi-shop-polished .walkin-catalog-search button { padding-inline:16px; } body.wmi-shop-polished .walkin-catalog-sorting > a { padding-inline:5px; } body.wmi-shop-polished .walkin-price-sort { margin:0; flex:1 1 100%; } body.wmi-shop-polished .walkin-catalog-filters summary { font-size:16px; } }
@media(prefers-reduced-motion:reduce) { body.wmi-shop-polished .walkin-filter-choice { transition:none; } }
@media(max-width:600px) { body.wmi-shop-polished .walkin-catalog-sorting { grid-template-columns:repeat(3,minmax(0,1fr)); } body.wmi-shop-polished .walkin-price-sort { grid-column:1/-1; width:100%; } }
@media(forced-colors:active) { body.wmi-shop-polished .walkin-filter-choice input { appearance:auto; } body.wmi-shop-polished .walkin-filter-choice input::after { content:none; } }

/* Height is independent from polish. Auto mode keeps the original image ratio. */
@media(min-width:901px) {
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-desktop .brand-shop-content .wc-block-product-template > li { height:var(--wmi-shop-card-height-desktop) !important; min-height:min-content; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-desktop .brand-shop-content .wc-block-product-template > li > :not(.wc-block-components-product-image) { flex-shrink:0; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-desktop .brand-shop-content .wc-block-product-template > li > .wc-block-components-product-image { flex:1 1 0px; min-height:80px; height:0 !important; aspect-ratio:auto !important; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-desktop .brand-shop-content .wc-block-product-template > li > .wc-block-components-product-image img { width:100% !important; height:100% !important; aspect-ratio:auto !important; object-fit:var(--wmi-shop-fit,contain) !important; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-desktop .brand-shop-content .wc-block-product-template > li .brand-shop-product-title { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
}
@media(min-width:601px) and (max-width:900px) {
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-tablet .brand-shop-content .wc-block-product-template > li { height:var(--wmi-shop-card-height-tablet) !important; min-height:min-content; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-tablet .brand-shop-content .wc-block-product-template > li > :not(.wc-block-components-product-image) { flex-shrink:0; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-tablet .brand-shop-content .wc-block-product-template > li > .wc-block-components-product-image { flex:1 1 0px; min-height:80px; height:0 !important; aspect-ratio:auto !important; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-tablet .brand-shop-content .wc-block-product-template > li > .wc-block-components-product-image img { width:100% !important; height:100% !important; aspect-ratio:auto !important; object-fit:var(--wmi-shop-fit,contain) !important; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-tablet .brand-shop-content .wc-block-product-template > li .brand-shop-product-title { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
}
@media(max-width:600px) {
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-mobile .brand-shop-content .wc-block-product-template > li { height:var(--wmi-shop-card-height-mobile) !important; min-height:min-content; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-mobile .brand-shop-content .wc-block-product-template > li > :not(.wc-block-components-product-image) { flex-shrink:0; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-mobile .brand-shop-content .wc-block-product-template > li > .wc-block-components-product-image { flex:1 1 0px; min-height:80px; height:0 !important; aspect-ratio:auto !important; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-mobile .brand-shop-content .wc-block-product-template > li > .wc-block-components-product-image img { width:100% !important; height:100% !important; aspect-ratio:auto !important; object-fit:var(--wmi-shop-fit,contain) !important; }
 body.wmi-enabled.wmi-shop-layout.wmi-shop-height-mobile .brand-shop-content .wc-block-product-template > li .brand-shop-product-title { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
}
