/* Thrift2Me search bar */
.t2m-sb{--sb-red:#C10B2E;--sb-wine:#850B23;--sb-ink:#1d1d1f;--sb-mute:#6b6259;--sb-line:#E7E1D6;position:relative;max-width:640px;width:100%;z-index:30;font-family:inherit}
.t2m-sb-bar{display:flex;align-items:stretch;min-height:54px;background:#fff;border:2px solid #2a2622;border-radius:999px;box-shadow:0 8px 20px -14px rgba(0,0,0,.35);transition:border-color .15s,box-shadow .15s}
.t2m-sb.is-open .t2m-sb-bar,.t2m-sb-bar:focus-within{border-color:var(--sb-red);box-shadow:0 0 0 4px rgba(193,11,46,.13)}
.t2m-sb-cat{position:relative;display:flex;align-items:center;flex:0 0 auto;background:#F3EEE6;border-right:1px solid var(--sb-line);border-radius:999px 0 0 999px;margin:0;cursor:pointer}
.t2m-sb-cat select{appearance:none;-webkit-appearance:none;border:0!important;background:transparent!important;box-shadow:none!important;outline:0;height:100%;min-height:50px;padding:0 30px 0 18px!important;margin:0!important;font-weight:700;font-size:14px;line-height:1;font-family:inherit;color:var(--sb-ink);cursor:pointer;text-overflow:ellipsis;max-width:190px;border-radius:999px 0 0 999px}
.t2m-sb-cat select:focus-visible{outline:2px solid var(--sb-red);outline-offset:-4px}
.t2m-sb-cat svg{position:absolute;right:12px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--sb-mute)}
.t2m-sb-measure{position:absolute;visibility:hidden;white-space:nowrap;font-weight:700;font-size:14px;line-height:1;font-family:inherit;left:-9999px;top:0}
.t2m-sb-field{position:relative;display:flex;align-items:center;flex:1 1 auto;min-width:0;padding:0 4px 0 14px}
.t2m-sb-ic{flex:0 0 auto;color:var(--sb-mute);margin-right:8px}
.t2m-sb-field input[type=search]{flex:1;min-width:0;width:100%;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;font:inherit;font-size:16px!important;color:var(--sb-ink);padding:12px 2px!important;margin:0!important;-webkit-appearance:none;appearance:none}
.t2m-sb-field input[type=search]::-webkit-search-cancel-button{display:none}
.t2m-sb-field input::placeholder{color:#8a8378}
.t2m-sb-clear{flex:0 0 auto;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;background:#F3EEE6;color:var(--sb-ink);cursor:pointer;padding:0;margin:0 4px}
.t2m-sb-clear:hover{background:#E7E1D6}
.t2m-sb-clear[hidden]{display:none}
.t2m-sb.is-loading .t2m-sb-ic{animation:t2mSbPulse .8s ease-in-out infinite alternate}
@keyframes t2mSbPulse{to{color:var(--sb-red)}}
.t2m-sb-go{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:4px;border:0;border-radius:999px;background:var(--sb-red);color:#fff;font:800 15px/1 Montserrat,sans-serif;padding:0 24px;cursor:pointer;box-shadow:0 3px 0 var(--sb-wine);transition:background .15s}
.t2m-sb-go:hover{background:#a50927}
.t2m-sb-go svg{display:none}

/* dropdown */
.t2m-sb-pop{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--sb-line);border-radius:20px;box-shadow:0 24px 50px -18px rgba(42,38,34,.38);padding:8px;max-height:min(70vh,560px);overflow:auto;overscroll-behavior:contain;text-align:left}
.t2m-sb-pop[hidden]{display:none}
.t2m-sb-h{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 6px;font:800 11.5px/1 Montserrat,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--sb-mute)}
.t2m-sb-clr{border:0;background:none;color:var(--sb-red);font-weight:700;font-size:13px;line-height:1;font-family:inherit;text-transform:none;letter-spacing:0;cursor:pointer;padding:4px}
.t2m-sb-o{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;cursor:pointer;color:var(--sb-ink);font-size:15px;line-height:1.3}
.t2m-sb-o.is-active,.t2m-sb-chip.is-active,.t2m-sb-all.is-active{background:#FBEAED}
.t2m-sb-o>i{flex:0 0 auto;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#F6F1E8;color:var(--sb-mute);font-style:normal}
.t2m-sb-l{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t2m-sb-l b{font-weight:800}
.t2m-sb-typed{font-weight:400}
.t2m-sb-l em{font-style:normal;color:var(--sb-red);font-weight:700}
.t2m-sb-o.is-cat .t2m-sb-l em{color:var(--sb-mute);font-weight:600;font-size:13px}
.t2m-sb-o mark,.t2m-sb-pn mark{background:#FFE9A8;color:inherit;border-radius:3px;padding:0 1px}
.t2m-sb-rm{flex:0 0 auto;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:none;color:var(--sb-mute);cursor:pointer;padding:0}
.t2m-sb-rm:hover{background:#F3EEE6;color:var(--sb-ink)}
.t2m-sb-chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 12px 12px}
.t2m-sb-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 13px;border-radius:999px;border:1px solid var(--sb-line);background:#fff;font-size:14px;font-weight:700;color:var(--sb-ink);cursor:pointer}
.t2m-sb-chip svg{color:var(--sb-red)}
.t2m-sb-o.is-prod{gap:12px;padding:8px 10px}
.t2m-sb-th{position:relative;flex:0 0 auto;width:52px;height:52px;border-radius:10px;overflow:hidden;background:#F5F3EE;border:1px solid #EFE9DF}
.t2m-sb-th img{width:100%;height:100%;object-fit:cover;display:block;margin:0}
.t2m-sb-th em{position:absolute;inset:auto 0 0 0;background:rgba(29,29,31,.85);color:#fff;font:800 9.5px/1.6 Montserrat,sans-serif;letter-spacing:.06em;text-transform:uppercase;text-align:center;font-style:normal}
.t2m-sb-pi{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.t2m-sb-pn{font-weight:700;font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t2m-sb-pm{font-size:12.5px;color:var(--sb-mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t2m-sb-tag{flex:0 0 auto;position:relative;background:var(--t2m-rc,var(--sb-red));color:var(--t2m-rt,#fff);font:800 13px/1 Montserrat,sans-serif;padding:7px 10px 7px 20px;clip-path:polygon(10px 0,100% 0,100% 100%,10px 100%,0 50%);white-space:nowrap}
.t2m-sb-tag::before{content:"";position:absolute;left:8px;top:50%;width:5px;height:5px;border-radius:50%;background:var(--t2m-rh,#fff);transform:translateY(-50%)}
.t2m-sb-tag s{color:var(--t2m-rd,rgba(255,255,255,.7));font-weight:600;font-size:11px;margin-right:4px}
.t2m-sb-none{padding:14px 12px;color:#4b443d;font-size:14.5px;background:#FBF8F3;border-radius:12px;margin:6px 4px}
.t2m-sb-all{display:flex;align-items:center;gap:10px;margin:6px 0 0;padding:13px 12px;border-top:1px solid var(--sb-line);border-radius:0 0 12px 12px;color:var(--sb-red);font-weight:700;font-size:14.5px;cursor:pointer}
.t2m-sb-all b{font-weight:800}

@media (max-width:640px){
  .t2m-sb-bar{min-height:50px}
  .t2m-sb-cat select{min-height:46px;padding:0 26px 0 13px!important;font-size:13px;max-width:116px}
  .t2m-sb-cat svg{right:9px}
  .t2m-sb-field{padding-left:10px}
  .t2m-sb-ic{display:none}
  .t2m-sb-go{padding:0 14px}
  .t2m-sb-go span{display:none}
  .t2m-sb-go svg{display:block}
  .t2m-sb-pop{left:-6px;right:-6px;max-height:65vh}
  .t2m-sb-tag{font-size:12px;padding:6px 8px 6px 18px}
  .t2m-sb-pn{font-size:14px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25}
  .t2m-sb-pm{font-size:12px}
}

/* no category picker: centred search button, roomier field */
.t2m-sb-bar{align-items:center}
.t2m-sb-field{align-self:stretch;padding-left:20px}
.t2m-sb-go{align-self:center;height:44px;margin:0 5px 0 6px;padding:0 26px;box-shadow:none}
@media (max-width:640px){.t2m-sb-field{padding-left:16px}.t2m-sb-ic{display:block}.t2m-sb-go{height:40px;padding:0 14px;margin-right:4px}}

/* search bar in the site header (every page) */
.t2m-header .t2m-sb{flex:1 1 auto;max-width:560px;margin:0 28px;z-index:60}
.t2m-header .t2m-sb-bar{min-height:46px;border-width:1.5px;box-shadow:none}
.t2m-header .t2m-sb-field input[type=search]{padding:9px 2px!important;font-size:15px!important}
.t2m-header .t2m-sb-go{height:36px;padding:0 18px;font-size:14px}
.t2m-header .t2m-sb-pop{min-width:min(520px,calc(100vw - 32px))}
body.t2m-explore .t2m-header .t2m-sb{visibility:hidden;pointer-events:none}
@media (max-width:1100px){.t2m-header .t2m-sb{margin:0 16px}.t2m-header .t2m-sb-go span{display:none}.t2m-header .t2m-sb-go svg{display:block}.t2m-header .t2m-sb-go{padding:0 12px}}
@media (max-width:860px){
  .t2m-header .wp-block-group:has(> .t2m-sb){flex-wrap:wrap!important;row-gap:10px}
  .t2m-header .t2m-sb{order:3;flex:1 1 100%;max-width:none;margin:0 0 4px}
  body.t2m-explore .t2m-header .t2m-sb{display:none}
  .t2m-header .t2m-sb-pop{left:0;right:0;min-width:0}
}
.t2m-header .wp-block-site-logo{flex:0 0 auto}
.t2m-header .t2m-header-right{flex:0 0 auto}
.t2m-header .wp-block-navigation-item__content{white-space:nowrap}
.t2m-header .t2m-sb{min-width:240px}
@media (max-width:1180px){
  .t2m-header .wp-block-group:has(> .t2m-sb){flex-wrap:wrap!important;row-gap:10px}
  .t2m-header .t2m-sb{order:3;flex:1 1 100%;max-width:none;min-width:0;margin:0 0 4px}
  .t2m-header .t2m-sb-go span{display:inline}.t2m-header .t2m-sb-go svg{display:none}.t2m-header .t2m-sb-go{padding:0 18px}
  body.t2m-explore .t2m-header .t2m-sb{display:none}
  .t2m-header .t2m-sb-pop{left:0;right:0;min-width:0}
}
@media (max-width:640px){.t2m-header .t2m-sb-go span{display:none}.t2m-header .t2m-sb-go svg{display:block}.t2m-header .t2m-sb-go{padding:0 12px}}
