/* Quick enquiry popup (native <dialog>) in the site's design: DM Sans / Manrope, blue #2ea3f2, soft borders. */
html.d3b-enq-open {
  overflow: hidden;
}
.d3b_enq {
  width: min(560px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  margin: auto;
  padding: 0;
  overflow: visible;
  color: #16211d;
  background: transparent;
  border: 0;
  font-family: "DM Sans", sans-serif;
}
.d3b_enq::backdrop {
  background: rgba(20, 48, 66, 0.55);
  backdrop-filter: blur(2px);
}
.d3b_enq[open] {
  animation: d3b_enq_in 0.22s ease;
}
@keyframes d3b_enq_in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .d3b_enq[open] { animation: none; }
}
.d3b_enq__panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(20, 48, 66, 0.35);
  overflow: hidden;
}
.d3b_enq__panel::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, #2ea3f2, #7cc8fb);
}
.d3b_enq__body {
  max-height: calc(100vh - 54px);
  padding: 28px 30px 30px;
  overflow-y: auto;
}
.d3b_enq__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #143042;
  background: #f1f6f9;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.d3b_enq__close:hover,
.d3b_enq__close:focus-visible {
  color: #fff;
  background: #2ea3f2;
}
.d3b_enq__eyebrow {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2ea3f2;
  background: #eaf5fe;
  border-radius: 999px;
}
.d3b_enq__title {
  margin: 12px 0 6px;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: #143042;
}
.d3b_enq__lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #65706b;
}
.d3b_enq__product {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 12px 14px;
  background: #f5fbff;
  border: 1px solid #cdeafc;
  border-radius: 12px;
}
.d3b_enq__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e3eef5;
  border-radius: 10px;
}
.d3b_enq__pinfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.d3b_enq__plabel {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #65706b;
}
.d3b_enq__pname {
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  color: #143042;
}
.d3b_enq__pmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13px;
  color: #65706b;
}
.d3b_enq__pprice {
  font-weight: 700;
  color: #143042;
}

/* Contact Form 7 form inside the popup */
.d3b_enq .wpcf7 form {
  margin: 0;
}
.d3b_enq .d3b_enq_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.d3b_enq .wpcf7 p {
  margin: 0 0 14px;
}
.d3b_enq .wpcf7 label {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #143042;
}
.d3b_enq .wpcf7 label b {
  color: #e5484d;
  font-weight: 600;
}
.d3b_enq .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}
.d3b_enq .wpcf7 input[type="text"],
.d3b_enq .wpcf7 input[type="email"],
.d3b_enq .wpcf7 input[type="tel"],
.d3b_enq .wpcf7 input[type="number"],
.d3b_enq .wpcf7 textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #16211d;
  background: #fff;
  border: 1px solid #d1d9de;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.d3b_enq .wpcf7 textarea {
  min-height: 92px;
  resize: vertical;
}
.d3b_enq .wpcf7 input:focus,
.d3b_enq .wpcf7 textarea:focus {
  border-color: #2ea3f2;
  box-shadow: 0 0 0 3px rgba(46, 163, 242, 0.18);
}
.d3b_enq .wpcf7 input::placeholder,
.d3b_enq .wpcf7 textarea::placeholder {
  color: #9aa6ad;
}
.d3b_enq .wpcf7-not-valid {
  border-color: #e5484d !important;
}
.d3b_enq .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  color: #e5484d;
}
.d3b_enq .wpcf7 .d3b_enq__submit,
.d3b_enq .wpcf7 input[type="submit"],
.d3b_enq__btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #2ea3f2;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.d3b_enq .wpcf7 input[type="submit"]:hover,
.d3b_enq__btn:hover {
  background: #1d8fd9;
}
.d3b_enq .wpcf7 input[type="submit"]:active,
.d3b_enq__btn:active {
  transform: translateY(1px);
}
.d3b_enq .wpcf7-spinner {
  position: absolute;
  margin: 0;
  right: 18px;
  bottom: 38px;
}
.d3b_enq .wpcf7 form .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 11px 14px;
  font-size: 14px;
  border-radius: 8px;
  border-width: 1px;
}
.d3b_enq .wpcf7 form.invalid .wpcf7-response-output,
.d3b_enq .wpcf7 form.failed .wpcf7-response-output,
.d3b_enq .wpcf7 form.unaccepted .wpcf7-response-output {
  color: #a4262c;
  background: #fff4f4;
  border-color: #f3c0c3;
}
.d3b_enq .wpcf7 form:not(.sent) .wpcf7-response-output:empty {
  display: none;
}
.d3b_enq .wpcf7 .d3b_enq__note {
  margin: 12px 0 0;
  font-size: 12.5px;
  text-align: center;
  color: #65706b;
}

/* Success state */
.d3b_enq__success {
  padding: 18px 6px 4px;
  text-align: center;
}
.d3b_enq__success h3 {
  margin: 14px 0 6px;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #143042;
}
.d3b_enq__success p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #65706b;
}
.d3b_enq.is-sent .d3b_enq__lead,
.d3b_enq.is-sent .d3b_enq__title,
.d3b_enq.is-sent .d3b_enq__eyebrow {
  display: none;
}
.d3b_enq__success[hidden] {
  display: none;
}

@media (max-width: 575.98px) {
  .d3b_enq {
    width: calc(100vw - 16px);
  }
  .d3b_enq__body {
    padding: 22px 18px 22px;
  }
  .d3b_enq__title {
    font-size: 22px;
    padding-right: 36px;
  }
  .d3b_enq .d3b_enq_row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.d3b_enq__pmeta span:empty {
  display: none;
}
