/*
Theme Name: Sleevemark
Version: 1.5.1
Requires at least: 6.6
Requires PHP: 7.4
Author: Sleevemark
Description: Lightweight storefront for the Sleevemark embroidered gift catalog.
*/
body.woocommerce .sm-header,body.woocommerce-page .sm-header{background:#fbf9f3}
.woocommerce #main>ul.products,.woocommerce #main>.woocommerce-products-header,.woocommerce #main>.woocommerce-ordering,.woocommerce #main>.woocommerce-result-count,.woocommerce #main>.woocommerce-notices-wrapper{margin-left:5%;margin-right:5%}
.woocommerce #main>nav.crumb{max-width:1550px;margin:22px auto 16px;padding:0 5.1%}
.woocommerce div.product .productTitle h1{float:none}.woocommerce div.product form.cart .variations label{font-weight:600}.woocommerce div.product form.cart .variations select{padding:.5em;border:1px solid #a5ab9d;border-radius:4px;background:#fbf9f3}.woocommerce .single_add_to_cart_button.button.alt,.woocommerce .button.alt,.woocommerce .wc-proceed-to-checkout a.checkout-button{background:#263f32;color:white}.woocommerce div.product p.price{color:#344836}.galleryThumb[hidden]{display:none}.purchase .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.purchase #giftDetails{flex-basis:100%}.woocommerce ul.products li.product h2{font-size:1.35rem}.woocommerce ul.products li.product p{color:#344836}
body.page{padding:0;max-width:none}.pcard[hidden],#sm-more[hidden]{display:none}

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#sidebar,#secondary,.widget-area,.woocommerce-sidebar{display:none!important}

.bagLink .count{background:#263f32;color:#fbf9f3;font-weight:650;line-height:1.35;padding:0 5px}
@media(max-width:750px){
 .sm-header .nav{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand bag" "links links";align-items:center;column-gap:12px;row-gap:0;padding:12px 4% 8px}
 .sm-header .brand{grid-area:brand}
 .sm-header .tools{grid-area:bag;margin:0;justify-self:end}
 .sm-header nav{grid-area:links;display:flex;width:100%;justify-content:space-evenly;gap:0;order:0}
 .sm-header nav a{flex:1 1 0;text-align:center;padding:12px 6px;white-space:nowrap}
}

.heroContent{width:100%;max-width:min(920px,100%);min-width:0;container-type:inline-size}
.hero h1{font-size:clamp(28px,8.2vw,72px)}
.hero h1{font-size:clamp(28px,11cqw,88px)}
.hero h1 span,.hero h1 em{display:block;white-space:nowrap;line-height:1.02}
@media(max-width:660px){
 .hero{height:auto;min-height:0;flex-direction:column;align-items:stretch;justify-content:flex-start;background-image:none;background-color:#102317}
 .hero:before{position:relative;inset:auto;z-index:0;display:block;flex:none;width:100%;height:58vw;min-height:200px;max-height:250px;background:#213b2b url("assets/hero.webp") 82% center/cover no-repeat}
 .heroContent{padding:18px 5% 20px}
 .hero p{max-width:36rem}
 .hero .spot{top:calc(min(250px, max(200px, 58vw)) - 54px);bottom:auto;right:4%;z-index:2}
}
.strip .short{display:none}
@media(max-width:760px){
 .strip{justify-content:space-evenly;gap:8px;font-size:13px}
 .strip>span,.strip>span:last-child{display:flex}
 .strip>span .long{display:none}
 .strip>span .short{display:inline}
}

nav.crumb{display:flex;flex-wrap:wrap;align-items:center;gap:2px 0;margin:0 0 26px;font-size:14px;line-height:1.4;color:#606858}
nav.crumb a{color:#263f32;text-decoration:none}
nav.crumb a:hover{text-decoration:underline;text-underline-offset:3px}
.crumbSep{margin:0 .7em;color:#b0b3a4}
.crumbHere{color:#252f26}
.productPage>nav.crumb{margin:0 0 26px;padding:0;max-width:none}
.productKicker{flex-wrap:wrap;row-gap:4px;margin:0}
.productKicker a{text-decoration:none}
.kickerSep{opacity:.45}
.productGallery .galleryThumbs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}
.galleryThumb{flex:none}
#sm-stage.fitContain,.galleryThumb[data-role="inside"] img{object-fit:contain;background:#ece7dc}

.page.customPage{max-width:1040px}
.customIntro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);gap:clamp(28px,5vw,72px);align-items:center}
.customSplashArt{min-height:280px;border-radius:16px;background:radial-gradient(circle at 30% 18%,#fffdf8,transparent 42%),#e7e2d4;border:1px solid #ddd8c8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#88483d;text-align:center}
.customSplashArt span{font-size:72px;line-height:1}
.customSplashArt small{font:700 12px/1.45 "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.16em}
.customSteps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:42px 0 0;padding:0;list-style:none}
.customSteps li{background:#fffdf8;border:1px solid #e4e1d4;border-radius:12px;padding:22px 20px}
.customSteps b{display:block;margin-bottom:10px;color:#88483d;font:700 12px "IBM Plex Mono",ui-monospace,monospace;letter-spacing:.14em}
.customSteps h3{margin:0 0 6px;font-size:22px;letter-spacing:-.03em}
.customSteps p{margin:0;color:#5b6459}
.wizardIntro .intro,.customIntro .intro{max-width:42rem}
.sm-wizard{margin-top:8px;background:#fffdf8;border:1px solid #e4e1d4;border-radius:16px;padding:clamp(18px,3vw,34px);box-shadow:0 18px 40px #252f260c}
.wizardProgress{display:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 26px;padding:0;list-style:none}
.wizardProgress li{min-width:0}
.js .wizardProgress{display:grid}
.wizardProgress button{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:8px 12px;border-radius:999px;background:#f3f1e6;color:#606858;font-size:13px;font-weight:650;text-align:left}
.wizardProgress button span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e4e1d4;color:#263f32;font:700 11px/1 "IBM Plex Mono",ui-monospace,monospace;flex:none}
.wizardProgress button[aria-current="step"]{background:#263f32;color:#fbf9f3}
.wizardProgress button[aria-current="step"] span{background:#fbf9f3;color:#263f32}
.wizardProgress button.isDone{background:#e7eee8;color:#263f32}
.wizardStep{border:0;margin:0;padding:0;min-inline-size:0}
.wizardQuestion{float:left;width:100%;padding:0;margin:0 0 8px;font-size:clamp(28px,4vw,40px);line-height:1.08;letter-spacing:-.045em;font-weight:650}
.wizardStep::after{content:"";display:block;clear:both}
.wizardHelp{max-width:46ch;color:#5b6459}
.wizardRecap{white-space:pre-line;background:#f6f4ea;border-radius:10px;padding:14px 16px;color:#344836}
.sm-wizard label.fileDrop{display:grid;gap:6px;margin:0;padding:16px;border:1.5px dashed #b7bbaa;border-radius:12px;background:#fbf9f3;cursor:pointer;font-weight:650}
.sm-wizard .fileDrop input[type=file]{border:0;padding:8px 0 0;background:transparent;border-radius:0}
.fileDrop .sub{margin-left:.4em;font-weight:500}
.fileName:empty{display:none}
.fileName{color:#606858;font-size:14px;font-weight:450}
.wizardActions{display:flex;align-items:center;gap:12px;margin-top:20px}
.wizardNext,.wizardBack{display:none}
.js .sm-wizard .wizardNext,.js .sm-wizard .wizardBack{display:inline-flex}
.js .sm-wizard:not(.isReady) .wizardSubmit{display:none}
.wizardActions .wizardNext,.wizardActions .wizardSubmit{margin-left:auto}
.wizardActions .wizardBack{margin-left:0}
.js .sm-wizard .wizardStep+.wizardStep{display:none}
.js .sm-wizard.isReady .wizardStep{display:block}
.wizardBack[hidden],.wizardNext[hidden],.wizardSubmit[hidden],.wizardStep[hidden],.wizardRecap[hidden]{display:none!important}
@media(max-width:700px){
 .customIntro,.customSteps{grid-template-columns:1fr}
 .customSplashArt{min-height:180px}
 .wizardProgress b{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .wizardProgress button{justify-content:center}
 .wizardActions{flex-wrap:wrap}
 .wizardActions .btn{justify-content:center}
}
