.mh-yamaha-kit-filter,
.mh-yamaha-kit-filter {
  max-width: 1340px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 45px;
}

#yamaha-kit-filter-form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  row-gap: 25px;
}

#yamaha-kit-filter-form .filter-selects,
#yamaha-kit-filter-form .filter-selects {
  display: flex;
  margin: 0 -10px;
}

#yamaha-kit-filter-form .filter-selects {
  flex-wrap: wrap;
  row-gap: 30px;
}

.mh-yamaha-kit-filter label {
  flex: none;
  font-weight: 600;
  font-size: 20px;
  color: #000;
}

.#yamaha-kit-filter-form-heading {
  font-weight: 600;
  font-size: 20px;
  color: #000;
}

.mh-yamaha-kit-filter select,
.mh-yamaha-kit-filter select {
  padding: 16px 24px;
  border: 1px solid #0000007a;
  border-radius: 10px;
  flex: none;
  font-family: "Montserrat";
  font-size: 16px;https://baymfg.com/wp-admin/admin.php?page=wpide#
  color: #000;
  background: #fff
    url(data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7%208l5%205%205-5%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%2F%3E%3C%2Fsvg%3E)
    no-repeat right center;
  background-size: 25px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: 2px 2px 20px 0px #0000000d;
  font-weight: 600;
}

.mh-yamaha-kit-filter select option {
  font-weight: 600;
}

.filter-step {
  flex: none;
}

.mh-yamaha-kit-filter button {
  flex: 1 1 100%;
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.mh-yamaha-kit-filter button:hover {
  background-color: #005177;
}

#yamaha-kit-results,
#yamaha-kit-results {
  display: flex;
  margin: 0 -10px;
  flex-wrap: wrap;
  row-gap: 80px;
}

/* Filter Selects Wrapper */
.filter-selects {
  display: flex;
  row-gap: 15px; /* Adjust spacing between filter steps as needed */
}

/* Reset Filters Button Styling */
#reset-filters {
  color: #fff; /* White text */
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

/* Ensure the bay-kit-filter container is positioned relatively */
.mh-yamaha-kit-filter {
  position: relative;
}

/* Spinner Styling */
.spinner {
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  /* Optional: Adjust the size and appearance of the spinner */
}

/* Active class to display the spinner as flex */
.spinner.active {
  display: flex;
}

/* Spinner Container Styling */
#global-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Ensure it's above other elements */
  padding: 20px;
  border-radius: 8px;
  /* Remove inline display property if previously set */
}

/* Spinner Animation */
.double-bounce1,
.double-bounce2 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ed7d31;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1s;
}

@keyframes sk-bounce {
  0%,
  100% {
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
}

/* Active Filters Display Styling */
#yamaha-kit-filter-form #active-filters {
  row-gap: 20px;
}
#active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#active-filters strong {
  font-weight: bold;
  margin-right: 30px;
}

/* Reset Filters Button Styling */
#reset-filters {
  color: #fff; /* White text */
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

#reset-filters:hover {
  background-color: #ed7d31; /* Darker red on hover */
}

/* Optional: Smooth Transition for Products Visibility */
#yamaha-kit-results,
#yamaha-kit-results {
  transition: opacity 0.3s ease-in-out;
  opacity: 1; /* Fully visible by default */
  display: flex;
}

#yamaha-kit-results.hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.mh_product_card {
  padding: 0 10px;
  width: 25%;
}

.mh_product_card_inner {
  border-radius: 16px;
  display: flex;
  padding: 25px;
  background-color: #fff;
  flex-direction: column;
  box-shadow: 4px 4px 32px 0px #00000014;
}

.mh_product_card_wrapper h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 150%;
  color: #000;
  text-align: center;
}

.product-horsepower {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  padding-top: 10px;
  text-align: center;
  border-top: 1px solid #000;
}

.mh_product_card_wrapper h2 a {
  text-decoration: none;
}

.mh_product_card img {
  max-width: 100%;
  height: 200px;
  object-fit: contain;
  padding-bottom: 10px;
}

.mh_product_card_inner .price-stock {
  margin: 25px 0 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mh-bay-kit-filter .price-stock .price {
  font-size: 20px;
  color: #000;
  font-weight: 600;
}

.mh-bay-kit-filter .price span.price-suffix {
  font-size: 14px;
  color: #717171;
}

.shipping-info .stock-status {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0abb01;
}

.shipping-info {
  font-size: 20px;
  font-weight: 500;
  color: #000;
}

.mh_product_card .button {
  background-color: #ed7d31;
  color: #fff;
  padding: 16px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.page-id-3736 .wp-block-post-content {
  background-color: #f9f9f9;
}

.shipping-viewbtn-block-mh {
  display: flex;
  justify-content: space-between;
}

.shipping-viewbtn-block-mh .shipping-info {
  font-size: 20px;
}

#yamaha-kit-filter-form #reset-filters,
#yamaha-kit-filter-form #reset-filters {
  padding: 16px;
  background-color: #ed7d31;
  display: flex;
  color: #fff;
  font-size: 16px;
  border-radius: 16px;
  flex: none;
  width: max-content;
  line-height: 100%;
  font-weight: 600;
}

#yamaha-kit-filter-form .filter-step,
#yamaha-kit-filter-form .filter-step {
  flex: none;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  padding: 0 10px;
  width: 25%;
}

#active-filters.active-filters strong {
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  color: #ed7d31;
}

#active-filters span.breadcrumb {
  padding: 10px;
  background: #fff;
  border: 1px solid #0000008f;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  display: inline-flex;
  width: max-content;
  white-space: nowrap;
  align-items: center;
  column-gap: 10px;
  margin-right: 10px;
  box-shadow: 2px 2px 20px 0px #00000014;
}

#active-filters span.breadcrumb button.remove-filter {
  background: transparent;
  color: #000;
  padding: 0;
  font-size: 20px;
  line-height: 100%;
}

.filter-buttons {
  display: flex;
  justify-content: left;
  align-items: center;
  column-gap: 30px;
}

@media only screen and (max-width: 1200px) {
  .mh_product_card {
    width: 33.33%;
  }
}

@media only screen and (max-width: 1024px) {
  .mh_product_card {
    width: 50%;
  }
  #yamaha-kit-filter-form .filter-selects {
    flex-wrap: wrap;
  }
  #yamaha-kit-filter-form .filter-step {
    width: 30%;
  }

  #active-filters {
    flex-wrap: wrap;
    row-gap: 20px;
  }
  #yamaha-kit-results {
    row-gap: 60;
  }
}

@media only screen and (max-width: 768px) {
  .mh_product_card {
    width: 100%;
  }
  #yamaha-kit-filter-form .filter-selects {
    flex-wrap: wrap;
    row-gap: 20px;
  }
  #yamaha-kit-filter-form .filter-step {
    width: 50%;
  }
  #yamaha-kit-results {
    row-gap: 40px;
  }
  .mh-yamaha-kit-filter select {
    font-size: 16px;
  }
  .mh-yamaha-kit-filter label {
    font-size: 16px;
  }
  #active-filters span.breadcrumb {
    font-size: 12px;
  }
  #active-filters.active-filters strong {
    font-size: 16px;
  }
  #yamaha-kit-filter-form #reset-filters {
    font-size: 16px;
  }
  .#yamaha-kit-filter-form-heading {
    font-size: 16px;
  }
  #mh-product-count {
    font-size: 16px !important;
  }
}

@media only screen and (max-width: 520px) {
  #yamaha-kit-filter-form .filter-step {
    width: 100%;
  }
  #active-filters {
    flex-direction: column;
    align-items: start;
  }
  .filter-buttons {
    display: flex;
    justify-content: space-between;
  }
}

#mh-product-count {
  text-transform: capitalize;
  color: #ed7d31;
  font-weight: 600;
  font-size: 20px;
}

.mh_product_card_wrapper .price {
    font-size: 18px !important;
}