@media screen and (max-width: 1440px) {
  .builder-banner-wrapper .container-xl {
    max-width: 1400px;
    height: 100%;
    display: flex;
    align-items: center;
  }
  #main-nav .menu-wrap a {
    font-size: 12px;
  }
}
@media screen and (max-width: 1330px) {
  .column-text-1,
  .column-text-2 {
    margin: 15px 0;
    .column-content {
      max-width: 100%;
      margin: auto;
      h2 {
        font-size: 40px !important;
        text-align: left !important;
        span {
          display: inline !important;
        }
      }
    }
  }
}
@media screen and (max-width: 1200px) {
  #mobile-menu .site-logo img {
    max-height: 50px;
  }
  /* Allow long URLs, emails, and unbroken CMS text to fit narrow columns. */
  .builder-fullwidth .column-content,
  .builder-cards .text-content-wrap {
    overflow-wrap: anywhere;
  }
  /* Show complete standard card titles when the columns become narrow. */
  .builder-cards .card-wrap h3 {
    display: block;
    -webkit-line-clamp: unset;
  }
}
@media screen and (max-width: 1024px) {
  .woo-slider-wrapper {
    .slick-slide.slick-current.slick-active {
      margin-left: 0;
      margin-right: 0;
    }
  }
  .product.type-product span.onsale {
    transform: unset !important;
  }
  .woocommerce div.product div.summary,
  .woocommerce div.product > div.woocommerce-product-gallery {
    width: 100%;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: calc(50% - 8px) !important;
    height: auto;
    margin-bottom: 30px !important;
  }
  .woocommerce ul.products li.product > image-rendering {
    width: 100%;
  }
  .woocommerce ul.products li.product a img {
    height: 300px;
    object-fit: cover;
  }

  main {
    .builder-content-tile-wrap {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      grid-gap: 0;
      .tiles-items {
        min-height: 500px;
        background-size: cover;
        background-position: center;
        .tiles-wrap {
          padding: 30px 16px !important;
          text-align: center;
          justify-content: center !important;
          align-items: center !important;
        }
      }
    }
  }
}

@media screen and (max-width: 1023px) {
}
@media screen and (max-width: 991px) {
  .footer-main-wrapper .row > div {
    margin-top: 15px;
    .menu-item br {
      display: none;
    }
  }
  .jumbotron.flex-cards.builder-cards.pt-4 {
    padding-top: 0 !important;
  }
  .jumbotron.flex-cards.builder-cards.pt-4.builder-cards-generic {
    padding-top: 30px !important;
  }
  .home .jumbotron.builder-content-text-image.column-index-5 .column-content {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .column-content img {
    height: auto;
  }

  .builder-cards div > img {
    width: 100%;
    height: auto;
    margin: 30px 0 0;
  }
  .js__custom-overflow-image {
    width: auto !important;
    transform: unset !important;
  }

  .column-text-1,
  .column-text-2 {
    .column-content {
      max-width: 100%;
      margin: auto;
    }
  }
  .builder-banner {
    .builder-banner-content {
      padding: 60px 15px !important;
      h1 {
        text-align: center !important;
      }
    }
  }
  h1 br,
  h2 br,
  h3 br,
  h4 br,
  h5 br,
  h6 br {
    display: none !important;
  }
  .home .builder-banner picture img {
    height: 460px;
  }
  .banner-floating-wrap {
    padding: 15px;
    img {
      height: 40px;
    }
  }

  .column-text-1,
  .column-text-2 {
    margin: 15px 0;
    .column-content {
      max-width: 100%;
      margin: auto;
      h2 {
        text-align: left !important;
        span {
          display: inline !important;
        }
      }
    }
  }
  .testimonial-slider-wrapper.pb-5,
  .builder-contact.py-5 {
    padding: 30px 0 !important;
  }
  .testimonials-slider,
  .products-slider {
    padding: 0 15px;
  }
  .testimonial-card-wrapper,
  .product-card-wrapper {
    margin: 0;
  }
  .woocommerce ul.products li.product .onsale {
    margin: 0;
    left: 0 !important;
  }
}
@media screen and (max-width: 767px) {
  .builder-banner h1 {
    font-size: clamp(1.75rem, 8vw, 3.5rem);
    overflow-wrap: anywhere;
  }
  .text-start,
  .text-end {
    text-align: center !important;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100% !important;
    height: auto;
    margin-bottom: 30px !important;
    text-align: center;
    justify-content: center;
    float: none !important;
    justify-items: center;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .text-md-end {
    text-align: right !important;
  }
}

@media screen and (max-width: 575px) {
  .builder-fullwidth h2 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }
}

@media (min-width: 992px) {
  .text-lg-end {
    text-align: right !important;
  }
}

@media screen and (max-width: 767px) {
  /* Intro spacing belongs to the shared builder layout, independent of page URLs. */
  main > .builder-fullwidth:has(h2):has(+ .builder-cards-generic) {
    --listing-intro-space-before: 28px;
    --listing-intro-space-after: 20px;
  }

  main > .builder-fullwidth:has(h2):has(+ .builder-cards-generic) .column-content > .container-xl > .row {
    row-gap: 12px;
  }

  .builder-cards-generic .cards-controls {
    --event-controls-gap: 24px;
  }
}
