/* Use the browser's selects instead of the theme's non-working dropdowns. */
.dn-tour .wpcf7 form select:is([name="tour-interest"], [name="group-size"], [name="preferred-car"], [name="tour-format"], [name="self-drive-route"]) {
  display: block !important;
  appearance: auto !important;
  background-image: none;
}

.dn-tour .wpcf7 form select:is([name="tour-interest"], [name="group-size"], [name="preferred-car"], [name="tour-format"], [name="self-drive-route"]) + .nice-select {
  display: none !important;
}

.dn-tour .dn-enquiry-form .dd-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dn-tour .dn-enquiry-form .dd-fields > p {
  display: contents !important;
}

.dn-tour .dn-enquiry-form .dd-fields > p > br {
  display: none;
}

.dn-tour .dn-enquiry-form .dd-fields label {
  display: block;
  color: #494c42;
  font: 600 11px/1.6 Manrope, Arial, sans-serif;
  margin: 0;
  text-transform: none;
}

.dn-tour .dn-enquiry-form .dd-fields .dd-full {
  grid-column: 1 / -1;
}

.dn-tour .dn-enquiry-form .wpcf7 .dd-fields :is(input, select, textarea) {
  box-sizing: border-box;
  border: 1px solid #d0c5b0;
  background-color: #fffdf7;
  color: #2c312b;
  width: 100%;
  max-width: 100%;
  height: 43px;
  border-radius: 0;
  margin: 5px 0 0;
  padding: 9px 10px;
  font: 13px/1.5 Manrope, Arial, sans-serif;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
}

.dn-tour .dn-enquiry-form .wpcf7 .dd-fields textarea {
  height: 85px;
}

.dn-tour .dn-enquiry-form .dd-submit {
  display: block;
  width: 100%;
  background-color: #c89b4b;
  color: #111;
  padding: 14px 10px;
}

.dn-tour.ddtm-shared-enquiry #fp-selected-car-note {
  display: none !important;
}

.dn-tour.ddtm-private-self-drive .dn-form-price,
.dn-tour .ddtm-private-quote[hidden],
.dn-tour .dd-fields :is(.ddtm-self-drive-fields, .ddtm-custom-route, label)[hidden] {
  display: none !important;
}

.dn-tour .ddtm-private-quote {
  color: #594426;
  font: 500 24px/1.2 'Cormorant Garamond', Georgia, serif;
  margin: 0;
}

.dn-tour .ddtm-self-drive-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-inline-size: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #d0c5b0;
}

.dn-tour .ddtm-custom-route {
  grid-column: 1 / -1;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.dn-tour .ddtm-self-drive-fields legend {
  color: #594426;
  font: 600 12px/1.5 Manrope, Arial, sans-serif;
}

@media (max-width: 767px) {
  .dn-tour .dn-enquiry-form .dd-fields,
  .dn-tour .ddtm-self-drive-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .dn-tour .dn-enquiry-form .wpcf7 .dd-fields :is(input, select, textarea) {
    font-size: 16px;
    min-height: 45px;
  }
}
