/* Shared final polish: calm motion, readable controls and visible keyboard focus. */
:root{--ease-out:cubic-bezier(.22,1,.36,1)}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #b51b2a;outline-offset:4px}
:where(input,select,textarea){accent-color:#df1728}
#main:focus:not(:focus-visible){outline:none}
.site-loading{min-height:55vh;display:grid;place-items:center;color:#68665e;font-size:15px}
.navline nav>a{position:relative;min-height:44px;display:inline-flex;align-items:center}
.navline nav>a[aria-current=page]:after{content:'';position:absolute;bottom:3px;left:0;right:0;height:2px;background:#df1728;border-radius:2px}
.product-card{border-radius:10px;overflow:hidden}
.product-body h3{font-size:14.5px;line-height:1.65}
.product-topline{row-gap:5px;flex-wrap:wrap}
.product-code{font-variant-numeric:tabular-nums;letter-spacing:.2px}
.product-visual{background:#f7f6f3}
.product-card .fav,.product-card .add-icon{min-width:38px;min-height:38px}
.product-card .compare-button{min-height:38px}
.product-card .product-price,.detail-price,.cart-total{font-variant-numeric:tabular-nums}
.catalog-toolbar{border-radius:9px}
.catalog-results #resultCount{font-variant-numeric:tabular-nums}
.home-picks .product-body h3{font-size:14.5px}
.home-picks .product-code{font-size:13px}
.home-picks .product-topline>span:last-child{font-size:13px}
.home-picks .card-specs,.home-picks .price-label{font-size:13px}
.home-paths strong{font-size:14.5px}.home-paths small{font-size:13px;line-height:1.7}
.home-category-title p{font-size:13px;line-height:1.65}
.home-category-count{font-size:13px}.home-kicker{font-size:13px}
.home-partner-list a{border-radius:8px}
.home-partner-list a:hover{background:#f3f1eb}
.home-section-heading h2{letter-spacing:-.8px}
.back-to-top{position:fixed;right:22px;bottom:24px;width:44px;height:44px;border-radius:50%;border:1px solid #d9d5ce;background:#fff;color:#332c27;box-shadow:0 5px 20px #31271f16;display:grid;place-items:center;z-index:19;cursor:pointer}
.back-to-top svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.back-to-top:hover{background:#3d2029;color:white}.has-compare .back-to-top{bottom:112px}
.facet-drawer[open]{overscroll-behavior:contain}.facet-drawer-header{position:sticky;top:0;z-index:2;background:white}
#resultCount,#collectionCount{font-variant-numeric:tabular-nums}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 .product-card,.furniture-card{transition:box-shadow .25s,transform .25s var(--ease-out)}
 .product-card:hover,.furniture-card:hover{box-shadow:0 12px 28px #342c2010;transform:translateY(-3px)}
 .home-button svg,.home-text-link svg,.home-paths>a>svg{transition:transform .25s var(--ease-out)}
 .home-button:hover svg,.home-text-link:hover svg,.home-paths>a:hover>svg{transform:translateX(4px)}
}
@media(prefers-reduced-motion:no-preference){
 dialog[open]{animation:dialog-enter .2s var(--ease-out)}
 dialog[open]::backdrop{animation:backdrop-enter .2s ease-out}
 @keyframes dialog-enter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
 @keyframes backdrop-enter{from{opacity:0}to{opacity:1}}
}
@media(max-width:1100px){.home-paths strong{font-size:14px}.home-paths small{font-size:13px}}

@media(max-width:600px){
 .home-category-title p{font-size:13px}.home-category-count{font-size:13px}.home-category-title h3{font-size:17px}
 .home-picks .product-body h3,.product-body h3{font-size:14px;min-height:40px}
 .home-picks .product-topline>span:last-child,.home-picks .product-code{font-size:13px}
 .home-picks .card-specs,.home-picks .price-label{font-size:13px}
 .home-picks .product-bottom,.product-bottom{align-items:flex-end;flex-wrap:wrap}
 .home-picks .add-icon{width:38px;height:38px;min-width:38px}
 .home-paths strong{font-size:14px}.home-paths small{font-size:13px}
 .home-overline{font-size:13px}.atelier-hero-copy>p{font-size:14px}.home-hero-secondary{font-size:14px;min-height:42px}.home-button{font-size:14px;min-height:48px}
 .home-product-tabs{gap:22px}.home-product-tabs button{font-size:14px;min-height:44px}
 .home-category-materials .home-category-title{max-width:65%}
 .navline nav>a{min-height:40px}.header-actions .icon-link{min-width:38px;min-height:42px}.is-home .header-actions{gap:12px}
 .catalog-toolbar select,.catalog-toolbar{font-size:13px}.facet-option{min-height:42px}
 .footer-grid>div>a:not(.brand){font-size:13px;min-height:32px}.footer-grid h3{font-size:14px}
 .back-to-top{right:14px;bottom:16px}.has-compare .back-to-top{bottom:104px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.back-to-top{display:none!important}}
/* Keep the store and studio links visible on tablets as well as phones. */
@media(max-width:900px){
 .navline>.container{flex-wrap:wrap}
 .category-toggle,.is-home .category-toggle{width:100%;min-width:0;justify-content:space-between}
 .navline nav,.is-home .navline nav{flex:0 0 100%;width:100%;padding:9px 0;gap:18px;justify-content:space-between;overflow:visible}
 .navline nav>a:not(.studio-link):not(.otkhiani-link),.is-home .navline nav>a:not(.studio-link):not(.otkhiani-link){display:none}
 .navline nav>a.otkhiani-link,.navline nav>a.studio-link,.is-home .navline nav>a.otkhiani-link,.is-home .navline nav>a.studio-link{display:inline-flex;min-height:40px;margin:0;font-size:13px}
}

/* Browsing by type is the primary entry into the fittings department. */
.hardware-directory{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 28px}
.hardware-directory a{display:flex;align-items:center;gap:12px;min-height:82px;padding:8px 14px 8px 8px;background:#fff;border:1px solid #e1ddd7;border-radius:8px}
.hardware-directory a:hover,.hardware-directory a:focus-visible{border-color:var(--wine);background:#fcfaf8}
.hardware-directory img{flex:none;width:64px;height:62px;object-fit:contain;border-radius:4px}
.hardware-directory .empty-group{background:#f6f5f3}.hardware-directory .empty-group img{opacity:.55}
.hardware-directory strong,.hardware-directory small{display:block}
.hardware-directory strong{font-size:15px;line-height:1.5}
.hardware-directory small{margin-top:3px;color:#645e59;font-size:13px}
.segment-chevron{margin-left:auto;color:var(--wine);font-size:19px}
.segment-children{padding:0 0 10px;border-bottom:1px solid #e1ddd7}
.mega-grid{grid-template-columns:minmax(120px,1fr) minmax(240px,2fr)}
.mega-grid>div:last-child{display:grid;grid-template-columns:1fr 1fr;align-content:start;column-gap:14px}
.mega-grid>div:last-child h3{grid-column:1/-1}
@media(max-width:1000px){.hardware-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hardware-directory{gap:7px;margin-bottom:20px}.hardware-directory a{min-height:65px;gap:7px;padding:5px}.hardware-directory img{width:39px;height:45px}.hardware-directory strong{font-size:14px}.hardware-directory small{font-size:13px}.hardware-directory .segment-chevron{display:none}.mega-grid{grid-template-columns:1fr 1fr}.mega-grid>div:last-child{display:block}}
