/*
Theme Name: Zjipu
Description: A vintage and collectibles storefront for WooCommerce.
Version: 1.0.0
Text Domain: zjipu
*/
@font-face{font-family:Instrument Sans;src:url(assets/fonts/instrument-sans.woff2) format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:Baskervville;src:url(assets/fonts/baskervville.woff2) format("woff2");font-style:normal;font-weight:400;font-display:swap}
:root{
	--ink:#252c25;--muted:#595e56;--forest:#294238;--forest-dark:#1f322b;
	--paper:#fffefa;--mist:#f2f0e9;--rule:#deded4;--gutter:clamp(20px,5vw,90px);
	--serif:"Baskervville",Georgia,serif;--sans:"Instrument Sans",Arial,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--paper);font:400 16px/1.55 var(--sans);overflow-wrap:break-word}
a{color:inherit;text-underline-offset:.23em}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
button,summary,select{cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #7b5533;outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.z-skip:focus{clip:auto;width:auto;height:auto;top:5px;left:5px;padding:9px;background:var(--paper);z-index:30}
.z-container{width:min(100%,1536px);padding-inline:var(--gutter);margin-inline:auto}
h1,h2,h3,p,figure{margin-top:0}
h1,h2,.z-collection-name{font-family:var(--serif);font-weight:400}
h1,h2{line-height:1.08;letter-spacing:-.045em;text-wrap:balance}
.z-header{position:relative;z-index:5;background:var(--paper);border-bottom:1px solid var(--rule)}
.z-header-inner{min-height:80px;display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center}
.z-logo{width:max-content;font:400 clamp(41px,4vw,57px)/1 var(--serif);letter-spacing:-.085em;text-decoration:none;color:var(--forest);padding-right:.07em}
.z-main-nav,.z-tools,.z-cart-link,.z-search summary{display:flex;align-items:center}
.z-main-nav{gap:36px}
.z-header a:not(.z-logo),.z-search summary{font-size:14px;font-weight:500;text-decoration:none}
.z-header a:not(.z-logo):hover,.z-search summary:hover,.z-footer nav a:hover{text-decoration:underline}
.z-tools{justify-content:flex-end;gap:25px}
.z-search{position:relative}
.z-cart-link,.z-search summary{gap:7px;min-height:44px}
.z-search summary{list-style:none}
.z-search summary::-webkit-details-marker{display:none}
.z-tools svg{width:20px;height:20px}
.z-search form{position:absolute;top:100%;right:0;display:flex;width:min(330px,calc(100vw - 38px));padding:10px;gap:6px;border:1px solid var(--rule);background:var(--paper);box-shadow:0 8px 19px #252b2414}
.z-search input{min-width:0;flex:1}
.z-search form input,.z-search form button{border:1px solid var(--rule);padding:8px 10px}
.z-search form button{background:var(--forest);color:#fff}
.z-hero{position:relative;isolation:isolate;overflow:hidden;background:#ded6c4}
.z-hero-image{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 54%}
.z-hero-inner{min-height:clamp(330px,31vw,510px);display:flex;align-items:center;padding-block:35px}
.z-hero-panel{max-width:550px;padding:clamp(26px,3.6vw,61px);color:var(--forest-dark);background:#f7f4e9f5}
.z-hero h1{font-size:clamp(48px,4.7vw,74px);line-height:1.005;margin:0 0 28px}
.z-button,.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt{display:inline-flex;align-items:center;justify-content:center;gap:24px;padding:13px 22px;line-height:1.3;min-height:46px;border:0;border-radius:1px;background:var(--forest);color:white;font-size:14px;font-weight:500;text-decoration:none}
.z-button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover,.woocommerce input.button.alt:hover{background:var(--forest-dark);color:white}
.z-button span,.z-collection-name span{font-family:Arial,sans-serif}
.z-section,.z-collection-section{padding-block:clamp(42px,5vw,84px)}
.z-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:clamp(22px,2.4vw,35px)}
.z-section-head h2,.z-commerce .related>h2,.z-commerce .upsells>h2{font-size:clamp(35px,3.25vw,54px);margin:0}
.z-text-link{display:inline-flex;gap:11px;align-items:center;font-size:14px;font-weight:500;white-space:nowrap}
.z-text-link span{font-size:18px;text-decoration:none}
.z-products,.z-collections,.woocommerce ul.products,.woocommerce-page ul.products{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px clamp(13px,1.6vw,28px)}
.woocommerce ul.products::before,.woocommerce ul.products::after,.woocommerce-page ul.products::before,.woocommerce-page ul.products::after{display:none}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product,.woocommerce ul.products[class*=columns-] li.product,.woocommerce-page ul.products[class*=columns-] li.product{width:100%;float:none;clear:none;margin:0;min-width:0}
.z-card{display:flex;flex-direction:column;text-decoration:none;align-items:flex-start}
.z-card-photo,.z-collection-photo{display:grid;place-items:center;width:100%;overflow:hidden;background:var(--mist)}
.z-card-photo{position:relative;aspect-ratio:1/1}
.z-image-credit{position:absolute;bottom:6px;left:6px;max-width:calc(100% - 12px);padding:2px 6px;background:#fffdf4eb;color:#393c34;font:400 10px/1.4 var(--sans)}
.z-card-photo img,.z-collection-photo img,.woocommerce ul.products li.product .z-card-photo img{display:block;width:100%;height:100%;object-fit:cover;margin:0;transition:transform .3s ease}
.z-card:hover img,.z-collections a:hover img{transform:scale(1.025)}
.z-card-category{font-size:11px;line-height:1.3;letter-spacing:.065em;text-transform:uppercase;color:var(--muted);margin:14px 0 5px}
.z-card-name{font:400 clamp(16px,1.2vw,20px)/1.32 var(--sans);letter-spacing:-.015em}
.z-card-photo+.z-card-name{margin-top:13px}
.z-card:hover .z-card-name{text-decoration:underline}
.z-card-price{font-size:14px;line-height:1.4;margin-top:7px;font-variant-numeric:tabular-nums}
.z-card-price ins{text-decoration:none}
.z-reference-price>span:first-child{color:var(--muted)}
.z-single-reference-price{font-size:21px;margin-bottom:16px}
.woocommerce div.product p.price:empty{display:none}
.z-image-pending{display:block;padding:16px;text-align:center;color:var(--muted);font-size:13px}
.z-collection-section{background:var(--mist);scroll-margin-top:12px}
.z-collections{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px clamp(14px,2vw,30px)}
.z-collections li{min-width:0}
.z-collections a{display:block;text-decoration:none}
.z-collection-photo{aspect-ratio:1.8/1;background:#e5e3d9}
.z-collection-name{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;font-size:clamp(21px,2vw,31px);letter-spacing:-.035em}
.z-collection-name span{font-size:.72em}
.z-footer{background:var(--forest-dark);color:#f8f7ec}
.z-footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px;padding-block:clamp(42px,5vw,85px)}
.z-footer-brand{display:flex;flex-direction:column;gap:18px}
.z-footer .z-logo{color:inherit}
.z-footer small{font-size:12px;color:#d1dace}
.z-footer nav h2{font:500 16px var(--sans);margin-bottom:14px;letter-spacing:0}
.z-footer nav a{display:block;width:fit-content;color:#e8eee2;text-decoration:none;font-size:14px;margin:6px 0}
.z-page,.z-commerce{padding-block:clamp(30px,3.8vw,62px) clamp(55px,6vw,100px);min-height:50vh}
.z-page h1,.z-archive-head h1,.woocommerce div.product .product_title{font-size:clamp(35px,4vw,66px);margin-bottom:22px}
.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:12px;margin:0 0 24px}
.woocommerce .woocommerce-breadcrumb a{color:inherit}
.z-archive-head{max-width:72ch}
.z-category-filter{display:flex;flex-wrap:wrap;gap:8px;border-block:1px solid var(--rule);padding:15px 0;margin:24px 0 18px}
.z-category-filter a{font-size:13px;text-decoration:none;padding:4px 10px;border:1px solid transparent}
.z-category-filter a[aria-current],.z-category-filter a:hover{border-color:var(--forest);color:var(--forest)}
.z-archive-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:24px}
.z-archive-toolbar .woocommerce-notices-wrapper{width:100%;display:contents}
.z-archive-toolbar .woocommerce-message,.z-archive-toolbar .woocommerce-error,.z-archive-toolbar .woocommerce-info{width:100%}
.z-archive-toolbar .woocommerce-result-count,.z-archive-toolbar .woocommerce-ordering{float:none;margin:0;font-size:14px}
.z-archive-toolbar select{background:var(--paper);color:var(--ink);padding:8px;border:1px solid var(--rule);max-width:100%}
.woocommerce nav.woocommerce-pagination{margin-top:35px}
.woocommerce nav.woocommerce-pagination ul,.woocommerce nav.woocommerce-pagination ul li{border-color:var(--rule)}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:.7em .9em}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--forest);color:#fff}
.woocommerce div.product .product_title{font-size:clamp(32px,3.2vw,52px);margin-bottom:15px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--forest);font-size:23px}
.woocommerce div.product .woocommerce-product-details__short-description{margin-block:18px}
.z-reference-status{font:500 14px/1.5 var(--sans);color:var(--forest);padding-block:12px;border-block:1px solid var(--rule)}
.z-reference-status span{padding-inline:3px}
.z-commerce .woocommerce-tabs dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 18px}
.z-commerce .woocommerce-tabs dt{font-weight:600}
.z-commerce .woocommerce-tabs dd{margin:0}
.woocommerce div.product .quantity .qty{height:46px;width:4.1em;color:var(--ink);border:1px solid var(--rule);border-radius:0}
.woocommerce div.product .summary,.woocommerce-page div.product .summary{margin-bottom:40px}
.z-single-illustration{width:48%;float:left;margin:0 0 32px}
.z-single-illustration img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.z-single-illustration .z-image-pending{background:var(--mist);aspect-ratio:1;align-content:center}
.z-single-illustration figcaption{font-size:13px;color:var(--muted);padding-top:10px}
.woocommerce div.product .product_meta>span{display:block;font-size:14px;margin:4px 0}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border:0;border-radius:0;margin:0 .8em 0 0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-weight:500}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:transparent;border-bottom:2px solid var(--ink)}
.woocommerce div.product .woocommerce-tabs .panel{max-width:85ch}
.z-commerce .related,.z-commerce .upsells{clear:both;padding-top:26px}
.z-commerce .related>h2,.z-commerce .upsells>h2{margin-bottom:24px}
.woocommerce-error,.woocommerce-info,.woocommerce-message{background:var(--mist);color:var(--ink)}
.woocommerce-info,.woocommerce-message{border-top-color:var(--forest)}
.woocommerce-info::before,.woocommerce-message::before{color:var(--forest)}
.z-page .wc-block-cart__submit-button,.z-page .wc-block-components-checkout-place-order-button{background:var(--forest);color:#fff;border-radius:1px}
.z-page .wp-block-woocommerce-cart,.z-page .wp-block-woocommerce-checkout{font-family:var(--sans)}
@media(max-width:780px){
	.z-header-inner{min-height:71px;gap:12px}
	.z-main-nav,.z-tools{gap:17px}
	.z-hero-inner{min-height:330px}
	.z-products,.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
	.z-collections{grid-template-columns:repeat(2,minmax(0,1fr))}
	.z-single-illustration{float:none;width:100%}
	.woocommerce div.product .images,.woocommerce div.product .summary,.woocommerce-page div.product .images,.woocommerce-page div.product .summary{float:none;width:100%}
}
@media(max-width:580px){
	.z-header-inner{min-height:66px;grid-template-columns:1fr auto;gap:0 14px}
	.z-logo{font-size:41px}
	.z-header .z-logo{margin-block:7px 10px}
	.z-main-nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:30px;padding:7px 0 9px;border-top:1px solid var(--rule)}
	.z-tools{grid-area:1/2}
	.z-search summary>span{display:none}
	.z-search form{right:-64px}
	.z-hero-inner{min-height:320px;align-items:flex-end;padding-block:18px}
	.z-hero-image{object-position:65% center}
	.z-hero-panel{padding:17px 21px 19px;max-width:265px}
	.z-hero h1{font-size:40px;margin-bottom:14px}
	.z-button{min-height:40px;padding:10px 14px;gap:12px}
	.z-products,.woocommerce ul.products,.woocommerce-page ul.products{row-gap:23px}
	.z-card-category{margin-top:10px}
	.z-card-name{font-size:15px}
	.z-card-price{font-size:13px}
	.z-collections{gap:19px 12px}
	.z-collection-name{font-size:20px;line-height:1.12}
	.z-footer-inner{grid-template-columns:1fr 1fr}
	.z-footer-brand{grid-column:1/-1;gap:12px}
	.z-archive-toolbar{align-items:flex-start}
	.z-category-filter{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:0s!important;scroll-behavior:auto!important}}
