/*
Theme Name: Shop H
Description: A collection-led wardrobe storefront for WooCommerce.
Version: 1.0.1
Text Domain: shop-h
*/
@font-face{font-family:Instrument Sans;src:url(assets/fonts/instrument-sans.woff2) format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:Baskervville;src:url(assets/fonts/baskervville.woff2) format("woff2");font-weight:400;font-display:swap}
:root{--ink:#151515;--quiet:#626260;--line:#dad9d6;--paper:#fff;--edge:clamp(18px,2.65vw,48px);--serif:Baskervville,Georgia,serif;font-family:"Instrument Sans",Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0;font-size:16px;line-height:1.5}
img{display:block;max-width:100%}
a{color:inherit;text-underline-offset:.25em}
button,input,select,textarea{font:inherit;color:inherit}
button,summary,select{cursor:pointer}
button{background:white;border:0}
h1,h2,h3,p{margin:0}
:focus-visible{outline:2px solid #24518b;outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.skip-link:focus{position:fixed!important;clip:auto!important;width:auto;height:auto;clip-path:none;background:white;top:calc(var(--wp-admin--admin-bar--height,0px) + 6px);left:6px;padding:10px;z-index:90}
.h-header{position:sticky;top:0;z-index:20;background:var(--paper)}
.admin-bar .h-header{top:32px}
.h-mast{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:78px;padding:0 var(--edge)}
.h-primary,.h-tools{display:flex;align-items:center;gap:clamp(16px,2.8vw,46px)}
.h-tools{justify-self:end}
.h-mast nav a,.h-mast button,.h-mobile-categories a,.h-archive-controls summary,.h-archive-controls select,.h-footer nav h2{font-size:clamp(.76rem,.98vw,.94rem);font-weight:450;letter-spacing:.075em;text-transform:uppercase}
.h-mast nav a,.h-mast button,.h-mobile-categories a{display:inline-flex;align-items:center;min-height:44px;padding:0;text-decoration:none;white-space:nowrap}
.h-mast nav a:hover,.h-mast button:hover,.h-mobile-categories a:hover,.h-drawer a:hover,.h-footer a:hover{text-decoration:underline}
.h-wordmark,.h-footer-logo{font-family:"Helvetica Neue","Instrument Sans",Arial,sans-serif;font-weight:300;text-decoration:none;letter-spacing:-.045em;line-height:1;text-transform:none;white-space:nowrap}
.h-wordmark{font-size:clamp(32px,2.7vw,46px)}
.h-counter::before{content:'('}.h-counter::after{content:')'}
.h-mobile-categories,.h-mobile-menu,.h-search-icon,.h-bag-icon,.h-mast .h-mobile-menu,.h-mobile-only{display:none}
.h-drawer{position:fixed;inset:0 auto 0 0;width:min(460px,100%);height:100dvh;max-width:100%;max-height:100%;margin:0;padding:28px clamp(24px,3vw,42px);border:0;overscroll-behavior:contain;color:var(--ink)}
.h-drawer::backdrop{background:#18181855}
.h-drawer-head,.h-shelf header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.h-drawer-head{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:18px}
.h-drawer h2,.h-shelf h2,.h-archive-title h1,.h-page h1{font:400 clamp(32px,3.1vw,52px)/1.08 var(--serif)}
.h-drawer-head button,.h-drawer-account,.h-shelf header a{font-size:.9rem;text-underline-offset:.25em;text-decoration:underline}
.h-drawer-head button,.h-drawer details summary{padding:10px 0}
.h-drawer nav{display:grid}
.h-drawer nav a,.h-drawer-account{min-height:42px;display:flex;align-items:center;text-decoration:none}
.h-drawer details,.h-drawer-account{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}
.h-drawer form,.h-filter-actions{display:flex;gap:12px;margin:20px 0}
.h-drawer form input{flex:1;min-width:0}
.h-drawer input,.h-archive-controls input[type=number],.h-store select,.h-page select,.h-page input:not([type=checkbox]):not([type=radio]),.h-page textarea{border:1px solid #9c9c98;background:#fff;border-radius:0;padding:10px 12px;font-size:16px}
.h-drawer form button,.h-filter-actions button{background:var(--ink);color:white;padding:10px 20px}
.h-hero{background:#efefed}
.h-hero>a{display:block;position:relative;text-decoration:none}
.h-hero-photos{display:grid;grid-template-columns:1fr 1fr;height:clamp(520px,56.25vw,calc(100svh - 68px));overflow:hidden}
.h-hero-photos>img,.h-hero-photos picture{min-height:0;min-width:0}
.h-hero-photos picture{display:block;overflow:hidden;background:#ebebeb}
.h-hero-photos img{width:100%;height:100%;object-fit:cover;object-position:center top}
.h-hero-photos .h-hero-left{object-fit:contain;background:#f0f0f0}
.h-hero-copy{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center;width:max-content;max-width:90%;padding:0 8px;color:#0a0a0a}
.h-hero-copy h1{font:400 clamp(30px,2.65vw,48px)/1.06 var(--serif);letter-spacing:-.025em}
.h-hero-copy span{display:inline-block;font-size:clamp(14px,1.15vw,18px);margin-top:.55em;text-decoration:underline;text-underline-offset:4px}
.h-hero a:hover .h-hero-copy span{text-decoration-thickness:2px}
.h-editorial,.h-shelf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.1vw,20px)}
.h-editorial,.h-shelf,.h-archive{padding:0 var(--edge)}
.h-editorial{margin:clamp(38px,4.6vw,80px) 0}
.h-editorial a{display:block;text-decoration:none;text-align:center}
.h-editorial img{width:100%;height:auto;aspect-ratio:5/7;object-fit:cover}
.h-editorial span{display:block;margin-top:12px;font:400 clamp(22px,2vw,32px)/1.15 var(--serif)}
.h-editorial a:hover span,.h-card:hover .h-card-name{text-decoration:underline}
.h-shelf{margin:clamp(50px,6vw,98px) 0}
.h-shelf header{margin-bottom:24px}
.h-card{display:block;color:inherit;text-decoration:none}
.h-card-image{position:relative;background:#efefed;overflow:hidden}
.h-card-image img,.woocommerce ul.products li.product .h-card-image img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;margin:0}
.h-hover-photo{position:absolute;inset:0;opacity:0}
@media(hover:hover) and (pointer:fine){.h-card:hover .h-hover-photo{opacity:1}}
.h-card-text{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:2px 10px;padding:10px 0 2px;font-size:.86rem;line-height:1.45}
.h-card-name,.woocommerce .related .h-card-name{font:500 .86rem/1.45 "Instrument Sans",Arial,sans-serif;margin:0}
.h-card-color{color:var(--quiet);font-size:.8rem;text-align:right}
.h-card .price,.woocommerce ul.products li.product .h-card .price{grid-column:1/-1;font-size:.85rem;color:var(--ink);margin:0}
.woocommerce .h-card .price ins,.summary .price ins{text-decoration:none}
.h-card .price del,.summary .price del{margin-right:.3em;color:var(--quiet)}
.h-archive{padding-bottom:55px}
.h-archive-title{text-align:center;margin:clamp(35px,4vw,66px) 0 28px}
.h-archive-title h1{font-size:clamp(32px,2.55vw,44px)}
.h-archive-controls{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:52px;gap:20px}
.h-archive-controls summary{list-style:none;padding:12px 0}
.h-archive-controls summary::after{content:' +'}
.h-archive-controls details[open] summary::after{content:' −'}
.h-archive-controls details form{position:absolute;z-index:3;top:100%;left:0;width:min(310px,95vw);padding:18px 20px;background:#fff;border:1px solid var(--line)}
.h-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}
.h-prices label,.h-stock{font-size:14px}
.h-prices input{width:100%;margin-top:4px}
.h-filter-actions{margin:0;align-items:center}
.woocommerce .h-archive-controls .woocommerce-ordering{margin:0}
.h-store .h-archive-controls select{border:0;padding:12px 2px;background:white}
.h-archive .products,.woocommerce .related ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px clamp(10px,1.1vw,20px);margin:0!important;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce .h-store ul.products li.product{width:auto!important;float:none;margin:0}
.woocommerce nav.woocommerce-pagination{margin:36px 0}
.woocommerce nav.woocommerce-pagination ul,.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:38px;padding:10px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--ink);color:#fff}
.h-page{max-width:1140px;min-height:45vh;margin:auto;padding:clamp(36px,5vw,85px) var(--edge)}
.h-page h1{margin:0 0 36px}
.h-page article>p{margin:.85em 0}
.h-page .woocommerce form .form-row input.input-text{min-height:44px}
.h-store>.product{position:relative}
.single-product .h-store>.product{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);align-items:start}
.single-product .h-store>.product::before,.single-product .h-store>.product::after{display:none}
.h-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:0;align-items:start}
.h-gallery a,.h-gallery img{display:block;margin:0;width:100%;height:auto}
.h-gallery a{cursor:zoom-in;background:#eee}
.h-gallery img{aspect-ratio:2/3;object-fit:cover}
.woocommerce div.product .summary.entry-summary{position:sticky;top:78px;width:auto;margin:0;float:none;padding:26px var(--edge) 45px}
.woocommerce div.product .product_title{font-size:clamp(17px,1.35vw,22px);font-weight:450;line-height:1.25;margin:0 0 8px}
.woocommerce div.product .summary .price{font-size:1rem;color:var(--ink);margin:0 0 30px}
.h-product-color{font-size:.9rem;margin:16px 0 10px}.h-product-color strong{font-weight:500;margin-left:5px}
.h-colorways{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 22px}
.h-colorways a{display:block;width:39px;border:1px solid transparent}
.h-colorways img{display:block;aspect-ratio:1;object-fit:cover}
.h-colorways a[aria-current]{border-color:var(--ink)}
.woocommerce div.product form.cart{margin:20px 0}
.woocommerce div.product form.cart .variations{margin-bottom:12px}
.woocommerce div.product form.cart .variations th{font-size:.88rem;text-align:left}
.woocommerce div.product form.cart .variations select{min-width:0;max-width:100%;width:100%;margin:0}
.woocommerce div.product form.cart .reset_variations{font-size:.8rem}
.woocommerce div.product form.cart .quantity .qty{min-height:45px;font-size:16px;border:1px solid var(--line);border-radius:0}
.woocommerce div.product form.cart .button,.woocommerce .h-page .button,.h-page .wp-element-button,.h-page .wc-block-components-button:not(.is-link),.woocommerce a.button.wc-forward{background:var(--ink);color:white;font-weight:450;border-radius:0}
.woocommerce div.product form.cart .single_add_to_cart_button{min-height:45px;width:calc(100% - 65px);text-transform:uppercase;letter-spacing:.07em;font-size:.84rem}
.woocommerce div.product form.cart::after{display:block;content:"";clear:both}
.woocommerce .h-detail{border-top:1px solid var(--line);font-size:.93rem}
.h-detail summary{padding:14px 0;list-style:none;display:flex;justify-content:space-between}
.h-detail summary::after{content:"+"}.h-detail[open] summary::after{content:"−"}
.h-detail>div{padding:0 0 18px;color:#454542}
.h-detail p+p{margin-top:.7em}
.woocommerce .related{grid-column:1/-1;padding:var(--edge);margin:30px 0}
.woocommerce .related h2{font:400 36px/1.1 var(--serif);margin-bottom:20px}
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-notices-wrapper{grid-column:1/-1}
.h-footer{background:#f4f3ef;display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px;padding:clamp(40px,5.5vw,86px) var(--edge) 24px}
.h-footer-logo{align-self:start;font-size:clamp(56px,6vw,98px)}
.h-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.h-footer nav h2{margin-bottom:12px}
.h-footer nav a{font-size:.9rem;text-decoration:none;padding:4px 0}
.h-footer small{grid-column:1/-1;color:var(--quiet);font-size:.8rem;margin-top:16px}
@media(max-width:900px){
	.h-primary,.h-tools{gap:clamp(8px,1.7vw,18px)}
	.h-mast{min-height:65px}
	.woocommerce div.product .summary.entry-summary{top:65px;padding:20px}
	.h-card-text{grid-template-columns:1fr}
	.h-card-color{text-align:left}
}
@media(max-width:700px){
	.admin-bar .h-header{top:46px}
	.h-mast{min-height:57px;padding:0 16px}
	.h-mast .h-primary,.h-tools .h-account,.h-tool-label{display:none}
	.h-mast .h-mobile-menu{display:inline-flex;justify-self:start;font-size:0;min-width:44px}
	.h-mobile-menu span{width:18px;height:13px;border-block:1px solid currentColor;position:relative}
	.h-mobile-menu span::after{content:"";display:block;position:absolute;top:5px;height:1px;width:100%;background:currentColor}
	.h-mobile-categories{display:flex;overflow-x:auto;gap:20px;scrollbar-width:none;padding:0 16px;border-bottom:1px solid #eee}
	.h-mobile-categories::-webkit-scrollbar{display:none}
	.h-mobile-categories a{font-size:.76rem;min-height:43px}
	.h-tools{gap:4px}
	.h-tools .h-search-trigger,.h-tools .h-bag{justify-content:center;position:relative;min-width:36px}
	.h-search-icon{display:block;width:15px;height:15px;border:1.3px solid;border-radius:50%;position:relative}
	.h-search-icon::after{content:'';position:absolute;top:12px;left:11px;width:8px;height:1.3px;background:currentColor;transform:rotate(45deg);transform-origin:left}
	.h-bag-icon{display:block;width:16px;height:17px;border:1.3px solid;position:relative}
	.h-bag-icon::before{content:'';position:absolute;top:-6px;left:3px;width:7px;height:6px;border:1px solid;border-radius:5px 5px 0 0}
	.h-counter{position:absolute;font-size:9px;line-height:1;letter-spacing:0;top:19px}
	.h-counter::before,.h-counter::after{content:none}
	.h-mobile-only{display:inline}
	.h-wordmark{font-size:33px}
	.h-hero-photos{display:block;height:auto;overflow:hidden;padding-top:80px;background:#f1f1f1}
	.h-hero-photos .h-hero-left{height:auto;aspect-ratio:auto;max-height:calc(100svh - 180px);min-height:360px;width:100%;object-fit:contain}
	.h-hero-photos picture{display:none}
	.h-hero-copy{top:20px;left:50%;transform:translateX(-50%);max-width:95%}
	.h-hero-copy h1{font-size:clamp(26px,7.1vw,33px)}
	.h-hero-copy span{margin-top:3px;font-size:14px}
	.h-editorial,.h-shelf-grid,.h-archive .products,.woocommerce .related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
	.h-editorial,.h-shelf-grid{row-gap:24px}
	.h-editorial,.h-shelf,.h-archive{padding-inline:14px}
	.h-card-text{font-size:.84rem;padding-top:8px}
	.h-shelf header{margin-bottom:16px}
	.h-archive-title{margin:32px 0 14px}
	.h-archive-controls select{max-width:180px}
	.single-product .h-store>.product{display:block}
	.h-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:2px;scrollbar-width:thin}
	.h-gallery a{flex:0 0 83%;scroll-snap-align:start}
	.h-gallery img{max-height:67svh;object-fit:cover}
	.woocommerce div.product .summary.entry-summary{position:static;padding:26px 20px}
	.woocommerce div.product .summary .price{margin-bottom:20px}
	.h-footer{grid-template-columns:1fr 1fr;padding:35px 18px 18px}
	.h-footer-logo{grid-column:1/-1}
	.h-footer nav a{padding:6px 0}
}
@media(prefers-reduced-motion:no-preference){.h-hover-photo{transition:opacity .2s ease}}

.h-size-buttons{display:flex;flex-wrap:wrap;gap:7px}
.h-size-buttons button{min-width:42px;min-height:42px;background:#fff;border:1px solid var(--line);padding:6px 9px;color:var(--ink);font-size:.92rem}
.h-size-buttons button[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 0 -2px var(--ink)}
.h-size-buttons button:disabled{color:#858585;text-decoration:line-through;cursor:not-allowed}
.h-size-buttons button:not(:disabled):hover{border-color:var(--ink)}
.h-store [hidden]{display:none!important}
#main{scroll-margin-top:90px}
@media(max-width:700px){#main{scroll-margin-top:108px}}
