@media only screen and (min-width: 1024px) {
  .page-template-page-contact .product-header {
    max-height: 350px;
    min-height: 300px;
    padding-top: 580px;
    margin-bottom: 400px;
  }
  .page-template-page-contact .product-header.thank-you-show {
    padding-top: 250px;
    margin-bottom: 0px;
  }

  .page-template-page-contact .product-header.form-invalid {
    padding-top: 650px;
  }
}

@media only screen and (max-width: 768px) {
  .page-template-page-contact .main-content-wrapper .content-wrapper {
    padding: 0;
  }
}
.page-template-page-contact .breadcrumb {
  align-items: anchor-center;
}
.page-template-page-contact .breadcrumb .item {
  font-family: 'SF Pro';
  color: #fff;
  font-size: 15px;
}
.page-template-page-contact .breadcrumb a.item {
  color: #cecece;
}
.form-wrapper {
  background: #fff;
  max-width: 536px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 1px 4px 12px 0px rgba(0, 0, 0, 0.09);
}
.form-wrapper .form-top-section {
  padding: 24px;
  padding-bottom: 0;
}
.form-wrapper .form-top-section .form-title {
  font-family: 'SF Pro';
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  margin-bottom: 8px;
}
.form-wrapper .form-top-section .form-description {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 24px;
  color: #474747;
  font-family: 'SF Pro';
}
.form-contact {
  display: flex;
  flex-wrap: wrap;
  padding: 24px;
  gap: 12px;
  border-radius: 16px;
}
.form-contact .form-control {
  font-family: 'SF Pro' !important;
  font-size: 17px;
  padding: 17px 16px !important;
  background-color: #f3f3f5 !important;
  border-color: #e5e5e5 !important;
  border-radius: 8px !important;
}

.cf7-ms-toggle:hover,
.form-contact .form-control:hover,
.form-contact .wpcf7-form-control-wrap .wpcf7-select:hover {
  border-color: #184bff !important;
}
.form-contact .wpcf7-form-control-wrap {
  width: 100%;
}
@media (max-width: 768px) {
  .form-contact .wpcf7-form-control-wrap {
    display: block;
    position: relative;
  }
}
.form-contact .wpcf7-form-control-wrap .wpcf7-select {
  width: 100%;
  background-color: #f3f3f5 !important;
  border-color: #e5e5e5 !important;
  padding: 17px 16px !important;
  font-size: 17px;
  font-family: 'SF Pro';
}

.form-contact .radio-enquiry .wpcf7-list-item-label {
  font-size: 17px;
  color: #0a0a0a;
}

.form-contact .radio-enquiry .wpcf7-form-control-wrap .wpcf7-list-item {
  background: #ebebeb;
  padding: 9px 12px 9px 12px;
  border-radius: 8px;
  vertical-align: middle;
}

.form-contact .radio-enquiry .wpcf7-form-control-wrap .wpcf7-list-item input {
  cursor: pointer;
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
}
.form-contact .radio-enquiry .wpcf7-form-control-wrap .wpcf7-list-item.first {
  margin-left: 0;
}

.form-contact .radio-enquiry .wpcf7-form-control-wrap .wpcf7-list-item.last {
  margin-left: 12px;
}

.form-contact .btn-submit {
  background-color: #184bff;
  width: 100%;
  font-family: 'SF Pro';
  font-size: 17px;
  border: 0;
  color: #fff;
  padding: 17px 0;
  border-radius: 8px;
  margin-top: 24px;
  cursor: pointer;
  border: 1px solid #184bff;
  transition: all 0.5s;
}

.form-contact .btn-submit:hover {
  background-color: #1135b3;
}

.form-contact .form-terms {
  font-size: 13px !important;
  color: #000 !important;
  margin: 0 auto !important;
}

.form-contact .form-terms a {
  color: #000 !important;
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  .page-template-page-contact .trusted-wrapper {
    padding-bottom: 40px !important;
  }
}

.page-template-page-contact .trusted-bottom h2 {
  font-family: 'SF Pro';
  font-size: 20px !important;
  font-weight: 400;
  text-align: center;
  color: #474747;
}

