/*
Theme Name: TerraForge4x4 Shop
Theme URI: https://terraforge4x4.com
Author: TerraForge4x4
Description: Custom TerraForge4x4 Porsche Cayenne overland and shop theme.
Version: 1.0.0
Text Domain: terraforge4x4-shop
*/

:root{
  --tf-orange:#ff5a00;
  --tf-black:#070707;
  --tf-dark:#111;
  --tf-light:#f5f5f5;
  --tf-muted:#a8a8a8;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--tf-black);
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.tf-site{min-height:100vh;background:#080808}
.tf-brand-header{display:flex;align-items:center;gap:28px;padding:16px 4.5%;background:#090909;border-bottom:1px solid #292929;position:relative;z-index:5}
.tf-brand-link{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;white-space:nowrap}
.tf-brand-logo{width:78px;height:78px;object-fit:contain;display:block;border-radius:6px}
.tf-brand-wordmark{font-weight:800;font-size:26px;letter-spacing:.02em}
.tf-brand-wordmark span{color:#ff5a00}
.tf-brand-nav{display:flex;align-items:center;justify-content:center;gap:34px;flex:1}
.tf-brand-nav a{color:#f4f4f4;text-decoration:none;font-weight:700;text-transform:uppercase;font-size:14px;letter-spacing:.04em}
.tf-brand-nav a:hover{color:#ff6a1a}
.tf-brand-shop{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ff5a00;color:#ff7b32;text-decoration:none;text-transform:uppercase;font-weight:700;letter-spacing:.04em;padding:14px 22px;white-space:nowrap}
.tf-brand-shop:hover{background:#ff5a00;color:#fff}
@media (max-width:900px){.tf-brand-header{flex-wrap:wrap;gap:14px}.tf-brand-nav{order:3;flex-basis:100%;justify-content:flex-start;gap:20px;overflow-x:auto;padding-bottom:2px}.tf-brand-wordmark{font-size:22px}.tf-brand-shop{margin-left:auto}}
@media (max-width:600px){.tf-brand-header{padding:12px 16px;gap:10px}.tf-brand-link{gap:8px}.tf-brand-logo{width:42px;height:42px}.tf-brand-wordmark{font-size:16px}.tf-brand-shop{font-size:11px;padding:9px 10px}.tf-brand-nav{gap:14px}.tf-brand-nav a{font-size:11px}}
.tf-hero{
  position:relative;
  width:100%;
  min-height:clamp(560px,56.3vw,940px);
  background:#050607;
  overflow:hidden;
  display:flex;
  align-items:center;
}
.tf-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,rgba(3,5,6,.78) 0%,rgba(3,5,6,.52) 31%,rgba(3,5,6,.08) 60%,rgba(3,5,6,.03) 100%);
  pointer-events:none;
}
.tf-hero img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transform:none;
}
.tf-hero-content{
  position:relative;
  z-index:2;
  width:min(680px,46%);
  padding:clamp(38px,6vw,100px);
  color:#fff;
}
.tf-hero-kicker{margin:0 0 14px;color:#ff6a1a;font-size:clamp(14px,1.25vw,20px);font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.tf-hero-content h1{margin:0 0 20px;font-size:clamp(50px,6.2vw,104px);line-height:.92;letter-spacing:-.045em;text-transform:uppercase}
.tf-hero-content>p:not(.tf-hero-kicker){max-width:610px;margin:0;color:#e4e7e9;font-size:clamp(17px,1.35vw,23px);line-height:1.55}
.tf-hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.tf-hero-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 22px;border:2px solid #ff6a1a;color:#fff!important;font-weight:900;letter-spacing:.04em;text-decoration:none;text-transform:uppercase}
.tf-hero-button:hover{background:#ff6a1a;color:#111!important}
.tf-hero-button-primary{background:#ff6a1a;color:#111!important}
.tf-hero-button-primary:hover{background:#ff853d}
.tf-hotspot{display:none}
.tf-shop-cta-main{display:none}
.tf-build-cta-main{left:20.93%;top:61.75%!important;width:17.70%;height:8.1%}

.tf-section{
  max-width:1200px;
  margin:0 auto;
  padding:72px 28px;
}
.tf-kicker{
  color:var(--tf-orange);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
  font-weight:800;
}
.tf-section h2{
  margin:.35rem 0 1rem;
  font-size:clamp(2rem,5vw,4rem);
  line-height:.95;
  text-transform:uppercase;
}
.tf-section p{
  max-width:760px;
  color:#d5d5d5;
  font-size:1.05rem;
  line-height:1.7;
}
.tf-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:34px;
}
.tf-card{
  min-height:210px;
  padding:28px;
  border:1px solid #303030;
  background:linear-gradient(145deg,#151515,#0b0b0b);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  transition:.2s ease;
}
.tf-card:hover{transform:translateY(-4px);border-color:var(--tf-orange)}
.tf-card span{
  color:var(--tf-orange);
  font-size:.75rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.tf-card h3{
  margin:.4rem 0 0;
  font-size:1.35rem;
  text-transform:uppercase;
}
.tf-band{
  border-top:1px solid #252525;
  border-bottom:1px solid #252525;
  background:#0c0c0c;
}
.tf-split{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:48px;
  align-items:center;
}
.tf-panel{
  border-left:4px solid var(--tf-orange);
  padding:20px 24px;
  background:#121212;
}
.tf-panel strong{color:var(--tf-orange)}
.tf-footer{
  padding:32px 28px;
  border-top:1px solid #242424;
  color:#8f8f8f;
  text-align:center;
  font-size:.9rem;
}
.tf-wc{
  margin-top:28px;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  background:#111;
  padding:18px;
  border:1px solid #2b2b2b;
}
.woocommerce ul.products li.product .button{
  background:var(--tf-orange);
  color:#fff;
}

/* WooCommerce shop archive: match the TerraForge homepage product language. */
.post-type-archive-product #primary{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:46px 28px 76px;
}
.post-type-archive-product .woocommerce-breadcrumb{
  margin:0 0 22px;
  color:#8f8f8f;
  font-size:13px;
  line-height:1.5;
}
.post-type-archive-product .woocommerce-breadcrumb a{color:#c8c8c8}
.post-type-archive-product .woocommerce-breadcrumb a:hover{color:var(--tf-orange)}
.post-type-archive-product .woocommerce-products-header__title{
  margin:0 0 28px;
  color:#fff;
  font-size:clamp(34px,5vw,54px);
  line-height:1;
  text-transform:uppercase;
  letter-spacing:-.02em;
}
.post-type-archive-product .woocommerce-result-count{
  margin:10px 0 24px;
  color:#a8a8a8;
  font-size:13px;
}
.post-type-archive-product .woocommerce-ordering{
  margin:0 0 24px;
}
.post-type-archive-product .woocommerce-ordering select{
  min-height:44px;
  padding:9px 38px 9px 13px;
  border:1px solid #363636;
  border-radius:5px;
  background:#111;
  color:#f3f3f3;
  font-size:13px;
}
.post-type-archive-product .woocommerce-ordering select:focus{
  outline:2px solid var(--tf-orange);
  outline-offset:2px;
}
.post-type-archive-product ul.products{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  clear:both;
  margin:0;
  padding:0;
}
.post-type-archive-product ul.products::before,
.post-type-archive-product ul.products::after{display:none}
.post-type-archive-product ul.products li.product{
  float:none!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #292929;
  border-radius:8px;
  background:#121212;
  transition:border-color .18s ease,transform .18s ease;
}
.post-type-archive-product ul.products li.product:hover{
  border-color:#484848;
  transform:translateY(-2px);
}
.post-type-archive-product ul.products li.product .woocommerce-LoopProduct-link{
  display:flex;
  flex:1;
  flex-direction:column;
  color:#fff;
}
.post-type-archive-product ul.products li.product img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1;
  margin:0!important;
  object-fit:cover;
  background:#0e0e0e;
}
.post-type-archive-product ul.products li.product .woocommerce-loop-product__title{
  margin:0!important;
  padding:18px 18px 8px!important;
  color:#f5f5f5;
  font-size:15px!important;
  line-height:1.45!important;
  font-weight:650;
  text-transform:none!important;
  letter-spacing:0;
}
.post-type-archive-product ul.products li.product .price{
  display:block;
  margin:auto 18px 16px!important;
  color:#fff!important;
  font-size:18px!important;
  line-height:1.3;
  font-weight:800;
}
.post-type-archive-product ul.products li.product .woocommerce-price-suffix{
  color:#8f8f8f;
  font-size:10px;
  font-weight:600;
}
.post-type-archive-product ul.products li.product .button{
  margin:0 18px 18px!important;
  padding:11px 13px!important;
  border:1px solid var(--tf-orange)!important;
  border-radius:4px!important;
  background:transparent!important;
  color:#ff7b32!important;
  text-align:center;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:700!important;
}
.post-type-archive-product ul.products li.product .button:hover{
  background:var(--tf-orange)!important;
  color:#fff!important;
}
.post-type-archive-product nav.woocommerce-pagination{
  margin-top:38px;
}
.post-type-archive-product nav.woocommerce-pagination ul{
  border:0;
}
.post-type-archive-product nav.woocommerce-pagination ul li{
  margin:0 4px;
  border:0;
}
.post-type-archive-product nav.woocommerce-pagination ul li a,
.post-type-archive-product nav.woocommerce-pagination ul li span{
  min-width:40px;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #303030;
  border-radius:4px;
  background:#111;
  color:#ddd;
}
.post-type-archive-product nav.woocommerce-pagination ul li span.current,
.post-type-archive-product nav.woocommerce-pagination ul li a:hover{
  border-color:var(--tf-orange);
  background:var(--tf-orange);
  color:#fff;
}
@media(max-width:900px){
  .post-type-archive-product ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .post-type-archive-product #primary{padding:32px 16px 56px}
  .post-type-archive-product .woocommerce-products-header__title{margin-bottom:20px;font-size:34px}
  .post-type-archive-product .woocommerce-result-count,
  .post-type-archive-product .woocommerce-ordering{float:none;width:100%}
  .post-type-archive-product .woocommerce-ordering select{width:100%}
  .post-type-archive-product ul.products{grid-template-columns:1fr;gap:18px}
  .post-type-archive-product ul.products li.product .woocommerce-loop-product__title{font-size:16px!important}
  .post-type-archive-product ul.products li.product .price{font-size:19px!important}
}

/* Single product pages: strong product focus with TerraForge spacing and hierarchy. */
.single-product #primary{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:42px 28px 76px;
}
.single-product .woocommerce-breadcrumb{
  margin:0 0 24px;
  color:#8f8f8f;
  font-size:13px;
  line-height:1.5;
}
.single-product .woocommerce-breadcrumb a{color:#c8c8c8}
.single-product .woocommerce-breadcrumb a:hover{color:var(--tf-orange)}
.single-product div.product{
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:46px;
  align-items:start;
}
.single-product div.product .woocommerce-product-gallery{
  float:none!important;
  width:100%!important;
  margin:0!important;
}
.single-product div.product .woocommerce-product-gallery__wrapper{
  overflow:hidden;
  border:1px solid #292929;
  border-radius:8px;
  background:#101010;
}
.single-product div.product .woocommerce-product-gallery__image img{
  width:100%;
  background:#101010;
}
.single-product div.product .flex-control-thumbs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:10px!important;
}
.single-product div.product .flex-control-thumbs li{
  float:none!important;
  width:auto!important;
  margin:0!important;
}
.single-product div.product .flex-control-thumbs img{
  border:1px solid #292929;
  border-radius:5px;
  opacity:.68;
}
.single-product div.product .flex-control-thumbs img.flex-active,
.single-product div.product .flex-control-thumbs img:hover{
  border-color:var(--tf-orange);
  opacity:1;
}
.single-product div.product .summary{
  float:none!important;
  width:100%!important;
  margin:0!important;
  padding:4px 0 0;
}
.single-product div.product .product_title{
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(30px,4.5vw,46px);
  line-height:1.06;
  letter-spacing:-.025em;
}
.single-product div.product .summary > .price{
  margin:0 0 18px;
  color:#fff!important;
  font-size:28px!important;
  line-height:1.2;
  font-weight:850;
}
.single-product div.product .summary > .price .woocommerce-price-suffix{
  color:#929292;
  font-size:11px;
  font-weight:650;
}
.single-product .woocommerce-product-details__short-description{
  margin:0 0 22px;
  padding:18px 0;
  border-top:1px solid #2a2a2a;
  border-bottom:1px solid #2a2a2a;
}
.single-product .woocommerce-product-details__short-description p{
  margin:0;
  color:#c9c9c9;
  font-size:15px;
  line-height:1.65;
}
.single-product .tf-price-request{
  display:grid;
  gap:5px;
  margin:0 0 22px;
  padding:18px;
  border:1px solid #333;
  border-left:3px solid var(--tf-orange);
  border-radius:7px;
  background:#111;
}
.single-product .tf-price-request strong{
  color:#fff;
  font-size:18px;
}
.single-product .tf-price-request span{
  color:#aaa;
  font-size:13px;
  line-height:1.5;
}
.single-product .tf-price-request a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-height:44px;
  margin-top:8px;
  padding:10px 16px;
  border:1px solid var(--tf-orange);
  border-radius:5px;
  background:var(--tf-orange);
  color:#fff;
  font-size:14px;
  font-weight:800;
}
.single-product .tf-price-request a:hover{background:#df4e00;border-color:#df4e00}
.single-product div.product form.cart{
  display:flex;
  align-items:stretch;
  gap:10px;
  margin:0 0 20px!important;
}
.single-product div.product form.cart .quantity{
  float:none!important;
  margin:0!important;
}
.single-product div.product form.cart .qty{
  width:72px;
  min-height:48px;
  padding:8px;
  border:1px solid #363636;
  border-radius:5px;
  background:#111;
  color:#fff;
  font-size:16px;
  text-align:center;
}
.single-product div.product form.cart .single_add_to_cart_button{
  flex:1;
  min-height:48px;
  margin:0!important;
  padding:12px 18px!important;
  border:1px solid var(--tf-orange)!important;
  border-radius:5px!important;
  background:var(--tf-orange)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:800!important;
}
.single-product div.product form.cart .single_add_to_cart_button:hover{
  background:#df4e00!important;
  border-color:#df4e00!important;
}
.single-product .wcpay-express-checkout-wrapper,
.single-product .ppc-button-wrapper{
  margin-top:12px;
}
.single-product .product_meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid #2a2a2a;
  color:#888;
  font-size:12px;
  line-height:1.5;
}
.single-product .product_meta a{color:#c9c9c9}
.single-product .product_meta a:hover{color:var(--tf-orange)}
.single-product div.product .woocommerce-tabs{
  grid-column:1/-1;
  width:100%;
  margin-top:22px;
  padding-top:22px;
  border-top:1px solid #2a2a2a;
}
.single-product div.product .woocommerce-tabs ul.tabs{
  display:flex;
  gap:8px;
  margin:0 0 18px!important;
  padding:0!important;
}
.single-product div.product .woocommerce-tabs ul.tabs::before,
.single-product div.product .woocommerce-tabs ul.tabs li::before,
.single-product div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
.single-product div.product .woocommerce-tabs ul.tabs li{
  margin:0!important;
  padding:0!important;
  border:1px solid #303030!important;
  border-radius:4px!important;
  background:#111!important;
}
.single-product div.product .woocommerce-tabs ul.tabs li.active{
  border-color:var(--tf-orange)!important;
  background:var(--tf-orange)!important;
}
.single-product div.product .woocommerce-tabs ul.tabs li a{
  padding:10px 14px!important;
  color:#d9d9d9!important;
  font-size:13px;
  font-weight:700!important;
}
.single-product div.product .woocommerce-tabs ul.tabs li.active a{color:#fff!important}
.single-product div.product .woocommerce-tabs .panel{
  margin:0!important;
  padding:24px;
  border:1px solid #292929;
  border-radius:8px;
  background:#101010;
  color:#d0d0d0;
}
.single-product div.product .woocommerce-tabs .panel h2,
.single-product div.product .woocommerce-tabs .panel h3{
  color:#fff;
}
.single-product div.product .woocommerce-tabs .panel table{
  width:100%;
  border-collapse:collapse;
  margin:18px 0 24px;
}
.single-product div.product .woocommerce-tabs .panel th,
.single-product div.product .woocommerce-tabs .panel td{
  padding:11px 12px;
  border:1px solid #303030;
  text-align:left;
  vertical-align:top;
}
.single-product div.product .woocommerce-tabs .panel th{
  width:34%;
  color:#fff;
  background:#151515;
}
.single-product .related.products,
.single-product .upsells.products{
  grid-column:1/-1;
  margin-top:44px;
  padding-top:28px;
  border-top:1px solid #2a2a2a;
}
.single-product .related.products > h2,
.single-product .upsells.products > h2{
  margin:0 0 22px;
  color:#fff;
  font-size:26px;
  line-height:1.15;
  text-transform:uppercase;
}
.single-product .related.products ul.products,
.single-product .upsells.products ul.products{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin:0;
  padding:0;
}
.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after,
.single-product .upsells.products ul.products::before,
.single-product .upsells.products ul.products::after{display:none}
.single-product .related.products ul.products li.product,
.single-product .upsells.products ul.products li.product{
  float:none;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #292929;
  border-radius:8px;
  background:#141414;
}
.single-product .related.products ul.products li.product .woocommerce-LoopProduct-link,
.single-product .upsells.products ul.products li.product .woocommerce-LoopProduct-link{
  display:flex;
  flex:1;
  flex-direction:column;
  width:100%;
}
.single-product .related.products ul.products li.product img,
.single-product .upsells.products ul.products li.product img{
  width:100%!important;
  margin:0!important;
  aspect-ratio:1/1;
  object-fit:cover;
  background:#101010;
}
.single-product .related.products .woocommerce-loop-product__title,
.single-product .upsells.products .woocommerce-loop-product__title{
  margin:0!important;
  padding:18px 18px 8px!important;
  color:#fff;
  font-size:15px!important;
  line-height:1.45!important;
  text-transform:none!important;
}
.single-product .related.products .price,
.single-product .upsells.products .price{
  display:block;
  margin:auto 18px 14px!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:800;
}
.single-product .related.products .woocommerce-price-suffix,
.single-product .upsells.products .woocommerce-price-suffix{
  color:#8f8f8f;
  font-size:10px;
}
.single-product .related.products ul.products li.product .button,
.single-product .upsells.products ul.products li.product .button{
  margin:0 18px 18px!important;
  padding:11px 14px!important;
  border:1px solid var(--tf-orange)!important;
  border-radius:4px!important;
  background:transparent!important;
  color:#ff7b32!important;
  text-align:center;
  font-size:13px!important;
  font-weight:700!important;
}
.single-product .related.products ul.products li.product .button:hover,
.single-product .upsells.products ul.products li.product .button:hover{
  background:var(--tf-orange)!important;
  color:#fff!important;
}
.single-product #review_form input[type="text"],
.single-product #review_form input[type="email"],
.single-product #review_form select,
.single-product #review_form textarea{
  width:100%;
  max-width:100%;
  padding:11px 12px;
  border:1px solid #3a3a3a;
  border-radius:5px;
  background:#151515;
  color:#fff;
  font:inherit;
}
.single-product #review_form textarea{min-height:140px;resize:vertical}
.single-product #review_form input:focus,
.single-product #review_form select:focus,
.single-product #review_form textarea:focus{
  outline:2px solid var(--tf-orange);
  outline-offset:1px;
}
.single-product #review_form .form-submit .submit{
  min-height:44px;
  padding:11px 18px;
  border:1px solid var(--tf-orange);
  border-radius:5px;
  background:var(--tf-orange);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
@media(max-width:900px){
  .single-product .related.products ul.products,
  .single-product .upsells.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .single-product #primary{padding:30px 16px 56px}
  .single-product div.product{grid-template-columns:1fr;gap:26px}
  .single-product div.product .product_title{font-size:30px}
  .single-product div.product .summary > .price{font-size:24px!important}
  .single-product div.product form.cart{gap:8px}
  .single-product div.product form.cart .qty{width:62px}
  .single-product div.product .woocommerce-tabs{margin-top:8px;padding-top:20px}
  .single-product div.product .woocommerce-tabs ul.tabs{overflow-x:auto;white-space:nowrap;padding-bottom:2px!important}
  .single-product div.product .woocommerce-tabs .panel{padding:18px}
  .single-product div.product .woocommerce-tabs .panel table{display:block;overflow-x:auto}
  .single-product #review_form .comment-form-author,
  .single-product #review_form .comment-form-email{float:none;width:100%;margin-right:0}
}
@media(max-width:520px){
  .single-product .related.products ul.products,
  .single-product .upsells.products ul.products{grid-template-columns:1fr;gap:18px}
  .single-product div.product form.cart{flex-wrap:wrap}
  .single-product div.product form.cart .quantity{flex:0 0 62px}
  .single-product div.product form.cart .single_add_to_cart_button{min-width:calc(100% - 70px)}
  .single-product .related.products > h2,
  .single-product .upsells.products > h2{font-size:22px}
}

@media (max-width:900px){
  .tf-grid{grid-template-columns:repeat(2,1fr)}
  .tf-split{grid-template-columns:1fr}
}
@media (max-width:600px){
  .tf-grid{grid-template-columns:1fr}
  .tf-section{padding:48px 20px}
  .tf-hero{min-height:720px;align-items:flex-end}
  .tf-hero::after{background:linear-gradient(180deg,rgba(3,5,6,.05) 15%,rgba(3,5,6,.5) 48%,rgba(3,5,6,.94) 78%)}
  .tf-hero img{min-width:0;object-position:66% center}
  .tf-hero-content{width:100%;padding:36px 20px 44px}
  .tf-hero-content h1{font-size:48px}
  .tf-hero-content>p:not(.tf-hero-kicker){font-size:16px}
  .tf-hero-actions{gap:10px;margin-top:24px}
  .tf-hero-button{flex:1 1 160px;font-size:13px;padding:12px 14px}
  .tf-hotspot{display:none}
}

/* Intro between product groups and latest products. */
.tf-products-intro{margin-top:48px;padding-top:32px;border-top:1px solid #292929;max-width:760px}
.tf-products-intro h2{margin:6px 0 12px;font-size:32px;line-height:1.15;text-transform:uppercase}
.tf-products-intro p{margin:0;color:#c8c8c8;font-size:16px;line-height:1.7}
@media(max-width:600px){.tf-products-intro{margin-top:34px;padding-top:24px}.tf-products-intro h2{font-size:26px}.tf-products-intro p{font-size:15px}}

/* Compact product cards on the homepage. */
.tf-wc { margin-top:28px; padding-top:0; border-top:0; }
.tf-wc ul.products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:0; padding:0; }
.tf-wc ul.products::before,.tf-wc ul.products::after { display:none; }
.tf-wc ul.products li.product { float:none; width:auto!important; margin:0!important; padding:0!important; display:flex; flex-direction:column; overflow:hidden; border:1px solid #292929; border-radius:8px; background:#141414; }
.tf-wc ul.products li.product a.woocommerce-LoopProduct-link { display:flex; flex-direction:column; flex:1; width:100%; background:#141414!important; padding:0!important; }
.tf-wc ul.products li.product a img { display:block!important; width:100%!important; max-width:none!important; height:auto!important; aspect-ratio:1/1!important; object-fit:cover!important; background:#141414!important; margin:0!important; padding:0!important; mix-blend-mode:normal; }
.tf-wc ul.products li.product .woocommerce-loop-product__title { margin:0!important; padding:18px 18px 8px!important; font-size:16px!important; line-height:1.45!important; text-transform:none!important; font-weight:650; letter-spacing:0; }
.tf-wc ul.products li.product .price { display:block; margin:auto 18px 16px!important; color:#fff!important; font-size:19px!important; line-height:1.3; font-weight:800; }
.tf-wc ul.products li.product .woocommerce-price-suffix { color:#8f8f8f; font-size:10px; font-weight:600; }
.tf-wc ul.products li.product .button { margin:0 18px 18px!important; padding:11px 14px; border:1px solid #ff5a00; border-radius:4px; background:transparent; color:#ff7b32; text-align:center; font-size:14px; font-weight:700; line-height:1.4; }
.tf-wc ul.products li.product .button:hover { background:#ff5a00; color:#fff; }
.tf-wc ul.products li.product a:focus-visible { outline:2px solid #ff5a00; outline-offset:-3px; }
@media(max-width:900px){ .tf-wc ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:480px){ .tf-wc ul.products { grid-template-columns:1fr; gap:18px; } }

/* Compact trust bar below the product intro. */
.tf-trust-row {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  margin-top:22px;
  overflow:hidden;
  border:1px solid #2b2b2b;
  border-radius:8px;
  background:#2b2b2b;
}
.tf-trust-row > div {
  min-width:0;
  padding:14px 16px;
  background:#101010;
}
.tf-trust-row strong {
  display:block;
  margin-bottom:4px;
  color:#fff;
  font-size:13px;
  line-height:1.3;
  font-weight:700;
}
.tf-trust-row span {
  display:block;
  color:#a9a9a9;
  font-size:12px;
  line-height:1.45;
}

/* Fitment support directly below the product cards. */
.tf-fitment-help {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-top:26px;
  padding:22px 24px;
  border:1px solid #333;
  border-left:3px solid var(--tf-orange);
  border-radius:8px;
  background:#111;
}
.tf-fitment-help .tf-kicker { margin-bottom:5px; }
.tf-fitment-help h3 {
  margin:0 0 6px;
  color:#fff;
  font-size:21px;
  line-height:1.25;
}
.tf-fitment-help p {
  max-width:760px;
  margin:0;
  color:#bcbcbc;
  font-size:14px;
  line-height:1.55;
}
.tf-fitment-cta {
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 18px;
  border:1px solid var(--tf-orange);
  border-radius:5px;
  color:#fff;
  background:var(--tf-orange);
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.tf-fitment-cta:hover,
.tf-fitment-cta:focus-visible {
  background:#ff6a18;
  color:#fff;
}

@media(max-width:900px){
  .tf-trust-row { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tf-fitment-help { align-items:flex-start; }
}
@media(max-width:600px){
  .tf-trust-row { margin-top:18px; }
  .tf-trust-row > div { padding:12px 13px; }
  .tf-trust-row strong { margin-bottom:2px; font-size:12.5px; }
  .tf-trust-row span { font-size:11.5px; line-height:1.35; }
  .tf-fitment-help {
    display:block;
    margin-top:22px;
    padding:18px;
  }
  .tf-fitment-help h3 { font-size:19px; }
  .tf-fitment-help p { font-size:13.5px; }
  .tf-fitment-cta {
    width:100%;
    margin-top:16px;
  }
}
@media(max-width:420px){
  .tf-trust-row span { display:none; }
  .tf-trust-row > div { padding:11px 12px; }
  .tf-trust-row strong { margin:0; }
}

/* Persistent store navigation and native WooCommerce mini-cart. */
.tf-utility-header {
  position:sticky;
  top:0;
  z-index:100;
  background:#080808;
  border-bottom:1px solid #303030;
}
.admin-bar .tf-utility-header { top:32px; }
.tf-utility-nav {
  display:flex;
  align-items:center;
  gap:24px;
  min-height:58px;
  max-width:1440px;
  margin:0 auto;
  padding:6px 28px;
}
.tf-utility-nav > a,
.tf-cart-page {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  color:#f5f5f5;
  font-size:14px;
  line-height:1.4;
  font-weight:700;
  text-decoration:none;
}
.tf-utility-nav a:hover { color:#ff7b32; }
.tf-utility-nav a:focus-visible,
.tf-utility-nav button:focus-visible { outline:2px solid #ff7b32; outline-offset:3px; }
.tf-home-link span { font-size:22px; line-height:1; }
.tf-header-cart { display:flex; align-items:center; gap:10px; margin-left:auto; }
.tf-header-cart .wp-block-woocommerce-mini-cart { margin:0; color:#fff; }
.tf-header-cart .wc-block-mini-cart__button {
  min-width:54px;
  min-height:44px;
  padding:8px 12px;
  border:1px solid #ff5a00;
  border-radius:4px;
  background:#ff5a00;
  color:#fff;
}
.tf-header-cart .wc-block-mini-cart__button:hover { background:#df4e00; border-color:#df4e00; }
.tf-header-cart .wc-block-mini-cart__badge { background:#fff; color:#111; }
@media (max-width:782px) {
  .admin-bar .tf-utility-header { top:46px; }
}
@media (max-width:600px) {
  .tf-utility-nav { gap:18px; min-height:56px; padding:6px 16px; }
  .tf-header-cart { gap:8px; }
  .admin-bar .tf-utility-header { top:0; }
}

/* Keep the mini-cart usable on narrow phone screens. */
@media (max-width:480px) {
  .wc-block-mini-cart__drawer .wc-block-mini-cart__title {
    font-size:22px;
    line-height:1.3;
    flex-wrap:wrap;
    gap:4px 8px;
    padding-right:44px;
  }
  .wc-block-mini-cart__drawer .wp-block-woocommerce-mini-cart-title-items-counter-block {
    font-size:14px;
    align-self:center;
  }
  .wc-block-mini-cart__drawer table.wc-block-cart-items,
  .wc-block-mini-cart__drawer table.wc-block-cart-items tbody {
    display:block;
    width:100%;
  }
  .wc-block-mini-cart__drawer table.wc-block-cart-items .wc-block-cart-items__row {
    grid-template-columns:64px minmax(0,1fr) !important;
    width:100%;
  }
  .wc-block-mini-cart__drawer .wc-block-cart-item__image {
    grid-area:1 / 1 !important;
    width:64px;
    padding-right:0;
  }
  .wc-block-mini-cart__drawer .wc-block-cart-item__product {
    grid-area:1 / 2 !important;
    width:auto;
    min-width:0;
    overflow-wrap:anywhere;
  }
  .wc-block-mini-cart__drawer .wc-block-cart-item__total {
    grid-area:2 / 2 !important;
    justify-self:end;
  }
  .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
    flex-direction:column;
    gap:10px;
  }
}

@media (max-width:480px) {
  .wc-block-mini-cart__drawer .wc-block-components-drawer__close {
    top:12px;
    right:12px;
    margin:0;
    min-width:44px;
    width:44px;
    min-height:44px;
    height:44px;
    padding:10px;
  }
}

/* Keep WooCommerce alternate cart thumbnails hidden. */
.wc-block-cart-item__image img[hidden],
.wc-block-cart-item__image a[hidden] { display:none !important; }

/* Checkout: readable labels inside light input fields. */
.wc-block-checkout .wc-block-components-text-input label,
.wc-block-checkout .wc-blocks-components-select__label {
  color:#374151 !important;
  opacity:1;
}
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-blocks-components-select__container,
.wc-block-checkout .wc-blocks-components-select__select,
.wc-block-checkout textarea {
  background-color:#fff;
  color:#1f2937;
}
.wc-block-checkout .wc-block-components-text-input input::placeholder,
.wc-block-checkout textarea::placeholder { color:#4b5563; opacity:1; }
.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-blocks-components-select__select:focus,
.wc-block-checkout textarea:focus { outline:2px solid #ff5a00; outline-offset:2px; }

/* Orange cart icon and label on a black button. */
.tf-header-cart .tf-cart-page,
.tf-header-cart .wp-block-woocommerce-mini-cart { color:#ff5a00; }
.tf-header-cart .wc-block-mini-cart__button,
.tf-header-cart .wc-block-mini-cart__button:hover,
.tf-header-cart .wc-block-mini-cart__button:focus {
  background:#000;
  color:#ff5a00;
  border-color:#000;
  box-shadow:none;
}
.tf-header-cart .wc-block-mini-cart__badge {
  background:#000 !important;
  color:#ff5a00 !important;
}

/* Open the full cart page from a compact orange header link. */
.tf-header-cart .tf-cart-page {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-width:44px;
  min-height:44px;
  padding:8px;
  color:#ff5a00;
}
.tf-cart-page svg { flex-shrink:0; }
.tf-cart-count { font-size:13px; line-height:1; align-self:flex-start; }
.wp-theme-terraforge4x4-shop-wpvibe-draft .tf-site {
  padding-bottom:100px;
}

/* Product image viewer with clear next/previous and close controls. */
body.tf-lightbox-open { overflow:hidden; }
.tf-product-lightbox[hidden] { display:none !important; }
.tf-product-lightbox {
  position:fixed;
  inset:0;
  z-index:999999;
  display:grid;
  grid-template-columns:minmax(56px,8vw) minmax(0,1fr) minmax(56px,8vw);
  align-items:center;
  background:rgba(0,0,0,.96);
  padding:72px 12px 24px;
}
.tf-lightbox-stage {
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.tf-lightbox-image {
  display:block;
  width:auto;
  max-width:100%;
  max-height:calc(100vh - 120px);
  object-fit:contain;
}
.tf-lightbox-counter {
  color:#d5d5d5;
  font-size:13px;
  line-height:1;
  font-weight:700;
}
.tf-lightbox-close,
.tf-lightbox-prev,
.tf-lightbox-next {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #454545;
  border-radius:999px;
  background:rgba(12,12,12,.9);
  color:#fff;
  cursor:pointer;
}
.tf-lightbox-close:hover,
.tf-lightbox-prev:hover,
.tf-lightbox-next:hover,
.tf-lightbox-close:focus-visible,
.tf-lightbox-prev:focus-visible,
.tf-lightbox-next:focus-visible {
  border-color:var(--tf-orange);
  color:var(--tf-orange);
  outline:none;
}
.tf-lightbox-close {
  position:absolute;
  top:18px;
  right:18px;
  width:48px;
  height:48px;
}
.tf-lightbox-prev,
.tf-lightbox-next {
  width:52px;
  height:52px;
  justify-self:center;
}
.tf-lightbox-close svg,
.tf-lightbox-prev svg,
.tf-lightbox-next svg {
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media(max-width:600px){
  .tf-product-lightbox {
    grid-template-columns:48px minmax(0,1fr) 48px;
    padding:64px 6px 18px;
  }
  .tf-lightbox-close {
    top:10px;
    right:10px;
    width:44px;
    height:44px;
  }
  .tf-lightbox-prev,
  .tf-lightbox-next {
    width:44px;
    height:44px;
  }
  .tf-lightbox-image { max-height:calc(100vh - 108px); }
}

/* TerraForge empty cart: branded landing state while filled cart stays native WooCommerce. */
.woocommerce-cart .tf-section{
  max-width:1380px;
  padding:42px 28px 78px;
}
.woocommerce-cart .tf-section > article > h1{display:none}
.tf-empty-cart-wrap{width:100%;margin:0!important}
/* WooCommerce renders both cart states server-side. Hide the branded empty state whenever a filled cart is present. */
.woocommerce-cart:has(.wp-block-woocommerce-filled-cart-block) .tf-empty-cart-wrap{display:none!important}
.tf-empty-cart-panel{
  display:grid;
  grid-template-columns:minmax(320px,.86fr) minmax(0,1.14fr);
  min-height:620px;
  overflow:hidden;
  border:1px solid #2d2d2d;
  border-radius:14px;
  background:#090909;
  box-shadow:0 28px 80px rgba(0,0,0,.35);
}
.tf-empty-cart-visual{
  position:relative;
  min-height:620px;
  background:
    linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.42)),
    url('https://terraforge4x4.com/wp-content/uploads/2026/09/TerraForge4x4-hero-builds-guides-community.png') center/cover no-repeat;
}
.tf-empty-cart-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.05) 58%,#090909 100%);
  pointer-events:none;
}
.tf-empty-cart-visual-tag{
  position:absolute;
  left:26px;
  bottom:24px;
  z-index:1;
  padding:8px 10px;
  border-left:3px solid var(--tf-orange);
  background:rgba(5,5,5,.72);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
}
.tf-empty-cart-content{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:46px 50px 38px;
  background:
    radial-gradient(circle at 110% 7%,transparent 0 70px,rgba(255,90,0,.11) 71px 72px,transparent 73px 118px,rgba(255,90,0,.07) 119px 120px,transparent 121px),
    radial-gradient(circle at 110% 58%,transparent 0 100px,rgba(255,255,255,.04) 101px 102px,transparent 103px 152px,rgba(255,255,255,.035) 153px 154px,transparent 155px),
    #0a0a0a;
}
.tf-empty-cart-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:28px;
}
.tf-empty-cart-brand img{
  width:64px;
  height:64px;
  object-fit:contain;
  border-radius:7px;
}
.tf-empty-cart-brand strong{
  display:block;
  color:#fff;
  font-size:24px;
  line-height:1;
  letter-spacing:.02em;
}
.tf-empty-cart-brand strong span{color:var(--tf-orange)}
.tf-empty-cart-brand small{
  display:block;
  margin-top:7px;
  color:#8f8f8f;
  font-size:9px;
  font-weight:700;
  letter-spacing:.19em;
}
.tf-empty-cart-icon{
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  margin-bottom:18px;
  border:1px solid #323232;
  border-radius:12px;
  background:#111;
  color:var(--tf-orange);
}
.tf-empty-cart-icon svg{
  width:38px;
  height:38px;
  fill:none;
  stroke:currentColor;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.tf-empty-cart-kicker{
  margin-bottom:9px;
  color:var(--tf-orange);
  font-size:11px;
  font-weight:800;
  letter-spacing:.17em;
}
.tf-empty-cart-content h2{
  margin:0 0 16px;
  max-width:700px;
  color:#fff;
  font-size:clamp(42px,5vw,68px);
  line-height:.93;
  letter-spacing:-.035em;
  text-transform:uppercase;
}
.tf-empty-cart-content h2 span{display:block;color:var(--tf-orange)}
.tf-empty-cart-content > p{
  max-width:660px;
  margin:0 0 25px;
  color:#c7c7c7;
  font-size:16px;
  line-height:1.65;
}
.tf-empty-cart-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:32px;
}
.tf-empty-cart-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  min-height:50px;
  padding:12px 20px;
  border-radius:5px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.035em;
  text-decoration:none;
}
.tf-empty-cart-shop{
  border:1px solid var(--tf-orange);
  background:var(--tf-orange);
  color:#fff!important;
}
.tf-empty-cart-shop:hover{background:#df4e00;border-color:#df4e00}
.tf-empty-cart-help{
  border:1px solid var(--tf-orange);
  background:#0b0b0b;
  color:#fff!important;
}
.tf-empty-cart-help:hover{background:#161616}
.tf-empty-cart-actions a:focus-visible{
  outline:2px solid #fff;
  outline-offset:3px;
}
.tf-empty-cart-trust{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  margin-top:auto;
  border:1px solid #292929;
  border-radius:7px;
  background:#292929;
}
.tf-empty-cart-trust > div{
  position:relative;
  min-height:78px;
  padding:14px 14px 13px 48px;
  background:#101010;
}
.tf-empty-trust-icon{
  position:absolute;
  left:16px;
  top:17px;
  color:var(--tf-orange);
  font-size:23px;
  line-height:1;
}
.tf-empty-cart-trust strong,
.tf-empty-cart-trust small{display:block}
.tf-empty-cart-trust strong{
  color:#fff;
  font-size:11px;
  line-height:1.3;
  letter-spacing:.04em;
}
.tf-empty-cart-trust small{
  margin-top:4px;
  color:#8c8c8c;
  font-size:10px;
  line-height:1.35;
}
@media(max-width:900px){
  .tf-empty-cart-panel{grid-template-columns:1fr;min-height:0}
  .tf-empty-cart-visual{min-height:310px;background-position:center 44%}
  .tf-empty-cart-visual::after{background:linear-gradient(180deg,rgba(0,0,0,.05) 62%,#090909 100%)}
  .tf-empty-cart-content{padding:34px 30px 30px}
  .tf-empty-cart-brand{margin-bottom:22px}
}
@media(max-width:600px){
  .woocommerce-cart .tf-section{padding:24px 14px 54px}
  .tf-empty-cart-panel{border-radius:9px}
  .tf-empty-cart-visual{min-height:220px}
  .tf-empty-cart-visual-tag{left:16px;bottom:14px;font-size:9px}
  .tf-empty-cart-content{padding:26px 18px 20px}
  .tf-empty-cart-brand img{width:48px;height:48px}
  .tf-empty-cart-brand strong{font-size:19px}
  .tf-empty-cart-brand small{font-size:7.5px}
  .tf-empty-cart-icon{width:52px;height:52px}
  .tf-empty-cart-content h2{font-size:38px}
  .tf-empty-cart-content > p{font-size:14.5px}
  .tf-empty-cart-actions{display:grid;grid-template-columns:1fr}
  .tf-empty-cart-actions a{width:100%;min-height:48px}
  .tf-empty-cart-trust{grid-template-columns:1fr}
  .tf-empty-cart-trust > div{min-height:68px;padding-top:12px;padding-bottom:11px}
}

/* Final empty-cart hero artwork with clickable CTA hotspots. */
.tf-empty-cart-hero{
  position:relative;
  width:100%;
  overflow:hidden;
  border:1px solid #2b2b2b;
  border-radius:12px;
  background:#080808;
  box-shadow:0 28px 80px rgba(0,0,0,.35);
}
.tf-empty-cart-hero > img{
  display:block;
  width:100%;
  height:auto;
}
.tf-empty-cart-hotspot{
  position:absolute;
  z-index:2;
  display:block;
  border-radius:6px;
  text-decoration:none;
}
.tf-empty-cart-hotspot-shop{
  left:33.1%;
  top:67.1%;
  width:20.1%;
  height:8.3%;
}
.tf-empty-cart-hotspot-fitment{
  left:54.3%;
  top:67.1%;
  width:20.4%;
  height:8.3%;
}
.tf-empty-cart-hotspot:hover{
  background:rgba(255,90,0,.08);
}
.tf-empty-cart-hotspot:focus-visible{
  outline:3px solid #fff;
  outline-offset:3px;
  background:rgba(255,90,0,.12);
}
@media(max-width:600px){
  .woocommerce-cart .tf-section{padding:18px 8px 42px}
  .tf-empty-cart-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    padding-bottom:6px;
  }
  .tf-empty-cart-hero{
    width:520px;
    max-width:none;
    border-radius:8px;
  }
}

/* TerraForge brand + linked shop categories on shop and product pages. */
.tf-shop-brand{
  width:min(1400px,calc(100% - 40px));
  margin:54px auto 0;
  overflow:hidden;
  border:1px solid #292929;
  border-radius:14px;
  background:#0a0a0a;
  box-shadow:0 24px 70px rgba(0,0,0,.28);
}
.tf-shop-brand-top{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(250px,.62fr) minmax(340px,.9fr);
  min-height:390px;
  background:#090909;
}
.tf-shop-brand-about,
.tf-shop-brand-contact{
  position:relative;
  z-index:2;
  align-self:center;
}
.tf-shop-brand-about{padding:48px 28px 48px 46px}
.tf-shop-brand-contact{
  padding:48px 30px;
  border-left:1px solid #2c2c2c;
}
.tf-shop-brand-mark{
  color:#fff;
  font-size:clamp(27px,3vw,46px);
  font-weight:900;
  line-height:1;
  letter-spacing:.025em;
}
.tf-shop-brand-mark span,
.tf-shop-brand-about h2 span,
.tf-shop-categories-head h2 span{color:var(--tf-orange)}
.tf-shop-brand-tagline{
  margin:9px 0 34px;
  color:#a9a9a9;
  font-size:10px;
  font-weight:700;
  letter-spacing:.2em;
}
.tf-shop-brand-about h2,
.tf-shop-categories-head h2{
  margin:0;
  color:#fff;
  text-transform:uppercase;
}
.tf-shop-brand-about h2{
  font-size:clamp(27px,3vw,42px);
  line-height:1.08;
}
.tf-shop-brand-about p{
  max-width:650px;
  margin:18px 0 24px;
  color:#c8c8c8;
  font-size:16px;
  line-height:1.68;
}
.tf-shop-contact-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding-bottom:6px;
  border-bottom:2px solid var(--tf-orange);
  color:#fff!important;
  font-weight:700;
  text-decoration:none;
}
.tf-shop-contact-link span{color:var(--tf-orange);font-size:20px}
.tf-shop-brand-contact h3{
  margin:0 0 24px;
  color:#fff;
  font-size:20px;
  text-transform:uppercase;
}
.tf-shop-brand-contact a,
.tf-shop-brand-contact div{
  display:block;
  margin:0 0 15px;
  color:#e6e6e6;
  font-size:15px;
  line-height:1.4;
  text-decoration:none;
}
.tf-shop-brand-contact a:hover{color:var(--tf-orange)}
.tf-shop-brand-contact strong{color:#fff}
.tf-shop-brand-visual{
  position:relative;
  min-height:390px;
  background:
    linear-gradient(90deg,#090909 0%,rgba(9,9,9,.28) 22%,rgba(9,9,9,.02) 60%),
    linear-gradient(0deg,rgba(0,0,0,.18),rgba(0,0,0,.05)),
    url('https://terraforge4x4.com/wp-content/uploads/2026/09/terraforge-cayenne-mountain-hero-v2.png') center/cover no-repeat;
}
.tf-shop-categories{
  padding:30px 20px 22px;
  border-top:1px solid #292929;
  background:
    radial-gradient(circle at 15% 10%,rgba(255,90,0,.055),transparent 28%),
    #0c0c0c;
}
.tf-shop-categories-head{text-align:center;margin-bottom:24px}
.tf-shop-categories-head h2{
  font-size:clamp(28px,3vw,44px);
  line-height:1.05;
}
.tf-shop-categories-head p{
  margin:9px 0 0;
  color:#a3a3a3;
  font-size:11px;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.tf-shop-category-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.tf-shop-category-card{
  position:relative;
  min-height:205px;
  overflow:hidden;
  border:1px solid #3a3a3a;
  border-radius:8px;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  isolation:isolate;
  text-decoration:none!important;
  transition:transform .2s ease,border-color .2s ease;
}
.tf-shop-category-card:hover{
  transform:translateY(-3px);
  border-color:var(--tf-orange);
}
.tf-shop-category-shade{
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(0,0,0,.03) 35%,rgba(0,0,0,.88) 100%);
}
.tf-shop-category-card strong{
  position:absolute;
  left:16px;
  right:42px;
  bottom:16px;
  color:#fff;
  font-size:13px;
  line-height:1.2;
  text-transform:uppercase;
}
.tf-shop-category-arrow{
  position:absolute;
  right:15px;
  bottom:12px;
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border:1px solid var(--tf-orange);
  border-radius:50%;
  color:var(--tf-orange);
  font-size:18px;
}
.tf-shop-category-card:focus-visible{
  outline:3px solid #fff;
  outline-offset:3px;
}
@media(max-width:1050px){
  .tf-shop-brand-top{grid-template-columns:1fr 1fr}
  .tf-shop-brand-visual{grid-column:1/-1;min-height:330px;background-position:center 55%}
  .tf-shop-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .tf-shop-brand{width:calc(100% - 20px);margin-top:34px;border-radius:10px}
  .tf-shop-brand-top{display:block}
  .tf-shop-brand-about{padding:30px 22px 24px}
  .tf-shop-brand-contact{padding:22px 22px 26px;border-left:0;border-top:1px solid #292929}
  .tf-shop-brand-visual{display:none}
  .tf-shop-categories{display:none}
}
@media(max-width:420px){
  .tf-shop-brand-about p{font-size:14.5px}
  .tf-shop-category-card{min-height:150px}
  .tf-shop-category-card strong{left:12px;right:38px;bottom:12px;font-size:11px}
  .tf-shop-category-arrow{right:10px;bottom:9px;width:27px;height:27px}
}

/* Revision: closer to the original TerraForge concept, calmer on mobile. */
@media(min-width:1051px){
  .tf-shop-brand{
    width:min(1480px,calc(100% - 28px));
    border-radius:10px;
  }
  .tf-shop-brand-top{
    grid-template-columns:minmax(0,1.06fr) minmax(250px,.58fr) minmax(390px,1.12fr);
    min-height:430px;
  }
  .tf-shop-brand-about{padding:52px 34px 52px 52px}
  .tf-shop-brand-contact{padding:52px 30px}
  .tf-shop-brand-visual{min-height:430px;background-position:center 52%}
  .tf-shop-category-card{min-height:190px}
}

@media(max-width:700px){
  .tf-shop-brand{
    width:calc(100% - 16px);
    margin-top:28px;
    border-radius:8px;
  }
  .tf-shop-brand-top{display:block;min-height:0}
  .tf-shop-brand-about{padding:24px 18px 18px}
  .tf-shop-brand-mark{font-size:27px}
  .tf-shop-brand-tagline{
    margin:7px 0 20px;
    font-size:8px;
    letter-spacing:.14em;
  }
  .tf-shop-brand-about h2{font-size:25px}
  .tf-shop-brand-about p{
    margin:12px 0 16px;
    font-size:14px;
    line-height:1.5;
  }
  .tf-shop-contact-link{font-size:13px}
  .tf-shop-brand-contact{
    padding:18px;
    border-left:0;
    border-top:1px solid #262626;
  }
  .tf-shop-brand-contact h3{
    margin-bottom:12px;
    font-size:16px;
  }
  .tf-shop-brand-contact a,
  .tf-shop-brand-contact div{
    margin-bottom:8px;
    font-size:13px;
  }
  .tf-shop-brand-visual{display:none}
  .tf-shop-categories{
    padding:20px 12px 12px;
  }
  .tf-shop-categories-head{
    margin-bottom:12px;
    text-align:left;
  }
  .tf-shop-categories-head h2{font-size:24px}
  .tf-shop-categories-head p{display:none}
  .tf-shop-category-grid{
    grid-template-columns:1fr;
    gap:6px;
  }
  .tf-shop-category-card{
    min-height:58px;
    border-radius:6px;
    background-image:none!important;
    background:#111;
    transform:none!important;
  }
  .tf-shop-category-shade{display:none}
  .tf-shop-category-card strong{
    left:14px;
    right:50px;
    bottom:auto;
    top:50%;
    transform:translateY(-50%);
    font-size:13px;
  }
  .tf-shop-category-arrow{
    right:12px;
    bottom:auto;
    top:50%;
    width:28px;
    height:28px;
    transform:translateY(-50%);
  }
}


/* Homepage upgrade categories: compact images and independent text labels. */
#shop { scroll-margin-top: 100px; }
#shop .tf-explore-title { font-size:clamp(1.8rem,4vw,3rem); line-height:1.08; text-transform:none; letter-spacing:-.035em; margin:12px 0; }
#shop .tf-explore-lead { margin:0; color:#b8b8b8; }
.tf-upgrade-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:32px 0 28px; }
.tf-vehicle-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:32px 0 48px; }
.tf-vehicle-card { min-width:0; overflow:hidden; display:flex; flex-direction:column; border:1px solid #2b2b2b; border-radius:5px; color:#fff; text-decoration:none; background:#0a0a0a; transition:border-color .2s ease,transform .2s ease; }
.tf-vehicle-card:hover { border-color:#ff5a00; transform:translateY(-2px); }
.tf-vehicle-card:focus-visible { outline:3px solid #ff5a00; outline-offset:4px; }
.tf-vehicle-image { position:relative; aspect-ratio:4/3; overflow:hidden; background:#111; }
.tf-vehicle-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.tf-vehicle-card:hover .tf-vehicle-image img { transform:scale(1.04); }
.tf-vehicle-overlay { display:none; }
.tf-vehicle-copy { position:static; padding:15px 16px 17px; text-align:center; }
.tf-vehicle-copy > span { display:none; }
.tf-vehicle-copy h3 { margin:0 0 5px; color:#fff; font-size:clamp(18px,1.7vw,24px); line-height:1.1; letter-spacing:-.025em; text-transform:none; }
.tf-vehicle-copy p { margin:0 0 12px; color:#a9a9a9; font-size:12px; }
.tf-vehicle-copy strong { display:inline-flex; gap:8px; align-items:center; justify-content:center; color:#ff7b33; font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.tf-upgrade-card { min-width:0; overflow:hidden; display:flex; flex-direction:column; background:#080808; border:1px solid #2b2b2b; border-radius:4px; color:#fff; text-decoration:none; transition:border-color .2s ease; }
.tf-upgrade-card:hover { border-color:#ff5a00; }
.tf-upgrade-card:focus-visible,.tf-build-feature-link:focus-visible { outline:3px solid #ff5a00; outline-offset:4px; }
.tf-upgrade-image { aspect-ratio:4/3; overflow:hidden; background:#000; }
.tf-upgrade-image img { display:block; width:100%; height:100%; object-fit:contain; }
.tf-upgrade-image--contain img { padding:14px; }
.tf-upgrade-image--cover img { object-fit:cover; }
.tf-upgrade-label { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:17px 18px; border-top:1px solid #202020; }
.tf-upgrade-label h3 { margin:0; color:#fff; font-size:17px; line-height:1.25; text-transform:none; }
.tf-upgrade-label > span { color:#ff5a00; font-size:23px; line-height:1; }
.tf-upgrade-all { justify-content:center; padding:25px; background:linear-gradient(135deg,#19120e,#0b0b0b 75%); }
.tf-upgrade-all .tf-kicker { font-size:10px; letter-spacing:.12em; }
.tf-upgrade-all h3 { font-size:clamp(22px,2.6vw,32px); line-height:1.08; letter-spacing:-.035em; text-transform:none; margin:17px 0 24px; }
.tf-upgrade-all-link { color:#ff7b33; font-size:13px; line-height:1.5; }
.tf-build-feature { position:relative; isolation:isolate; overflow:hidden; background:#090909; border:1px solid #2b2b2b; border-radius:4px; min-height:330px; scroll-margin-top:100px; }
.tf-build-feature-photo { position:absolute; inset:0 0 0 35%; z-index:-2; }
.tf-build-feature-photo img { width:100%; height:100%; object-fit:cover; object-position:center 55%; }
.tf-build-feature::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#090909 15%,rgba(9,9,9,.94) 32%,rgba(9,9,9,.12) 65%); }
.tf-build-feature-copy { padding:40px; max-width:55%; }
#shop .tf-build-feature h2 { font-size:clamp(28px,3.5vw,42px); line-height:1.05; text-transform:none; letter-spacing:-.035em; margin:12px 0; }
#shop .tf-build-feature p { font-size:15px; line-height:1.6; margin:0 0 22px; color:#ccc; }
.tf-build-feature-link { display:inline-flex; align-items:center; gap:22px; padding:12px 18px; background:#ff5a00; color:#080808; font-weight:700; font-size:14px; border-radius:3px; text-decoration:none; }
.tf-build-feature-link:hover { background:#ff7b33; }
@media(max-width:700px) {
  .tf-upgrade-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:24px; }
  .tf-vehicle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:24px 0 30px; }
  .tf-vehicle-copy { padding:12px 9px 14px; }
  .tf-vehicle-copy h3 { font-size:17px; }
  .tf-vehicle-copy p { font-size:10px; margin-bottom:9px; }
  .tf-vehicle-copy strong { font-size:9px; }
  .tf-upgrade-image { aspect-ratio:4/3; }
  .tf-upgrade-image--contain img { padding:8px; }
  .tf-upgrade-label { padding:13px 12px; }
  .tf-upgrade-label h3 { font-size:15px; }
  .tf-upgrade-label > span { font-size:20px; }
  .tf-upgrade-all { padding:16px; }
  .tf-upgrade-all h3 { font-size:24px; margin:12px 0 16px; }
  .tf-upgrade-all-link { font-size:12px; }
  .tf-build-feature { display:flex; flex-direction:column; min-height:0; }
  .tf-build-feature-photo { position:relative; inset:auto; aspect-ratio:16/9; z-index:auto; order:0; }
  .tf-build-feature::before { display:none; }
  .tf-build-feature-copy { padding:24px; max-width:none; order:1; }
}

/* Compact homepage branding below the shared navigation. */
.tf-brand-header.tf-brand-header-compact { min-height:0; padding:10px 28px; justify-content:flex-start; gap:0; }
.tf-brand-header-compact .tf-brand-logo { width:48px; height:48px; object-fit:contain; }
.tf-brand-header-compact .tf-brand-wordmark { font-size:22px; }
@media(max-width:600px) {
  .tf-brand-header.tf-brand-header-compact { padding:8px 16px; }
  .tf-brand-header-compact .tf-brand-logo { width:38px; height:38px; }
  .tf-brand-header-compact .tf-brand-wordmark { font-size:18px; }
}
/* Logo links home from the shared black navigation bar. */
.tf-utility-nav > .tf-header-logo { flex:0 0 auto; padding:0; }
.tf-header-logo img { display:block; width:72px; height:72px; object-fit:contain; }
.tf-header-wordmark { color:#fff; font-size:22px; font-weight:800; letter-spacing:-.5px; white-space:nowrap; }
.tf-header-wordmark > span { color:#ff5a00; }
@media(max-width:600px) {
  .tf-header-logo img { width:54px; height:54px; }
  .tf-header-wordmark { font-size:16px; letter-spacing:-.4px; }
  .tf-utility-nav { gap:10px; padding-left:10px; padding-right:10px; }
  .tf-utility-nav > .tf-header-logo { gap:5px; }
}
@media(max-width:360px) {
  .tf-header-wordmark { font-size:14px; }
  .tf-header-logo img { width:48px; height:48px; }
}
/* Main navigation alongside the cart. */
.tf-utility-header { background:#000; }
.tf-main-menu-desktop { display:flex; align-items:center; justify-content:center; flex:1; gap:clamp(10px,1vw,18px); min-width:0; }
.tf-main-menu-desktop a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; font-weight:600; line-height:1.3; color:#f5f5f5; text-decoration:none; white-space:nowrap; }
.tf-main-menu-mobile { display:none; }
@media(max-width:1250px) {
  .tf-main-menu-desktop { display:none; }
  .tf-main-menu-mobile { display:block; margin-left:auto; color:#fff; }
  .tf-main-menu-mobile summary { display:flex; align-items:center; gap:10px; min-height:44px; cursor:pointer; font-size:14px; font-weight:700; list-style:none; }
  .tf-main-menu-mobile summary::-webkit-details-marker { display:none; }
  .tf-main-menu-mobile summary:focus-visible { outline:2px solid #ff7b32; outline-offset:3px; }
  .tf-main-menu-mobile[open] summary { color:#ff7b32; }
  .tf-main-menu-mobile nav { position:absolute; top:100%; right:0; left:0; padding:12px 20px; display:grid; background:#000; border-bottom:1px solid #444; box-shadow:0 12px 24px #0008; max-height:calc(100dvh - 110px); overflow-y:auto; }
  .tf-main-menu-mobile nav a { display:flex; align-items:center; min-height:46px; padding:8px 12px; color:#fff; text-decoration:none; font-size:15px; border-bottom:1px solid #222; }
  .tf-utility-nav .tf-header-cart { margin-left:0; flex-shrink:0; }
}
#story,#guides,#builds { scroll-margin-top:110px; }
/* Shop-only category navigation. */
.tf-product-nav { background:#292929; border-bottom:1px solid #424242; width:100%; min-width:0; }
.tf-product-nav-inner { display:flex; align-items:stretch; justify-content:space-between; gap:10px; max-width:1200px; margin:0 auto; padding:0 24px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#777 #292929; }
.tf-product-nav-inner a { flex:0 0 auto; display:flex; align-items:center; min-height:58px; padding:0 12px; color:#f2f2f2; text-decoration:none; font-size:14px; line-height:1.3; font-weight:600; white-space:nowrap; border-bottom:3px solid transparent; }
.tf-product-nav-inner a:hover { color:#ff873f; background:#333; }
.tf-product-nav-inner a.is-active { color:#ff873f; border-bottom-color:#ff5a00; }
.tf-product-nav-inner a:focus-visible { outline:2px solid #ff873f; outline-offset:-4px; }
@media(max-width:700px) {
  .tf-product-nav-inner { justify-content:flex-start; padding:0 10px; gap:4px; }
  .tf-product-nav-inner a { min-height:48px; padding:0 12px; font-size:13px; }
}
/* Compact product photos on phones; tap still opens the full-size viewer. */
@media (max-width:600px){
  .woocommerce ul.products li.product a img,
  .tf-wc ul.products li.product a img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:220px!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
  }
  .single-product div.product .woocommerce-product-gallery{
    max-width:300px;
    margin:0 auto!important;
  }
  .single-product div.product .woocommerce-product-gallery__image img{
    max-height:300px;
    object-fit:contain;
  }
}
/* Featured guide card on the homepage. */
.tf-guide-card{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);
  gap:0;
  max-width:1000px;
  margin:30px 0 0;
  overflow:hidden;
  border:1px solid #393939;
  border-top:3px solid var(--tf-orange);
  background:#171717;
  color:#fff;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease;
}
.tf-guide-card:hover{transform:translateY(-3px);border-color:var(--tf-orange)}
.tf-guide-card-image{min-height:340px;background:#0b0b0b}
.tf-guide-card-image img{display:block;width:100%;height:100%;min-height:340px;max-height:520px;object-fit:cover;object-position:center}
.tf-guide-card-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,5vw,58px)}
.tf-guide-card-copy>span{color:var(--tf-orange);font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.tf-guide-card-copy h3{margin:12px 0;font-size:clamp(25px,3vw,40px);line-height:1.08}
.tf-guide-card-copy p{margin:0 0 24px;color:#c8c8c8}
.tf-guide-card-copy strong{color:#fff}
.tf-guide-card-copy strong span{color:var(--tf-orange)}
@media(max-width:700px){
  .tf-guide-card{grid-template-columns:1fr}
  .tf-guide-card-image,.tf-guide-card-image img{min-height:300px;max-height:480px}
}

/* Mobile refinement: compact, touch-friendly and deliberately composed. */
@media (max-width:700px){
  html,body,.tf-site{max-width:100%;overflow-x:hidden}
  body{font-size:16px}
  .tf-utility-header{position:sticky;top:0}
  .tf-utility-nav{
    position:relative;
    min-height:62px;
    gap:8px;
    padding:5px 12px;
  }
  .tf-header-logo img{width:50px;height:50px}
  .tf-header-wordmark{font-size:15px;letter-spacing:-.35px}
  .tf-main-menu-mobile{margin-left:auto}
  .tf-main-menu-mobile summary{
    min-width:62px;
    min-height:48px;
    justify-content:center;
    padding:0 7px;
    border:1px solid #303030;
    border-radius:4px;
  }
  .tf-main-menu-mobile[open] summary{border-color:var(--tf-orange)}
  .tf-main-menu-mobile nav{
    top:100%;
    padding:8px 14px 18px;
    grid-template-columns:1fr 1fr;
    gap:0 12px;
    max-height:calc(100dvh - 62px);
    border-top:1px solid #262626;
  }
  .tf-main-menu-mobile nav a{
    min-height:50px;
    padding:10px 8px;
    font-size:14px;
  }
  .tf-header-cart .wc-block-mini-cart__button{
    min-width:48px;
    min-height:48px;
    padding:7px 9px;
  }

  .tf-hero{
    min-height:min(650px,calc(100svh - 62px));
    align-items:flex-end;
  }
  .tf-hero::after{
    background:linear-gradient(180deg,rgba(3,5,6,.04) 0%,rgba(3,5,6,.12) 32%,rgba(3,5,6,.68) 58%,rgba(3,5,6,.98) 82%);
  }
  .tf-hero img{object-position:65% center}
  .tf-hero-content{width:100%;padding:28px 18px 92px}
  .tf-hero-kicker{margin-bottom:9px;font-size:12px;letter-spacing:.13em}
  .tf-hero-content h1{
    max-width:440px;
    margin-bottom:13px;
    font-size:clamp(39px,12vw,52px);
    line-height:.94;
  }
  .tf-hero-content>p:not(.tf-hero-kicker){
    max-width:520px;
    font-size:15px;
    line-height:1.5;
  }
  .tf-hero-actions{display:none}
  .tf-hero-button{min-height:48px;padding:11px 8px;font-size:11px}

  .tf-section{padding:42px 16px}
  .tf-section h2{font-size:clamp(30px,10vw,44px);line-height:1}
  .tf-section p{font-size:16px;line-height:1.62}
  .tf-grid{gap:12px}
  .tf-card{min-height:160px;padding:22px}
  .tf-split{gap:24px}
  .tf-panel{padding:18px;border-left-width:3px}

  .tf-vehicle-grid{gap:10px;margin:22px 0 30px}
  .tf-vehicle-image{aspect-ratio:1/1}
  .tf-vehicle-copy{padding:11px 8px 13px}
  .tf-vehicle-copy h3{font-size:16px}
  .tf-vehicle-copy p{font-size:10px}
  .tf-vehicle-copy strong{font-size:9px}
  .tf-build-feature-photo{aspect-ratio:4/3}
  .tf-build-feature-copy{padding:22px 18px 24px}
  .tf-build-feature-link,.tf-fitment-cta{min-height:48px;width:100%;justify-content:center}

  .tf-trust-row{grid-template-columns:1fr 1fr}
  .tf-trust-row > div{min-height:76px}
  .tf-products-intro{margin-top:32px}
  .tf-wc ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tf-wc ul.products li.product .woocommerce-loop-product__title{padding:12px 11px 5px!important;font-size:14px!important}
  .tf-wc ul.products li.product .price{margin:auto 11px 11px!important;font-size:16px!important}
  .tf-wc ul.products li.product .button{min-height:44px;margin:0 10px 10px!important;padding:9px 6px;font-size:12px}

  .tf-fitment-form,.tf-community-form{width:100%;max-width:100%}
  .tf-form-grid{grid-template-columns:1fr!important;gap:14px!important}
  .tf-fitment-form label,.tf-community-form label{display:block}
  .tf-fitment-form input:not([type="checkbox"]),.tf-fitment-form select,.tf-fitment-form textarea,
  .tf-community-form input:not([type="checkbox"]),.tf-community-form select,.tf-community-form textarea{
    width:100%;
    max-width:100%;
    min-height:48px;
    font-size:16px!important;
  }
  .tf-fitment-form textarea,.tf-community-form textarea{min-height:120px}
  .tf-fitment-form button,.tf-community-form button{width:100%;min-height:50px;font-size:15px}

  .entry-content table,.wp-block-table table,table.shop_table{
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    white-space:nowrap;
  }
  .entry-content table th,.entry-content table td{min-width:145px;padding:11px 12px}
  .tf-guide-card-image,.tf-guide-card-image img{min-height:230px;max-height:330px}
  .tf-guide-card-copy{padding:24px 20px}
  .tf-guide-card-copy h3{font-size:25px}
  .tf-footer{padding:26px 16px;font-size:12px;line-height:1.7}
}

@media (max-width:380px){
  .tf-header-wordmark{display:none}
  .tf-main-menu-mobile nav{grid-template-columns:1fr}
  .tf-hero{min-height:600px}
  .tf-hero-actions{grid-template-columns:1fr}
  .tf-vehicle-grid,.tf-wc ul.products{grid-template-columns:1fr}
  .tf-trust-row{grid-template-columns:1fr}
}

/* TerraForge WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner{
  position:relative!important;
  overflow:hidden!important;
  min-height:66px!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  color:#f4f4f4!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
  background:
    linear-gradient(105deg,rgba(244,81,30,.11),transparent 32%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.018) 0 1px,transparent 1px 15px),
    linear-gradient(135deg,#181818,#090909)!important;
  border:1px solid #343434!important;
  border-left:6px solid #f4511e!important;
  border-radius:10px!important;
  box-shadow:0 16px 38px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.04)!important;
  padding:16px 18px 16px 58px!important;
}
.woocommerce-message::before,
.woocommerce-info::before{
  top:50%!important;
  left:18px!important;
  transform:translateY(-50%)!important;
  width:26px!important;
  height:26px!important;
  display:grid!important;
  place-items:center!important;
  color:#080808!important;
  background:#f4511e!important;
  border-radius:50%!important;
  box-shadow:0 0 20px rgba(244,81,30,.38)!important;
}
.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a,
.wc-block-components-notice-banner a{color:#fff!important}
.woocommerce-message .button,
.woocommerce-info .button,
.wc-block-components-notice-banner .wc-forward{
  margin-left:auto!important;
  color:#fff!important;
  background:linear-gradient(135deg,#f4511e,#d83a0d)!important;
  border:1px solid #ff7448!important;
  border-radius:6px!important;
  box-shadow:0 6px 18px rgba(244,81,30,.24)!important;
  padding:11px 20px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.wc-block-components-notice-banner .wc-forward:hover{
  background:#ff6333!important;
  border-color:#ff936f!important;
  transform:translateY(-1px);
}
@media (max-width:640px){
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error,
  .wc-block-components-notice-banner{
    align-items:flex-start!important;
    flex-direction:column!important;
    padding:16px 16px 16px 54px!important;
  }
  .woocommerce-message .button,
  .woocommerce-info .button,
  .wc-block-components-notice-banner .wc-forward{
    margin:8px 0 0!important;
    width:100%!important;
    text-align:center!important;
  }
}

