.th-search{--ths-green:#005b45;--ths-gold:#c9aa52;--ths-ink:#253b32;position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#fff;color:var(--ths-ink);overflow:auto;font-family:inherit}
.th-search::backdrop{background:#fff}
html.th-search-open,html.th-search-open body{overflow:hidden!important}
.th-search *{box-sizing:border-box}
.th-search-shell{max-width:1320px;margin:auto;padding:30px 44px 60px}
.th-search-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:48px}
.th-search-brand{background:var(--ths-green);padding:9px 20px;color:#fff!important;font-family:Georgia,serif;font-size:28px;letter-spacing:2px;line-height:1.3;text-decoration:none}
.th-search-close{display:flex;gap:10px;align-items:center;min-height:44px;padding:6px 0 6px 16px;border:0;background:transparent;color:var(--ths-green);text-transform:none;font:inherit;cursor:pointer}
.th-search-close>span:first-child{font-size:33px;font-weight:300;line-height:1}
.th-search-form{margin:0}
.th-search-form>label{display:block;margin-bottom:14px;color:var(--ths-green);font-size:36px;line-height:1.25;font-weight:700}
.th-search-field{display:flex;align-items:center;gap:18px;min-height:76px;border-bottom:2px solid var(--ths-green);padding-bottom:12px}
.th-search-field>svg{flex-shrink:0;color:var(--ths-green)}
.th-search input[type=search]{flex:1;min-width:0;height:56px;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;color:var(--ths-ink);font:inherit;font-size:23px;line-height:1.3;outline-offset:4px}
.th-search input[type=search]::-webkit-search-cancel-button{display:none}
.th-search input[type=search]::placeholder{color:#87938c;font-size:20px}
.th-search button{border-radius:7px}
.th-search button.th-search-submit{align-self:center;min-height:48px;min-width:120px;border:0;background:var(--ths-green);color:#fff;padding:10px 24px;font:inherit;font-weight:600;cursor:pointer;text-transform:none}
.th-search-clear{flex-shrink:0;min-width:44px;min-height:44px;padding:2px;border:0;background:transparent;color:#63796b;font-size:29px;cursor:pointer}
.th-search [hidden]{display:none!important}
.th-search-chips{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 24px}
.th-search-chips button{padding:8px 15px;min-height:40px;border:1px solid #d5e3da;background:#f6f9f6;color:var(--ths-green);font:inherit;font-size:13px;text-transform:none;cursor:pointer}
.th-search button:hover,.th-search-sections a:hover{filter:brightness(.96)}
.th-search :focus-visible{outline:2px solid var(--ths-gold);outline-offset:4px}
.th-search-status{font-size:14px;line-height:1.5;min-height:23px;margin-bottom:22px;color:#66786e}
.th-search-start h2{font-size:22px;color:var(--ths-green);margin:38px 0 22px}
.th-search-sections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.th-search-sections a{position:relative;padding:24px;min-height:130px;border-radius:10px;background:#eef5ef;color:var(--ths-green);text-decoration:none}
.th-search-sections strong{display:block;font-size:22px;margin-bottom:10px}
.th-search-sections a>span:first-of-type{font-size:13px;color:#667b6e}
.th-search-sections a>span:last-of-type{position:absolute;right:18px;top:20px;font-size:22px}
.th-search-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:32px}
.th-search-layout--products{grid-template-columns:minmax(0,1fr)}
.th-search-categories h2,.th-search-products h2{font-size:16px;color:var(--ths-green);margin:0 0 18px;font-weight:600}
.th-search-categories a{display:block;margin-bottom:10px;padding:10px 12px;background:#f3f7f3;border-radius:6px;color:#335947;text-decoration:none;font-size:14px}
.th-search-grid{border:1px solid #e1ebe3;border-radius:8px;overflow:hidden}
.th-search-card{display:grid;grid-template-columns:52px minmax(0,1fr) 180px 112px;align-items:center;min-width:0;gap:16px;min-height:76px;padding:10px 14px;border-bottom:1px solid #e7ede8;background:#fff;color:var(--ths-ink)}
.th-search-card:last-child{border-bottom:0}
.th-search-card:hover{background:#f5f9f5}
.th-search-card-image-link{display:block;width:52px;height:52px}
.th-search-card-img{display:block;width:52px;height:52px;object-fit:contain;border-radius:5px;background:#fff}
.th-search-card-copy{display:block;min-width:0;color:var(--ths-ink);text-decoration:none}
.th-search-card-name{font-size:14px;line-height:1.4;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.th-search-card-sku{display:block;font-size:11px;line-height:1.5;margin-top:3px;color:#7b857d}
.th-search-card-price{text-align:right;color:#af8d2a;font-size:14px;font-weight:600;line-height:1.5}
.th-search-card-price del{color:#899086;font-size:12px;font-weight:400}
.th-search-card-price ins{background:transparent}
.th-search .th-search-order{display:inline-flex;align-items:center;justify-content:center;min-height:44px;width:112px;padding:8px 10px;margin:0;border:0;border-radius:6px;background:var(--ths-green);color:#fff!important;font:inherit;font-size:13px;font-weight:600;line-height:1.3;text-align:center;text-transform:none;text-decoration:none;cursor:pointer}
.th-search .th-search-order:disabled{opacity:.65;cursor:wait}
.th-search .th-search-order--added{background:#e7f2e9;color:var(--ths-green)!important}
.th-search-more{display:block;width:fit-content;margin:28px auto 0;padding:12px 24px;border:1px solid var(--ths-green);border-radius:6px;text-decoration:none;color:var(--ths-green);font-size:14px}
.th-search-empty{max-width:600px;padding:32px 0}
.th-search-empty h2{font-size:24px;color:var(--ths-green)}
.th-search-empty p{font-size:15px;color:#64756a;line-height:1.6}
.th-search--has-query .th-search-top{margin-bottom:14px}
.th-search--has-query .th-search-brand{font-size:24px;padding:6px 16px}
.th-search--has-query .th-search-form>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.th-search--has-query .th-search-field{min-height:56px;padding-bottom:6px}
.th-search--has-query input[type=search]{height:44px;font-size:20px}
.th-search--has-query .th-search-chips{margin:10px 0}
.th-search--has-query .th-search-status{margin-bottom:12px;font-size:13px}
.th-search--has-query .th-search-products h2{margin-bottom:10px}
@media(max-width:1100px){.th-search-layout:not(.th-search-layout--products){grid-template-columns:175px minmax(0,1fr);gap:22px}.th-search-card{grid-template-columns:48px minmax(0,1fr) 145px 100px;gap:12px}.th-search .th-search-order{width:100px}}
@media(max-width:767px){
 .th-search-shell{padding:18px 18px 36px}.th-search-top{margin-bottom:28px}.th-search-brand{font-size:21px;padding:6px 12px}.th-search-close-label{display:none}
 .th-search-form>label{font-size:26px}.th-search-field{min-height:60px;gap:10px;padding-bottom:7px}.th-search-field>svg{width:22px;height:22px}
 .th-search input[type=search]{height:48px;font-size:17px}.th-search input[type=search]::placeholder{font-size:14px}.th-search button.th-search-submit{min-width:0;font-size:13px;padding:9px 13px;min-height:44px}.th-search-clear{min-width:30px}
 .th-search-chips{gap:7px;margin:16px 0 18px}.th-search-chips button{font-size:12px;padding:7px 11px}
 .th-search-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.th-search-sections a{padding:20px 15px;min-height:126px}.th-search-sections strong{font-size:18px}.th-search-sections a>span:first-of-type{font-size:12px}
 .th-search-status{font-size:13px;margin-bottom:18px}.th-search-start h2{font-size:19px;margin-top:26px}
 .th-search-layout{display:flex;flex-direction:column;gap:20px}.th-search-categories:empty{display:none}.th-search-categories h2{margin-bottom:10px}.th-search-categories a{display:inline-block;margin:0 8px 8px 0;font-size:12px;padding:7px 10px}
 .th-search-card{grid-template-columns:42px minmax(0,1fr) 78px;grid-template-areas:"image copy action" "image price action";column-gap:9px;row-gap:3px;padding:10px;min-height:78px}
 .th-search-card-image-link{grid-area:image;width:42px;height:42px}.th-search-card-img{width:42px;height:42px}
 .th-search-card-copy{grid-area:copy}.th-search-card-name{font-size:12px}.th-search-card-sku{display:none}
 .th-search-card-price{grid-area:price;text-align:left;font-size:12px}
 .th-search .th-search-order{grid-area:action;width:78px;font-size:11px;padding:7px 5px}
 .th-search--has-query .th-search-brand{font-size:21px;padding:6px 12px}
 .th-search--has-query input[type=search]{font-size:17px}
}
@media(prefers-reduced-motion:no-preference){.th-search-card,.th-search-sections a{transition:box-shadow .15s,border-color .15s}}
