/* Clone page only */
.page-id-3781 .large-logo img,
.page-id-3781 .tve-header .tve-image-logo img,
.page-id-3781 .tve-sticky-header .tve-image-logo img,
.page-id-3781 header .tve-image-logo img {
  max-height: 150px !important;
  height: auto !important;
  width: auto !important;
}

/* If Thrive sets a max-height on the container, unlock it */
.page-id-3781 .tve-header .tve-image-logo,
.page-id-3781 .tve-sticky-header .tve-image-logo {
  max-height: none !important;
}

/* Responsive tweaks (optional) */
@media (max-width: 768px){
  .page-id-3781 .large-logo img,
  .page-id-3781 .tve-header .tve-image-logo img,
  .page-id-3781 .tve-sticky-header .tve-image-logo img {
    max-height: 100px !important;
  }
}

@media (max-width: 480px){
  .page-id-3781 .large-logo img,
  .page-id-3781 .tve-header .tve-image-logo img,
  .page-id-3781 .tve-sticky-header .tve-image-logo img {
    max-height: 80px !important;
  }
}
/* === JoltEDU Courses – Woo grid responsiveness === */

/* Base layout: 3 columns on desktop with breathing room */
body.page-id-3991 .woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

body.page-id-3991 .woocommerce ul.products li.product {
  box-sizing: border-box;
  flex: 0 0 30%;  
  margin: 0 1.5% 40px;
  display: flex;
  flex-direction: column;
}

body.page-id-3991 .woocommerce ul.products li.product .woocommerce-loop-product__link {
  flex: 1 0 auto;
}

body.page-id-3991 .woocommerce ul.products li.product .button {
  margin-top: auto;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  body.page-id-3991 .woocommerce ul.products li.product {
    flex: 0 0 45%; 
    margin: 0 2.5% 30px;
  }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  body.page-id-3991 .woocommerce ul.products li.product {
    flex: 0 0 100%; 
    margin: 0 0 30px;
  }
}

/* Normalize title height for cleaner alignment */
body.page-id-3991 .woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 4.5em; 
}
/* === Left-align Featured Courses on the Courses Page === */

body.page-id-3991 .woocommerce ul.products {
    justify-content: flex-start !important; /* Align items to left */
}

body.page-id-3991 .woocommerce ul.products li.product {
    margin-left: 0 !important;  /* Remove centering gap */
    margin-right: 30px;         /* Normal spacing to the right */
}
/* Left-align featured product grids but keep spacing */
body.page-id-3991 .woocommerce ul.products {
    justify-content: flex-start !important;  /* align cards to the left */
}

body.page-id-3991 .woocommerce ul.products li.product {
    margin: 0 1.5% 40px !important;          /* restore breathing room */
}
