/* Native WordPress/Woo archives share the site's spacing without affecting ACF sections. */
.tl-editorial-archive,
.tl-native-woo {
  padding-top: 48px;
  padding-bottom: 80px;
  color: #5f6c74;
}
/* Woo already renders its own category-aware breadcrumb inside the wrapper. */
body.woocommerce > .app > .tl-page-breadcrumbs {
  display: none;
}
.tl-editorial-archive .page-heading,
.tl-native-woo .woocommerce-products-header {
  margin-bottom: 40px;
}
.tl-editorial-archive h1,
.tl-native-woo h1 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.tl-editorial-archive .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.tl-editorial-archive .post-card {
  min-width: 0;
  background: #f5f6f6;
  display: flex;
  flex-direction: column;
}
.tl-editorial-archive .post-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.tl-editorial-archive .post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tl-editorial-archive .post-card__body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.tl-editorial-archive .post-card time {
  font-size: 14px;
  color: #7a858c;
  margin-bottom: 16px;
}
.tl-editorial-archive .post-card__title {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
.tl-editorial-archive .post-card__title a {
  color: inherit;
  text-decoration: none;
}
.tl-editorial-archive .post-card__excerpt {
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.tl-editorial-archive .post-card__more {
  color: #d35d20;
  font-weight: 700;
  margin-top: auto;
  padding-top: 20px;
}
.tl-editorial-archive .pagination {
  margin-top: 40px;
}
.tl-editorial-archive .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.tl-editorial-archive .page-numbers {
  padding: 8px 12px;
  color: inherit;
  background: #f5f6f6;
  text-decoration: none;
}
.tl-editorial-archive .page-numbers.current {
  background: #ed7637;
  color: #fff;
}
.tl-native-woo ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  clear: both;
}
.tl-native-woo ul.products::before,
.tl-native-woo ul.products::after {
  display: none;
}
body.woocommerce .tl-native-woo ul.products[class*="columns-"] li.product {
  width: auto;
  float: none;
  margin: 0;
  padding: 20px;
  background: #f5f6f6;
  display: flex;
  flex-direction: column;
}
body.woocommerce .tl-native-woo ul.products[class*="columns-"] li.product a {
  color: inherit;
  text-decoration: none;
}
body.woocommerce
  .tl-native-woo
  ul.products[class*="columns-"]
  li.product
  .woocommerce-loop-product__title {
  font-size: 22px;
  line-height: 1.3;
}
body.woocommerce .tl-native-woo ul.products[class*="columns-"] li.product img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}
body.woocommerce
  .tl-native-woo
  ul.products[class*="columns-"]
  li.product
  .price {
  font-size: 22px;
  color: #5f6c74;
}
body.woocommerce
  .tl-native-woo
  ul.products[class*="columns-"]
  li.product
  .tl-product-link {
  margin-top: auto;
  align-self: flex-start;
  color: #fff;
}
.tl-native-woo .product_title,
.tl-native-woo .summary {
  overflow-wrap: anywhere;
}
.tl-native-woo .woocommerce-breadcrumb {
  margin-bottom: 30px;
}
.tl-native-woo .woocommerce-tabs {
  padding-top: 40px;
}
.tl-native-woo .woocommerce-tabs .panel {
  overflow-wrap: anywhere;
}
.tl-native-woo .tl-product-inquiry {
  margin: 24px 0;
}
.tl-native-woo #review_form input[type="text"],
.tl-native-woo #review_form input[type="email"],
.tl-native-woo #review_form textarea {
  display: block;
  width: 100%;
  border: 1px solid #cfd3d5;
  background: #fff;
  padding: 12px;
  margin-top: 8px;
  color: inherit;
}
.tl-native-woo #review_form .comment-form p {
  margin: 0 0 18px;
}
@media (max-width: 991px) {
  .tl-editorial-archive .post-grid,
  .tl-native-woo ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .tl-editorial-archive,
  .tl-native-woo {
    padding-top: 36px;
    padding-bottom: 50px;
  }
  .tl-editorial-archive .post-grid,
  .tl-native-woo ul.products {
    grid-template-columns: minmax(0, 1fr);
  }
  .tl-editorial-archive .post-card__body {
    padding: 20px;
  }
  .tl-native-woo .woocommerce-ordering,
  .tl-native-woo .woocommerce-result-count {
    float: none;
  }
  .tl-native-woo .woocommerce-ordering select {
    max-width: 100%;
  }
}

/* Product metadata is private/editorial; the public page focuses on the vehicle. */
.woocommerce .tl-native-woo div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, 72px);
  gap: 8px;
  margin-top: 12px;
  padding: 0;
}
.woocommerce .tl-native-woo div.product div.images .flex-control-thumbs::before,
.woocommerce .tl-native-woo div.product div.images .flex-control-thumbs::after {
  display: none;
}
.woocommerce .tl-native-woo div.product div.images .flex-control-thumbs li {
  width: 72px;
  float: none;
  margin: 0;
}
.woocommerce .tl-native-woo div.product div.images .flex-control-thumbs img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
}
.tl-native-woo .related.products {
  display: flow-root;
  clear: both;
  width: 100%;
  padding-top: 60px;
}
.tl-native-woo .related.products > h2 {
  margin: 0 0 30px;
}
@media (max-width: 767px) {
  .tl-native-woo .related.products { padding-top: 40px; }
}
