.elementor-364 .elementor-element.elementor-element-fd345c1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(min-width:768px){.elementor-364 .elementor-element.elementor-element-fd345c1{--width:100%;}}/* Start custom CSS for shortcode, class: .elementor-element-40ee897 */.elementor-364 .elementor-element.elementor-element-40ee897 .dl-quote-form {
  background: #ffffff;
  border: 1px solid #e2ddE0;
  border-radius: 40px;
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dl-quote-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dl-quote-form .dl-quote-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Name + email side-by-side row.
   Your rendered markup wraps both fields in ONE <p> inside
   .dl-quote-row:
     <div class="dl-quote-row">
       <p>
         <span class="wpcf7-form-control-wrap" data-name="your-name">...</span><br>
         <span class="wpcf7-form-control-wrap" data-name="your-email">...</span>
       </p>
     </div>
   display: contents on that <p> removes it from layout so its
   two span children become direct grid items of .dl-quote-row —
   that's what makes the 1fr 1fr split possible at all. Without
   this rule the grid has a single child (the <p>) and cannot
   split into two columns, which is the exact bug you were seeing. */
.dl-quote-form .dl-quote-row > p {
  display: contents;
}

.dl-quote-form .dl-quote-row .wpcf7-form-control-wrap {
  min-width: 0; /* lets inputs shrink inside the grid track instead of overflowing */
}

/* The <br> between name and email is now visually redundant —
   the grid gap already spaces the two columns — but it stays in
   the DOM since display:none on <br> is more reliable across
   browsers than trying to strip it via content editing. */
.dl-quote-form .dl-quote-row br {
  display: none;
}

/* Every other field (company, budget, brief, submit) is CF7's
   default: <p><span class="wpcf7-form-control-wrap">...</span></p>
   sitting directly inside .dl-quote-form. Same fix, applied to
   the form generally so any of these paragraphs collapse too. */
.dl-quote-form > p {
  display: contents;
}

.dl-quote-form input[type="text"],
.dl-quote-form input[type="email"],
.dl-quote-form input[type="tel"],
.dl-quote-form select,
.dl-quote-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1.5px solid #e2ddE0;
  font-family: Ubuntu, sans-serif;
  font-size: 15px;
  color: #262626;
  outline: none;
  background: #ffffff;
}

.dl-quote-form textarea {
  border-radius: 24px;
  padding: 18px 22px;
  resize: vertical;
  height: 96px;
}

.dl-quote-form select {
  appearance: none;
}

.dl-quote-form input[type="submit"] {
  padding: 16px 34px;
  border-radius: 999px;
  border: none;
  background: #902552;
  color: #ffffff;
  font-family: Ubuntu, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
  width: 100%;
}

.dl-quote-form input[type="submit"]:hover {
  opacity: 0.9;
}

/* CF7's own validation error styling, restyled to match instead
   of left at browser default red outline */
.dl-quote-form .wpcf7-not-valid {
  border-color: #c0392b !important;
}

.dl-quote-form .wpcf7-not-valid-tip {
  font-family: Ubuntu, sans-serif;
  font-size: 13px;
  color: #c0392b;
  margin-top: 4px;
}

/* Stack the name/email row on small screens instead of squashing
   two fields into a narrow grid track */
@media (max-width: 560px) {
  .dl-quote-form .dl-quote-row {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */