/* iThrottle Vehicle Fitment
   Scoped tightly to the WooCommerce single-product add-to-cart form
   so Kadence/theme form styles cannot collapse the layout. */

.single-product form.cart #ithrottle-fitment.ithrottle-fitment {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 30px 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  clear: both !important;
  color: #202a33;
  font-family: inherit;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__title {
  display: block !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #202a33 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 18px 16px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__field {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__field label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  float: none !important;
  color: #384653 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 2.2px !important;
  text-transform: uppercase !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__field label span {
  color: #f16722 !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__field select {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 54px !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 0 46px 0 16px !important;
  float: none !important;
  border: 1px solid #cfd5da !important;
  border-radius: 2px !important;
  outline: 0 !important;
  background-color: #fff !important;
  color: #293642 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 54px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23979da2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 14px 8px !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__field select:hover:not(:disabled),
.single-product form.cart #ithrottle-fitment .ithrottle-fitment__field select:focus {
  border-color: #f16722 !important;
  box-shadow: 0 0 0 2px rgba(241, 103, 34, .10) !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__field select:disabled {
  border-color: #dfe3e6 !important;
  background-color: #f1f2f2 !important;
  color: #92989d !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__field.is-ready select {
  background-color: #fff !important;
  color: #293642 !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__status {
  display: flex !important;
  align-items: center !important;
  min-height: 0 !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__status:empty {
  display: none !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__status.is-ok {
  color: #27683e !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__status.is-warning,
.single-product form.cart #ithrottle-fitment .ithrottle-fitment__status.is-error {
  color: #9b3d18 !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__status a,
.single-product form.cart #ithrottle-fitment .ithrottle-fitment__help a {
  color: #f16722 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__tick {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 7px !important;
  border-radius: 50% !important;
  background: #27683e !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.single-product form.cart #ithrottle-fitment .ithrottle-fitment__help {
  display: block !important;
  width: 100% !important;
  margin: 9px 0 0 !important;
  padding: 0 !important;
  color: #68737d !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Keep the normal Woo quantity + Add to Cart area clean below the selector. */
.single-product form.cart #ithrottle-fitment + .quantity {
  margin-top: 2px !important;
}

@media (max-width: 640px) {
  .single-product form.cart #ithrottle-fitment.ithrottle-fitment {
    margin: 24px 0 20px !important;
  }

  .single-product form.cart #ithrottle-fitment .ithrottle-fitment__title {
    margin-bottom: 16px !important;
    font-size: 18px !important;
  }

  .single-product form.cart #ithrottle-fitment .ithrottle-fitment__grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .single-product form.cart #ithrottle-fitment .ithrottle-fitment__field select {
    height: 52px !important;
    min-height: 52px !important;
    font-size: 16px !important;
    line-height: 52px !important;
  }
}
