/*
Theme Name: Toolbox Store
Theme URI: https://garage-toolbox.homes
Author: Toolbox
Description: Modern custom storefront for Toolbox New Zealand.
Version: 0.2.0
Text Domain: toolbox-store
*/

:root { --tb-ink:#101820; --tb-charcoal:#1b252e; --tb-slate:#5d6b76; --tb-orange:#f26922; --tb-orange-dark:#d84f0b; --tb-mist:#f4f6f7; --tb-line:#dfe5e8; --tb-white:#fff; --tb-max:1280px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--tb-ink); background:var(--tb-white); font-family:Inter,Arial,sans-serif; line-height:1.5; }
a { color:inherit; text-decoration:none; } a:hover { color:var(--tb-orange-dark); }
button,input,select,textarea { font:inherit; }
.tb-shell { width:min(calc(100% - 40px),var(--tb-max)); margin:0 auto; }
.screen-reader-text { position:absolute; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; }

.tb-announcement { color:#dfe7eb; background:#0f161d; font-size:.71rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; }
.tb-announcement .tb-shell { min-height:35px; display:flex; align-items:center; justify-content:center; gap:2.5rem; }
.tb-announcement span + span { border-left:1px solid #37424b; padding-left:2.5rem; }
.tb-header { border-bottom:1px solid var(--tb-line); background:var(--tb-white); }
.tb-header__row { min-height:89px; display:flex; align-items:center; gap:3rem; }
.tb-brand { flex:0 0 auto; display:flex; align-items:center; gap:.7rem; color:var(--tb-ink); font-size:1.35rem; font-weight:950; letter-spacing:-.075em; line-height:.8; }
.tb-brand small { display:block; color:var(--tb-slate); font-size:.46rem; font-weight:800; letter-spacing:.17em; margin-top:.47rem; }
.tb-brand__mark { position:relative; display:grid; place-items:center; width:39px; height:32px; border:3px solid var(--tb-orange); border-radius:4px 4px 7px 7px; }
.tb-brand__mark::before { content:""; position:absolute; top:-11px; width:17px; height:8px; border:3px solid var(--tb-orange); border-bottom:0; border-radius:5px 5px 0 0; }
.tb-brand__mark i { display:block; width:10px; height:3px; border-radius:2px; background:var(--tb-orange); }
.tb-search { flex:1; display:flex; max-width:600px; height:46px; border:1px solid #cbd4d9; border-radius:2px; overflow:hidden; background:#fff; }
.tb-search:focus-within { border-color:var(--tb-orange); box-shadow:0 0 0 3px rgba(242,105,34,.12); }
.tb-search input { width:100%; border:0; outline:0; padding:0 1rem; color:var(--tb-ink); font-size:.9rem; }
.tb-search button { width:54px; border:0; background:var(--tb-orange); color:white; cursor:pointer; font-size:1.55rem; line-height:1; }
.tb-search button:hover { background:var(--tb-orange-dark); }
.tb-utility { margin-left:auto; display:flex; align-items:center; gap:1.5rem; }
.tb-utility a { position:relative; display:flex; align-items:center; gap:.38rem; color:var(--tb-ink); font-size:.83rem; }
.tb-utility a > span { color:var(--tb-orange); font-size:1.3rem; }.tb-utility b { font-weight:800; }
.tb-utility em { position:absolute; top:-10px; left:11px; min-width:17px; height:17px; padding:0 4px; border-radius:12px; background:var(--tb-orange); color:white; text-align:center; font-size:.64rem; line-height:17px; font-style:normal; font-weight:900; }
.tb-navigation { border-bottom:1px solid var(--tb-line); background:var(--tb-white); }.tb-navigation__row { min-height:51px; display:flex; align-items:center; gap:2rem; }
.tb-browse-link { display:flex; align-items:center; gap:.6rem; min-width:184px; color:white; background:var(--tb-orange); align-self:stretch; padding:0 1rem; font-size:.82rem; font-weight:900; }.tb-browse-link span { font-size:1rem; }
.tb-menu { display:flex; gap:1.7rem; list-style:none; margin:0; padding:0; }.tb-menu a { font-size:.8rem; font-weight:850; }.tb-sale-link { margin-left:auto; color:var(--tb-orange-dark); font-size:.8rem; font-weight:900; white-space:nowrap; }

.tb-hero { position:relative; min-height:505px; color:white; isolation:isolate; background:#111a20 var(--tb-hero-image) center/cover no-repeat; }.tb-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(10,17,23,.96) 0%,rgba(12,19,25,.86) 35%,rgba(12,19,25,.12) 72%,rgba(12,19,25,.08)); }
.tb-hero__content { padding:clamp(5.5rem,9vw,8.7rem) 0 5.2rem; }.tb-kicker,.tb-eyebrow { color:var(--tb-orange); font-size:.72rem; font-weight:950; letter-spacing:.15em; text-transform:uppercase; }.tb-hero h1 { max-width:570px; margin:.6rem 0 1.15rem; font-size:clamp(3.3rem,6vw,5.9rem); font-weight:950; line-height:.91; letter-spacing:-.085em; }.tb-hero p { max-width:490px; margin:0 0 1.85rem; color:#e4eaed; font-size:1.06rem; }.tb-hero__actions { display:flex; flex-wrap:wrap; gap:.8rem; }
.tb-button { display:inline-flex; min-height:47px; align-items:center; justify-content:center; gap:.65rem; padding:0 1.15rem; border:1px solid var(--tb-orange); color:white; background:var(--tb-orange); font-size:.83rem; font-weight:900; letter-spacing:.01em; cursor:pointer; }.tb-button:hover { border-color:var(--tb-orange-dark); background:var(--tb-orange-dark); color:white; }.tb-button--ghost { border-color:rgba(255,255,255,.72); background:transparent; }.tb-button--ghost:hover { border-color:white; background:white; color:var(--tb-ink); }.tb-button--light { border-color:white; background:white; color:var(--tb-ink); }.tb-button--light:hover { color:white; }

.tb-strip { position:relative; z-index:2; background:var(--tb-white); border-bottom:1px solid var(--tb-line); }.tb-strip__grid { display:grid; grid-template-columns:repeat(3,1fr); }.tb-strip__grid > div { min-height:94px; display:flex; align-items:center; justify-content:center; gap:.8rem; padding:1rem 2rem; }.tb-strip__grid > div + div { border-left:1px solid var(--tb-line); }.tb-strip__grid > div > span { display:grid; place-items:center; width:34px; height:34px; border:1px solid #f5b18d; border-radius:50%; color:var(--tb-orange); font-weight:900; }.tb-strip p { margin:0; }.tb-strip strong,.tb-strip small { display:block; }.tb-strip strong { font-size:.84rem; }.tb-strip small { color:var(--tb-slate); font-size:.72rem; }
.tb-section { padding:5.35rem 0; }.tb-section--mist { background:var(--tb-mist); }.tb-section__head { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.8rem; }.tb-section h2 { margin:.28rem 0 0; font-size:clamp(1.9rem,3vw,2.65rem); line-height:1; letter-spacing:-.065em; }.tb-section__head p { margin:.55rem 0 0; color:var(--tb-slate); }.tb-text-link { color:var(--tb-orange-dark); font-size:.82rem; font-weight:900; white-space:nowrap; }
.tb-category-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }.tb-category { position:relative; min-height:197px; display:flex; flex-direction:column; align-items:flex-start; padding:1.25rem; border:1px solid var(--tb-line); background:white; overflow:hidden; transition:transform .18s,box-shadow .18s,border-color .18s; }.tb-category:hover { transform:translateY(-4px); border-color:#f8a376; box-shadow:0 12px 25px rgba(23,33,42,.08); }.tb-category__icon { display:grid; place-items:center; width:42px; height:42px; margin-bottom:auto; border-radius:50%; color:var(--tb-orange); background:#fff0e8; font-size:1.5rem; }.tb-category strong { font-size:1rem; }.tb-category span:not(.tb-category__icon) { margin-top:.16rem; color:var(--tb-slate); font-size:.76rem; }.tb-category i { position:absolute; right:1.25rem; bottom:1.1rem; color:var(--tb-orange); font-style:normal; font-size:1.15rem; }
.tb-product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.05rem; }.tb-product { overflow:hidden; border:1px solid var(--tb-line); background:#fff; transition:box-shadow .18s,transform .18s; }.tb-product:hover { transform:translateY(-3px); box-shadow:0 11px 27px rgba(23,33,42,.1); }.tb-product__image { display:grid; min-height:220px; place-items:center; overflow:hidden; background:linear-gradient(135deg,#eef1f2,#e2e7e9); color:#65747e; font-size:3.8rem; }.tb-product__image img { width:100%; height:220px; object-fit:contain; mix-blend-mode:multiply; }.tb-product__body { padding:1.08rem; }.tb-product__category { overflow:hidden; color:var(--tb-slate); font-size:.66rem; font-weight:900; letter-spacing:.1em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }.tb-product h3 { min-height:2.6em; margin:.38rem 0 .75rem; color:var(--tb-ink); font-size:.94rem; line-height:1.35; }.tb-product .price { color:var(--tb-ink); font-size:1.04rem; font-weight:950; }.tb-product .price small { display:block; margin-top:.1rem; color:var(--tb-slate); font-size:.68rem; font-weight:600; }.tb-product .button { display:none; }
.tb-promo { overflow:hidden; color:white; background:var(--tb-charcoal); }.tb-promo__inner { position:relative; min-height:313px; display:flex; align-items:center; padding:4rem 0; }.tb-promo__inner > div:first-child { position:relative; z-index:1; }.tb-promo .tb-eyebrow { color:#ffad7d; }.tb-promo h2 { max-width:490px; margin:.45rem 0 .8rem; font-size:clamp(2.3rem,4.5vw,4rem); line-height:.96; letter-spacing:-.075em; }.tb-promo p { max-width:450px; margin:0 0 1.5rem; color:#d3dde2; }.tb-promo__marks { position:absolute; right:0; top:0; bottom:0; display:flex; align-items:center; gap:1.5rem; color:rgba(242,105,34,.78); font-size:10rem; opacity:.25; transform:rotate(-12deg); }.tb-promo__marks span:nth-child(2) { color:#fff; }.tb-promo__marks span:nth-child(3) { color:#f8a376; }
.tb-footer { color:#c5d0d5; background:#0f161d; padding:4.4rem 0 1.5rem; }.tb-footer__grid { display:grid; grid-template-columns:1.65fr 1fr 1fr 1.1fr; gap:2.5rem; }.tb-footer .tb-brand { color:white; }.tb-footer h3 { margin:0 0 1.05rem; color:white; font-size:.71rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }.tb-footer p { color:#aebcc3; font-size:.87rem; }.tb-footer ul { list-style:none; margin:0; padding:0; }.tb-footer li { margin:.55rem 0; font-size:.84rem; }.tb-footer li a:hover { color:#ffad7d; }.tb-footer__note { max-width:190px; margin:0; }.tb-footer__bottom { display:flex; justify-content:space-between; margin-top:3rem; padding-top:1.3rem; border-top:1px solid #29343c; color:#84949d; font-size:.73rem; }
.tb-page { padding:3rem 0 5rem; }.woocommerce .woocommerce-breadcrumb { margin:0 0 2rem; color:var(--tb-slate); }.woocommerce span.onsale { min-width:auto; min-height:auto; padding:.45rem .65rem; border-radius:0; background:var(--tb-orange); }.woocommerce ul.products li.product .woocommerce-loop-product__title { color:var(--tb-ink); font-size:1rem; }.woocommerce ul.products li.product .price { color:var(--tb-orange-dark); font-weight:800; }.woocommerce a.button,.woocommerce button.button,.woocommerce input.button { border-radius:0; background:var(--tb-orange); color:var(--tb-white); }.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover { background:var(--tb-orange-dark); color:var(--tb-white); }
@media (max-width:900px) { .tb-header__row { gap:1.3rem; }.tb-search { order:3; flex-basis:100%; max-width:none; margin-bottom:1rem; }.tb-navigation__row { overflow:auto; gap:1.2rem; }.tb-menu { gap:1.2rem; white-space:nowrap; }.tb-sale-link { display:none; }.tb-category-grid { grid-template-columns:repeat(3,1fr); }.tb-product-grid { grid-template-columns:repeat(2,1fr); }.tb-footer__grid { grid-template-columns:repeat(2,1fr); }.tb-promo__marks { right:-160px; } }
@media (max-width:600px) { .tb-shell { width:min(calc(100% - 28px),var(--tb-max)); }.tb-announcement .tb-shell { gap:.9rem; font-size:.58rem; }.tb-announcement span + span { border:0; padding:0; }.tb-announcement span:first-child { display:none; }.tb-header__row { min-height:72px; }.tb-brand { font-size:1.18rem; }.tb-utility { gap:.8rem; }.tb-utility b { display:none; }.tb-browse-link { min-width:150px; }.tb-hero { min-height:480px; background-position:64% center; }.tb-hero::before { background:linear-gradient(90deg,rgba(10,17,23,.96),rgba(10,17,23,.7) 60%,rgba(10,17,23,.18)); }.tb-hero h1 { font-size:3.5rem; }.tb-hero__content { padding:5rem 0; }.tb-strip__grid { grid-template-columns:1fr; }.tb-strip__grid > div { min-height:70px; justify-content:flex-start; }.tb-strip__grid > div + div { border-left:0; border-top:1px solid var(--tb-line); }.tb-section { padding:3.7rem 0; }.tb-section__head { align-items:flex-start; flex-direction:column; }.tb-category-grid { grid-template-columns:repeat(2,1fr); gap:.7rem; }.tb-category { min-height:164px; padding:1rem; }.tb-product-grid { gap:.7rem; }.tb-product__image,.tb-product__image img { height:154px; min-height:154px; }.tb-product__body { padding:.8rem; }.tb-product h3 { font-size:.83rem; }.tb-promo__inner { min-height:340px; }.tb-promo__marks { display:none; }.tb-footer__grid { grid-template-columns:1fr 1fr; gap:2rem 1rem; }.tb-footer__intro { grid-column:1 / -1; }.tb-footer__bottom { align-items:flex-start; flex-direction:column; gap:.45rem; } }
