/* ===============================
   PDV2 Categories Grid — drop-in
   Works with [pdv2_cats ...]
   =============================== */
/* === PDV2 Categories Grid (12-up) === */
.pdv2-cats12.woocommerce { max-width: 1300px; margin: 0 auto; }
.pdv2-cats12 .products{
  display:grid;
  grid-template-columns:repeat(6, minmax(0,1fr));
  gap:18px;
  list-style:none;
  padding:0;
  margin:0;
}

/* Category card */
.pdv2-cats12 .product-category.product{
  border:1px solid #e5e7eb;     /* slate-200 */
  background:#fff;
  padding:16px;
  text-align:center;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.pdv2-cats12 .product-category.product:hover{
  border-color:#cbd5e1;          /* slate-300 */
  transform:translateY(-2px);
  box-shadow:0 4px 14px rgba(0,0,0,.06);
}

/* Image box – forces uniform size, centers any PNG */
.pdv2-cats12 .product-category a{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.pdv2-cats12 .product-category a img{
  width:160px;            /* visual cap */
  height:160px;
  object-fit:contain;     /* no stretching */
  image-rendering:auto;
  display:block;
  margin:0 auto;
}

/* Title – 2-line clamp and tidy type */
.pdv2-cats12 .woocommerce-loop-category__title{
  font-size:14px;
  font-weight:600;
  color:#0f172a;          /* slate-900 */
  line-height:1.25;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:2.5em;       /* keeps rows equal when short titles */
}

/* “Browse All” button row */
.pdv2-cats12 .cats-actions{
  margin-top:18px;
  display:flex;
  justify-content:center;
}
.pdv2-cats12 .tpmv-all-cats-btn{
  display:inline-block;
  padding:10px 16px;
  border:1px solid #0ea5e9;      /* primary-ish */
  background:#0ea5e9;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  font-weight:600;
}
.pdv2-cats12 .tpmv-all-cats-btn:hover{
  filter:brightness(1.05);
}

/* Responsive columns */
@media (max-width:1200px){
  .pdv2-cats12 .products{ grid-template-columns:repeat(5,1fr); }
}
@media (max-width:1024px){
  .pdv2-cats12 .products{ grid-template-columns:repeat(4,1fr); }
}
@media (max-width:768px){
  .pdv2-cats12 .products{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:560px){
  .pdv2-cats12 .products{ grid-template-columns:repeat(2,1fr); }
  .pdv2-cats12 .product-category a img{ width:130px; height:130px; }
}

.pdv2-vehicle-chip {
    justify-content: center !important; /* horizontal centering */
    text-align: center;
}
.pdv2-vehicle-chip strong,
.pdv2-vehicle-chip a {
    text-align: center;
}



