/* Shared Betools language for product listings, filters, editorial pages and directory. */
body:is(.bt-market-page,.bt-market-editorial,.bt-market-account){
 --market-ink:var(--bt-secondary,#202829);--market-muted:#526362;--market-accent:var(--bt,#009d89);--market-deep:#006b5d;
 --market-soft:#e7f2ef;--market-border:#e1e6e8;--market-white:#fff;
 color:var(--market-ink);background:#f5f6f7;
}
/* Keep the archive track within the viewport even when a category rail has many cards. */
.bt-market{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:14px;margin:9px auto 42px}
.bt-market :is(a,button,input,select):focus-visible,.bt-market-editorial main :is(a,button,input,select):focus-visible{outline:2px solid #007866;outline-offset:2px}
.bt-market :is(button,input,select){font:inherit}
.bt-market [hidden]{display:none!important}
.bt-market .woocommerce-breadcrumb{min-width:0;margin:0;padding:4px 0;color:var(--market-muted);font-size:12px;overflow-wrap:anywhere}
.bt-market-hero{
 display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;padding:clamp(16px,3vw,30px);
 border:1px solid var(--market-border);border-radius:clamp(16px,2vw,24px);background:#fff;
}
.bt-market-hero>div{min-width:0}
.bt-market-eyebrow{color:var(--market-deep);font-weight:700;font-size:12px;margin:0 0 2px}
.bt-market-hero h1{color:var(--market-ink);margin:0;font-size:clamp(23px,3.8vw,36px);line-height:1.55;overflow-wrap:anywhere}
.bt-market-intro{margin:4px 0 0;color:var(--market-muted);font-size:clamp(12px,2vw,14px);overflow-wrap:anywhere}
.bt-market .bt-market-pill{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:42px;width:max-content;max-width:100%;
 padding:6px 12px;border:1px solid #dfe8e7;border-radius:100px;background:#fff;color:var(--market-deep);font-size:12px;
 font-weight:700;text-decoration:none;cursor:pointer;line-height:1.65;
}
.bt-market .bt-market-pill:hover,.bt-market-chip:hover{background:var(--market-soft)}
.bt-market .bt-market-pill .dashicons,.bt-filter-heading .dashicons{width:17px;height:17px;font-size:17px}
.bt-market-quick{display:flex;align-items:center;gap:8px;min-width:0}
.bt-market-search{display:flex;flex:1;align-items:center;gap:6px;padding:4px;min-width:0;border:1px solid var(--market-border);border-radius:15px;background:#fff}
.bt-market-search input,.bt-directory-local-search input{
 width:100%;min-width:0;color:var(--market-ink);font-size:clamp(13px,3vw,16px);min-height:43px;background:#fbfcfc;
 border:1px solid #e6eceb;border-radius:11px;padding:8px 11px;
}
.bt-market-search .bt-market-pill{background:var(--market-deep);border-color:var(--market-deep);color:#fff;border-radius:11px}
.bt-market-search .bt-market-pill:hover{background:#005649;color:#fff}
.bt-market-layout{display:grid;grid-template-columns:clamp(215px,23%,270px) minmax(0,1fr);align-items:start;gap:clamp(12px,1.8vw,22px);min-width:0}
.bt-market-layout>*{min-width:0}
.bt-market-subcats{min-inline-size:0;max-inline-size:100%;background:white;border:1px solid var(--market-border);border-radius:16px;padding:10px 12px 0}
.bt-market-subcats h2{color:var(--market-ink);font-size:14px;margin:0}
.bt-market-subcats .category-tiles{margin:0;display:flex;gap:9px;min-inline-size:0;max-inline-size:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.bt-market :is(.category-tiles img,.bt-category-icon){background:#fff;border:1px solid var(--market-border);color:var(--market-deep)}
.bt-market-subcats .category-tiles a{width:89px;white-space:normal;line-height:1.6}
.bt-market-subcats .category-tiles span{max-width:100%;overflow-wrap:anywhere}
.bt-market .bt-filter-fallback{padding:14px;border:1px solid var(--market-border);border-radius:18px;background:#fff;color:var(--market-ink)}
.bt-filter-heading{gap:7px}
.bt-filter-heading h2{display:flex;align-items:center;gap:6px;color:var(--market-ink);font-size:15px;line-height:1.6}
.bt-filter-heading .dashicons{color:var(--market-deep)}
.bt-market .bt-filter-form{margin-block-start:12px;gap:12px;font-size:13px}
.bt-market .bt-filter-stock{display:flex;align-items:center;min-height:39px;gap:6px;padding:4px 8px;border:1px solid var(--market-border);border-radius:11px;background:var(--market-soft)}
.bt-market .bt-filter-stock input{width:16px;height:16px;accent-color:var(--market-deep)}
.bt-market .bt-filter-form fieldset{margin:0;padding:4px 8px 8px;border:1px solid var(--market-border);border-radius:12px;min-width:0}
.bt-market .bt-filter-form fieldset input,.bt-market :is(.bt-filter-form,.woocommerce-ordering) select{
 width:100%;min-width:0;min-height:40px;padding:6px 8px;border:1px solid #e4e9e9;border-radius:10px;background:#fff;
 color:var(--market-ink);font-size:14px;
}
.bt-market .bt-filter-actions{gap:8px;flex-wrap:wrap}
.bt-market .bt-filter-actions button{background:var(--market-deep);min-height:40px;border-radius:11px;color:#fff;font-size:13px;padding:5px 10px}
.bt-market .bt-filter-actions a,.bt-market-clear{color:var(--market-deep);font-size:12px;text-underline-offset:3px}
.bt-market .bt-custom-filters{margin-block-start:12px;padding-block-start:8px;border-color:var(--market-border)}
.bt-market .bt-custom-filters .widget h3{margin:0 0 7px;font-size:14px;color:var(--market-ink)}
.bt-market .bt-custom-filters :is(ul,ol){padding-inline-start:15px}
.bt-market .bt-custom-filters :is(input:not([type=checkbox],[type=radio]),select,button){max-width:100%}
.bt-market .bt-custom-filters a{overflow-wrap:anywhere}
.bt-market-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;color:var(--market-muted)}
.bt-market-chip{display:inline-flex;align-items:center;min-height:33px;max-width:100%;gap:6px;padding:3px 8px;border-radius:100px;border:1px solid #dde7e6;background:white;color:var(--market-deep);overflow-wrap:anywhere}
.bt-market-chip span{font-size:16px;line-height:1}
.bt-market-clear{text-decoration:underline}
.bt-market .bt-market-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:6px 9px;margin:0 0 12px;border:1px solid var(--market-border);border-radius:13px;background:#fff}
.bt-market .bt-market-toolbar :is(.woocommerce-result-count,.woocommerce-ordering){margin:0;float:none;max-width:100%;color:var(--market-muted);font-size:12px}
.bt-market .woocommerce-ordering select{min-height:36px;font-size:clamp(11px,3vw,13px)}
.bt-market .woocommerce-notices-wrapper:empty,.bt-market-toolbar:empty{display:none}
.bt-market .woocommerce-info,.bt-market-empty{margin:0;padding:12px 15px;border:1px solid var(--market-border);border-inline-start:3px solid var(--market-accent);border-radius:13px;background:#fff;color:var(--market-ink)}
.bt-market .woocommerce-info::before{display:none}
.bt-market .term-description,.bt-market .page-description{color:var(--market-muted);font-size:14px;margin:0 0 13px;overflow-wrap:anywhere}
.bt-market .bt-market-results ul.products{
 --market-columns:4;display:grid;grid-template-columns:repeat(var(--market-columns),minmax(0,1fr));gap:clamp(7px,1.25vw,14px);
 margin:0;padding:0;list-style:none;
}
.bt-market .bt-market-results ul.products::before,.bt-market .bt-market-results ul.products::after{display:none}
.bt-market .bt-market-results ul.products li.product{
 display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere;padding:clamp(7px,1.2vw,12px);float:none;width:auto;margin:0;
 background:#fff;border:1px solid var(--market-border);border-radius:clamp(13px,1.8vw,19px);
}
.bt-market .bt-market-results .woocommerce-loop-product__link{display:flex;flex-direction:column;flex:1;position:relative;min-width:0;color:inherit;text-decoration:none}
.bt-market .bt-market-results ul.products li.product img{
 width:100%;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block;margin:0 0 8px;background:#fff;border-radius:10px;
}
.bt-market .bt-market-results ul.products li.product .woocommerce-loop-product__title{
 flex:1;color:var(--market-ink);font-size:clamp(12px,1.35vw,15px);line-height:1.65;margin:0 0 5px;padding:0;
}
.bt-market .bt-market-results ul.products li.product .price{min-width:0;color:var(--market-deep);font-weight:700;font-size:clamp(12px,1.45vw,16px);margin:4px 0 0;line-height:1.6}
.bt-market .bt-market-results ul.products li.product .price del{display:block;color:var(--market-muted);font-size:.84em;font-weight:400;opacity:1}
.bt-market .bt-market-results ul.products li.product .price ins{background:none;text-decoration:none}
.bt-market .bt-market-results ul.products li.product .onsale{
 min-width:0;min-height:0;margin:0;inset:auto;inset-block-start:2px;inset-inline-start:2px;padding:3px 7px;
 border-radius:100px;font-size:10px;font-weight:700;line-height:1.5;color:#005d50;background:var(--market-soft);
}
.bt-market .bt-market-results ul.products li.product :is(.button,.added_to_cart){
 min-height:36px;display:grid;place-items:center;align-content:center;gap:4px;padding:4px 6px;margin:9px 0 0;line-height:1.5;
 min-width:0;max-width:100%;border-radius:9px;font-size:clamp(11px,1.3vw,13px);font-weight:700;text-align:center;white-space:normal;
}
.bt-market .bt-market-results ul.products li.product .button{color:var(--market-deep);background:var(--market-soft)}
.bt-market .bt-market-results ul.products li.product .button:hover{color:white;background:var(--market-deep)}
.bt-market .bt-market-results ul.products li.product .added_to_cart{border:1px solid var(--market-border);color:var(--market-deep)}
.bt-market .woocommerce-pagination{margin-block-start:14px}
.bt-market .woocommerce-pagination ul.page-numbers,.bt-market .woocommerce-pagination ul.page-numbers li{border:0}
.bt-market .woocommerce-pagination ul.page-numbers li :is(a,span){display:grid;place-items:center;min-height:36px;min-width:36px;margin:2px;border-radius:8px;background:#fff;color:var(--market-deep);border:1px solid var(--market-border)}
.bt-market .woocommerce-pagination ul.page-numbers li .current{background:var(--market-deep);color:#fff;border-color:var(--market-deep)}
.bt-market-empty{margin:0}
.bt-market-directory{margin-top:16px}
.bt-market .bt-category-directory-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.bt-market .bt-category-directory-grid>section{min-width:0;padding:12px;background:#fff;border:1px solid var(--market-border);border-radius:17px}
.bt-market .bt-category-directory-grid h2 a{display:flex;flex-direction:row;align-items:center;gap:8px;color:var(--market-ink);font-size:15px;line-height:1.55}
.bt-market .bt-category-directory-grid h2 :is(img,.bt-category-icon){flex:none;width:52px;height:52px;margin:0;font-size:22px;border-radius:13px;padding:6px}
.bt-market .bt-category-directory-grid li a{display:inline-block;color:var(--market-deep);line-height:1.45;padding:5px 2px}
.bt-directory-local-search{min-width:0;padding:10px 12px;border:1px solid var(--market-border);border-radius:14px;background:#fff}
.bt-directory-local-search label{display:block;font-size:13px;margin-bottom:4px}
.bt-directory-local-search [role=status]{margin:0;font-size:12px;color:var(--market-muted)}
.bt-directory-local-search [role=status]:not(:empty){margin-top:4px}
.bt-market-editorial main>article.panel{min-width:0;overflow-wrap:anywhere;margin:16px 0;padding:clamp(14px,3vw,30px);border:1px solid var(--market-border);border-radius:19px;background:white}
.bt-market-editorial main>article.panel h1{margin:0 0 12px;color:var(--market-ink);font-size:clamp(22px,3vw,34px);line-height:1.5}
.bt-market-editorial main>article.panel img{max-width:100%;height:auto}
.bt-market-editorial main>article.panel a{color:var(--market-deep);text-underline-offset:3px}
.bt-market-editorial main>article.panel a:hover{text-decoration:underline}
@media(max-width:1100px){.bt-market .bt-market-results ul.products{--market-columns:3}}
@media(max-width:760px){
 .bt-market{gap:10px;margin-bottom:75px}
 .bt-market-layout{grid-template-columns:minmax(0,1fr);gap:10px}
 .bt-market .bt-market-sidebar:has(>dialog):not(:has(>dialog[open])){display:none}
 .bt-market .bt-filter-dialog{
  width:min(440px,calc(100% - 28px));max-width:calc(100% - 28px);max-height:calc(100dvh - 26px);padding:0;
  border:0;border-radius:18px;color:var(--market-ink);box-shadow:0 10px 32px #102f2f25;overflow:auto;
 }
 .bt-market .bt-filter-dialog::backdrop{background:#1b2c3370}
 .bt-market .bt-filter-dialog .bt-filter-fallback{padding:13px;border:0;border-radius:0}
 .bt-market .bt-market-results ul.products{--market-columns:2}
}
@media(max-width:460px){
 .bt-market-hero{align-items:flex-start;flex-direction:column;gap:6px}
 .bt-market .bt-market-hero .bt-market-pill{min-height:36px}
 .bt-market .bt-market-quick>.bt-market-open{padding-inline:7px;font-size:11px}
 .bt-market-quick>.bt-market-open .dashicons,.bt-market-search .dashicons{display:none}
 .bt-market-search{gap:3px}
 .bt-market .bt-market-search button{padding-inline:6px;font-size:11px}
 .bt-market .bt-market-search input{padding-inline:6px;font-size:13px}
}
/* Native account screens: appearance only, no changes to actions or Woo fields. */

.bt-market-account main>article.panel{min-width:0;margin:16px 0;padding:clamp(12px,2.4vw,25px);border:1px solid var(--market-border);border-radius:19px;background:#fff}
.bt-market-account main>article.panel>h1{margin-top:0;font-size:clamp(23px,3vw,34px);line-height:1.55}
.bt-market-account main :is(a,button,input,select,textarea):focus-visible{outline:2px solid #007866;outline-offset:2px}
.bt-market-account .woocommerce-MyAccount-navigation{min-width:0}
.bt-market-account .woocommerce-MyAccount-navigation ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}
.bt-market-account .woocommerce-MyAccount-navigation a{display:block;padding:7px 10px;border:1px solid var(--market-border);border-radius:10px;color:var(--market-deep);font-size:13px}
.bt-market-account .woocommerce-MyAccount-navigation :is(.is-active a,a:hover){background:var(--market-soft);text-decoration:none}
.bt-market-account .woocommerce-MyAccount-content{min-width:0;overflow-wrap:anywhere}
.bt-market-account .woocommerce table.shop_table{max-width:100%;border-color:var(--market-border);border-radius:12px}
.bt-market-account .woocommerce form :is(.input-text,textarea,select){min-height:44px;padding:8px 10px;border:1px solid var(--market-border);border-radius:10px;background:#fff;color:var(--market-ink);font:inherit}
.bt-market-account .woocommerce :is(.button,button.button){border-radius:10px;background:var(--market-deep);color:#fff;font:inherit;font-weight:700}
.bt-market-account .woocommerce :is(.button,button.button):hover{background:#005649;color:#fff}
.bt-market-account .woocommerce .woocommerce-MyAccount-content a:not(.button){color:var(--market-deep);text-underline-offset:3px}
.bt-market-editorial main .navigation.pagination .page-numbers{display:inline-grid;place-items:center;min-height:34px;min-width:34px;border:1px solid var(--market-border);border-radius:9px;background:#fff;color:var(--market-deep)}
.bt-market-editorial main .navigation.pagination .current{background:var(--market-deep);color:#fff}
.bt-market-editorial main>article.panel.bt-market-404{max-width:760px;margin-inline:auto}
.bt-market-editorial .bt-market-404 .bt-market-pill{min-height:43px;white-space:nowrap;padding:5px 9px;border-radius:10px;background:var(--market-deep);color:#fff}
@media(max-width:768px){
 .bt-market-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;margin-block-end:10px}
 .bt-market-account .woocommerce-MyAccount-navigation a{padding:5px 6px;font-size:12px}
}
