/*
Theme Name: Feihai Atelier
Description: A wholesale jewelry storefront for WooCommerce.
Version: 0.1.0
Author: Feihai
Text Domain: feihai-atelier
*/
@font-face{font-family:"Cormorant Garamond";src:url("fonts/cormorant.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"DM Sans";src:url("fonts/dm-sans.woff2") format("woff2");font-weight:400 700;font-display:swap}
:root{
    --hot:#ff5b00;
    --brand:#bf3800;
    --deep:#a62e00;
    --on-orange:#241609;
    --tint:#fff3eb;
    --paper:#fff;
    --surface:#f5f5f5;
    --shade:#ebebeb;
    --ink:#222;
    --muted:#626262;
    --line:#dedede;
    --field-line:#aaa;
    --footer-bg:#222;
    --on-dark:#d8d8d8;
    --wc-primary:var(--hot);--wc-primary-text:var(--on-orange);
    --wc-secondary:var(--surface);--wc-secondary-text:var(--ink);
    --wc-highlight:var(--brand);--wc-content-bg:var(--paper);
    --serif:"Cormorant Garamond",Georgia,serif;--sans:"DM Sans",Arial,sans-serif;
    --edge:clamp(1.15rem,4.3vw,5.25rem);--maximum:1440px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--paper);scroll-padding-top:1rem}
body{margin:0;font:400 17px/1.55 var(--sans);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-underline-offset:.24em;text-decoration-thickness:1px}
a:hover{color:var(--brand)}
body :focus-visible{outline:2px solid var(--brand);outline-offset:4px}
button,input,select,textarea{font:inherit}
input,select,textarea{max-width:100%;color:var(--ink);background:var(--paper);border:1px solid var(--field-line);border-radius:0;padding:.68em .8em;line-height:1.4}
button{color:inherit;cursor:pointer}
input[type=checkbox],input[type=radio]{accent-color:var(--brand)}
h1,h2,h3,h4,p,dl,dd,figure{margin:0}
h1,h2{font-family:var(--serif);font-weight:500;line-height:1.02;letter-spacing:-.04em}
h1{font-size:clamp(2.7rem,5.3vw,5.5rem)}
h2{font-size:clamp(2.1rem,3.6vw,3.6rem)}
h3{font-family:var(--serif);font-size:1.7rem;line-height:1.12;font-weight:600;letter-spacing:-.025em}
.wrap{width:min(calc(100% - 2 * var(--edge)),var(--maximum));margin-inline:auto}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:fixed;top:.5rem;left:.5rem;z-index:1000;background:var(--paper);padding:.6rem}
body .button,body button.button,body .woocommerce a.button,body .woocommerce button.button,body.woocommerce a.button,body.woocommerce button.button,body .woocommerce input.button,body .woocommerce #respond input#submit,body .woocommerce .button.alt,body.woocommerce div.product form.cart .button,body .woocommerce #payment #place_order,body input[type="submit"]{
    display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:.72rem 1.25rem;color:var(--on-orange);background:var(--hot);border:1px solid var(--hot);
    border-radius:0;font:600 .94rem/1.3 var(--sans);text-decoration:none;letter-spacing:0;box-shadow:none;cursor:pointer;transition:background .2s,color .2s;
}
body .button:hover,body .woocommerce .button:hover,body.woocommerce a.button:hover,body.woocommerce button.button:hover{color:var(--paper);background:var(--deep)}
body .button.light{border-color:var(--paper);background:var(--paper);color:var(--brand)}
body .button.light:hover{background:var(--tint);border-color:var(--tint)}
.text-link{display:inline-block;font:600 .94rem/1.4 var(--sans);text-decoration:underline;text-underline-offset:.42em}
.masthead{position:relative;z-index:8;background:var(--paper);border-bottom:1px solid var(--line)}
.masthead-in{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:clamp(1rem,2vw,2.3rem)}
.brand{flex:none;font:600 clamp(1.7rem,2.45vw,2.65rem)/1 var(--serif);letter-spacing:-.055em;text-decoration:none;white-space:nowrap}
.masthead nav ul{list-style:none;display:flex;align-items:center;gap:clamp(.9rem,1.7vw,1.9rem);margin:0;padding:0}
.masthead nav a,.mast-tools a{display:flex;align-items:center;text-decoration:none}
.masthead nav a{min-height:44px;font-weight:500;font-size:.96rem;white-space:nowrap;background:linear-gradient(var(--brand),var(--brand)) left 82%/0 1px no-repeat;transition:background-size .22s}
.masthead nav a:hover,.masthead nav a:focus-visible,.masthead nav .current-menu-item a{background-size:100% 1px}
.mast-tools{display:flex;align-items:center;gap:.35rem;flex:none}
.icon-control,.cart-control{display:inline-flex;justify-content:center;align-items:center;height:44px;min-width:42px;background:none;border:0;border-radius:0;color:var(--ink)}
.cart-control{gap:.43rem;font-weight:500;font-size:.94rem}
.fh-bag-count{font-variant-numeric:tabular-nums}
.bag-icon,.search-icon,.user-icon,.lines-icon{display:block;position:relative;color:currentColor;font-style:normal}
.bag-icon{width:16px;height:15px;border:1.6px solid;border-radius:1px;margin-top:3px}
.bag-icon::before{content:"";width:8px;height:6px;border:1.5px solid;border-bottom:0;border-radius:6px 6px 0 0;position:absolute;top:-6px;left:2.5px}
.search-icon{width:15px;height:15px;border:1.6px solid;border-radius:50%;margin-right:3px}
.search-icon::after{content:"";position:absolute;width:7px;height:1.6px;background:currentColor;transform:rotate(45deg);right:-5px;bottom:-2.5px}
.user-icon{width:19px;height:9px;border:1.5px solid;border-radius:12px 12px 2px 2px;margin-top:10px}
.user-icon::before{content:"";position:absolute;border:1.5px solid;border-radius:50%;width:9px;height:9px;left:3.6px;top:-12px}
.lines-icon,.lines-icon::before,.lines-icon::after{width:20px;height:1.5px;background:currentColor}
.lines-icon::before,.lines-icon::after{content:"";position:absolute;left:0;top:-6px}
.lines-icon::after{top:6px}
.menu-control{display:none}
.search-pop{padding:1rem 0;border-top:1px solid var(--line);background:var(--surface)}
.fh-search-form{display:flex;align-items:stretch;gap:.55rem;max-width:40rem}
.fh-search-form label{flex:1;min-width:0}
.fh-search-form input[type="search"]{width:100%;height:100%}
.campaign{display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr);background:var(--brand);color:var(--paper)}
.campaign-copy{display:flex;flex-flow:column;align-items:flex-start;justify-content:center;padding-block:clamp(3rem,6vw,6.8rem);padding-left:max(var(--edge),calc((100vw - var(--maximum)) / 2));padding-right:clamp(1.9rem,4.5vw,5rem);min-width:0}
.campaign h1{font-size:clamp(4.2rem,6.9vw,8.25rem);line-height:.89;letter-spacing:-.062em}
.campaign-copy p{color:var(--tint);max-width:29ch;font-size:clamp(1rem,1.24vw,1.18rem);margin:1.7rem 0 1.65rem;line-height:1.55}
.campaign-image{min-height:clamp(380px,31vw,570px);position:relative;background:var(--shade);overflow:hidden}
.campaign-image img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 50%}
.section-pad{padding-block:clamp(2.6rem,4.8vw,5.25rem)}
.section-title{display:flex;justify-content:space-between;align-items:baseline;gap:1.3rem;margin-bottom:clamp(1.25rem,2vw,2rem)}
.section-title .text-link{flex:none}
.collections{background:var(--paper)}
.category-row,.edit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:clamp(.8rem,1.9vw,2rem);row-gap:2.2rem}
.cat-card,.store-card a{text-decoration:none;min-width:0}
.cat-image,.product-frame{overflow:hidden;background:var(--shade)}
.cat-image{aspect-ratio:1.35}
.cat-image img,.product-frame img,.woocommerce ul.products li.product img{width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.6,.2,1)}
.cat-card:hover img,.store-card a:hover img{transform:scale(1.035)}
.cat-caption{display:flex;align-items:baseline;justify-content:space-between;gap:.45rem;padding:.68rem 0;border-bottom:1px solid var(--line)}
.cat-caption h3{font-size:clamp(1.35rem,2.05vw,2.18rem)}
.cat-caption span,.style-ref{color:var(--muted);font-size:.875rem;line-height:1.4}
.cat-caption span{white-space:nowrap}
.edit{background:var(--surface)}
.product-frame{aspect-ratio:1.12}
.store-card h3{font:500 clamp(1.08rem,1.5vw,1.38rem)/1.27 var(--sans);letter-spacing:-.032em;margin:.18rem 0 .35rem}
.style-ref{display:block;margin-top:.7rem;font-variant-numeric:tabular-nums}
.card-price{font-size:.94rem;color:var(--muted)}
.trade-band{background:var(--tint);padding-block:clamp(2.6rem,4.5vw,4.6rem)}
.trade-in{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:clamp(2rem,8vw,8rem)}
.trade-in p{margin:.75rem 0;max-width:42ch}
.count-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);padding-top:1rem}
.count-grid>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:.3rem;padding-right:.5rem}
.count-grid dt{font-size:.9rem}
.count-grid dd{font:500 clamp(2.5rem,4.2vw,4.7rem)/1 var(--serif);font-variant-numeric:lining-nums tabular-nums;color:var(--brand)}
.site-footer{background:var(--footer-bg);color:var(--paper)}
.foot-grid{display:grid;grid-template-columns:1.05fr 1.32fr .85fr .8fr;gap:clamp(1.2rem,3vw,3.3rem);padding-block:clamp(2.2rem,4vw,4rem)}
.site-footer a{color:inherit;text-decoration:none}
.site-footer a:hover{text-decoration:underline;color:var(--paper)}
.foot-grid h2{font:600 1rem/1.4 var(--sans);letter-spacing:0;margin-bottom:.62rem}
.foot-grid p,.foot-nav>a,.foot-social a,.contact-lines{font-size:.94rem}
.foot-identity p{margin-top:.5rem;color:var(--on-dark);text-wrap:balance}
.foot-nav>a{display:block;width:fit-content;margin-block:.15rem}
.foot-social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem .8rem}
.contact-lines{margin:0;display:grid;gap:.28rem}
.contact-lines>div{display:grid;grid-template-columns:5.2rem minmax(0,1fr);gap:.5rem}
.contact-lines dt{color:var(--muted)}
.site-footer .contact-lines dt{color:var(--on-dark)}
.contact-lines dd{overflow-wrap:anywhere}
.foot-note{font-size:.875rem;border-top:1px solid #444;padding-block:.85rem;display:flex;justify-content:space-between;gap:.7rem;flex-wrap:wrap;color:var(--on-dark)}
.page-shell,.reading-page,.commerce-shell{padding-block:clamp(2rem,3.75vw,3.8rem) clamp(3.5rem,5.8vw,6.5rem);min-height:52vh}
.page-shell h1,.commerce-shell h1,.reading-page h1{font-size:clamp(2.7rem,4.7vw,4.6rem);margin-bottom:1.3rem}
.page-shell .page-trail,.woocommerce .commerce-shell .woocommerce-breadcrumb,.page-trail,.woocommerce-breadcrumb{font-size:.875rem;line-height:1.5;color:var(--muted);margin:0 0 1rem}
.page-trail a,.woocommerce-breadcrumb a{color:inherit}
.crumb-divider,.page-trail span{display:inline-block;margin-inline:.5rem}
.page-copy>p,.page-copy>ul,.page-copy>ol,.reading-page p{max-width:69ch;margin-block:.65rem}
.page-copy h2{font-size:clamp(1.8rem,3vw,2.75rem);margin:1.3rem 0 .65rem}
.page-shell .contact-lines{padding-block:1rem;font-size:1rem}
.woocommerce .woocommerce-ordering select{background:var(--paper);min-height:44px}
body.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-result-count{margin:.6rem 0 1rem;color:var(--muted);font-size:.94rem}
body .woocommerce ul.products,body.woocommerce ul.products{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.25rem clamp(.8rem,1.9vw,2rem);padding:0;margin:1.3rem 0 2rem}
body .woocommerce ul.products::before,body .woocommerce ul.products::after,body.woocommerce ul.products::before,body.woocommerce ul.products::after{display:none}
body .woocommerce ul.products li.product,body.woocommerce ul.products li.product{width:auto;float:none;clear:none;margin:0;padding:0;min-width:0}
body.woocommerce ul.products li.product a img,body .woocommerce ul.products li.product a img{display:block;width:100%;height:auto;aspect-ratio:1.12;object-fit:cover;margin:0;background:var(--shade)}
body .woocommerce ul.products li.product .woocommerce-loop-product__title,body.woocommerce ul.products li.product .woocommerce-loop-product__title{font:500 clamp(1.08rem,1.5vw,1.38rem)/1.27 var(--sans);letter-spacing:-.032em;padding:.25rem 0}
body .woocommerce ul.products li.product .price,body.woocommerce ul.products li.product .price{color:var(--muted);font-size:.94rem}
.woocommerce ul.products .onsale,.woocommerce span.onsale{background:var(--brand)}
.woocommerce .commerce-shell div.product{display:flow-root}
.woocommerce .commerce-shell div.product div.images{width:48%;margin:0 0 2.4rem}
.woocommerce .commerce-shell div.product div.summary{width:46.5%;margin-bottom:2.4rem}
.woocommerce .commerce-shell div.product .product_title{font-size:clamp(2.4rem,3.9vw,4rem);margin-bottom:.6rem;line-height:1.02}
.woocommerce .commerce-shell div.product p.price,.woocommerce .commerce-shell div.product span.price{color:var(--brand);font-size:1.22rem}
.woocommerce-product-details__short-description{margin-block:1rem}
.woocommerce-product-details__short-description p,.woocommerce-Tabs-panel p{margin:.65rem 0}
.woocommerce .commerce-shell div.product div.images .woocommerce-product-gallery__wrapper{background:#fff}
.woocommerce .commerce-shell div.product div.images .flex-control-thumbs{display:flex;gap:.5rem;margin:.6rem 0 0;padding:0;overflow-x:auto;scroll-snap-type:x proximity}
.woocommerce .commerce-shell div.product div.images .flex-control-thumbs li{flex:0 0 calc((100% - 2rem) / 5);float:none;scroll-snap-align:start;width:auto;clear:none;margin:0}
.woocommerce .commerce-shell div.product div.images .flex-control-thumbs img{opacity:.72;aspect-ratio:1.28;object-fit:cover}
.woocommerce .commerce-shell div.product div.images .flex-control-thumbs .flex-active{opacity:1;border-bottom:2px solid var(--brand)}
.woocommerce div.product .product_meta{margin-top:1.1rem;color:var(--muted);font-size:.94rem}
.product_meta>span{display:block}
.woocommerce .commerce-shell div.product .woocommerce-tabs{clear:both;border-top:1px solid var(--line);padding-top:.4rem}
.woocommerce .commerce-shell div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:.8rem 1.5rem;padding:0;margin:0 0 1.3rem}
.woocommerce .commerce-shell div.product .woocommerce-tabs ul.tabs::before,.woocommerce .commerce-shell div.product .woocommerce-tabs ul.tabs li::before,.woocommerce .commerce-shell div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce .commerce-shell div.product .woocommerce-tabs ul.tabs li{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;margin:0;padding:.5rem 0}
.woocommerce .commerce-shell div.product .woocommerce-tabs ul.tabs li.active{border-bottom-color:var(--brand)}
.woocommerce .commerce-shell .woocommerce-Tabs-panel h2,.woocommerce .commerce-shell .related h2{font-size:clamp(1.75rem,2.8vw,2.8rem);margin:.4rem 0 1rem}
.woocommerce .commerce-shell .related{margin-top:2rem}
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:0;border-collapse:collapse;background:var(--paper);font-size:1rem}
.woocommerce table.shop_table th{background:var(--surface)}
.woocommerce table.shop_table td{border-color:var(--line)}
.woocommerce table.shop_table p{margin-block:.4rem}
.woocommerce .quantity input.qty{width:4.5rem;min-height:42px;background:var(--paper)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea{border:1px solid var(--field-line);background:var(--paper);padding:.65rem .75rem;border-radius:0;font-size:1rem}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border:1px solid var(--line);border-radius:0;background:var(--surface)}
.woocommerce .woocommerce-info,.woocommerce .woocommerce-message,.woocommerce .woocommerce-error,.woocommerce-info,.woocommerce-message,.woocommerce-error{border-top-color:var(--brand);background:var(--surface);color:var(--ink);font-size:1rem}
.woocommerce-message::before,.woocommerce-info::before{color:var(--brand)}
.woocommerce .woocommerce-error,.woocommerce-error{border-top-color:#b42318}
.woocommerce .woocommerce-message,.woocommerce-message{border-top-color:#267048}
.woocommerce-message::before{color:#267048}
.woocommerce .cart_totals .order-total .amount,.woocommerce .shop_table .order-total .amount{color:var(--brand)}
.select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--tint);color:var(--brand)}
.woocommerce #payment,.woocommerce-checkout #payment,.woocommerce-cart .cart-collaterals .cart_totals table{border-radius:0;background:var(--surface)}
.woocommerce-checkout #payment div.payment_box,.woocommerce #payment div.payment_box{background:var(--tint);color:var(--ink)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--tint)}
.woocommerce-account .woocommerce-MyAccount-navigation{width:23%}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation li{padding:.6rem 0;border-bottom:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-navigation a{text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{color:var(--brand);font-weight:700}
.woocommerce-account .woocommerce-MyAccount-content{width:72%}
.woocommerce nav.woocommerce-pagination ul,.woocommerce nav.woocommerce-pagination ul li{border-color:var(--line)}
.woocommerce nav.woocommerce-pagination ul li span.current{color:var(--brand);background:var(--shade)}
.select2-container--default .select2-selection--single{min-height:45px;padding:.45rem .2rem;background:var(--paper);border:1px solid var(--field-line);border-radius:0}
.select2-dropdown{background:var(--paper)}
[hidden]{display:none!important}
@media (max-width:1110px){
    .masthead-in{min-height:66px;gap:.7rem}
    .masthead .menu-control{display:inline-flex}
    .masthead-in>.brand{margin-right:auto}
    .masthead nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:1px solid var(--line);padding:.6rem var(--edge) 1rem;box-shadow:0 12px 22px #00000012}
    .masthead nav.is-open{display:block}
    .masthead nav ul{display:grid;gap:0}
    .masthead nav a{background:none;border-bottom:1px solid var(--line)}
    .foot-grid{grid-template-columns:1fr 1.35fr 1fr;gap:2rem}
    .foot-nav{display:none}
}
@media (max-width:780px){
    :root{--edge:clamp(1.05rem,4.2vw,2.4rem)}
    body{font-size:16px}
    .masthead-in{min-height:58px}
    .masthead nav{top:100%}
    .campaign-copy{padding-top:2rem;padding-bottom:2rem;padding-right:1rem}
    .campaign h1{font-size:clamp(2.7rem,8.6vw,4.3rem)}
    .campaign-image{min-height:clamp(290px,47vw,380px)}
    .campaign-copy p{font-size:.94rem;margin:1rem 0 1.15rem}
    .section-pad{padding-block:2.6rem}
    .category-row,.edit-grid,body .woocommerce ul.products,body.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.45rem .9rem}
    .cat-caption h3{font-size:1.6rem}
    .trade-in{grid-template-columns:1fr;gap:1.5rem}
    .page-shell,.commerce-shell,.reading-page{padding-block:1.7rem 3rem}
    .woocommerce .commerce-shell div.product div.images,.woocommerce .commerce-shell div.product div.summary{float:none;width:100%;margin:0 0 1.5rem}
    .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}
    .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;gap:.6rem 1rem;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:1.25rem}
    .woocommerce-account .woocommerce-MyAccount-navigation li{border:0}
    .woocommerce table.shop_table_responsive tr td,.woocommerce-page table.shop_table_responsive tr td{min-height:2.8rem}
    .woocommerce-cart .cart-collaterals .cart_totals{width:100%}
    .foot-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);gap:1.5rem}
    .foot-identity{grid-column:1/-1}
}
@media (max-width:580px){
    .masthead-in{gap:.2rem}
    .masthead .menu-control{justify-content:flex-start;min-width:33px}
    .masthead .brand{font-size:clamp(1.3rem,5.8vw,1.85rem)}
    .mast-tools{gap:0}
    .mast-tools .icon-control{min-width:37px}
    .cart-control{min-width:38px;gap:.3rem}
    .cart-letters{display:none}
    .campaign{grid-template-columns:1fr}
    .campaign-image{min-height:0;aspect-ratio:1.65;grid-row:1}
    .campaign-copy{padding:1.35rem var(--edge) 1.55rem;display:flex;align-items:flex-start;gap:0}
    .campaign h1{font-size:clamp(2.6rem,10.4vw,3.7rem);line-height:.98}
    .campaign h1 br{display:none}
    .campaign h1 br::after{content:" "}
    .campaign-copy p{max-width:34ch;margin:.62rem 0 .95rem;line-height:1.45}
    .campaign-copy .button{font-size:.94rem;padding:.67rem 1rem}
    .section-title{gap:.6rem}
    .section-title .text-link{font-size:.875rem}
    .section-title h2{font-size:clamp(1.9rem,7.3vw,2.36rem)}
    .cat-caption{flex-wrap:wrap;gap:.15rem .6rem}
    .cat-caption h3{font-size:1.42rem}
    .cat-caption span{font-size:.875rem}
    .section-pad{padding-block:2rem}
    .category-row,.edit-grid,body .woocommerce ul.products,body.woocommerce ul.products{column-gap:.72rem;row-gap:1.3rem}
    .store-card h3{font-size:1.07rem}
    .card-price{font-size:.9rem}
    .style-ref{margin-top:.45rem}
    .foot-grid{grid-template-columns:1fr}
    .foot-social{grid-template-columns:repeat(4,minmax(0,1fr))}
    .foot-social a{font-size:.875rem}
    .foot-note{font-size:.875rem}
    body.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none;display:block}
}
@media (max-width:380px){
    .campaign-copy{padding-block:1.15rem 1.35rem}

    .mast-tools .icon-control{min-width:32px}
    .count-grid dt{font-size:.875rem}
}
@media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{transition:none!important;animation:none!important}
}
.buyer-spread{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.78fr);align-items:start;gap:clamp(2rem,7vw,8rem)}
.buyer-spread.without-image{grid-template-columns:minmax(0,1fr)}
.buyer-feature{background:var(--surface);overflow:hidden}
.buyer-feature img{width:100%;height:auto;aspect-ratio:1.05;object-fit:cover}
.buyer-story .page-copy h2{margin-top:1.5rem;font:600 clamp(1.3rem,1.65vw,1.65rem)/1.24 var(--sans);letter-spacing:-.025em}
.buyer-story .contact-lines{border-top:1px solid var(--line);margin-top:1.5rem;padding:1.2rem 0;gap:.55rem}
.buyer-story .contact-lines>div{grid-template-columns:5.5rem minmax(0,1fr)}
@media(max-width:760px){
    .buyer-spread{grid-template-columns:1fr;gap:1.3rem}
    .buyer-feature img{aspect-ratio:2.2}
}
body.woocommerce .commerce-shell .fh-matrix button.button.alt,body .woocommerce .button.alt,body.woocommerce-page .woocommerce #payment #place_order{background:var(--hot);border-color:var(--hot);color:var(--on-orange)}
body.woocommerce .commerce-shell .fh-matrix button.button.alt:hover,body .woocommerce .button.alt:hover{background:var(--deep);border-color:var(--deep);color:var(--paper)}
body.woocommerce .commerce-shell ul.products[class*="columns-"] li.product,body .woocommerce ul.products[class*="columns-"] li.product{width:100%;max-width:none;margin:0;clear:none;float:none}
@media(max-width:580px){
    body.woocommerce .commerce-shell .woocommerce-result-count{float:left;width:48%;margin:.6rem 0}
    body.woocommerce .commerce-shell .woocommerce-ordering{float:right;width:48%;margin:0 0 1rem}
    .commerce-shell .woocommerce-ordering select{width:100%;padding-inline:.35rem;font-size:.875rem}
    .commerce-shell ul.products{clear:both}
}
.store-card,.woocommerce .commerce-shell ul.products li.product,.woocommerce .related ul.products li.product{display:flex;flex-direction:column}
.store-card>a,.woocommerce .commerce-shell ul.products li.product a.woocommerce-loop-product__link{display:flex;flex-direction:column;flex:1}
.store-card .card-price,.woocommerce .commerce-shell ul.products li.product .price{margin-top:auto}
/* Wholesale storefront */
.market-head,.market-home,.site-footer {
    --edge:clamp(1rem,3.6vw,4.4rem); --maximum:1504px;
    --sans:"DM Sans","Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif;
    font-family:var(--sans);
}
.market-head {position:sticky;top:0;z-index:20;color:var(--ink);background:var(--paper);box-shadow:0 1px 0 var(--line)}
.admin-bar .market-head {top:32px}
.market-mast {min-height:76px;display:grid;grid-template-columns:auto minmax(200px,1fr) auto;align-items:center;gap:clamp(1.2rem,3.8vw,4.8rem);padding-block:.65rem}
.market-brand,.site-footer .brand {font:600 clamp(1.65rem,2.65vw,2.65rem)/1 var(--serif);letter-spacing:-.055em;white-space:nowrap;text-decoration:none}
.market-brand {color:var(--ink)}
.market-menu,.market-mobile-link {display:none}
.market-search {min-width:0}
.market-search .fh-search-form {display:flex;max-width:none;gap:0;align-items:stretch;background:#fff;border:1px solid var(--field-line)}
.market-search .fh-search-form:focus-within {outline:2px solid var(--brand);outline-offset:2px}
.market-search .fh-search-form input[type=search] {width:100%;min-width:0;min-height:42px;padding:.5rem .9rem;border:0;background:transparent;color:var(--ink);font-size:1rem}
.market-search input:focus-visible {outline:0}
.market-search .fh-search-form .button {margin:-1px;min-height:44px;padding:.5rem 1.4rem;color:var(--on-orange);background:var(--hot);border:1px solid var(--hot);font-size:1rem}
.market-tools,.market-tools a {display:flex;align-items:center}
.market-tools {gap:clamp(.8rem,1.4vw,1.6rem)}
.market-tools a {min-height:42px;gap:.45rem;color:inherit;font-size:1rem;text-decoration:none}
.market-tools i {flex:none}
.market-tools .fh-bag-count {min-width:1.35em;text-align:center;font-size:.875rem;font-weight:650;border:1px solid var(--line)}
.market-nav {background:var(--footer-bg);color:var(--paper)}
.market-nav ul {display:flex;align-items:stretch;flex-wrap:wrap;list-style:none;margin:0;padding:0;column-gap:clamp(.4rem,1.15vw,1.4rem)}
.market-nav a {display:flex;align-items:center;height:100%;min-height:42px;padding:.36rem .55rem;color:inherit;font-size:1rem;text-decoration:none}
.market-nav a:hover,.market-nav a:focus-visible,.market-nav .current-menu-item a {color:var(--tint);text-decoration:underline;text-underline-offset:.3em}
.market-nav li:first-child a {padding-inline-start:0;font-weight:650}
.market-nav .order-nav {margin-inline-start:auto}
.market-home {background:var(--paper);color:var(--ink)}
.pocket-categories {display:none}
.catalog-cover {display:grid;grid-template-columns:minmax(0,2.15fr) minmax(0,1fr);gap:4px;margin-top:clamp(.7rem,1.35vw,1.45rem)}
.catalog-cover.cover-only {grid-template-columns:1fr}
.workbench-cover,.cover-sample {position:relative;isolation:isolate;min-width:0;overflow:hidden;min-height:clamp(245px,23.4vw,370px);color:var(--paper);background:var(--footer-bg)}
.workbench-cover>img,.cover-sample>img {position:absolute;width:100%;height:100%;inset:0;object-fit:cover;z-index:-2}
.workbench-cover>img {object-position:58% 56%}
.workbench-cover::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#171717d9 0%,#17171740 52%,transparent 82%),linear-gradient(0deg,#1717174a,transparent 45%)}
.workbench-caption {position:relative;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:1.35rem;padding:clamp(1.4rem,3.6vw,3.6rem);max-width:83%}
.workbench-caption h1 {font-family:var(--serif);font-size:clamp(2.65rem,4.8vw,5.5rem);font-weight:500;line-height:1.03;letter-spacing:-.045em;text-wrap:balance;overflow-wrap:anywhere}
.workbench-caption a {display:inline-flex;align-items:center;min-height:42px;padding:.48rem 1.15rem;background:var(--paper);color:var(--ink);text-decoration:none;font-weight:600;font-size:1rem}
.workbench-caption a:hover {background:var(--tint)}
.cover-sample {display:block;background:var(--field-line);text-decoration:none}
.cover-sample>img {object-position:center 47%;transition:transform .45s}
.cover-sample:hover>img {transform:scale(1.025)}
.sample-credit {position:absolute;inset-inline-start:0;bottom:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:.35rem .7rem;max-width:96%;padding:.45rem .85rem;background:var(--ink);color:var(--paper)}
.sample-ref,.market-product-meta bdi {font-variant-numeric:tabular-nums;letter-spacing:.055em}
.sample-ref {font:500 .875rem/1.4 var(--sans)}
.sample-credit strong {font:530 1rem/1.4 var(--sans)}
.assortment {padding-block:clamp(1.35rem,2.5vw,3.15rem) clamp(2.2rem,4.7vw,5rem);scroll-margin-top:8.2rem}
.assortment-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem 1.5rem;padding-bottom:clamp(.85rem,1.3vw,1.5rem);border-bottom:1px solid var(--line);margin-bottom:clamp(.9rem,1.4vw,1.5rem)}
.assortment-head h2,.supply-facts h2 {font:550 clamp(1.85rem,2.75vw,3rem)/1.12 var(--serif);letter-spacing:-.032em}
.quantity-picker:not([hidden]) {display:flex;align-items:center;flex-wrap:wrap;gap:.18rem}
.quantity-picker>span {margin-inline-end:.6rem;color:var(--muted);font-size:.94rem}
.quantity-picker button {min-height:36px;padding:.3rem .74rem;background:transparent;border:1px solid transparent;color:var(--ink);font:550 .95rem/1.3 var(--sans);white-space:normal}
.quantity-picker button:hover {border-color:var(--field-line)}
.quantity-picker button[aria-pressed=true] {color:var(--paper);border-color:var(--brand);background:var(--brand)}
.assortment-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(1.65rem,2.6vw,3rem) clamp(.8rem,1.5vw,1.65rem)}
.market-product,.market-product-link,.market-product-info {min-width:0}
.market-product-link {display:flex;height:100%;flex-direction:column;text-decoration:none;color:inherit}
.market-product-link:hover h3 {text-decoration:underline;text-underline-offset:.18em}
.market-product-photo {aspect-ratio:1;overflow:hidden;background:var(--shade)}
.market-product-photo img {width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.market-product-link:hover img {transform:scale(1.035)}
.market-product-info {display:flex;flex:1;flex-direction:column}
.market-product-meta {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.15rem .65rem;margin-top:.62rem;color:var(--muted);font:450 .875rem/1.35 var(--sans)}
.market-product h3 {margin:.2rem 0 .52rem;color:var(--ink);font:550 clamp(1rem,1.22vw,1.32rem)/1.28 var(--sans);letter-spacing:-.012em;overflow-wrap:anywhere}
.card-quote {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.15rem .5rem;margin-top:auto;color:var(--muted);font-size:.875rem;line-height:1.4}
.card-quote strong {font:650 clamp(1.09rem,1.47vw,1.58rem)/1.16 var(--sans);font-variant-numeric:tabular-nums;color:var(--brand);overflow-wrap:anywhere}
.card-quote .selected-price {display:none}
.has-quantity-picker .selected-price {display:inline}
.market-prices {width:100%;border:0;border-collapse:collapse;margin-top:.3rem;font-variant-numeric:tabular-nums;font-size:.875rem}
.market-prices th,.market-prices td {padding:0 .2rem 0 0;text-align:start}
.has-quantity-picker .market-prices {display:none}
.assortment-all {display:table;margin:clamp(1.5rem,3vw,3rem) auto 0;font-size:1rem;text-underline-offset:.34em}
.supply-facts {padding-block:clamp(1.5rem,2.7vw,3.1rem);background:#f5f5f5}
.supply-facts-in {display:grid;grid-template-columns:1fr 1.5fr;gap:1.8rem;align-items:center}
.supply-facts .text-link {margin-top:.55rem;color:var(--ink)}
.supply-facts .count-grid {border:0;padding:0}
.supply-facts .count-grid>div {padding-inline-start:1.1rem;border-inline-start:1px solid var(--line)}
.supply-facts .count-grid dd {color:var(--muted)}
.site-footer .brand {color:inherit}
[dir=rtl] .workbench-cover::before {background:linear-gradient(270deg,#171717e0,#1717174a 65%,transparent)}
@media(max-width:1050px) {
    .market-mast {gap:1.2rem}
    .market-tools .market-account span,.market-tools .market-cart>span:not(.fh-bag-count) {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
    .assortment-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:790px) {
    .market-mast {grid-template-columns:auto minmax(0,1fr) auto;min-height:0;gap:.3rem .6rem;padding-block:.45rem .55rem}
    .market-mast .market-menu {display:inline-flex;width:32px;min-width:0;height:39px;justify-content:start;padding:0}
    .market-brand {font-size:clamp(1.4rem,4.7vw,1.85rem);white-space:normal}
    .market-search {grid-row:2;grid-column:1/-1}
    .market-tools {gap:.7rem}
    .market-tools .market-account {display:none}
    .market-search .fh-search-form input[type=search],.market-search .fh-search-form .button {min-height:38px}
    .market-nav {display:none;position:absolute;top:100%;inset-inline:0;max-height:70dvh;overflow:auto}
    .market-nav.is-open,.market-mobile-link {display:block}
    .market-nav ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-block:.5rem;gap:0 .5rem}
    .market-nav a,.market-nav li:first-child a {padding:.45rem}
    .market-nav .order-nav {margin-inline-start:0}
    .workbench-cover,.cover-sample {min-height:230px}
    .workbench-caption {padding:1.2rem;max-width:95%}
    .supply-facts-in {grid-template-columns:1fr;gap:1rem}
}
@media(max-width:620px) {
    .pocket-categories {display:block;background:var(--footer-bg);color:var(--paper)}
    .pocket-categories .wrap {display:flex;align-items:stretch;flex-wrap:wrap;justify-content:space-between;gap:0 .55rem;padding:0;list-style:none}
    .pocket-categories li {flex:1 1 auto;text-align:center}
    .pocket-categories a {display:block;padding:.41rem .22rem;color:inherit;text-decoration:none;font-size:.94rem}
    .pocket-categories a:hover {text-decoration:underline}
    .market-head,.market-home,.site-footer {--edge:clamp(.75rem,3.6vw,1.15rem)}
    .catalog-cover {grid-template-columns:1fr;margin-top:.65rem}
    .workbench-cover {min-height:clamp(172px,43vw,225px)}
    .workbench-cover>img {object-position:56% 60%}
    .workbench-caption {padding:1.1rem 1.2rem;gap:.75rem;max-width:76%}
    .workbench-caption h1 {font-size:clamp(2.05rem,8.5vw,3rem)}
    .workbench-caption a {min-height:36px;padding:.19rem .8rem;font-size:.94rem}
    .cover-sample {display:none}
    .assortment {padding-top:1.25rem;scroll-margin-top:6.8rem}
    .assortment-head {gap:.6rem;align-items:baseline}
    .assortment-head h2 {font-size:1.65rem}
    .quantity-picker:not([hidden]) {gap:.1rem}
    .quantity-picker>span {margin-inline-end:.22rem;font-size:.875rem}
    .quantity-picker button {min-height:36px;padding:.25rem .43rem;font-size:.875rem}
    .assortment-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.35rem .7rem}
    .market-product-photo {aspect-ratio:1}
    .market-product-meta {margin-top:.4rem;gap:.1rem .3rem}
    .market-product h3 {margin:.22rem 0 .45rem}
    .supply-facts .count-grid>div {padding-inline-start:.5rem}
}
@media(max-width:365px) {
    .market-mast {column-gap:.2rem}
    .market-tools {gap:.3rem}
}
@media(max-width:782px) {.admin-bar .market-head {top:46px}}
@media(prefers-reduced-motion:reduce) {.market-product-photo img,.cover-sample>img {transition:none}}


/* Browse by series, finish, construction and purchasing task. */
.market-home .collection-room h2,.market-home .tone-story h2,.market-home .detail-stories h2,.market-home .buying-desk h2 {
    font:550 clamp(1.8rem,2.75vw,3rem)/1.14 var(--serif);letter-spacing:-.025em
}
.collection-room {background:var(--footer-bg);color:var(--paper);padding-block:clamp(1.7rem,3.45vw,3.6rem)}
.collection-room h2,.detail-stories h2 {margin-bottom:clamp(.9rem,1.7vw,1.8rem)}
.collection-shelves {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.8rem,1.5vw,1.65rem)}
.collection-shelf {min-width:0;scroll-margin-top:8rem}
.shelf-heading {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.2rem .65rem;padding-block:.55rem;border-top:1px solid var(--line)}
.shelf-heading h3 {font:600 clamp(1.12rem,1.5vw,1.5rem)/1.35 var(--sans)}
.shelf-heading a,.shelf-samples a {color:inherit;text-decoration:none}
.shelf-heading a:hover {text-decoration:underline}
.shelf-heading span {font-size:.875rem;color:var(--on-dark)}
.shelf-samples {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:1fr 1fr;gap:3px;aspect-ratio:1.54}
.shelf-samples a {display:block;position:relative;min-width:0;min-height:0;overflow:hidden}
.shelf-samples a:first-child {grid-row:span 2}
.shelf-samples a:only-child {grid-column:span 2}
.shelf-samples a:nth-child(2):last-child {grid-row:span 2}
.shelf-samples img {width:100%;height:100%;object-fit:cover;transition:transform .3s}
.shelf-samples a:hover img {transform:scale(1.045)}
.shelf-samples span {position:absolute;inset-inline-start:.3rem;bottom:.3rem;color:var(--ink);background:#ffffffed;padding:0 .26rem;font:550 .875rem/1.45 var(--sans)}
.tone-story {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.1fr);align-items:center;gap:clamp(1.4rem,4.9vw,5rem);padding-block:clamp(2rem,4.35vw,4.8rem)}
.tone-text .sample-ref {display:block;color:var(--muted);margin-top:clamp(1rem,2.2vw,2.35rem)}
.tone-text h3 {font:550 clamp(1.2rem,1.55vw,1.65rem)/1.25 var(--sans);margin:.22rem 0 .55rem}
.tone-text p,.detail-stories-grid p,.guide-list p {font:400 1.02rem/1.65 var(--sans);overflow-wrap:anywhere}
.tone-text .text-link {margin-top:1rem}
.finish-plates {display:grid;grid-template-columns:1fr 1fr;gap:4px}
.finish-plates a {position:relative}
.finish-plates img {width:100%;aspect-ratio:1.15;object-fit:cover}
.finish-plates span {position:absolute;inset-inline-start:.55rem;bottom:.55rem;padding:.2rem .55rem;background:#fffffff2;color:var(--ink);font-size:.94rem}
.detail-stories {padding-block:clamp(1.75rem,3.5vw,3.6rem);background:var(--shade)}
.detail-stories-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.8rem,1.6vw,1.7rem)}
.detail-stories-grid a {color:inherit;text-decoration:none}
.detail-stories-grid a:hover h3 {text-decoration:underline}
.detail-stories-grid img {width:100%;aspect-ratio:1.65;object-fit:cover}
.detail-stories-grid h3 {font:600 clamp(1.04rem,1.28vw,1.3rem)/1.35 var(--sans);margin:.55rem 0 .24rem}
.buying-desk {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.1fr);gap:clamp(1.3rem,4.9vw,5rem);align-items:start;padding-block:clamp(2rem,4vw,4.6rem)}
.guide-list details {border-top:1px solid var(--line)}
.guide-list details:last-child {border-bottom:1px solid var(--line)}
.guide-list summary {cursor:pointer;font-weight:600;padding:.7rem 0}
.guide-list p {margin:0 0 1rem;max-width:70ch}
.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-study,.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-order {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(1.15rem,4vw,4rem);margin:1.4rem 0}
.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-study h3,.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-tones h3,.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-order h3 {font:600 clamp(1.3rem,1.85vw,2rem)/1.25 var(--sans);margin:0 0 .48rem}
.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-study h3:not(:first-child) {margin-top:1.3rem}
.detail-study figure img,.detail-tones figure img {width:100%;height:auto;object-fit:cover}
.detail-study figure img {aspect-ratio:1.58}
.detail-tones {padding:clamp(1.1rem,2.1vw,2.25rem) 0;border-block:1px solid var(--line)}
.detail-tones>div {display:grid;grid-template-columns:1fr 1fr;gap:clamp(.65rem,1.5vw,1.6rem)}
.detail-tones figure img {aspect-ratio:1.6}
.detail-study figcaption,.detail-tones figcaption {font-size:.94rem;padding-top:.32rem}
.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-order {align-items:start}
.detail-order ul {margin:0;padding-inline-start:1.2em}
.detail-sample-note {color:var(--muted);font-size:.94rem}
@media(max-width:900px) {
    .collection-shelves,.detail-stories-grid {grid-template-columns:repeat(2,minmax(0,1fr));row-gap:1.1rem}
    .tone-story,.buying-desk {grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);gap:1.5rem}
}
@media(max-width:620px) {
    .tone-story,.buying-desk {grid-template-columns:1fr;gap:.9rem}
    .market-home .collection-room h2,.market-home .tone-story h2,.market-home .detail-stories h2,.market-home .buying-desk h2 {font-size:1.6rem}
    .collection-shelves,.detail-stories-grid {column-gap:.65rem}
    .shelf-samples {aspect-ratio:1.18}
    .shelf-samples a:not(:first-child) span {display:none}
    .tone-text .sample-ref {margin-top:.65rem}
    .tone-text .text-link {margin-top:.5rem}
    .finish-plates img {aspect-ratio:1}
    .detail-stories-grid p {font-size:1rem;line-height:1.48}
    .detail-stories-grid img {aspect-ratio:1.24}
    .woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-study,.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-order {grid-template-columns:1fr;gap:1rem}
    .detail-study figure img {aspect-ratio:1.45}
    .detail-tones figure img {aspect-ratio:1}
}
@media(prefers-reduced-motion:reduce) {.shelf-samples img {transition:none}}

