/*
Theme Name: 47 Garage
Description: Automotive parts and performance WooCommerce theme.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.2
Text Domain: 47-garage
License: GPL-2.0-or-later
*/
:root{--black:#101215;--dark:#1b1e23;--red:#e1292f;--line:#d9dce0;--muted:#676d75}*{box-sizing:border-box}body{margin:0;color:#1b1e23;background:#f1f2f3;font:15px/1.5 Arial,sans-serif}a{color:inherit}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e1292f;outline-offset:2px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:1rem;top:1rem;z-index:100;background:#fff}.topbar{background:#08090b;color:#d6d8dc;padding:.5rem 4%;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;display:flex;justify-content:space-between}.site-header{background:#181b1f;color:white;display:flex;align-items:center;gap:2rem;padding:1.3rem 4%;border-bottom:3px solid var(--red)}.brand{font-weight:900;font-style:italic;font-size:1.8rem;letter-spacing:-.06em;text-decoration:none;white-space:nowrap}.brand b{color:var(--red)}.brand small{display:block;font:700 .55rem Arial;letter-spacing:.22em;color:#c9cbd0}.site-search{flex:1;max-width:550px}.site-search form{display:flex}.site-search input[type=search]{width:100%;padding:.85rem;border:0}.site-search button,.garage-finder button,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--red);color:white;border:0;border-radius:0;padding:.85rem 1.2rem;font-weight:800;text-transform:uppercase;font-size:.75rem;cursor:pointer;text-decoration:none}.actions{margin-left:auto;display:flex;gap:1.5rem;font-size:.78rem;font-weight:bold}.actions a{text-decoration:none}.nav{background:#25292e;color:#fff;padding:0 4%}.nav ul{display:flex;gap:2rem;list-style:none;margin:0;padding:0}.nav li{padding:.85rem 0}.nav a{text-decoration:none;text-transform:uppercase;font-size:.73rem;letter-spacing:.08em;font-weight:700}.menu-toggle{display:none}.wrap{width:min(1400px,92%);margin:auto}.hero{min-height:470px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(7,9,12,.96),rgba(7,9,12,.62) 52%,rgba(7,9,12,.05)),url('assets/hero.jpg') center/cover;color:#fff}.hero-copy{padding:4rem 0;max-width:640px}.garage-kicker{font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--red)}.hero h1{font-size:clamp(3rem,6vw,5.7rem);line-height:.95;letter-spacing:-.055em;text-transform:uppercase;margin:1rem 0}.hero p{max-width:480px;color:#d3d5d8;font-size:1.05rem}.garage-finder{background:#25292e;color:#fff;padding:1.5rem;display:grid;grid-template-columns:1fr 2.5fr;gap:1.5rem;border-top:4px solid var(--red);margin:0 0 2rem}.home-finder{margin-top:-2rem;position:relative}.finder-intro strong,.finder-intro small{display:block}.finder-intro strong{font-size:1.25rem;text-transform:uppercase}.finder-intro small{color:#bfc3c8;font-size:.7rem}.finder-fields{display:flex;align-items:end;gap:.55rem;flex-wrap:wrap}.finder-fields label{flex:1;min-width:105px;font-size:.67rem;text-transform:uppercase;font-weight:bold}.finder-fields select{display:block;background:white;color:#222;width:100%;margin-top:.35rem;padding:.7rem;border:0}.finder-fields a{font-size:.7rem}.garage-warning{background:#fff3d5;border-left:4px solid #d3931d;padding:.8rem;margin:0 0 1rem;font-size:.8rem}.benefits{background:white;border-bottom:1px solid var(--line)}.benefits .wrap{display:flex;justify-content:space-between;gap:1rem;padding:1.2rem 0;font-size:.73rem;font-weight:bold;text-transform:uppercase}.section{padding:3.5rem 0}.section-head{display:flex;justify-content:space-between;align-items:end;border-bottom:2px solid #1c2024;margin-bottom:1.5rem}.section-head h2{font-size:clamp(1.5rem,3vw,2.4rem);text-transform:uppercase;letter-spacing:-.04em;margin:.4rem 0}.section-head a{font-size:.75rem;font-weight:bold}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.category-grid a{background:#fff;border:1px solid var(--line);text-decoration:none;padding:1.4rem;font-size:.85rem;text-transform:uppercase;font-weight:800}.category-grid a:before{content:'+';display:block;color:var(--red);font-size:1.7rem}.promo{background:#bd2029;color:white;padding:3rem;margin:1rem 0}.promo h2{font-size:2rem;text-transform:uppercase;margin:.2rem 0}.garage-brands{padding:1rem;background:#fff;margin:1rem 0}.garage-brands a{margin-right:1rem}.garage-fitment{border:1px solid #c8ced5;background:#fff;padding:1rem;margin:1rem 0;font-size:.85rem}.garage-fitment strong{text-transform:uppercase}.content-area{padding:3rem 0 5rem;min-height:45vh}.entry-content{max-width:75ch}.site-footer{background:#111418;color:#d4d7db;padding:3.5rem 4%}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem}.site-footer ul{list-style:none;padding:0}.site-footer a{color:inherit}.woocommerce ul.products li.product{background:white;padding:1rem;border:1px solid var(--line)}.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:cover}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-weight:800;font-size:.95rem}.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:#191d21;font-weight:800}.woocommerce span.onsale{background:var(--red);border-radius:0}.woocommerce div.product .product_title{text-transform:uppercase;font-weight:900}.woocommerce-message,.woocommerce-info{border-top-color:var(--red)}.woocommerce a.button:hover,.woocommerce button.button:hover{background:#b31922;color:white}.woocommerce table.shop_table{border-radius:0;background:white}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:900px){.site-header{flex-wrap:wrap;gap:1rem}.site-search{order:3;max-width:none;flex-basis:100%}.menu-toggle{display:block;margin-left:auto;background:transparent;color:white;border:1px solid #777;padding:.5rem}.actions{margin-left:0}.nav{display:none}.nav.is-open{display:block}.nav ul{display:block}.nav li{border-bottom:1px solid #45494e}.garage-finder{grid-template-columns:1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.benefits .wrap{flex-wrap:wrap}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:500px){.hero{min-height:420px}.hero h1{font-size:3rem}.finder-fields label{min-width:40%}.finder-fields button{width:100%}.category-grid{gap:.5rem}.category-grid a{padding:1rem}.footer-grid{grid-template-columns:1fr}.woocommerce ul.products li.product{width:48%!important;margin-right:4%!important}.woocommerce ul.products li.product:nth-child(2n){margin-right:0!important}.topbar span:last-child{display:none}}
.garage-filter{display:flex;gap:.7rem;align-items:end;flex-wrap:wrap;background:#fff;padding:1rem;margin-bottom:1rem}.garage-filter label{font-size:.7rem;font-weight:bold;text-transform:uppercase;flex:1;min-width:110px}.garage-filter input,.garage-filter select{display:block;width:100%;padding:.65rem;border:1px solid #b8bec5;margin-top:.25rem}.garage-filter button{background:#20242a;color:white;border:0;padding:.8rem;font-weight:bold;text-transform:uppercase;cursor:pointer}

.category-grid a{display:flex;align-items:center;gap:1rem;min-width:0}.category-grid a:before{display:none}.category-grid img{width:78px;height:78px;object-fit:contain;flex:none;background:#eef0f2}.category-grid span{flex:1}.category-grid b{color:#e1292f;font-size:1.2rem}@media(max-width:500px){.category-grid a{flex-wrap:wrap;gap:.5rem}.category-grid img{width:100%;height:100px}.category-grid span{min-width:70%}}
.woocommerce-checkout .cart-collaterals{display:none}.garage-checkout-intro{background:#fff;padding:1rem 1.25rem;border-left:4px solid #e1292f;margin-bottom:1.5rem}.woocommerce-checkout .woocommerce-cart-form{margin-bottom:2rem}

.woocommerce-checkout .woocommerce-cart-form .coupon{display:none}

/* Cart: stable product thumbnails, readable controls and a clear order summary. */
.woocommerce-cart .content-area>.woocommerce{max-width:1180px;margin-inline:auto}
.woocommerce-cart .woocommerce-notices-wrapper{margin-bottom:1rem}
.woocommerce-cart .woocommerce-cart-form{background:#fff;border:1px solid var(--line);padding:clamp(1rem,2.5vw,2rem);margin-bottom:1.5rem}
.woocommerce-cart table.shop_table{width:100%;border:0;border-collapse:collapse;margin:0}
.woocommerce-cart table.shop_table thead th{padding:.9rem .65rem;border-bottom:2px solid var(--black);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;text-align:left}
.woocommerce-cart table.shop_table tbody td{padding:1rem .65rem;border-bottom:1px solid var(--line);vertical-align:middle}
.woocommerce-cart table.shop_table .product-remove{width:42px;text-align:center}
.woocommerce-cart table.shop_table .product-remove a.remove{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;color:#6b7076!important;background:#f1f2f3;border-radius:50%;font-size:1.2rem;line-height:1;text-decoration:none}
.woocommerce-cart table.shop_table .product-remove a.remove:hover{background:#e1292f;color:#fff!important}
.woocommerce-cart table.shop_table .product-thumbnail{width:112px}
.woocommerce-cart table.shop_table .product-thumbnail a{display:block;width:96px;height:96px;background:#f1f2f3;overflow:hidden}
.woocommerce-cart table.shop_table .product-thumbnail img{display:block;width:96px!important;max-width:96px!important;height:96px!important;object-fit:contain;margin:0!important;padding:5px}
.woocommerce-cart table.shop_table .product-name{min-width:180px;font-weight:800}
.woocommerce-cart table.shop_table .product-name a{text-decoration:none}
.woocommerce-cart table.shop_table .product-price,.woocommerce-cart table.shop_table .product-subtotal{white-space:nowrap;font-weight:700}
.woocommerce-cart table.shop_table .quantity{display:inline-flex;align-items:center}
.woocommerce-cart table.shop_table .quantity input.qty{width:76px;min-height:44px;padding:.5rem;border:1px solid #b8bec5;background:#fff;text-align:center;font-weight:700}
.woocommerce-cart .actions{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;padding-top:1rem!important}
.woocommerce-cart .actions .coupon{display:flex;gap:.5rem;flex-wrap:wrap}
.woocommerce-cart .actions .coupon input.input-text{width:min(220px,55vw);min-height:44px;padding:.6rem .75rem;border:1px solid #b8bec5}
.woocommerce-cart .actions button.button,.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{min-height:44px;padding:.8rem 1rem;border:0;background:var(--red);color:#fff;border-radius:2px;font-size:.75rem;font-weight:800;letter-spacing:.02em;text-transform:none;white-space:normal}
.woocommerce-cart .actions button.button:hover,.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:#b31922;color:#fff}
.woocommerce-cart .actions button.button:disabled{opacity:.5}
.woocommerce-cart .cart-collaterals{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);justify-content:end;gap:2rem}
.woocommerce-cart .cart_totals{float:none!important;width:100%!important;background:#fff;border:1px solid var(--line);padding:1.5rem}
.woocommerce-cart .cart_totals>h2{margin:0 0 1rem;font-size:1.2rem;text-transform:uppercase;letter-spacing:-.02em}
.woocommerce-cart .cart_totals table.shop_table{border:0}
.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{padding:.8rem .4rem;border-bottom:1px solid var(--line);text-align:left}
.woocommerce-cart .cart_totals table.shop_table th{width:38%;font-size:.8rem}
.woocommerce-cart .cart_totals .order-total th,.woocommerce-cart .cart_totals .order-total td{font-size:1.05rem;font-weight:800;border-bottom:0}
.woocommerce-cart .cart_totals .woocommerce-shipping-destination{margin:.5rem 0;font-size:.75rem;color:var(--muted)}
.woocommerce-cart .cart_totals .shipping-calculator-button{font-size:.8rem;font-weight:700}
.woocommerce-cart .wc-proceed-to-checkout{padding:1rem 0 0}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block;text-align:center;padding:1rem}
.woocommerce-cart .return-to-shop a.button{display:inline-block;background:var(--red);color:#fff;padding:.9rem 1.25rem;text-decoration:none;font-size:.78rem;font-weight:800;text-transform:uppercase}
@media(max-width:760px){
 .woocommerce-cart .cart-collaterals{grid-template-columns:1fr;gap:1rem}
 .woocommerce-cart table.shop_table_responsive thead{display:none}
 .woocommerce-cart table.shop_table_responsive tbody tr{display:grid;grid-template-columns:44px 88px minmax(0,1fr);align-items:center;gap:.4rem .6rem;padding:.9rem 0;border-bottom:1px solid var(--line)}
 .woocommerce-cart table.shop_table_responsive tbody tr td{display:block!important;padding:.3rem!important;border:0!important;text-align:left!important}
 .woocommerce-cart table.shop_table_responsive tbody tr td:before{display:none!important}
 .woocommerce-cart table.shop_table_responsive .product-remove{grid-column:1;grid-row:1;justify-self:center;width:auto}
 .woocommerce-cart table.shop_table_responsive .product-thumbnail{grid-column:2;grid-row:1 / span 3;width:88px}
 .woocommerce-cart table.shop_table_responsive .product-thumbnail a,.woocommerce-cart table.shop_table_responsive .product-thumbnail img{width:88px!important;height:88px!important;max-width:88px!important}
 .woocommerce-cart table.shop_table_responsive .product-name{grid-column:3;grid-row:1;min-width:0;font-size:.92rem}
 .woocommerce-cart table.shop_table_responsive .product-price{grid-column:3;grid-row:2}
 .woocommerce-cart table.shop_table_responsive .product-quantity{grid-column:3;grid-row:3}
 .woocommerce-cart table.shop_table_responsive .product-subtotal{grid-column:3;grid-row:4;font-size:.85rem}
 .woocommerce-cart table.shop_table_responsive tr:not(.cart_item) td{grid-column:1/-1}
 .woocommerce-cart .actions{display:flex!important;justify-content:stretch}
 .woocommerce-cart .actions .coupon{width:100%}
 .woocommerce-cart .actions .coupon input.input-text{flex:1;min-width:0}
 .woocommerce-cart .actions button.button{flex:1}
}
