/* Presentation scoped to catalogue/detail/cart pages. Checkout and legacy content opt out. */
body[data-visual-storefront="true"]{--visual-surface:#fff;--visual-line:#d9d6d1;--visual-muted:#59635b;--shop-bg:#fff;--shop-ink:#2f3a33;background:var(--shop-bg)}
body[data-visual-storefront="true"] :is(.shop-header,.shop-home,.shop-footer,.container){max-width:1440px}
body[data-visual-storefront="true"] :is(h1,h2,h3,p,a,small){overflow-wrap:anywhere}
body[data-visual-storefront="true"] .shop-header{padding:28px 40px;border-bottom:1px solid var(--visual-line)}
body[data-visual-storefront="true"] .shop-brand{font-weight:500;letter-spacing:.045em;gap:14px}
body[data-visual-storefront="true"] .shop-brand img{height:44px;width:44px}
body[data-visual-storefront="true"] .shop-header nav a{min-height:44px;display:flex;align-items:center;padding:8px 14px}
body[data-visual-storefront="true"] .shop-home{padding:24px 40px 64px}
body[data-visual-storefront="true"] .fm-shopping-tools{border:0;border-bottom:1px solid var(--visual-line);border-radius:0;background:transparent;margin:0 0 24px;padding:0 0 20px}
body[data-visual-storefront="true"] .fm-product-search input{background:#f6f5f2;border:1px solid var(--visual-line);border-radius:24px;min-height:46px}
body[data-visual-storefront="true"] .fm-product-search button{background:var(--shop-primary)!important;border:0;border-radius:24px;min-height:46px;color:#fff}
body[data-visual-storefront="true"] .fm-flow-note{color:var(--visual-muted);background:none;border:0;padding:0;margin-top:14px}
body[data-visual-storefront="true"] .fm-shop-links a{min-height:44px;display:inline-flex;align-items:center}
/* Nonempty search is blocked by the committed query's lower(CLOB) mapping. Do not offer an unverified control. */
body[data-visual-storefront="true"] .fm-product-search{display:none}
body[data-visual-storefront="true"] .fm-shopping-tools{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
body[data-visual-storefront="true"] .shop-hero{border-radius:0;min-height:360px;padding:64px;background:var(--shop-accent);gap:40px}
body[data-visual-storefront="true"] :is(.shop-home h1,.shop-home h2,.page_cart h1){font-family:Georgia,"Microsoft JhengHei",serif;font-weight:400}
body[data-visual-storefront="true"] .shop-hero h1{font-size:clamp(34px,4vw,60px);max-width:18ch}
body[data-visual-storefront="true"] .shop-hero p{max-width:55ch;line-height:1.6;font-size:18px}
body[data-visual-storefront="true"] .shop-hero img{border-radius:0;max-height:480px;object-fit:cover}
body[data-visual-storefront="true"] .shop-button{border-radius:28px;font-weight:500;min-height:44px}
body[data-visual-storefront="true"] .shop-home>section{margin-bottom:48px}
body[data-visual-storefront="true"] .shop-home h2{font-size:30px}
body[data-visual-storefront="true"] .shop-categories{gap:12px}
body[data-visual-storefront="true"] .shop-categories a{background:#f7f6f3;border:1px solid var(--visual-line);border-radius:3px;min-height:44px;padding:14px 20px}
body[data-visual-storefront="true"] :is(.shop-product-grid,.fm-search-grid){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body[data-visual-storefront="true"] :is(.shop-product-grid article,.fm-search-card){border:1px solid var(--visual-line);border-radius:4px;background:var(--visual-surface);padding:0;min-width:0;overflow:hidden;display:flex;flex-direction:column}
body[data-visual-storefront="true"] .shop-product-grid article>a:first-child{display:block}
body[data-visual-storefront="true"] .shop-product-grid :is(h3,p,small,.shop-link){margin-left:16px;margin-right:16px}
body[data-visual-storefront="true"] .shop-product-grid :is(h3,p){margin-top:12px;margin-bottom:6px}
body[data-visual-storefront="true"] .shop-product-grid h3{font-size:18px;line-height:1.45;font-weight:600}
body[data-visual-storefront="true"] .shop-product-grid img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:0;background:#f3f1ed}
body[data-visual-storefront="true"] .shop-card-price{font-size:18px;font-weight:700;color:var(--shop-ink)}
body[data-visual-storefront="true"] :is(.shop-card-unit,.shop-card-stock){display:block;color:var(--visual-muted);font-size:13px;line-height:1.5}
body[data-visual-storefront="true"] .shop-link{display:flex;align-items:center;min-height:44px;margin-top:auto;margin-bottom:10px;font-weight:500}
body[data-visual-storefront="true"] .shop-about{border-radius:0;background:#f5f3ef;padding:40px;max-width:none}
body[data-visual-storefront="true"] .shop-about p{max-width:75ch;font-size:18px}
body[data-visual-storefront="true"] .shop-footer{border-top:1px solid var(--visual-line);padding:40px;background:var(--shop-bg)}
body[data-visual-storefront="true"] .shop-footer strong{font-size:16px;font-weight:500}
body[data-visual-storefront="true"] .shop-footer a{min-height:44px;padding-top:10px}
body[data-visual-storefront="true"] .container{padding:0 40px}
body[data-visual-storefront="true"] .page_product_detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;padding-top:12px}
body[data-visual-storefront="true"] .page_product_detail .backto_wrapper{grid-column:1/-1}
body[data-visual-storefront="true"] .page_product_detail :is(.gallery_wrapper,.description_wrapper){width:auto;float:none;min-width:0;margin:0;padding:0}
body[data-visual-storefront="true"] .page_product_detail .product_name{font-size:32px;line-height:1.4;color:var(--shop-ink);margin:0 0 20px}
body[data-visual-storefront="true"] :is(.btn_add_to_cart,.btn_checkout){background:var(--shop-primary)!important;color:white!important;min-height:48px;border-radius:4px;padding:14px 24px;text-decoration:none}
body[data-visual-storefront="true"] .page_cart .page_title{padding:12px 0 24px}
body[data-visual-storefront="true"] .page_cart h1{font-size:36px;margin:0}
body[data-visual-storefront="true"] .page_cart .content_wrapper{border:1px solid var(--visual-line);background:var(--visual-surface);border-radius:4px}
body[data-visual-storefront="true"] .one_cartitem{border-bottom:1px solid var(--visual-line);padding:24px}
body[data-visual-storefront="true"] .item_quantity{min-height:44px;width:100%;max-width:150px;font-size:16px}
body[data-visual-storefront="true"] .btn_delete_item{min-height:44px;background:transparent;color:var(--shop-ink);border:1px solid var(--visual-line);border-radius:3px;padding:8px 14px}
body[data-visual-storefront="true"] .class_order_total_wrapper{background:#f5f3ef;padding:24px}
body[data-visual-storefront="true"] .fm-search-main{padding-top:24px;padding-bottom:64px}
body[data-visual-storefront="true"] .fm-search-image img{object-fit:contain;background:#f3f1ed}
body[data-visual-storefront="true"] .fm-card-copy{padding:16px}
body[data-visual-storefront="true"] .fm-search-card h2{font-size:18px;line-height:1.45}
body[data-visual-storefront="true"] .fm-vip-reference{display:none} /* no unsolicited VIP advertising; current member price above remains */
body[data-visual-storefront="true"][data-theme="boutique"]{--shop-bg:#faf7f1;--shop-ink:#302f2f;--visual-surface:#faf7f1;--visual-line:#e4d9cc}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-brand{font-family:Georgia,serif;font-size:28px;letter-spacing:0}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero{min-height:440px;padding:72px 56px}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero h1{font-size:clamp(38px,4.5vw,68px)}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-product-grid article{border:0;background:transparent}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-product-grid h3{font-family:Georgia,"Microsoft JhengHei",serif;font-weight:400;font-size:20px}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-product-grid img{aspect-ratio:4/5;background:#ede5d9}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-product-grid :is(h3,p,small,.shop-link){margin-left:0;margin-right:0}
body[data-visual-storefront="true"][data-theme="boutique"] :is(.shop-button,.fm-product-search input,.fm-product-search button){border-radius:2px}
body[data-visual-storefront="true"][data-theme="compact"]{--shop-bg:#fff;--shop-ink:#1f2937;--visual-line:#d5e1d6}
body[data-visual-storefront="true"][data-theme="compact"] .shop-header{padding-top:16px;padding-bottom:16px}
body[data-visual-storefront="true"][data-theme="compact"] .shop-brand{font-weight:750;letter-spacing:-.025em}
body[data-visual-storefront="true"][data-theme="compact"] :is(.shop-home h1,.shop-home h2,.shop-product-grid h3){font-family:inherit;font-weight:700}
body[data-visual-storefront="true"][data-theme="compact"] .shop-hero{padding:32px;min-height:240px;border-radius:6px}
body[data-visual-storefront="true"][data-theme="compact"] .shop-hero h1{font-size:clamp(30px,3vw,46px);max-width:26ch}
body[data-visual-storefront="true"][data-theme="compact"] .shop-home>section{margin-bottom:28px}
body[data-visual-storefront="true"][data-theme="compact"] :is(.shop-product-grid,.fm-search-grid){grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
body[data-visual-storefront="true"][data-theme="compact"] .shop-categories a{padding:10px 16px;background:#e8f2e9}
body[data-visual-storefront="true"][data-theme="compact"] :is(.fm-product-search input,.fm-product-search button){border-radius:4px}
@media(max-width:1000px){body[data-visual-storefront="true"] :is(.shop-header,.shop-home,.shop-footer){padding-left:24px;padding-right:24px}body[data-visual-storefront="true"] .container{padding-left:24px;padding-right:24px}body[data-visual-storefront="true"] :is(.shop-product-grid,.fm-search-grid),body[data-visual-storefront="true"][data-theme="compact"] :is(.shop-product-grid,.fm-search-grid){grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}body[data-visual-storefront="true"] .page_product_detail{gap:24px}}
@media(max-width:600px){body[data-visual-storefront="true"] :is(.shop-header,.shop-home,.shop-footer){padding-left:16px;padding-right:16px}body[data-visual-storefront="true"] .shop-header{gap:12px;padding-top:16px;padding-bottom:12px}body[data-visual-storefront="true"] .shop-header nav{justify-content:flex-start;gap:8px}body[data-visual-storefront="true"] .shop-header nav a{padding:6px 12px}body[data-visual-storefront="true"] .shop-brand{font-size:21px}body[data-visual-storefront="true"][data-theme="boutique"] .shop-brand{font-size:25px}body[data-visual-storefront="true"] .container{padding-left:16px;padding-right:16px}body[data-visual-storefront="true"] .shop-hero,body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero{min-height:0;padding:32px 24px;grid-template-columns:1fr;gap:20px}body[data-visual-storefront="true"] .shop-hero h1,body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero h1{font-size:36px}body[data-visual-storefront="true"] .shop-hero p{font-size:16px}body[data-visual-storefront="true"] .shop-home h2{font-size:25px}body[data-visual-storefront="true"] :is(.shop-product-grid,.fm-search-grid),body[data-visual-storefront="true"][data-theme="compact"] :is(.shop-product-grid,.fm-search-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body[data-visual-storefront="true"] .shop-product-grid h3{font-size:16px}body[data-visual-storefront="true"] .shop-product-grid :is(h3,p,small,.shop-link){margin-left:10px;margin-right:10px}body[data-visual-storefront="true"] .shop-product-grid .shop-link{font-size:14px}body[data-visual-storefront="true"] .shop-section-title{align-items:baseline}body[data-visual-storefront="true"] .shop-categories a{padding:10px 14px}body[data-visual-storefront="true"] .shop-about{padding:24px}body[data-visual-storefront="true"] .page_product_detail{grid-template-columns:1fr}body[data-visual-storefront="true"] .page_product_detail .product_name{font-size:28px}body[data-visual-storefront="true"] .one_cartitem{padding:16px}body[data-visual-storefront="true"] .fm-card-copy{padding:10px}body[data-visual-storefront="true"] .shop-home>section{margin-bottom:32px}}

/* Scoped presentation repairs; existing commerce handlers remain unchanged. */
body[data-visual-storefront="true"] .fm-product-search{display:none}
body[data-visual-storefront="true"] .fm-shopping-tools{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
body[data-visual-storefront="true"] .btn_backto{width:auto!important;height:auto!important;min-height:44px;background:none!important;display:inline-block;padding:12px 0}
body[data-visual-storefront="true"] .btn_delete_item{background-image:none!important;width:auto!important;height:auto!important;white-space:normal;line-height:1.5}
body[data-visual-storefront="true"] .btn_checkout{display:inline-flex;align-items:center;justify-content:center;width:auto!important;max-width:100%;height:auto!important;white-space:normal;line-height:1.5;box-sizing:border-box}
body[data-visual-storefront="true"] :is(.fm-current-price,.product_vprice .price,.big_red){color:var(--shop-primary)!important}
body[data-visual-storefront="true"] .gallery_wrapper .big_image img{width:100%;max-width:100%;aspect-ratio:1;object-fit:contain;background:#f3f1ed}
@media(max-width:1199px){
 body[data-visual-storefront="true"] .detail_add_to_cart{width:auto!important;max-width:100%;box-sizing:border-box;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 body[data-visual-storefront="true"] .detail_add_to_cart .quantity{min-width:0;width:auto!important;display:flex;align-items:center;gap:6px}
 body[data-visual-storefront="true"] .detail_add_to_cart input{width:68px!important;max-width:100%}
 body[data-visual-storefront="true"] .detail_add_to_cart>.btn_add_to_cart{min-width:0;max-width:100%;white-space:normal;padding:12px;font-size:16px;box-sizing:border-box}
}

/* Standalone asset handoff. Applies only to the visual candidate, never checkout. */
body[data-visual-storefront="true"] .shop-header{min-height:108px;padding-top:18px;padding-bottom:18px}
body[data-visual-storefront="true"] .shop-brand--artwork img{width:288px;height:80px;object-fit:contain}
body[data-visual-storefront="true"] .shop-brand--artwork>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-visual-storefront="true"] .shop-header nav{align-items:center;gap:18px}
body[data-visual-storefront="true"] .shop-header nav a{gap:9px;font-size:14px;font-weight:500}
body[data-visual-storefront="true"] .shop-home{padding-top:0}
body[data-visual-storefront="true"] .fm-shopping-tools{padding:9px 0;margin:0;border-bottom:0;gap:8px;font-size:13px}
body[data-visual-storefront="true"] .fm-flow-note{margin:0;font-size:12px}
body[data-visual-storefront="true"] .fm-flow-note strong{margin-right:10px}
body[data-visual-storefront="true"] .shop-hero{position:relative;isolation:isolate;display:block;overflow:hidden;padding:48px 56px;min-height:340px;margin-bottom:20px}
body[data-visual-storefront="true"] .shop-hero-media{position:absolute;inset:0;z-index:-2;display:block}
body[data-visual-storefront="true"] .shop-hero-media img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 65%}
body[data-visual-storefront="true"] .shop-hero--photograph:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(249,247,241,.82),rgba(249,247,241,.45) 34%,transparent 65%)}
body[data-visual-storefront="true"] .shop-hero-copy{max-width:48%;color:#272c26}
body[data-visual-storefront="true"] .shop-hero h1{font-size:clamp(32px,3.3vw,52px);max-width:18ch;margin:12px 0 16px;line-height:1.12}
body[data-visual-storefront="true"] .shop-hero p{font-size:16px;line-height:1.5;max-width:36ch;margin:0 0 24px}
body[data-visual-storefront="true"] .shop-eyebrow{font-size:11px;letter-spacing:.18em}
body[data-visual-storefront="true"] .shop-home>section{margin-bottom:28px}
body[data-visual-storefront="true"] .shop-section-title{margin-bottom:14px}
body[data-visual-storefront="true"] .shop-home h2{font-size:26px}
body[data-visual-storefront="true"] .shop-section-title>a{font-size:13px;min-height:44px;display:flex;align-items:center;text-decoration:none}
body[data-visual-storefront="true"] .shop-category-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body[data-visual-storefront="true"] .shop-category-gallery>a{display:flex;flex-direction:column;padding:0;overflow:hidden;background:#f5f3ef;min-width:0;border:0;border-radius:3px}
body[data-visual-storefront="true"] .shop-category-gallery img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block}
body[data-visual-storefront="true"] .shop-category-copy{display:flex;flex-direction:column;gap:2px;padding:12px 16px;font-family:Georgia,"Microsoft JhengHei",serif;font-size:19px;line-height:1.3}
body[data-visual-storefront="true"] .shop-category-copy small{font-family:system-ui,sans-serif;font-size:10px;letter-spacing:.12em;text-transform:uppercase}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid{gap:16px}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid h3{font-size:15px;font-weight:500}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid p{font-size:13px}
body[data-visual-storefront="true"] .shop-featured-section .shop-card-price{font-size:16px!important}
body[data-visual-storefront="true"] .shop-product-grid img{aspect-ratio:1!important;object-fit:contain}
body[data-visual-storefront="true"] .shop-about--illustrated{display:grid;grid-template-columns:1.15fr 1fr;gap:36px;align-items:center;padding:0;background:#f5f3ef}
body[data-visual-storefront="true"] .shop-about--illustrated>img{display:block;width:100%;height:100%;min-height:280px;object-fit:cover;aspect-ratio:9/5}
body[data-visual-storefront="true"] .shop-about--illustrated>div{padding:28px 36px 28px 0}
body[data-visual-storefront="true"] .shop-about p{font-size:16px;line-height:1.7;white-space:pre-line}
body[data-visual-storefront="true"] #shop-contact{border-top:1px solid var(--visual-line);padding-top:24px}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero{padding:56px;min-height:370px}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero h1{font-size:clamp(38px,4vw,60px)}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-category-gallery>a{background:#eee6dc;border-radius:0}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-category-copy{font-size:23px;padding:16px}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-card-price{color:var(--shop-primary)}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-about--illustrated{background:transparent}
body[data-visual-storefront="true"][data-theme="compact"] .shop-header{min-height:92px}
body[data-visual-storefront="true"][data-theme="compact"] .shop-hero{min-height:300px;padding:36px;border-radius:5px}
body[data-visual-storefront="true"][data-theme="compact"] .shop-hero h1{font-size:clamp(30px,3vw,46px);font-weight:750}
body[data-visual-storefront="true"][data-theme="compact"] .shop-category-gallery{gap:12px}
body[data-visual-storefront="true"][data-theme="compact"] .shop-category-gallery>a{flex-direction:row;align-items:center;background:#fff;border:1px solid var(--visual-line);border-radius:5px}
body[data-visual-storefront="true"][data-theme="compact"] .shop-category-gallery img{width:80px;height:80px;object-fit:cover;border-radius:50%;margin:10px}
body[data-visual-storefront="true"][data-theme="compact"] .shop-category-copy{font:600 14px/1.4 system-ui,"Microsoft JhengHei",sans-serif;padding:10px 10px 10px 0}
body[data-visual-storefront="true"][data-theme="compact"] .shop-category-copy small{font-size:10px;font-weight:400;letter-spacing:0}
@media(min-width:1280px){
 body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
 body[data-visual-storefront="true"][data-theme="boutique"] .shop-featured-section .shop-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
 body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid :is(h3,p,small,.shop-link){margin-left:10px;margin-right:10px}
 body[data-visual-storefront="true"][data-theme="boutique"] .shop-featured-section .shop-product-grid :is(h3,p,small,.shop-link){margin-left:0;margin-right:0}
}
@media(max-width:1000px){
 body[data-visual-storefront="true"] .shop-hero,body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero{padding:36px;min-height:330px}
 body[data-visual-storefront="true"] .shop-hero-copy{max-width:52%}
 body[data-visual-storefront="true"] .shop-category-gallery{gap:12px}
 body[data-visual-storefront="true"][data-theme="compact"] .shop-category-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-visual-storefront="true"] .shop-about--illustrated{gap:24px}
 body[data-visual-storefront="true"] .shop-about--illustrated>div{padding:24px 24px 24px 0}
}
@media(max-width:600px){
 body[data-visual-storefront="true"] .shop-header{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px;padding-top:8px;padding-bottom:8px}
 body[data-visual-storefront="true"] .shop-brand--artwork img{width:246px;height:72px}
 body[data-visual-storefront="true"] .shop-header nav{justify-content:center;gap:18px;width:100%}
 body[data-visual-storefront="true"] .shop-header nav a{padding:8px 10px;font-size:13px}
 body[data-visual-storefront="true"] .fm-shopping-tools{font-size:12px;padding:8px 0;gap:2px}
 body[data-visual-storefront="true"] .fm-flow-note{font-size:11px}
 body[data-visual-storefront="true"] .fm-flow-note span{display:block}
 body[data-visual-storefront="true"] .shop-hero,body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero,body[data-visual-storefront="true"][data-theme="compact"] .shop-hero{min-height:540px;padding:28px 22px;display:block}
 body[data-visual-storefront="true"] .shop-hero-copy{max-width:100%}
 body[data-visual-storefront="true"] .shop-hero-media img{object-fit:cover;object-position:center bottom}
 body[data-visual-storefront="true"] .shop-hero--photograph:after{background:linear-gradient(180deg,rgba(249,247,241,.94),rgba(249,247,241,.68) 33%,transparent 65%)}
 body[data-visual-storefront="true"] .shop-hero h1,body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero h1,body[data-visual-storefront="true"][data-theme="compact"] .shop-hero h1{font-size:34px;max-width:16ch}
 body[data-visual-storefront="true"] .shop-hero p{font-size:14px;max-width:30ch;margin-bottom:18px}
 body[data-visual-storefront="true"] .shop-home h2{font-size:23px}
 body[data-visual-storefront="true"] .shop-category-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body[data-visual-storefront="true"] .shop-category-copy,body[data-visual-storefront="true"][data-theme="boutique"] .shop-category-copy{font-size:17px;padding:10px 12px}
 body[data-visual-storefront="true"][data-theme="compact"] .shop-category-gallery img{width:56px;height:56px;margin:6px}
 body[data-visual-storefront="true"][data-theme="compact"] .shop-category-copy{font-size:12px;padding:8px 8px 8px 0}
 body[data-visual-storefront="true"] .shop-about--illustrated{grid-template-columns:1fr;gap:0;padding:0}
 body[data-visual-storefront="true"] .shop-about--illustrated>img{min-height:0;height:auto}
 body[data-visual-storefront="true"] .shop-about--illustrated>div{padding:24px}
 body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
}

body[data-visual-storefront="true"] .shop-product-grid p:empty{display:none}

/* Mobile cart ownership: presentation only; totals and requests remain server-owned. */
body[data-visual-storefront="true"] .shop-cart{padding:12px 0 40px;color:var(--shop-ink)}
body[data-visual-storefront="true"] .shop-cart-heading{display:flex;gap:16px;align-items:baseline;justify-content:space-between;margin:0 0 24px}
body[data-visual-storefront="true"] .shop-cart-heading h1{margin:0;font-size:32px;line-height:1.3}
body[data-visual-storefront="true"] .shop-cart-heading>span{color:var(--visual-muted);font-size:14px;white-space:nowrap}
body[data-visual-storefront="true"] .shop-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
body[data-visual-storefront="true"] .shop-cart-lines{min-width:0}
body[data-visual-storefront="true"] .shop-cart .fm-guest-note{margin:0 0 16px;padding:12px 16px;font-size:14px;line-height:1.5;border:1px solid var(--visual-line);border-radius:6px;background:var(--shop-accent);color:var(--shop-ink)}
body[data-visual-storefront="true"] .shop-cart .alert{padding:12px 16px;margin:0 0 16px;font-size:13px;line-height:1.5;border-radius:6px}
body[data-visual-storefront="true"] .shop-cart-line{display:grid;grid-template-columns:80px minmax(0,1fr) 146px;grid-template-areas:"image info quantity" "image price subtotal" ". . remove";gap:10px 16px;margin:0;border-bottom:1px solid var(--visual-line);padding:20px 0;min-width:0;align-items:start}
body[data-visual-storefront="true"] .shop-cart-thumbnail{grid-area:image;width:80px;height:80px;align-self:start;background:#f3f1ed;border-radius:5px;overflow:hidden}
body[data-visual-storefront="true"] .shop-cart-thumbnail img{display:block;width:80px;height:80px;object-fit:contain;max-width:100%;margin:0}
body[data-visual-storefront="true"] .shop-cart-info{grid-area:info;min-width:0}
body[data-visual-storefront="true"] .shop-cart-info h2{font-size:17px;font-weight:600;line-height:1.4;margin:0 0 4px;overflow-wrap:anywhere}
body[data-visual-storefront="true"] .shop-cart-info p{margin:3px 0;font-size:13px;line-height:1.45;color:var(--visual-muted);overflow-wrap:anywhere}
body[data-visual-storefront="true"] .shop-cart-options{display:flex;flex-wrap:wrap;gap:4px 12px}
body[data-visual-storefront="true"] .shop-cart-sku{font-size:12px!important}
body[data-visual-storefront="true"] .shop-cart-label{display:block;color:var(--visual-muted);font-size:12px;font-weight:400;line-height:1.4;margin-bottom:4px}
body[data-visual-storefront="true"] .shop-cart-unit-price{grid-area:price;margin:0;font-size:15px;line-height:1.5}
body[data-visual-storefront="true"] .shop-cart-unit-price .shop-cart-label{display:inline;margin-right:8px}
body[data-visual-storefront="true"] .shop-cart-unit-price small{display:block;color:var(--visual-muted);font-size:11px}
body[data-visual-storefront="true"] .shop-cart-quantity{grid-area:quantity;min-width:0;justify-self:end}
body[data-visual-storefront="true"] .shop-cart-quantity label{display:block;font-size:12px;font-weight:400;color:var(--visual-muted);margin:0 0 4px}
body[data-visual-storefront="true"] .shop-cart-stepper{display:flex;align-items:center;gap:0;border:1px solid var(--visual-line);border-radius:5px;overflow:hidden;background:var(--visual-surface);max-width:100%}
body[data-visual-storefront="true"] .shop-cart-stepper button{width:44px;min-width:44px;height:44px;border:0;background:transparent;color:var(--shop-ink);font-size:20px;line-height:1;font-weight:400;padding:0;cursor:pointer}
body[data-visual-storefront="true"] .shop-cart-stepper .item_quantity{width:56px!important;min-width:0;max-width:76px;height:44px;min-height:44px;border:0;border-left:1px solid var(--visual-line);border-right:1px solid var(--visual-line);padding:0 4px;border-radius:0;text-align:center;font-size:16px;background:transparent;appearance:textfield;box-shadow:none;color:var(--shop-ink)}
body[data-visual-storefront="true"] .shop-cart-stepper input::-webkit-inner-spin-button,body[data-visual-storefront="true"] .shop-cart-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
body[data-visual-storefront="true"] .shop-cart-stepper button:disabled{opacity:.35;cursor:default}
body[data-visual-storefront="true"] .shop-cart-subtotal{grid-area:subtotal;justify-self:end;text-align:right;font-size:17px;line-height:1.4}
body[data-visual-storefront="true"] .shop-cart-subtotal .shop-cart-label{display:inline;margin-right:8px}
body[data-visual-storefront="true"] .shop-cart-line .shop-cart-remove{grid-area:remove;justify-self:end;display:flex;align-items:center;justify-content:center;min-width:64px;min-height:44px;padding:8px 12px!important;border:1px solid var(--visual-line);border-radius:4px;color:var(--visual-muted);font-size:13px;margin:0;line-height:1.3;background:transparent!important;background-image:none!important;white-space:nowrap}
body[data-visual-storefront="true"] .shop-cart-physical{max-width:146px;font-size:15px}
body[data-visual-storefront="true"] .shop-cart-physical small{display:block;font-size:11px;line-height:1.4;color:var(--visual-muted)}
body[data-visual-storefront="true"] .shop-cart-promotion{display:block;color:var(--shop-primary);font-size:12px;line-height:1.4}
body[data-visual-storefront="true"] .shop-cart .fm-continue{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;font-size:14px}
body[data-visual-storefront="true"] .shop-cart-summary{border:1px solid var(--visual-line);border-radius:6px;background:var(--visual-surface);padding:24px;min-width:0}
body[data-visual-storefront="true"] .shop-cart-summary h2{font-size:21px;margin:0 0 16px;font-weight:500;line-height:1.3}
body[data-visual-storefront="true"] .shop-cart-count{margin:0 0 16px;font-size:14px;color:var(--visual-muted);line-height:1.5}
body[data-visual-storefront="true"] .shop-cart-count small{display:block;margin-top:5px;font-size:12px}
body[data-visual-storefront="true"] .shop-cart-grand-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid var(--visual-line);padding-top:16px;margin:0 0 8px;font-size:15px}
body[data-visual-storefront="true"] .shop-cart-grand-total strong{font-size:25px;color:var(--shop-primary);overflow-wrap:anywhere}
body[data-visual-storefront="true"] .shop-cart-total-note{font-size:12px;color:var(--visual-muted);line-height:1.5;margin:0 0 20px}
body[data-visual-storefront="true"] .shop-cart-summary .btn_checkout{display:flex;width:100%!important;max-width:100%;min-height:48px;margin:0;border:0;padding:12px 16px;line-height:1.5;font-size:16px;font-weight:600;background:var(--shop-primary)!important;color:white!important;text-align:center}
body[data-visual-storefront="true"] .shop-cart .fm-stock-note{padding:0;margin:12px 0 0;border:0;background:transparent;font-size:12px;line-height:1.5;color:var(--visual-muted)}
body[data-visual-storefront="true"] .shop-cart-discount{padding:12px;margin-bottom:16px;background:var(--shop-accent);font-size:13px}
body[data-visual-storefront="true"] .shop-cart-discount p{margin:4px 0 0;font-size:12px}
body[data-visual-storefront="true"] .shop-cart-empty{padding:32px 0 40px}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-cart-info h2,body[data-visual-storefront="true"][data-theme="boutique"] .shop-cart-summary h2{font-family:Georgia,"Microsoft JhengHei",serif;font-weight:400}
body[data-visual-storefront="true"][data-theme="boutique"] .shop-cart-summary,body[data-visual-storefront="true"][data-theme="boutique"] .shop-cart-thumbnail{border-radius:0}
body[data-visual-storefront="true"][data-theme="compact"] .shop-cart-heading h1{font-family:inherit;font-weight:700}
body[data-visual-storefront="true"][data-theme="compact"] .shop-cart-line{padding-top:16px;padding-bottom:16px}
@media(max-width:1000px){body[data-visual-storefront="true"] .shop-cart-layout{grid-template-columns:1fr;gap:20px}body[data-visual-storefront="true"] .shop-cart-summary{max-width:none}}
@media(max-width:600px){
 body[data-visual-storefront="true"].class_cart .wrap{padding-top:8px}
 body[data-visual-storefront="true"].class_cart .fm-shopping-tools{padding:4px 0 10px;margin-bottom:8px}
 body[data-visual-storefront="true"].class_cart .fm-shopping-tools .fm-flow-note{display:none}
 body[data-visual-storefront="true"] .shop-cart{padding-top:8px}
 body[data-visual-storefront="true"] .shop-cart-heading{margin-bottom:16px;gap:8px}
 body[data-visual-storefront="true"] .shop-cart-heading h1{font-size:26px}
 body[data-visual-storefront="true"] .shop-cart-heading>span{font-size:12px}
 body[data-visual-storefront="true"] .shop-cart .fm-guest-note{padding:10px 12px;font-size:12px;margin-bottom:8px}
 body[data-visual-storefront="true"] .shop-cart-line{grid-template-columns:80px minmax(0,1fr);grid-template-areas:"image info" "price quantity" "subtotal remove";gap:10px 12px;padding:16px 0}
 body[data-visual-storefront="true"] .shop-cart-info h2{font-size:16px}
 body[data-visual-storefront="true"] .shop-cart-info p{font-size:12px}
 body[data-visual-storefront="true"] .shop-cart-unit-price{align-self:center;white-space:normal;font-size:14px}
 body[data-visual-storefront="true"] .shop-cart-unit-price .shop-cart-label{display:block;margin:0 0 3px}
 body[data-visual-storefront="true"] .shop-cart-subtotal{justify-self:start;text-align:left;align-self:center;white-space:nowrap;font-size:16px}
 body[data-visual-storefront="true"] .shop-cart-subtotal .shop-cart-label{display:block;margin:0 0 3px}
 body[data-visual-storefront="true"] .shop-cart-summary{padding:18px;border-radius:5px}
 body[data-visual-storefront="true"] .shop-cart-summary h2{font-size:20px;margin-bottom:10px}
}

@media(max-width:600px){body[data-visual-storefront="true"] .shop-cart-unit-price strong{white-space:nowrap}}

/* Respect existing image-error handlers without changing healthy imagery or cart layout. */
body[data-visual-storefront="true"] .shop-home :is(picture,img)[hidden]{display:none!important}
body[data-visual-storefront="true"] {font-family:system-ui,-apple-system,"Noto Sans TC","Microsoft JhengHei",sans-serif;font-size:16px;line-height:1.65}
body[data-visual-storefront="true"] :is(.shop-home h2,.shop-product-grid h3,.product_name,.shop-brand){font-family:inherit;font-weight:650;letter-spacing:normal}
body[data-visual-storefront="true"] .shop-home h2{font-size:24px;line-height:1.4}
body[data-visual-storefront="true"] .shop-category-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body[data-visual-storefront="true"] .shop-category-gallery>a{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:12px 16px;min-height:64px;border:1px solid var(--visual-line);border-radius:8px;text-align:left}
body[data-visual-storefront="true"] .shop-category-gallery>a img{width:48px;height:48px;aspect-ratio:1;object-fit:cover;flex:none}
body[data-visual-storefront="true"] .shop-category-copy{position:static;padding:0;background:none;color:inherit;font-family:inherit;font-size:16px;line-height:1.5;text-align:left}
body[data-visual-storefront="true"] .shop-category-copy small{display:none}
body[data-visual-storefront="true"] .shop-home-categories summary{cursor:pointer;padding:14px 0;min-height:44px;color:var(--shop-primary);font-weight:600}
body[data-visual-storefront="true"] .shop-product-grid img{height:auto;aspect-ratio:1/1;object-fit:contain;width:100%;max-height:none}
body[data-visual-storefront="true"] .shop-product-grid h3{font-family:inherit;font-size:17px;line-height:1.5;font-weight:600}
body[data-visual-storefront="true"] .page_product_detail{align-items:start;gap:24px 40px}
body[data-visual-storefront="true"] .page_product_detail .backto_wrapper{margin:0;padding:0}
body[data-visual-storefront="true"] .page_product_detail .big_image{width:100%;aspect-ratio:1;max-width:560px;margin:0 auto;background:#f7f6f3;border-radius:12px;overflow:hidden}
body[data-visual-storefront="true"] .page_product_detail .big_image img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
body[data-visual-storefront="true"] .page_product_detail .thumb_image_wrapper{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
body[data-visual-storefront="true"] .page_product_detail .th_image{width:64px;height:64px;float:none;margin:0}
body[data-visual-storefront="true"] .page_product_detail .th_image img{width:100%;height:100%;object-fit:contain}
body[data-visual-storefront="true"] .page_product_detail .product_name{font-size:26px;line-height:1.4;margin-bottom:12px}
body[data-visual-storefront="true"] .page_product_detail :is(.product_code,.product_type,.product_caption,.fm-price-note){font-size:14px;line-height:1.6}
body[data-visual-storefront="true"] .page_product_detail :is(.fm-reserve,.fm-current-price){margin-top:20px;margin-bottom:20px}
body[data-visual-storefront="true"] .page_product_detail .fm-reserve{font-size:14px;padding:10px 12px;border-radius:8px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
body[data-visual-storefront="true"] .page_product_detail .fm-reserve.fm-reserve-plain{padding:0;margin-top:4px;margin-bottom:12px}
body[data-visual-storefront="true"] .page_product_detail .fm-reserve .fm-reserve-status{margin:0}
body[data-visual-storefront="true"] .page_product_detail .fm-reserve .fm-reserve-lead{margin:0;flex:1 1 100%;font-size:13px;line-height:1.5;color:#655960}
body[data-visual-storefront="true"] .page_product_detail .fm-reserve .fm-reserve-btn{margin:0;padding:8px 14px;font-size:14px;min-height:0;width:auto;height:auto;line-height:1.3}
body[data-visual-storefront="true"] .wrap{margin-bottom:0!important}
body[data-visual-storefront="true"].class_product_detail{height:auto!important;min-height:100%}
body[data-visual-storefront="true"] .page_product_detail .related_product_wrapper{grid-column:1/-1;width:100%;margin-top:24px}
body[data-visual-storefront="true"] .title_related_product h2{font-size:24px;text-align:left;margin:0 0 20px}
body[data-visual-storefront="true"] .related_product_wrapper .product_image img{width:100%;aspect-ratio:1;object-fit:contain}
@media(max-width:600px){body[data-visual-storefront="true"] .shop-category-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-visual-storefront="true"] .shop-category-gallery>a{padding:10px;gap:8px}body[data-visual-storefront="true"] .shop-category-copy{font-size:14px}body[data-visual-storefront="true"] .shop-category-gallery>a img{width:32px;height:32px}body[data-visual-storefront="true"] .page_product_detail .product_name{font-size:22px}body[data-visual-storefront="true"] .shop-home h2{font-size:22px}}

body[data-visual-storefront="true"][data-theme] .shop-category-gallery>a{flex-direction:row}
body[data-visual-storefront="true"][data-theme] .shop-category-copy{font-family:inherit;font-size:16px;padding:0}
body[data-visual-storefront="true"][data-theme] .shop-product-grid h3{font-family:inherit;font-size:17px;font-weight:600}
body[data-visual-storefront="true"] .shop-hero:not(.shop-hero--photograph){min-height:0}
@media(max-width:600px){body[data-visual-storefront="true"][data-theme] .shop-category-copy{font-size:14px}body[data-visual-storefront="true"][data-theme] .shop-product-grid h3{font-size:16px}}

body[data-visual-storefront="true"] .page_product_detail .description_wrapper .product_name{font-size:26px;line-height:1.4;padding-bottom:0}
body[data-visual-storefront="true"] .page_product_detail .product_description:empty{display:none}
@media(max-width:600px){body[data-visual-storefront="true"] .page_product_detail .description_wrapper .product_name{font-size:22px}}

body[data-visual-storefront="true"] .shop-home-search .fm-shop-links{display:none}
body[data-visual-storefront="true"] .shop-hero:not(.shop-hero--photograph){padding:24px 28px;min-height:0}
body[data-visual-storefront="true"] .shop-hero:not(.shop-hero--photograph) h1{font-size:clamp(26px,3vw,38px);margin-bottom:8px}
body[data-visual-storefront="true"] .shop-product-grid h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3em}
body[data-visual-storefront="true"] .shop-product-grid article>a:first-child+p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.3em}
body[data-visual-storefront="true"] .shop-product-grid .shop-link{margin-top:auto}
body[data-visual-storefront="true"] .shop-footer{padding:24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
body[data-visual-storefront="true"] .shop-footer>p:empty,.shop-footer .shop-contact:empty{display:none}
body[data-visual-storefront="true"] .shop-footer>a{display:inline-flex;align-items:center;padding:8px 0}

body[data-visual-storefront="true"] :is(.shop-hero h1,.shop-hero p,.shop-hero .shop-button){font-family:inherit}

body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid{grid-template-columns:repeat(auto-fill,minmax(160px,220px));gap:16px;align-items:start}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid article{height:auto;align-self:start}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid img{height:auto;max-height:220px}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid p{flex-grow:0;margin-top:6px;margin-bottom:6px}
@media(max-width:600px){body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,190px))}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid img{aspect-ratio:4/3!important;max-height:150px;object-fit:contain}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid h3{font-size:15px;line-height:1.35;min-height:0;margin-top:8px;margin-bottom:2px;-webkit-line-clamp:1}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid article>a:first-child+p{min-height:0;-webkit-line-clamp:1;font-size:13px;margin-top:0;margin-bottom:2px}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid .shop-card-price{margin-top:2px;margin-bottom:0;font-size:15px}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid small{font-size:12px}
body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid .shop-link{margin-top:4px;margin-bottom:10px;font-size:13px}
@media(max-width:600px){body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-visual-storefront="true"] .shop-featured-section .shop-product-grid img{max-height:120px}}

body[data-visual-storefront="true"] .page_product_detail{max-width:960px;margin-left:auto;margin-right:auto;grid-template-columns:minmax(0,400px) minmax(0,440px);gap:24px 32px}
body[data-visual-storefront="true"] .page_product_detail .big_image{max-width:400px}
@media(max-width:767px){body[data-visual-storefront="true"] .page_product_detail{grid-template-columns:minmax(0,1fr);max-width:480px}body[data-visual-storefront="true"] .page_product_detail .big_image{max-width:280px}}

/* Compact product cards (all visual themes): smaller portrait photos, name + price only. */
body[data-visual-storefront="true"][data-theme] .shop-product-grid,body[data-visual-storefront="true"][data-theme] .shop-featured-section .shop-product-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:28px 18px}
body[data-visual-storefront="true"][data-theme] .shop-product-grid article{border:0;border-radius:0;background:transparent;padding:0}
body[data-visual-storefront="true"][data-theme] .shop-product-grid img{aspect-ratio:3/4!important;object-fit:cover!important;border-radius:2px;background:#f3f1ed}
body[data-visual-storefront="true"][data-theme] .shop-product-grid :is(h3,p,small,.shop-link){margin-left:0!important;margin-right:0!important}
body[data-visual-storefront="true"][data-theme] .shop-product-grid h3{font-size:14px!important;font-weight:500;line-height:1.4;margin:10px 0 2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0}
body[data-visual-storefront="true"][data-theme] .shop-product-grid p{font-size:12px!important;line-height:1.4;margin:0 0 2px;color:var(--visual-muted);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
body[data-visual-storefront="true"][data-theme] .shop-product-grid .shop-card-price{font-size:14px!important;font-weight:700;color:inherit;margin:2px 0;padding:0;min-height:0;height:auto;line-height:1.4}
body[data-visual-storefront="true"][data-theme] .shop-product-grid small{display:block;font-size:11px;line-height:1.4;color:var(--visual-muted);margin:0}
body[data-visual-storefront="true"][data-theme] .shop-product-grid .shop-link{display:none}
@media(max-width:600px){body[data-visual-storefront="true"][data-theme] .shop-product-grid,body[data-visual-storefront="true"][data-theme] .shop-featured-section .shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}body[data-visual-storefront="true"][data-theme] .shop-product-grid h3{font-size:13px!important}}

/* Balanced category page + header type scale (all visual themes). */
body[data-visual-storefront="true"] .shop-brand:not(.shop-brand--artwork) img[src$="/public/merchant/logo.svg"]{display:none}
body[data-visual-storefront="true"][data-theme] .shop-brand{font-size:22px}
body[data-visual-storefront="true"][data-theme] .shop-header nav a{font-size:15px}
body[data-visual-storefront="true"][data-theme] .shop-category-page .shop-breadcrumb{font-size:13px;margin:16px 0 8px;color:var(--visual-muted)}
body[data-visual-storefront="true"][data-theme] .shop-category-page .shop-category-intro{display:flex;align-items:baseline;gap:12px;padding:0;margin:0 0 20px;border:0;background:transparent}
body[data-visual-storefront="true"][data-theme] .shop-category-page .shop-category-intro .shop-eyebrow{display:none}
body[data-visual-storefront="true"][data-theme] .shop-category-page h1{font-family:inherit;font-size:28px;font-weight:600;line-height:1.3;margin:0}
body[data-visual-storefront="true"][data-theme] .shop-category-page .shop-category-intro p{margin:0;font-size:14px;color:var(--visual-muted)}
body[data-visual-storefront="true"][data-theme] .shop-category-picker{border:0;border-radius:0;background:transparent;padding:0;margin:0 0 20px}
body[data-visual-storefront="true"][data-theme] .shop-category-picker summary{font-size:14px;font-weight:600;min-height:0;padding:0 0 8px;color:var(--visual-muted)}
body[data-visual-storefront="true"][data-theme] .shop-category-page .shop-categories{gap:8px}
body[data-visual-storefront="true"][data-theme] .shop-category-page .shop-categories a{font-size:14px;min-height:38px;padding:6px 16px;border-radius:999px;background:transparent;border:1px solid var(--visual-line)}
@media(min-width:1000px){
 body[data-visual-storefront="true"][data-theme] .shop-category-page{display:grid;grid-template-columns:200px minmax(0,1fr);column-gap:40px;align-items:start}
 body[data-visual-storefront="true"][data-theme] .shop-category-page>:not(.shop-category-picker){grid-column:2}
 body[data-visual-storefront="true"][data-theme] .shop-category-page>:is(.shop-breadcrumb,.shop-category-intro){grid-column:1/-1}
 body[data-visual-storefront="true"][data-theme] .shop-category-page>.shop-category-picker{grid-column:1;grid-row:3/span 4}
 body[data-visual-storefront="true"][data-theme] .shop-category-picker summary{list-style:none;pointer-events:none;border-bottom:1px solid var(--visual-line);margin-bottom:8px}
 body[data-visual-storefront="true"][data-theme] .shop-category-picker summary::-webkit-details-marker{display:none}
 body[data-visual-storefront="true"][data-theme] .shop-category-picker .shop-categories{flex-direction:column;flex-wrap:nowrap;gap:2px}
 body[data-visual-storefront="true"][data-theme] .shop-category-picker .shop-categories a{font-size:15px;border:0;border-radius:2px;padding:6px 12px;min-height:40px}
 body[data-visual-storefront="true"][data-theme] .shop-category-page .shop-product-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
}
body[data-visual-storefront="true"][data-theme] :is(.shop-category-page,.shop-home) .shop-categories a[aria-current=page]{background:var(--shop-ink);border-color:var(--shop-ink);color:#fff;font-weight:600}
body[data-visual-storefront="true"][data-theme] .shop-product-grid article>a:first-child+p{min-height:0}

/* One product card everywhere (featured, all products, category): small square photo, name + price + one-line stock badge. */
body[data-visual-storefront="true"][data-theme] .shop-product-grid,body[data-visual-storefront="true"][data-theme] .shop-featured-section .shop-product-grid,body[data-visual-storefront="true"][data-theme] .shop-category-page .shop-product-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 16px}
body[data-visual-storefront="true"][data-theme] .shop-product-grid img,body[data-visual-storefront="true"][data-theme] .shop-featured-section .shop-product-grid img{aspect-ratio:1/1!important;height:auto!important;max-height:none!important;object-fit:cover!important}
body[data-visual-storefront="true"][data-theme] .shop-product-grid article>a:first-child+p:not(.shop-card-price){display:none!important}
body[data-visual-storefront="true"][data-theme] .shop-product-grid h3{font-size:14px!important;margin:8px 0 2px!important}
body[data-visual-storefront="true"][data-theme] .shop-pagination{grid-column:2;display:flex;gap:16px;align-items:center;justify-content:center;margin:32px 0 0;font-size:14px}
body[data-visual-storefront="true"][data-theme] .shop-pagination a{min-width:80px;padding:8px 16px;border:1px solid var(--visual-line);border-radius:999px;text-align:center}
@media(min-width:1000px){body[data-visual-storefront="true"][data-theme] .shop-category-page .shop-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:999px){body[data-visual-storefront="true"][data-theme] :is(.shop-product-grid,.shop-featured-section .shop-product-grid,.shop-category-page .shop-product-grid){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){body[data-visual-storefront="true"][data-theme] :is(.shop-product-grid,.shop-featured-section .shop-product-grid,.shop-category-page .shop-product-grid){grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}body[data-visual-storefront="true"][data-theme] .shop-product-grid h3{font-size:13px!important}body[data-visual-storefront="true"][data-theme] .shop-product-grid .shop-card-price{font-size:13px!important}}
@media(max-width:420px){body[data-visual-storefront="true"][data-theme] :is(.shop-product-grid,.shop-featured-section .shop-product-grid,.shop-category-page .shop-product-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}}
@media(max-width:600px){body[data-visual-storefront="true"] .shop-hero,body[data-visual-storefront="true"][data-theme="boutique"] .shop-hero,body[data-visual-storefront="true"][data-theme="compact"] .shop-hero{min-height:420px}body[data-visual-storefront="true"] .shop-hero h1,body[data-visual-storefront="true"][data-theme] .shop-hero h1{font-size:28px}}
body[data-visual-storefront="true"] .shop-product-grid .shop-card-stock{display:flex;flex-direction:column;align-items:flex-start;gap:1px;margin-top:4px}
body[data-visual-storefront="true"] .shop-card-stock :is(.stock-in,.stock-pre,.stock-out){display:inline-flex;align-items:center;gap:6px;font-size:13px;line-height:1.5;color:var(--shop-ink)}
body[data-visual-storefront="true"] .shop-card-stock :is(.stock-in,.stock-pre,.stock-out)::before{content:"";flex:none;width:9px;height:9px;border-radius:50%;background:#3fae5a}
body[data-visual-storefront="true"] .shop-card-stock .stock-pre::before{background:#e2b23a}
body[data-visual-storefront="true"] .shop-card-stock .stock-out{color:var(--visual-muted)}
body[data-visual-storefront="true"] .shop-card-stock .stock-out::before{background:#c4c4c4}
body[data-visual-storefront="true"] .shop-card-stock small{display:block;font-size:12px;line-height:1.45;color:var(--visual-muted)}
body[data-visual-storefront="true"][data-theme] .shop-product-grid .shop-card-stock small{display:none}
body[data-visual-storefront="true"][data-theme] .shop-product-grid .shop-card-stock :is(.stock-in,.stock-pre,.stock-out){font-size:12px}