.woocommerce .commerce-shell div.product div.images:has(.woocommerce-product-gallery__image ~ .woocommerce-product-gallery__image) {
    --thumb-size:clamp(48px,4.3vw,68px);
    --gallery-gutter:clamp(12px,1.4vw,24px);
    position:relative;
    padding-left:calc(var(--thumb-size) + var(--gallery-gutter));
}
.woocommerce .commerce-shell div.product div.images .flex-control-thumbs {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    width:var(--thumb-size);
    margin:0;
    flex-flow:column nowrap;
    gap:8px;
    overflow:hidden auto;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
    scroll-snap-type:y proximity;
}
.woocommerce .commerce-shell div.product div.images .flex-control-thumbs li {
    flex:0 0 auto;
    width:100%;
}
.woocommerce .commerce-shell div.product div.images .flex-control-thumbs img {
    width:100%;
    aspect-ratio:1;
    object-fit:contain;
    background:#fff;
    opacity:1;
    border:1px solid var(--line);
    border-radius:6px;
}
.woocommerce .commerce-shell div.product div.images .flex-control-thumbs img:hover,
.woocommerce .commerce-shell div.product div.images .flex-control-thumbs img.flex-active {
    border-color:var(--hot);
    outline:1px solid var(--hot);
    outline-offset:-2px;
}
@media (max-width:780px) {
    .woocommerce .commerce-shell div.product div.images:has(.woocommerce-product-gallery__image ~ .woocommerce-product-gallery__image) {
        --thumb-size:clamp(42px,11.5vw,54px);
        --gallery-gutter:8px;
    }
    .woocommerce .commerce-shell div.product div.images .flex-control-thumbs {gap:5px}
}
.sample-sheet-link {display:inline-flex;align-items:center;min-height:36px;color:var(--brand);font-weight:600;font-size:1rem}
#tab-description {scroll-margin-top:9rem}
@media(max-width:790px){#tab-description {scroll-margin-top:7rem}}

.lot-examples {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(1.2rem,4.5vw,4.5rem);align-items:center;background:var(--surface);color:var(--ink);margin:1.3rem 0;padding:clamp(1rem,2.6vw,2.6rem)}
.lot-examples h3 {font:600 clamp(1.35rem,1.9vw,2rem)/1.2 var(--sans)}
.lot-examples table {border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
.lot-examples th,.lot-examples td {padding:.48rem .3rem;text-align:start;border-bottom:1px solid var(--line);font-size:1rem}
.lot-examples thead th {font-weight:500;color:var(--muted)}
.lot-examples td:last-child,.lot-examples th:last-child {text-align:end}
@media(max-width:680px){.lot-examples {grid-template-columns:minmax(0,1fr);gap:.7rem}.lot-examples table {table-layout:fixed}.lot-examples th {overflow-wrap:anywhere;hyphens:auto}.lot-examples thead th:first-child {width:18%}.lot-examples thead th:last-child {width:28%}.lot-examples td,.lot-examples th {font-size:.875rem;padding:.4rem .2rem}}

/* The shop directory, wearing reference and orderable samples share a single counter. */
.market-home,.market-head,.commerce-shell,.site-footer {
    --sans:"DM Sans",system-ui,"Microsoft YaHei UI","Microsoft YaHei",sans-serif;
}
.market-brand {font-family:var(--sans);font-weight:700;letter-spacing:-.065em}
.market-nav {background:var(--footer-bg)}
.shelf-ticket bdi,.stock-reference bdi {font:500 .79rem/1.25 var(--sans);font-variant-numeric:tabular-nums;letter-spacing:.025em;color:var(--muted)}
.shelf-ticket strong {font:570 1rem/1.35 var(--sans);overflow-wrap:anywhere}
.shelf-samples a:hover strong {text-decoration:underline}
.market-home .assortment-head h2,.market-home .collection-room h2,.market-home .tone-story h2,.market-home .detail-stories h2,.market-home .buying-desk h2,.supply-facts h2 {
    font:620 clamp(1.42rem,2.12vw,2.25rem)/1.23 var(--sans);letter-spacing:-.025em
}
.assortment-head {padding-bottom:.6rem;margin-bottom:1rem;border-color:var(--line)}
.assortment-grid {column-gap:clamp(.8rem,1.6vw,1.5rem);row-gap:1.3rem}
.market-product-info {padding:.45rem 0 0}
.market-product-meta {margin:0;font-size:.83rem}
.market-product h3 {margin:.16rem 0 .29rem;font-weight:600}
.card-quote strong {color:var(--brand)}
.collection-room {background:var(--surface);color:var(--ink);padding-block:clamp(1.4rem,2.8vw,3rem)}
.collection-shelves {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem clamp(1rem,3.3vw,3.7rem)}
.shelf-heading {border-top:1px solid var(--line)}
.shelf-heading span {color:var(--muted)}
.shelf-heading h3 {font-size:1.14rem}
.shelf-samples {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;aspect-ratio:auto;gap:clamp(.42rem,1vw,1rem)}
.shelf-samples a {display:flex;flex-direction:column;grid-area:auto;overflow:visible}
.shelf-samples a:first-child,.shelf-samples a:only-child,.shelf-samples a:nth-child(2):last-child {grid-area:auto}
.shelf-samples img {height:auto;aspect-ratio:1.3;object-fit:cover}
.shelf-samples a:hover img {transform:none}
.shelf-ticket {display:grid;gap:.1rem;margin-top:.35rem}
.shelf-ticket strong {font-size:.95rem}
.shelf-ticket bdi {font-size:.76rem}
.shelf-ticket small span {position:static;background:none;padding:0;color:inherit;font:inherit}
.detail-stories {background:var(--surface)}
.detail-stories-grid p {font-size:.95rem}
.order-help-intro img {margin-top:.9rem;width:100%;max-height:9rem;object-fit:cover;object-position:50% 62%}
.stock-reference {display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;color:var(--muted);font:500 .92rem/1.4 var(--sans);margin-bottom:.6rem}
.stock-reference bdi {border-inline-end:1px solid var(--line);padding-inline-end:.6rem;color:inherit}
.woocommerce .commerce-shell div.product .product_title {font:650 clamp(1.7rem,2.9vw,3rem)/1.16 var(--sans);letter-spacing:-.035em}
.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-study {grid-template-columns:minmax(0,.92fr) minmax(0,1.12fr);gap:clamp(1.2rem,3.4vw,4rem);background:var(--surface);padding:clamp(.95rem,2vw,2.1rem)}
.detail-study .study-reading {max-width:54ch}
.detail-study .study-reading p+p {margin-top:.55rem}
.detail-study figure {margin:0}
.detail-study figure img {aspect-ratio:1.65;object-fit:cover}
.detail-tones figure {margin:0}
.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-study h3,.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-order h3,.woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-tones h3 {font-size:clamp(1.12rem,1.6vw,1.58rem)}
@media(max-width:670px){
    .market-home .assortment {padding-top:1.2rem}
    .market-home .quantity-picker>span {display:none}
    .collection-shelves {grid-template-columns:1fr;gap:1rem}
    .shelf-ticket strong {font-size:.89rem}
    .shelf-samples img {aspect-ratio:1.22}
    .shelf-ticket bdi {font-size:.71rem}
    .shelf-ticket small {font-size:.85rem}
    .buying-desk {grid-template-columns:1fr}
    .order-help-intro {display:flex;gap:1rem;align-items:center;justify-content:space-between}
    .order-help-intro img {margin:0;width:30%;aspect-ratio:2.3;object-fit:cover}
    .woocommerce .commerce-shell .woocommerce-Tabs-panel .detail-study {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.shelf-samples img {transition:none}}


html:lang(zh) .market-home,html:lang(zh) .commerce-shell {line-break:strict}

.sample-options[hidden],.detail-stories-grid a[hidden] {display:none}
.sample-options {display:flex;flex-wrap:wrap;gap:.3rem .65rem}
.sample-options button {color:inherit;background:transparent;border:0;border-bottom:2px solid transparent;padding:.42rem .1rem;font:500 .98rem/1.4 var(--sans);text-align:start}
.sample-options button[aria-pressed=true] {border-color:var(--brand);color:var(--brand);font-weight:700}
.sample-reader .wrap {display:grid;grid-template-columns:minmax(12rem,.72fr) minmax(0,2.7fr);gap:1rem clamp(1.5rem,3.5vw,4rem);align-items:start}
.sample-reader h2 {margin:0;grid-column:1}
.sample-reader .sample-options {grid-column:1;align-self:start;display:grid;justify-items:start}
.sample-reader .detail-stories-grid {grid-column:2;grid-row:1/span 2;display:block}
.sample-reader .detail-stories-grid a:not([hidden]) {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:center;gap:clamp(1rem,2vw,2.2rem)}
.sample-reader .detail-stories-grid img {aspect-ratio:1.5;max-height:320px}
.sample-writing bdi {font:500 .81rem/1.3 var(--sans);letter-spacing:.05em;color:var(--muted)}
.sample-writing span {display:inline-block;margin-top:.72rem;font-size:.9rem;text-decoration:underline;text-underline-offset:.25em}
@media(max-width:800px){
    .sample-reader .wrap {display:block}
    .sample-reader .sample-options {display:flex;margin:.6rem 0 1rem}
}
@media(max-width:570px){
    .sample-reader .detail-stories-grid a:not([hidden]) {grid-template-columns:minmax(0,1fr);gap:.55rem}
    .sample-reader .detail-stories-grid img {aspect-ratio:2}
    .sample-reader .sample-options {gap:.25rem .7rem}
    .sample-options button {font-size:.89rem}
}
