/* TrachtHouse Shop Styles */
:root{--th-green:#1f3d2b;--th-brown:#6b4428;--th-cream:#f6f1e7;--th-ink:#1d1d1b;--th-gold:#b8924a;--th-line:#e3dccd;--th-muted:#5f5a52;--th-red:#a3312a;--th-r:6px;--th-wrap:1320px;--th-serif:"Fraunces",Georgia,"Times New Roman",serif}
.th-shop{color:var(--th-ink);padding:24px 0 64px}
.th-wrap{max-width:var(--th-wrap);margin:0 auto;padding:0 20px}
.th-shop h1,.th-shop h2,.th-shop h3,.th-prose h2,.th-prose h3{font-family:var(--th-serif);font-weight:600;line-height:1.2;color:var(--th-ink)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
/* buttons */
.th-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 20px;border:1px solid var(--th-green);border-radius:var(--th-r);background:var(--th-green);color:#fff!important;font-weight:600;font-size:15px;text-decoration:none!important;cursor:pointer;transition:background .15s}
.th-btn:hover{background:#163021}
.th-btn--ghost{background:transparent;color:var(--th-green)!important}
.th-btn--ghost:hover{background:var(--th-cream)}
.th-btn--sm{min-height:38px;padding:7px 14px;font-size:14px}
.th-btn:focus-visible,.th-chip:focus-visible,.th-card a:focus-visible{outline:2px solid var(--th-gold);outline-offset:2px}
/* archive head */
.th-archive__head{margin-bottom:20px}
.th-archive__title{font-size:clamp(28px,4vw,44px);margin:8px 0 12px}
.th-archive__intro{max-width:820px;color:var(--th-muted);font-size:16px;line-height:1.6}
.th-archive__intro p{margin:0 0 .6em}
.th-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:16px 0 0;padding:0}
.th-chip{display:inline-block;padding:8px 14px;border:1px solid var(--th-line);border-radius:999px;background:#fff;color:var(--th-ink);font-size:14px;text-decoration:none}
.th-chip:hover,.th-chip[aria-current]{border-color:var(--th-green);background:var(--th-cream)}
.th-archive__toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--th-line);border-bottom:1px solid var(--th-line);margin:16px 0 24px}
.th-archive__toolbar .woocommerce-result-count,.th-archive__toolbar .woocommerce-ordering{margin:0!important;float:none!important;font-size:14px;color:var(--th-muted)}
.th-archive__toolbar select{min-height:40px;padding:6px 10px;border:1px solid var(--th-line);border-radius:var(--th-r);background:#fff}
.th-filter-toggle{display:none}
.th-archive__layout{display:block}
.th-archive__layout.has-filters{display:grid;grid-template-columns:240px 1fr;gap:32px;align-items:start}
/* filters */
.th-filters{position:sticky;top:96px;font-size:14px}
.th-filters__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.th-filters__title{font-size:18px;margin:0}
.th-filters__clear{color:var(--th-brown);font-size:13px}
.th-filter{border-bottom:1px solid var(--th-line);padding:10px 0}
.th-filter summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between}
.th-filter summary::-webkit-details-marker{display:none}
.th-filter summary::after{content:"+";color:var(--th-muted)}
.th-filter[open] summary::after{content:"–"}
.th-filter ul{list-style:none;margin:8px 0 0;padding:0;max-height:260px;overflow:auto}
.th-filter__opt{display:flex;align-items:center;gap:8px;padding:5px 0;color:var(--th-ink);text-decoration:none}
.th-filter__box{width:16px;height:16px;border:1px solid #b9b0a0;border-radius:3px;flex:none}
.th-filter__opt.is-active .th-filter__box{background:var(--th-green);border-color:var(--th-green);box-shadow:inset 0 0 0 3px #fff}
.th-filter__count{margin-left:auto;color:var(--th-muted);font-size:12px}
.th-filter--price form{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.th-filter--price input{width:80px;min-height:38px;padding:6px;border:1px solid var(--th-line);border-radius:var(--th-r)}
.th-filters__sub{margin-top:12px}
/* grid + card */
.th-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px;list-style:none;margin:0;padding:0}
.has-filters .th-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.th-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.th-card{position:relative;display:flex;flex-direction:column;margin:0}
.th-card__media{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;border-radius:var(--th-r);background:var(--th-cream)}
.th-card__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .25s,transform .4s}
.th-card__img--alt{opacity:0}
@media (hover:hover){.th-card:hover .th-card__img--alt{opacity:1}.th-card:hover .th-card__img{transform:scale(1.02)}}
.th-card__badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:6px;z-index:2;pointer-events:none}
.th-badge{display:inline-block;padding:3px 8px;border-radius:3px;background:var(--th-green);color:#fff;font-size:12px;font-weight:600;letter-spacing:.02em;margin:0}
.th-badge--sale{background:var(--th-red)}
.th-badge--gold{background:var(--th-gold);color:#1d1d1b}
.th-badge--new{background:var(--th-brown)}
.th-card__body{display:flex;flex-direction:column;gap:6px;padding-top:12px;flex:1}
.th-card__title{font-family:inherit!important;font-size:15px!important;font-weight:600!important;line-height:1.35;margin:0}
.th-card__title a{color:var(--th-ink);text-decoration:none}
.th-card__title a::after{content:"";position:absolute;inset:0;z-index:1}
.th-card__price{font-weight:600;font-size:15px}
.th-card__price del{color:var(--th-muted);font-weight:400;margin-right:6px}
.th-card__price ins{text-decoration:none;color:var(--th-red)}
.th-card__meta{font-size:13px;color:var(--th-muted);margin:0}
.th-card .th-btn{position:relative;z-index:2;align-self:flex-start;margin-top:auto}
.th-card .added_to_cart{position:relative;z-index:2;font-size:13px}
.th-stars{position:relative;display:inline-block;vertical-align:middle;width:80px;height:14px;background:#d8d0c0;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M7 0l2.1 4.6 5 .5-3.8 3.3 1.1 4.9L7 10.8 2.6 13.3l1.1-4.9L-.1 5.1l5-.5z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 14'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M7 0l2.1 4.6 5 .5-3.8 3.3 1.1 4.9L7 10.8 2.6 13.3l1.1-4.9L-.1 5.1l5-.5z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat}
.th-stars__count{font-size:13px;color:var(--th-muted);margin-left:6px;vertical-align:middle}
.th-stars__fill{position:absolute;inset:0 auto 0 0;background:var(--th-gold)}
/* pagination */
.th-pagination{margin:40px 0 0;text-align:center}
.th-pagination .page-numbers{display:inline-flex;gap:6px;list-style:none;padding:0;margin:0}
.th-pagination a.page-numbers,.th-pagination span.page-numbers,.th-pagination li>*{display:inline-flex;min-width:40px;min-height:40px;align-items:center;justify-content:center;border:1px solid var(--th-line);border-radius:var(--th-r);color:var(--th-ink);text-decoration:none}
.th-pagination .current{background:var(--th-green);border-color:var(--th-green);color:#fff}
.th-empty{padding:40px;text-align:center;background:var(--th-cream);border-radius:var(--th-r)}
/* bottom copy */
.th-archive__copy{margin-top:64px;padding-top:40px;border-top:1px solid var(--th-line)}
.th-prose{max-width:820px;font-size:17px;line-height:1.7}
.th-prose h2{font-size:clamp(22px,2.6vw,30px);margin:1.6em 0 .5em;scroll-margin-top:110px}
.th-prose h3{font-size:20px;margin:1.4em 0 .4em;scroll-margin-top:110px}
.th-prose a{color:var(--th-brown);text-decoration:underline;text-underline-offset:2px}
.th-prose img{max-width:100%;height:auto;border-radius:var(--th-r)}
.th-prose table{width:100%;border-collapse:collapse;font-size:15px}
.th-prose th,.th-prose td{border:1px solid var(--th-line);padding:8px 10px;text-align:left}
.th-prose th{background:var(--th-cream)}
.th-uplink{max-width:820px;margin:28px 0;padding:16px 20px;background:var(--th-cream);border-left:3px solid var(--th-gold);border-radius:var(--th-r)}
.th-uplink a{color:var(--th-green);font-weight:600}
.th-toc{max-width:820px;margin:0 0 24px;padding:16px 20px;border:1px solid var(--th-line);border-radius:var(--th-r);background:#fff}
.th-toc__title{font-weight:600;margin:0 0 8px;font-family:var(--th-serif);font-size:18px}
.th-toc ol{margin:0;padding-left:20px;columns:2;column-gap:32px;font-size:15px}
.th-toc a{color:var(--th-ink)}
.th-faq{max-width:820px;margin:40px 0}
.th-faq h2{font-size:clamp(22px,2.6vw,30px);margin:0 0 12px}
.th-faq__item{border-bottom:1px solid var(--th-line)}
.th-faq__item summary{cursor:pointer;list-style:none;padding:16px 32px 16px 0;font-weight:600;position:relative}
.th-faq__item summary::-webkit-details-marker{display:none}
.th-faq__item summary::after{content:"+";position:absolute;right:4px;top:14px;font-size:20px;color:var(--th-brown)}
.th-faq__item[open] summary::after{content:"–"}
.th-faq__a{padding:0 0 16px;color:#3a3732;line-height:1.65}
.th-draft-preview{margin:16px 0;padding:16px;border:2px dashed var(--th-gold);background:#fffaf0}
.th-draft-preview__label{margin:0 0 8px;font:600 12px/1 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.06em;color:var(--th-brown)}
/* post grid */
.th-guides{margin-top:48px}
.th-postgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;list-style:none;margin:0;padding:0}
.th-postgrid__heading{font-size:26px;margin:0 0 16px}
.th-postcard{position:relative;display:flex;flex-direction:column;gap:8px}
.th-postcard__media{display:block;aspect-ratio:3/2;overflow:hidden;border-radius:var(--th-r);background:var(--th-cream)}
.th-postcard__media img{width:100%;height:100%;object-fit:cover}
.th-postcard__ph{display:block;width:100%;height:100%;background:linear-gradient(135deg,var(--th-cream),#e9dfcb)}
.th-postcard__cat{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--th-brown);margin:0}
.th-postcard__title{font-size:19px!important;margin:0}
.th-postcard__title a{color:var(--th-ink);text-decoration:none}
.th-postcard__title a::after{content:"";position:absolute;inset:0}
.th-postcard__excerpt{font-size:15px;color:var(--th-muted);margin:0}
.th-postcard__meta{font-size:13px;color:var(--th-muted);margin:0}
/* PDP */
.th-pdp__grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:start}
.th-gallery{position:sticky;top:96px;display:grid;grid-template-columns:76px 1fr;gap:12px}
.th-gallery__main{grid-column:2;grid-row:1;aspect-ratio:4/5;border-radius:var(--th-r);overflow:hidden;background:var(--th-cream)}
.th-gallery__main img{width:100%;height:100%;object-fit:cover;display:block}
.th-gallery__zoom{display:block;height:100%}
.th-gallery__thumbs{grid-column:1;grid-row:1;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:640px;overflow:auto}
.th-gallery__thumb{display:block;padding:0;border:1px solid var(--th-line);border-radius:4px;background:none;cursor:pointer;overflow:hidden;aspect-ratio:4/5;width:100%}
.th-gallery__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.th-gallery__thumb.is-active{border-color:var(--th-green);box-shadow:0 0 0 1px var(--th-green)}
.th-gallery:not(:has(.th-gallery__thumbs)){grid-template-columns:1fr}
.th-gallery:not(:has(.th-gallery__thumbs)) .th-gallery__main{grid-column:1}
.th-pdp__title{font-size:clamp(26px,3vw,38px);margin:6px 0 10px}
.th-pdp__rating{display:inline-block;text-decoration:none;margin-bottom:8px}
.th-pdp__price .price{font-size:24px;font-weight:600;color:var(--th-ink)!important;margin:0 0 12px}
.th-pdp__price del{color:var(--th-muted);font-weight:400;font-size:18px}
.th-pdp__price ins{text-decoration:none;color:var(--th-red)}
.th-pdp__excerpt{color:#3a3732;line-height:1.6;margin-bottom:16px}
.th-pdp__cart form.cart{margin:0 0 16px!important}
.th-pdp__cart table.variations{width:100%;border:0;margin-bottom:12px}
.th-pdp__cart table.variations th,.th-pdp__cart table.variations td{display:block;padding:4px 0;border:0;text-align:left;background:none}
.th-pdp__cart table.variations select{width:100%;min-height:46px;padding:8px 12px;border:1px solid #c9c0af;border-radius:var(--th-r);background:#fff;font-size:15px}
.th-pdp__cart .reset_variations{font-size:13px;color:var(--th-brown)}
.th-pdp__cart .woocommerce-variation-add-to-cart,.th-pdp__cart form.cart:not(.variations_form){display:flex;gap:10px;flex-wrap:wrap;align-items:stretch}
.th-pdp__cart .quantity input{width:72px;min-height:50px;border:1px solid #c9c0af;border-radius:var(--th-r);text-align:center}
.th-pdp__cart .single_add_to_cart_button{flex:1;min-height:50px;border-radius:var(--th-r)!important;background:var(--th-green)!important;color:#fff!important;font-size:16px!important;font-weight:600!important;border:0!important}
.th-pdp__cart .single_add_to_cart_button:hover{background:#163021!important}
.th-pdp__cart .single_add_to_cart_button.disabled{opacity:.55}
.th-pdp__links{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0 0 16px}
.th-pdp__link{display:inline-flex;align-items:center;gap:6px;color:var(--th-brown);font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.th-pdp__link svg,.th-delivery svg,.th-trustlist svg{width:18px;height:18px;flex:none}
.th-delivery{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;background:var(--th-cream);border-radius:var(--th-r);font-size:14px;margin-bottom:12px}
.th-delivery__text{margin:0}
.th-delivery strong{color:var(--th-green)}
.th-trustlist{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:8px;font-size:14px}
.th-trustlist li{display:flex;align-items:center;gap:8px}
.th-pdp__meta{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--th-muted)}
.th-pdp__meta a{color:var(--th-muted)}
.th-pdp__details{max-width:900px;margin:56px 0 0}
.th-acc{border-top:1px solid var(--th-line)}
.th-acc:last-child{border-bottom:1px solid var(--th-line)}
.th-acc summary{cursor:pointer;list-style:none;padding:18px 32px 18px 0;position:relative}
.th-acc summary::-webkit-details-marker{display:none}
.th-acc summary h2{display:inline;font-size:20px;margin:0}
.th-acc summary::after{content:"+";position:absolute;right:4px;top:16px;font-size:22px;color:var(--th-brown)}
.th-acc[open] summary::after{content:"–"}
.th-acc__body{padding:0 0 20px}
.th-acc__body table.shop_attributes{width:100%;border-collapse:collapse}
.th-acc__body .shop_attributes th,.th-acc__body .shop_attributes td{border-bottom:1px solid var(--th-line);padding:8px;text-align:left;font-style:normal}
.th-acc__body .shop_attributes p{margin:0}
.th-pdp__section{margin-top:64px}
.th-pdp__section>h2{font-size:clamp(22px,2.6vw,30px);margin:0 0 20px}
.th-pdp__reviews .commentlist{list-style:none;padding:0}
.th-pdp__reviews .comment_container{border-bottom:1px solid var(--th-line);padding:16px 0}
.th-pdp__reviews .avatar{display:none}
.th-sticky-atc{position:fixed;left:0;right:0;bottom:0;z-index:90;background:#fff;border-top:1px solid var(--th-line);box-shadow:0 -6px 20px rgba(0,0,0,.08);transform:translateY(100%);transition:transform .2s}
.th-sticky-atc.is-visible{transform:none}
.th-sticky-atc__inner{display:flex;align-items:center;gap:12px;padding-top:10px;padding-bottom:10px}
.th-sticky-atc__inner img{width:44px;height:55px;object-fit:cover;border-radius:4px}
.th-sticky-atc__info{flex:1;min-width:0}
.th-sticky-atc__info p{margin:0;font-size:14px}
.th-sticky-atc__name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Woo notices inside our templates */
.th-shop .woocommerce-message,.th-shop .woocommerce-info,.th-shop .woocommerce-error{border-radius:var(--th-r);margin-bottom:20px}
/* responsive */
@media (max-width:1100px){.th-grid,.has-filters .th-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){
.th-archive__layout.has-filters{display:block}
.th-filter-toggle{display:inline-flex}
.th-filters{position:fixed;inset:0 auto 0 0;width:min(340px,88vw);z-index:120;background:#fff;padding:20px;overflow:auto;transform:translateX(-100%);transition:transform .2s;box-shadow:6px 0 24px rgba(0,0,0,.15)}
.th-filters.is-open{transform:none}
.th-grid,.has-filters .th-grid,.th-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 12px}
.th-pdp__grid{grid-template-columns:1fr;gap:24px}
.th-gallery{position:static;grid-template-columns:1fr}
.th-gallery__main{grid-column:1}
.th-gallery__thumbs{grid-row:2;flex-direction:row;max-height:none;overflow-x:auto}
.th-gallery__thumbs li{flex:0 0 64px}
.th-postgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.th-toc ol{columns:1}
}
@media (max-width:560px){.th-postgrid{grid-template-columns:1fr}.th-wrap{padding:0 16px}}
.th-scrim{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:110}
@media (prefers-reduced-motion:reduce){.th-card__img,.th-filters,.th-sticky-atc{transition:none}}
/* theme/Woo overrides */
.th-chips ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.th-chips li{margin:0}
.th-card__media img.th-card__img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover}
.th-pdp .th-pdp__summary,.th-pdp .th-gallery{float:none!important;width:auto!important;margin:0!important}
.th-pdp .th-pdp__product{display:block}
.th-badge--sale{background:var(--th-red)!important}
.th-badge--mtm{background:var(--th-gold)!important;color:#1d1d1b!important}
.th-badge--new{background:var(--th-brown)!important}
.th-card__badges .th-badge{box-shadow:0 0 0 1px rgba(255,255,255,.35)}
.th-linklist{columns:2;column-gap:32px}
@media (max-width:600px){.th-linklist{columns:1}}
.th-archive__toolbar select.orderby{background-image:none;-webkit-appearance:auto;appearance:auto;padding-right:8px}
.th-card__badges{align-items:flex-start}
@media (max-width:900px){.th-chips ul{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;scrollbar-width:none}.th-chip{white-space:nowrap}}
/* ===== 1.2.0: compact filters, quick add, size popup, steppers, layouts ===== */
.th-noscroll{overflow:hidden}
.th-archive__intro{max-width:760px}
.th-archive__intro p:last-child{margin-bottom:0}
/* toolbar */
.th-filter-toggle{gap:8px}
.th-filter-toggle__count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--th-green);color:#fff;font-size:12px}
/* layout */
.th-archive__layout.has-filters{grid-template-columns:232px minmax(0,1fr);gap:36px}
/* filters */
.th-filters{position:sticky;top:96px;max-height:calc(100vh - 112px);overflow:auto;overscroll-behavior:contain;padding-right:6px;scrollbar-width:thin}
.th-filters__head{position:relative;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--th-line);margin-bottom:0}
.th-filters__title{font-family:var(--th-serif);font-weight:600}
.th-filters__clear{margin-left:auto}
.th-filters__close{display:none;border:0;background:none;font-size:28px;line-height:1;cursor:pointer;color:var(--th-ink);padding:4px 8px}
.th-filters__foot{display:none}
.th-filter{padding:0}
.th-filter summary{align-items:center;gap:8px;padding:12px 0;font-size:14px;letter-spacing:.01em}
.th-filter summary>span:first-child{flex:1}
.th-filter summary::after{content:"";width:8px;height:8px;border-right:1.5px solid var(--th-muted);border-bottom:1.5px solid var(--th-muted);transform:rotate(45deg);margin:-4px 4px 0 0;transition:transform .15s}
.th-filter[open] summary::after{content:"";transform:rotate(-135deg);margin-top:4px}
.th-filter__badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--th-green);color:#fff;font-size:11px}
.th-filter ul{max-height:none;overflow:visible;margin:0 0 12px}
.th-filter__opt{padding:4px 0;font-size:14px;line-height:1.3}
.th-filter__opt:hover .th-filter__name{text-decoration:underline}
.th-filter__name{flex:1;min-width:0}
.th-filter__count{font-size:12px}
.th-filter__list--size{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px}
.th-filter__list--size li{margin:0}
.th-fchip{display:flex;align-items:center;justify-content:center;min-height:34px;padding:4px 6px;border:1px solid #cfc6b5;border-radius:4px;background:#fff;color:var(--th-ink);font-size:13px;text-decoration:none;white-space:nowrap}
.th-fchip:hover{border-color:var(--th-green)}
.th-fchip.is-active{background:var(--th-green);border-color:var(--th-green);color:#fff}
.th-swatch{width:18px;height:18px;border-radius:50%;background:var(--sw,#ccc);box-shadow:inset 0 0 0 1px rgba(0,0,0,.18);flex:none}
.th-filter__opt.is-active .th-swatch{box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--th-green)}
.th-filter__opt.is-active .th-filter__name{font-weight:600}
.th-filter__more{border:0;background:none;padding:0 0 12px;color:var(--th-brown);font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.th-price{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;margin:0 0 14px}
.th-price input{width:0;flex:1;min-width:0;min-height:38px;padding:6px 8px;border:1px solid #cfc6b5;border-radius:var(--th-r);background:#fff;font-size:14px}
.th-price .th-btn{flex:none;padding:6px 12px}
.th-price__dash{color:var(--th-muted)}
/* active chips */
.th-active{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px}
.th-active__chip{display:inline-flex;align-items:center;gap:8px;padding:6px 10px 6px 12px;border-radius:999px;background:var(--th-cream);border:1px solid var(--th-line);color:var(--th-ink);font-size:13px;text-decoration:none}
.th-active__chip span{font-size:16px;line-height:1;color:var(--th-muted)}
.th-active__chip:hover{border-color:var(--th-green)}
.th-active__clear{font-size:13px;color:var(--th-brown);font-weight:600}
/* cards */
.th-card__actions{display:flex;gap:8px;margin-top:auto;padding-top:4px;position:relative;z-index:2}
.th-card .th-card__actions .th-btn{margin:0;flex:1;min-height:40px;padding:8px 10px;font-size:14px;white-space:nowrap}
.th-card .th-card__actions .th-card__view{flex:0 0 auto;min-width:68px}
.th-card__add.is-loading{opacity:.7;pointer-events:none}
.th-card__add.is-added{background:var(--th-brown);border-color:var(--th-brown)}
.th-card__soldout{flex:1;display:inline-flex;align-items:center;justify-content:center;min-height:40px;border:1px dashed var(--th-line);border-radius:var(--th-r);font-size:13px;color:var(--th-muted)}
@media (max-width:420px){.th-card .th-card__actions{flex-direction:column}.th-card .th-card__actions .th-card__view{min-width:0}}
/* quantity steppers */
.quantity:has(.th-qty__btn),.th-qty{display:inline-flex!important;align-items:stretch;border:1px solid #c9c0af;border-radius:var(--th-r);background:#fff;overflow:hidden}
.quantity:has(.th-qty__btn) input.qty,.th-qty input{width:48px!important;min-height:48px;border:0!important;border-radius:0!important;text-align:center;font-size:16px;-moz-appearance:textfield;appearance:textfield;background:transparent;box-shadow:none!important;padding:0!important;margin:0!important}
.quantity input.qty::-webkit-inner-spin-button,.quantity input.qty::-webkit-outer-spin-button,.th-qty input::-webkit-inner-spin-button,.th-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.th-qty__btn{width:40px;min-height:48px;border:0;background:transparent;color:var(--th-ink);font-size:20px;line-height:1;cursor:pointer;padding:0}
.th-qty__btn:hover{background:var(--th-cream)}
.th-qty__btn:focus-visible{outline:2px solid var(--th-gold);outline-offset:-2px}
.quantity:has(input[type=hidden]) .th-qty__btn,.quantity:has(input[readonly]) .th-qty__btn{display:none}
.quantity:has(input[type=hidden]){border:0}
.th-pdp__cart .quantity input{width:48px}
/* dialogs */
.th-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100vh - 40px);padding:0;border:0;border-radius:10px;box-shadow:0 24px 64px rgba(0,0,0,.28);color:var(--th-ink);background:#fff;overflow:auto}
.th-dialog::backdrop{background:rgba(20,24,20,.55)}
.th-dialog__head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--th-line);background:#fff}
.th-dialog__title{margin:0;font-family:var(--th-serif);font-size:20px;font-weight:600;line-height:1.25}
.th-dialog__close{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:var(--th-cream);font-size:24px;line-height:1;cursor:pointer;color:var(--th-ink)}
.th-dialog__body{padding:18px 20px 22px}
/* quick add */
.th-qv{width:min(760px,calc(100vw - 24px))}
.th-qv__body{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;padding:18px 20px 22px}
.th-qv__media{aspect-ratio:4/5;border-radius:var(--th-r);overflow:hidden;background:var(--th-cream)}
.th-qv__media img{width:100%;height:100%;object-fit:cover;display:block}
.th-qv__price{font-size:20px;font-weight:600;margin:0 0 12px}
.th-qv__price del{color:var(--th-muted);font-weight:400;font-size:16px}
.th-qv__price ins{text-decoration:none;color:var(--th-red)}
.th-qv__attr{border:0;margin:0 0 14px;padding:0}
.th-qv__attr legend{font-size:14px;margin-bottom:8px;padding:0}
.th-qv__opts{display:flex;flex-wrap:wrap;gap:6px}
.th-opt{min-width:52px;min-height:40px;padding:6px 10px;border:1px solid #cfc6b5;border-radius:4px;background:#fff;color:var(--th-ink);font-size:14px;cursor:pointer}
.th-opt:hover:not([disabled]){border-color:var(--th-green)}
.th-opt[aria-pressed=true]{background:var(--th-green);border-color:var(--th-green);color:#fff}
.th-opt[disabled]{color:#a9a294;background:repeating-linear-gradient(135deg,#fff 0 6px,#f3efe6 6px 7px);cursor:not-allowed;text-decoration:line-through}
.th-qv__buy{display:flex;gap:10px;align-items:stretch;margin:6px 0 8px}
.th-qv__add{flex:1;min-height:50px;font-size:16px}
.th-qv__add.is-disabled{opacity:.6}
.th-qv__msg{min-height:1.2em;margin:4px 0 8px;font-size:14px}
.th-qv__msg.is-error{color:var(--th-red)}
.th-qv__msg.is-ok{color:var(--th-green);font-weight:600}
.th-qv__done{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.th-qv__done[hidden]{display:none}
.th-qv__links{display:flex;gap:16px;font-size:14px;margin:6px 0 0}
.th-qv__links a{color:var(--th-brown)}
@media (max-width:600px){.th-qv__body{grid-template-columns:96px minmax(0,1fr);gap:14px;padding:14px}.th-qv__buy{flex-direction:column}.th-qv__buy .th-qty{align-self:flex-start}.th-dialog{max-height:calc(100vh - 16px)}}
/* size popup */
.th-sizedlg__product{margin:0 0 6px;color:var(--th-muted);font-size:14px}
.th-sizedlg h3{font-family:var(--th-serif);font-size:17px;margin:18px 0 8px}
.th-sizedlg__group{border-top:1px solid var(--th-line);padding-top:4px;margin-top:12px}
.th-sizedlg__sizes{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 10px;padding:0}
.th-sizedlg__sizes li{min-width:48px;padding:6px 10px;border:1px solid #cfc6b5;border-radius:4px;text-align:center;font-size:14px}
.th-sizedlg__sizes li.is-out{color:#a9a294;text-decoration:line-through}
.th-sizedlg__note{font-size:14px;color:#3a3732;line-height:1.55;margin:0 0 8px}
.th-sizedlg__measure{margin:0 0 8px;padding-left:20px;font-size:14px;line-height:1.55}
.th-sizedlg__measure li{margin-bottom:4px}
.th-sizedlg__fit p{font-size:14px;line-height:1.55;margin:0 0 8px}
.th-sizedlg__tablewrap{overflow-x:auto;margin:0 0 10px}
.th-sizedlg__table{width:100%;border-collapse:collapse;font-size:14px}
.th-sizedlg__table th,.th-sizedlg__table td{border:1px solid var(--th-line);padding:6px 8px;text-align:left}
.th-sizedlg__table thead th{background:var(--th-cream)}
.th-sizedlg__links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
/* PDP details: description left, sticky specs right */
.th-pdp__details{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,400px);gap:56px;max-width:none;margin:64px 0 0;align-items:start;padding-top:40px;border-top:1px solid var(--th-line)}
.th-pdp__details:not(:has(.th-pdp__desc)){grid-template-columns:minmax(0,760px)}
.th-pdp__h2{font-size:clamp(22px,2.4vw,28px);margin:0 0 12px}
.th-pdp__prose{max-width:760px}
.th-pdp__prose>*:first-child{margin-top:0}
.th-pdp__specs-inner{position:sticky;top:100px;padding:6px 22px 10px;border:1px solid var(--th-line);border-radius:10px;background:#fff}
.th-pdp__specs .th-acc:first-child{border-top:0}
.th-pdp__specs .th-acc:last-of-type{border-bottom:0}
.th-pdp__specs .th-acc summary{padding:16px 28px 16px 0}
.th-pdp__specs .th-acc summary h2{font-size:17px}
.th-pdp__specs .th-acc summary::after{top:12px}
.th-pdp__specs .shop_attributes th{width:42%;font-weight:600;font-size:14px}
.th-pdp__specs .shop_attributes td{font-size:14px}
.th-pdp__specs .th-acc__body{font-size:15px}
/* archive: copy below grid with sticky TOC */
.th-more{margin-top:56px;padding-top:40px;border-top:1px solid var(--th-line)}
.th-more.has-toc{display:grid;grid-template-columns:232px minmax(0,1fr);gap:36px;align-items:start}
.th-more__aside{position:sticky;top:100px}
.th-more__aside .th-toc{margin:0;padding:14px 16px;font-size:14px;background:var(--th-cream);border-color:var(--th-line)}
.th-more__aside .th-toc ol{columns:1;font-size:14px;padding-left:18px}
.th-more__aside .th-toc li{margin:0 0 6px;line-height:1.35}
.th-more__aside .th-toc a{text-decoration:none}
.th-more__aside .th-toc a:hover{text-decoration:underline}
.th-more__main{min-width:0;max-width:860px}
.th-more .th-archive__copy{margin-top:0;padding-top:0;border-top:0}
.th-more .th-prose{max-width:none}
.th-more .th-prose>*:first-child,.th-archive__lead>*:first-child{margin-top:0}
.th-archive__lead{font-size:18px;line-height:1.7;color:#2f2c28}
.th-archive__lead+.th-archive__copy{margin-top:8px}
.th-more .th-uplink,.th-more .th-faq,.th-more .th-toc{max-width:none}
@media (max-width:700px){.th-prose table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}}
@media (max-width:1100px){
.th-archive__layout.has-filters{grid-template-columns:210px minmax(0,1fr);gap:28px}
.th-more.has-toc{display:block}
.th-more__aside{position:static;margin-bottom:20px}
.th-more__aside .th-toc ol{columns:2}
.th-more__main{max-width:760px}
.th-pdp__details{grid-template-columns:minmax(0,1fr) 320px;gap:36px}
}
@media (max-width:900px){
.th-filters{position:fixed;inset:0 auto 0 0;top:0;max-height:none;width:min(360px,90vw);padding:0;display:flex;flex-direction:column;overflow:hidden}
.th-filters__head{padding:14px 16px;margin:0}
.th-filters__close{display:block}
.th-filters__body{flex:1;overflow:auto;padding:0 16px}
.th-filters__foot{display:block;padding:12px 16px;border-top:1px solid var(--th-line);background:#fff}
.th-filters__foot .th-btn{width:100%}
.th-archive__toolbar{position:sticky;top:var(--th-header-h,64px);z-index:30;background:#fff;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
.th-pdp__details{display:block;margin-top:40px;padding-top:24px}
.th-pdp__specs{margin-top:28px}
.th-pdp__specs-inner{position:static;padding:0 16px}
.th-more__aside .th-toc ol{columns:1}
}
@media (prefers-reduced-motion:reduce){.th-filter summary::after{transition:none}}

/* 1.2.0 fixes: drawer above sticky header; neutral dialog close button under theme button styles */
.th-filters{z-index:100002}
.th-scrim{z-index:100001}
.th-dialog .th-dialog__close,.th-dialog .th-dialog__close:hover,.th-dialog .th-dialog__close:focus{background:var(--th-cream);color:var(--th-ink);box-shadow:none;border:0}
.th-dialog .th-dialog__close:hover{background:var(--th-line)}
.th-dialog .th-dialog__close:focus-visible{outline:2px solid var(--th-green,#1f3d2b);outline-offset:2px}
/* Theme button :hover/:focus backgrounds (Kadence palette) must not leak into our controls */
button.th-opt:focus,button.th-opt:hover{background:#fff;color:var(--th-ink);box-shadow:none}
button.th-opt[aria-pressed=true],button.th-opt[aria-pressed=true]:focus,button.th-opt[aria-pressed=true]:hover{background:var(--th-green);color:#fff}
button.th-opt[disabled]:focus,button.th-opt[disabled]:hover{color:#a9a294;background:repeating-linear-gradient(135deg,#fff 0 6px,#f3efe6 6px 7px)}
button.th-opt:focus-visible,button.th-qty__btn:focus-visible,.th-fchip:focus-visible,.th-filters__close:focus-visible{outline:2px solid var(--th-green);outline-offset:2px}
button.th-qty__btn:focus{background:transparent;color:var(--th-ink);box-shadow:none}
button.th-qty__btn:hover{background:var(--th-cream);color:var(--th-ink)}
button.th-filters__close,button.th-filters__close:hover,button.th-filters__close:focus{background:none;color:var(--th-ink);box-shadow:none}
/* WooCommerce Cart/Checkout blocks: brand buttons instead of the theme's default blue */
.wc-block-components-button:not(.is-link),.wc-block-grid__product-add-to-cart .wp-block-button__link,.wp-block-woocommerce-cart .wp-block-button__link,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{background:var(--th-green)!important;border-color:var(--th-green)!important;color:#fff!important;border-radius:var(--th-r)!important}
.wc-block-components-button:not(.is-link):hover,.wp-block-woocommerce-cart .wp-block-button__link:hover{background:#163021!important}
