.elementor-54359 .elementor-element.elementor-element-e14a1e5{margin-top:0100px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-54359 .elementor-element.elementor-element-9a48f51 .elementor-tab-title, .elementor-54359 .elementor-element.elementor-element-9a48f51 .elementor-tab-title:before, .elementor-54359 .elementor-element.elementor-element-9a48f51 .elementor-tab-title:after, .elementor-54359 .elementor-element.elementor-element-9a48f51 .elementor-tab-content, .elementor-54359 .elementor-element.elementor-element-9a48f51 .elementor-tabs-content-wrapper{border-width:1px;}@media(min-width:768px){.elementor-54359 .elementor-element.elementor-element-f392bc4{width:100%;}}/* Start custom CSS for tabs, class: .elementor-element-9a48f51 *//* ================================
   AUTO PRODUCT GRID
================================ */
.auto-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

/* ================================
   PRODUCT CARD
================================ */
.auto-product-grid figure {
  margin: 0;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ensures caption stays at bottom */
  height: 100%;
  min-height: 420px; /* adjust based on your tallest card */
}

/* Hover effect */
.auto-product-grid figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

/* ================================
   IMAGE WRAP
================================ */
.auto-product-grid .img-wrap {
  width: 100%;
  height: 280px; /* fixed height ensures uniform card layout */
  background: #f4f6f8;
  padding: 12px;
  box-sizing: border-box;
  flex-shrink: 0; /* prevents image from shrinking */
}

.auto-product-grid .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills container */
  display: block;
  border-radius: 10px;
}

/* ================================
   CAPTION AREA
================================ */
.auto-product-grid figcaption {
  background: #ffffff;
  text-align: center;
  padding: 18px 14px;
  border-top: 1px solid #eeeeee;

  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0; /* keeps caption size consistent */
}

/* extra spacing below button */
.auto-product-grid figcaption::after {
  content: "";
  display: block;
  height: 16px; /* visible white space below button */
}

/* ================================
   PRODUCT TITLE
================================ */
.auto-product-grid .product-title {
  font-size: 16px;
  font-weight: 500;
  color: #1c2932;
  line-height: 1.4;
}

/* ================================
   BUTTON (FIXED, CENTERED)
================================ */
.auto-product-grid .enquire-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0px 20px 10px 20px; /* top 0, left/right 20, bottom 10 */
  min-width: 160px;             /* prevents shrinking */
  height: auto;
  box-sizing: border-box;

  margin: 0 auto;

  background-color: #ff5a3c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;

  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;

  white-space: nowrap;  /* prevents text wrap */
  transition: all 0.3s ease;
}

.auto-product-grid .enquire-btn:hover {
  background-color: #e94c30;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ================================
   TABLET
================================ */
@media (max-width: 1024px) {
  .auto-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .auto-product-grid .img-wrap {
    height: 260px; /* slightly smaller for tablet */
  }

  .auto-product-grid figure {
    min-height: 400px; /* adjust proportionally */
  }
}

/* ================================
   MOBILE
================================ */
@media (max-width: 480px) {
  .auto-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .auto-product-grid .img-wrap {
    height: 240px;
  }

  .auto-product-grid .product-title {
    font-size: 14px;
  }

  .auto-product-grid figure {
    min-height: 380px; /* smaller card for mobile */
  }

  .auto-product-grid .enquire-btn {
    width: auto;         /* keep padding-based sizing */
    padding: 0px 20px 10px 20px;
  }
}/* End custom CSS */