/* Hand-Tools.com shared styles (homepage + search) */
:root{
  --ht-orange:#F15C32; --ht-orange-dark:#cb360e; --ht-orange-soft:#fff3ee; --ht-orange-line:rgba(241,92,50,.5);
  --ht-ink:#212120; --ht-text:#212120; --ht-muted:#5c5c58; --ht-line:#ece7e3; --ht-white:#fff; --ht-red:#d0190f;
  --ht-grad:linear-gradient(#F15C32,#212120); --ht-grad-hover:linear-gradient(#212120,#F15C32);
  --ht-font:Tahoma,Verdana,Arial,Helvetica,sans-serif;
}
body.ht-home{margin:0;background:#F15C32;color:var(--ht-text);font:16px/1.5 var(--ht-font);padding:0 10px 10px}
.ht-home *{box-sizing:border-box}
.ht-home a,.ht-home a:link,.ht-home a:visited,.ht-home a:hover,.ht-home a:active{color:inherit;text-decoration:none;font-family:var(--ht-font);font-size:inherit}
.ht-home h1,.ht-home h2,.ht-home h3{font-family:var(--ht-font);color:var(--ht-ink);margin:0;font-weight:700}
.ht-home img{border-radius:0}
.ht-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* gradient button — the classic Hand-Tools.com orange-to-charcoal look */
.ht-gbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ht-grad);color:#fff !important;font-weight:700;border:1px solid #212120;border-radius:8px;text-shadow:0 -1px 0 rgba(0,0,0,.33);padding:11px 22px;cursor:pointer;font-family:var(--ht-font)}
.ht-gbtn:hover{background:var(--ht-grad-hover)}

/* strip above the page */
.ht-topline{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#fff;font-size:13px;padding:7px 4px}
.ht-topline a{color:#fff !important;font-weight:700}

/* white page panel */
.ht-page{max-width:1200px;margin:0 auto;background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 6px 24px rgba(0,0,0,.18)}
.ht-rule{height:2px;background:var(--ht-orange);border:0;margin:0 5%}

/* header */
.ht-banner{display:block;padding:10px 10px 6px}
.ht-banner img{display:block;width:100%;height:auto}
.ht-bar{background:#212120;border-top:3px solid var(--ht-orange);display:flex;align-items:center;gap:16px;padding:10px 14px;margin-top:8px}
.ht-search{flex:1;display:flex;max-width:700px;border-radius:6px;overflow:hidden;border:2px solid var(--ht-orange);background:#fff}
.ht-search input{flex:1;min-width:0;border:0;outline:0;padding:9px 14px;font:15px var(--ht-font);color:var(--ht-ink)}
.ht-search button{border:0;border-radius:0;padding:0 20px;font-size:15px}
.ht-bar .ht-phone{color:#fff;margin-left:auto;white-space:nowrap;font-size:13px;line-height:1.2;text-align:right}
.ht-bar .ht-phone a{display:block;color:var(--ht-orange) !important;font-weight:700;font-size:19px}
.ht-cart{white-space:nowrap;padding:9px 18px;font-size:16px;border-color:var(--ht-orange)}

/* hero */
.ht-hero{margin:14px;border-radius:6px;background:linear-gradient(120deg,#F15C32 0%,#e04e26 55%,#b8380f 100%);color:#fff;position:relative;overflow:hidden}
.ht-hero:after{content:"";position:absolute;right:-60px;top:0;bottom:0;width:340px;background:repeating-linear-gradient(-60deg,rgba(255,255,255,.09) 0 18px,transparent 18px 40px);pointer-events:none}
.ht-hero-in{position:relative;z-index:1;display:grid;grid-template-columns:1.35fr 1fr;gap:36px;align-items:center;padding:38px 36px}
.ht-hero h1{color:#fff;font-size:clamp(26px,3.4vw,40px);line-height:1.15;margin-bottom:14px;text-shadow:0 2px 0 rgba(0,0,0,.18)}
.ht-hero p{font-size:17px;margin:0 0 22px;color:#fff;max-width:560px}
.ht-btns{display:flex;gap:12px;flex-wrap:wrap}
.ht-wbtn{display:inline-flex;align-items:center;padding:11px 22px;border-radius:8px;background:#fff;color:#212120 !important;font-weight:700;border:1px solid #fff}
.ht-wbtn:hover{background:#212120;color:#fff !important;border-color:#212120}
.ht-obtn{display:inline-flex;align-items:center;padding:11px 22px;border-radius:8px;border:2px solid #fff;color:#fff !important;font-weight:700}
.ht-obtn:hover{background:rgba(255,255,255,.15)}
.ht-brandbox{background:#fff;border-radius:6px;padding:18px;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.ht-brandbox h2{font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:var(--ht-orange-dark);margin-bottom:10px;padding-bottom:8px;border-bottom:2px solid var(--ht-orange)}
.ht-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ht-chip{display:block;padding:9px 12px;border:1px solid var(--ht-orange-line);border-radius:4px;font-weight:700;color:#212120 !important;font-size:15px}
.ht-chip:hover{background:var(--ht-orange);color:#fff !important;border-color:var(--ht-orange)}
.ht-chip:before{content:"\25B8";color:var(--ht-orange);margin-right:6px}
.ht-chip:hover:before{color:#fff}
.ht-all{display:block;text-align:center;margin-top:10px;font-size:14px;color:var(--ht-orange-dark) !important;font-weight:700}

/* trust strip */
.ht-trust{list-style:none;margin:0 14px;padding:14px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;border-top:2px solid var(--ht-orange);border-bottom:2px solid var(--ht-orange)}
.ht-trust li{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.3}
.ht-trust svg{flex:0 0 38px;width:38px;height:38px;padding:8px;border-radius:50%;background:var(--ht-orange);color:#fff}
.ht-trust b{display:block;font-size:15px}
.ht-trust small{color:var(--ht-muted);font-size:12px}

/* sections */
.ht-section{padding:30px 14px}
.ht-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.ht-head h2{font-size:clamp(22px,2.4vw,30px)}
.ht-head h2:after{content:"";display:block;width:70px;height:4px;background:var(--ht-orange);border-radius:2px;margin-top:8px}
.ht-head p{margin:6px 0 0;color:var(--ht-muted);font-size:15px}

/* product grid */
.ht-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.ht-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--ht-orange-line);border-radius:4px;padding:12px;text-align:center;transition:box-shadow .2s,border-color .2s}
.ht-card:hover{border-color:var(--ht-orange);box-shadow:0 4px 16px rgba(241,92,50,.22)}
.ht-card-img{display:block;aspect-ratio:4/3;padding:6px}
.ht-card-img img{width:100%;height:100%;object-fit:contain;display:block;border-radius:4px}
.ht-badge{position:absolute;top:10px;left:10px;background:var(--ht-red);color:#fff;font-size:12px;font-weight:700;padding:3px 8px;border-radius:4px}
.ht-brand{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--ht-orange-dark);margin-top:8px}
.ht-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;font-weight:700;font-size:15px !important;line-height:1.35;margin-top:4px;color:#212120 !important}
.ht-card-title:hover{color:var(--ht-orange-dark) !important}
.ht-card-desc{font-size:12px;color:var(--ht-muted);margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ht-price{margin-top:auto;padding-top:12px;display:flex;justify-content:center;align-items:baseline;gap:8px;flex-wrap:wrap}
.ht-now{font-size:22px;font-weight:700}
.ht-now.ht-sale{color:var(--ht-red)}
.ht-price del{color:var(--ht-muted);font-size:14px}
.ht-card .ht-gbtn{margin-top:10px;width:100%;padding:9px;font-size:15px}

/* personalization */
.ht-custom{margin:6px 14px 0;border:2px solid var(--ht-orange);border-radius:6px;background:var(--ht-orange-soft);display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:center;padding:30px}
.ht-custom h2{font-size:clamp(22px,2.6vw,32px);line-height:1.15;margin-bottom:10px}
.ht-custom h2 span{color:var(--ht-orange)}
.ht-custom p{margin:0 0 18px;color:#3d3d3a}
.ht-ccards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ht-ccard{background:#fff;border:1px solid var(--ht-orange-line);border-radius:6px;padding:18px}
.ht-ccard svg{width:36px;height:36px;color:var(--ht-orange);margin-bottom:6px}
.ht-ccard h3{font-size:17px;margin-bottom:4px}
.ht-ccard p{font-size:14px;margin:0;color:var(--ht-muted)}
.ht-dbtn{display:inline-flex;align-items:center;padding:11px 22px;border-radius:8px;border:2px solid #212120;color:#212120 !important;font-weight:700}
.ht-dbtn:hover{background:#212120;color:#fff !important}

/* brand directory */
.ht-filter input{width:280px;max-width:100%;padding:9px 14px;border:2px solid var(--ht-orange-line);border-radius:6px;font:15px var(--ht-font);outline:0}
.ht-filter input:focus{border-color:var(--ht-orange)}
.ht-brands{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}
.ht-brands a{display:block;padding:9px 12px;border:1px solid var(--ht-orange-line);border-radius:4px;text-align:center;line-height:1.25}
.ht-brands a:hover{background:var(--ht-orange);border-color:var(--ht-orange);color:#fff !important}
.ht-brands b{display:block;font-size:14px;text-transform:uppercase}
.ht-brands small{font-size:11px;text-transform:uppercase;color:var(--ht-muted)}
.ht-brands a:hover small{color:#fff}
.ht-nobrand{display:none;color:var(--ht-muted)}

.ht-about{max-width:880px;margin:0 auto;text-align:center;color:#3d3d3a;font-size:15px}
.ht-about h2{font-size:22px;margin-bottom:8px}

/* footer */
.ht-footer{background:#212120;color:#cfccc6;font-size:14px;border-top:4px solid var(--ht-orange)}
.ht-cols{display:grid;grid-template-columns:1.3fr 1fr .8fr 1.2fr;gap:28px;padding:30px 24px}
.ht-footer h3{color:var(--ht-orange);font-size:14px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.ht-footer a{color:#fff !important}
.ht-footer a:hover{color:var(--ht-orange) !important}
.ht-footer ul{list-style:none;margin:0;padding:0}
.ht-footer li{margin-bottom:6px}
.ht-footer address{font-style:normal;line-height:1.7}
.ht-footer p{margin:0 0 10px}
.ht-social{display:flex;gap:10px;flex-wrap:wrap}
.ht-social img{height:32px;width:auto;background:#fff;border-radius:6px !important;padding:3px}
.ht-pay{background:#fff;border-radius:6px;padding:6px;display:inline-block}
.ht-pay img{display:block;max-width:100%;height:auto}
.ht-seal{margin-top:10px;display:flex;align-items:center;gap:10px}
.ht-seal img{background:#fff;border-radius:6px !important;padding:3px}
.ht-copy{max-width:1200px;margin:0 auto;text-align:center;color:#fff;font-size:13px;padding:12px 0 4px}

@media (max-width:1000px){
  .ht-grid{grid-template-columns:repeat(3,1fr)}
  .ht-trust{grid-template-columns:repeat(2,1fr)}
  .ht-cols{grid-template-columns:1fr 1fr}
  .ht-hero-in,.ht-custom{grid-template-columns:1fr}
  .ht-bar .ht-phone{display:none}
}
@media (max-width:640px){
  body.ht-home{padding:0 0 8px}
  .ht-page{border-radius:0}
  .ht-topline{justify-content:center;text-align:center;padding:6px 8px}
  .ht-topline .ht-hide-sm{display:none}
  .ht-bar{flex-wrap:wrap;gap:10px;padding:10px}
  .ht-search{order:2;flex-basis:100%;max-width:none}
  .ht-bar .ht-phone{display:block;margin-left:0;text-align:left}
  .ht-bar .ht-phone a{font-size:17px}
  .ht-cart{margin-left:auto}
  .ht-hero{margin:10px}
  .ht-hero-in{padding:26px 18px}
  .ht-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .ht-card{padding:8px}
  .ht-card-desc{display:none}
  .ht-now{font-size:18px}
  .ht-trust{margin:0 10px;font-size:13px}
  .ht-trust small{display:none}
  .ht-section{padding:24px 10px}
  .ht-custom{margin:6px 10px 0;padding:20px}
  .ht-ccards{grid-template-columns:1fr}
  .ht-brands{grid-template-columns:repeat(2,1fr)}
  .ht-cols{grid-template-columns:1fr}
}

/* ---------- search page ---------- */
.ht-results-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.ht-results-head h1{font-size:clamp(22px,2.6vw,30px);line-height:1.2}
.ht-results-head h1:after{content:"";display:block;width:70px;height:4px;background:var(--ht-orange);border-radius:2px;margin-top:8px}
.ht-results-head h1 span{font-size:15px;font-weight:400;color:var(--ht-muted);margin-left:6px}
.ht-sort{display:flex;align-items:center;gap:8px;font-size:14px}
.ht-sort select{padding:7px 10px;border:2px solid var(--ht-orange-line);border-radius:6px;font:14px var(--ht-font);background:#fff;color:var(--ht-ink)}
.ht-sort select:focus{outline:0;border-color:var(--ht-orange)}
.ht-facets{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;padding:12px 0;border-top:2px solid var(--ht-orange);border-bottom:2px solid var(--ht-orange)}
.ht-facets b{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--ht-orange-dark);align-self:center;margin-right:4px}
.ht-facet{display:inline-block;padding:5px 11px;border:1px solid var(--ht-orange-line);border-radius:999px;font-size:13px !important;font-weight:700;white-space:nowrap}
.ht-facet small{font-weight:400;color:var(--ht-muted)}
.ht-facet:hover,.ht-facet.on{background:var(--ht-orange);border-color:var(--ht-orange);color:#fff !important}
.ht-facet:hover small,.ht-facet.on small{color:#fff}
.ht-stock{font-size:12px;font-weight:700;color:#2f7d3a;margin-top:6px}
.ht-pager{display:flex;justify-content:center;gap:6px;flex-wrap:wrap;margin:26px 0 6px}
.ht-pager a,.ht-pager span{min-width:40px;text-align:center;padding:8px 12px;border:1px solid var(--ht-orange-line);border-radius:6px;font-weight:700;font-size:15px !important}
.ht-pager a:hover{background:var(--ht-orange);border-color:var(--ht-orange);color:#fff !important}
.ht-pager .on{background:var(--ht-grad);color:#fff;border-color:#212120}
.ht-pager .gap{border:0;min-width:0;padding:8px 2px}
.ht-empty{border:2px solid var(--ht-orange);background:var(--ht-orange-soft);border-radius:6px;padding:24px;font-size:16px}
.ht-empty p{margin:0 0 14px}
.ht-sugg{display:flex;gap:8px;flex-wrap:wrap}
.ht-sugg a{display:inline-block;padding:7px 14px;background:#fff;border:1px solid var(--ht-orange-line);border-radius:999px;font-weight:700;font-size:14px !important}
.ht-sugg a:hover{background:var(--ht-orange);color:#fff !important;border-color:var(--ht-orange)}
.ht-mini-foot{background:#212120;color:#cfccc6;border-top:4px solid var(--ht-orange);text-align:center;font-size:14px;padding:18px 14px}
.ht-mini-foot a{color:#fff !important}
.ht-mini-foot a:hover{color:var(--ht-orange) !important}
@media (max-width:640px){
  .ht-facets{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .ht-results-head{align-items:flex-start;flex-direction:column}
}