.page-template-page-contact .trusted-bottom .owl-carousel img {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.page-template-page-contact .trusted-bottom .owl-carousel img:hover {
  filter: grayscale(0%);
  cursor: pointer;
}

.form-contact .wpcf7-form-control-wrap .wpcf7-select {
  cursor: pointer;
  /* Reset native UI and hide default arrows across browsers */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;

  /* Space for the custom chevron */
  padding: 10px 2.75rem 10px 0.75rem; /* right padding ≈ arrow width + spacing */

  /* Add your chevron SVG as a background */
  background-image: url('../images/icons/chevron-down.png');
  background-repeat: no-repeat;
  background-position: right 0.75rem center; /* <-- adjust horizontal position here */
  background-size: 24px 24px;

  /* Basic styles */
  border: 1px solid #ccc;
  border-radius: 6px;
  /* font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; */
  width: 100%;
}

/* Hide the IE/Edge legacy arrow */
select::-ms-expand {
  display: none;
}

/* Optional: focus/hover states */
.form-contact .wpcf7-form-control-wrap .wpcf7-select:focus {
  outline: 2px solid #2684ff33;
  border-color: #2684ff;
}

.form-contact .col-w50 {
  width: 235px;
  display: flex;
}

.form-contact .col-w50 .form-control {
  width: 200px;
}

@media (max-width: 768px) {
  .form-contact .col-w50 {
    width: 100%;
  }
  .form-contact .col-w50 .form-control {
    width: 100%;
    max-width: 100%; /* prevents sneaky overflow in some contexts */
    box-sizing: border-box; /* includes padding/border in the 100% width */
    display: block;
  }
}

.form-contact .col-w100 {
  width: 100%;
  display: flex;
  padding-right: 8px;
}

.form-contact .col-w100 .form-control {
  /* width: 450px; */
  width: 100%;
  max-width: 100%; /* prevents sneaky overflow in some contexts */
  box-sizing: border-box; /* includes padding/border in the 100% width */
  display: block;
}

@media (max-width: 768px) {
  .form-contact .col-w100 {
    padding-right: 0;
  }
  .form-contact .col-w100 .form-control {
    width: 100%;
  }
}

.page-template-page-contact form.wpcf7-form select,
.page-template-page-contact form.wpcf7-form select option[value=''] {
  color: #757575;
}

.page-template-page-contact form.wpcf7-form select option:not([value='']),
.page-template-page-contact form.wpcf7-form select:not(:has(option[value='']:checked)) {
  color: #0a0a0a;
}

/* Container */
.cf7-multiselect {
  position: relative;
  width: 100%;
  font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Toggle button */
.cf7-ms-toggle {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 17px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #f3f3f5 !important;
  cursor: pointer;
}

/* Arrow */
.cf7-ms-arrow {
  /* Add your chevron SVG as a background */
  background-image: url('../images/icons/chevron-down.png');
  background-repeat: no-repeat;
  background-size: 24px 24px;
  width: 24px;
  height: 24px;
}

/* Dropdown menu */
.cf7-ms-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #f3f3f5;
  padding: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  max-height: 220px;
  overflow: auto;
  columns: 2;
}

@media (max-width: 768px) {
  .cf7-ms-menu {
    max-height: inherit;
    columns: 1;
  }
}

/* Checkbox list styling */
.cf7-ms-menu .wpcf7-list-item {
  display: block;
  margin: 6px 0;
}

.cf7-ms-menu .wpcf7-list-item label {
  display: flex;
  font-size: 17px;
}

.cf7-ms-menu input[type='checkbox'] {
  margin-right: 8px;
}

.cf7-ms-toggle .cf7-ms-label {
  font-family: 'SF Pro';
  font-size: 17px;
}

/* Placeholder / selected text */
.cf7-ms-toggle.has-selection .cf7-ms-label {
  color: #0a0a0a;
}
.cf7-ms-toggle:not(.has-selection) .cf7-ms-label {
  color: #757575; /* placeholder color */
}

/* Accessibility focus */
.cf7-ms-toggle:focus-visible,
.cf7-ms-menu:focus-within {
  outline: 2px solid #4b6fff;
  outline-offset: 0;
}

.thank-you {
  margin: 32px 24px 32px 22px;
  text-align: center;
  padding-top: 24px;
}

.thank-you .icon-thanks {
  width: 72px;
}

.thank-you h2 {
  font-family: 'SF Pro';
  font-weight: 500;
  font-size: 28px;
  margin: 12px 0;
}

.thank-you p {
  font-size: 16px;
  font-family: 'SF Pro';
  color: #474747 !important;
}
