/**
 * EasyCooling Quote — Gravity Forms Additional CSS
 * Build: 2026-08-15-booking-v2
 */

/* ── Tokens (from quote page :root) ───────────────────────── */
.gform_wrapper.easycooling-quote-form,
.gform_wrapper.easycooling-quote-form,
.gform_wrapper.easycooling-enquiry-form,
.gform_wrapper.easycooling-enquiry-form,
.ec-quote-shell {
  --ec-bg: #f7f9fc;
  --ec-panel: #ffffff;
  --ec-text: #18181b;
  --ec-muted: #52575c;
  --ec-line: #dce8f4;
  --ec-line-strong: #b9d9fb;
  --ec-green: #5987b6;
  --ec-green-dark: #476d94;
  --ec-green-soft: #eef3fa;
  --ec-black: #18181b;
  --ec-amber: #fff6de;
  --ec-amber-line: #e5cf8d;
  --ec-shadow: 0 4px 24px rgba(24, 24, 27, 0.06);
  --ec-font: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

/* Match example site — hide Gravity Forms required markers */
.gform_wrapper.easycooling-quote-form .gfield_required,
.gform_wrapper.easycooling-enquiry-form .gfield_required,
.gform_wrapper.easycooling-quote-form .gfield_required_text,
.gform_wrapper.easycooling-enquiry-form .gfield_required_text {
  display: none !important;
}

/* Optional brand fonts — upload assets/fonts/*.woff2 then uncomment
@font-face {
  font-family: MNHeatable; font-weight: 300; font-display: swap;
  src: url("/wp-content/uploads/fonts/m_n_medium-s.p.0oxu93vm40t14.woff2") format("woff2");
}
@font-face {
  font-family: MNHeatable; font-weight: 500; font-display: swap;
  src: url("/wp-content/uploads/fonts/m_n_demi-s.p.10wx_owdelj-g.woff2") format("woff2");
}
@font-face {
  font-family: MNHeatable; font-weight: 700; font-display: swap;
  src: url("/wp-content/uploads/fonts/m_n_bold-s.p.0xiuxyze9a7v2.woff2") format("woff2");
}
*/

.gform_wrapper.easycooling-quote-form,
.gform_wrapper.easycooling-enquiry-form {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 16px 96px;
  font-family: var(--ec-font);
  color: var(--ec-text);
  letter-spacing: 0;
  background: transparent;
}

.gform_wrapper.easycooling-quote-form .gform_heading,
.gform_wrapper.easycooling-enquiry-form .gform_heading {
  display: none !important;
}

/* Quote panel (question / form pages) — matches .quote-panel */
.gform_wrapper.easycooling-quote-form:not(.ec-mode-landing) .gform_body,
.gform_wrapper.easycooling-enquiry-form .gform_body {
  width: min(760px, 100%);
  margin: 0 auto;
  background: var(--ec-panel) !important;
  border: 1px solid var(--ec-line) !important;
  border-radius: 12px !important;
  box-shadow: var(--ec-shadow) !important;
  overflow: hidden;
}

.gform_wrapper.easycooling-quote-form:not(.ec-mode-landing) .gform_page,
.gform_wrapper.easycooling-enquiry-form .gform_page {
  padding: 34px;
}

/* GF Orbital — fields/footer are siblings inside gform_body (no gform_page padding) */
.gform_wrapper.easycooling-enquiry-form .gform_fields {
  padding: 34px 34px 0;
}

.gform_wrapper.easycooling-enquiry-form .gform_footer,
.gform_wrapper.easycooling-enquiry-form .gform-page-footer {
  justify-content: center !important;
}

/* ── Landing mode (matches .landing-shell) ────────────────── */
.gform_wrapper.easycooling-quote-form.ec-mode-landing,
.gform_wrapper.easycooling-quote-form:has(#gform_page_1_1:not([style*="display:none"], [style*="display: none"]) .ec-html-landing) {
  box-sizing: border-box;
  width: min(576px, calc(100% - 48px));
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 0 54px;
  background: transparent;
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing form,
.gform_wrapper.easycooling-quote-form:has(#gform_page_1_1:not([style*="display:none"], [style*="display: none"]) .ec-html-landing) form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing .ec-quote-chrome,
.gform_wrapper.easycooling-quote-form:has(#gform_page_1_1:not([style*="display:none"], [style*="display: none"]) .ec-html-landing) .ec-quote-chrome {
  width: 100%;
  margin-bottom: 0;
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing .gform_body,
.gform_wrapper.easycooling-quote-form:has(#gform_page_1_1:not([style*="display:none"], [style*="display: none"]) .ec-html-landing) .gform_body {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing .gform_page,
.gform_wrapper.easycooling-quote-form:has(#gform_page_1_1:not([style*="display:none"], [style*="display: none"]) .ec-html-landing) #gform_page_1_1 {
  padding: 0;
  display: grid;
  justify-items: center;
  text-align: center;
  width: 100%;
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing .gform_fields,
.gform_wrapper.easycooling-quote-form:has(#gform_page_1_1:not([style*="display:none"], [style*="display: none"]) .ec-html-landing) .gform_fields {
  width: 100%;
  display: grid;
  justify-items: center;
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing .gfield.ec-html-landing,
.gform_wrapper.easycooling-quote-form:has(#gform_page_1_1:not([style*="display:none"], [style*="display: none"]) .ec-html-landing) .gfield.ec-html-landing {
  width: min(576px, 100%);
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing .gfield:not(.ec-html-landing),
.gform_wrapper.easycooling-quote-form:has(#gform_page_1_1:not([style*="display:none"], [style*="display: none"]) .ec-html-landing) #gform_page_1_1 .gfield:not(.ec-html-landing) {
  width: min(432px, 100%);
}

/* Hide GF default step chrome on landing (before custom.js runs) */
.gform_wrapper.easycooling-quote-form:has(#gform_page_1_1:not([style*="display:none"], [style*="display: none"]) .ec-html-landing) .gf_progressbar_wrapper {
  display: none !important;
}

.ec-landing-intro {
  width: min(576px, 100%);
  text-align: center;
  margin: 0 auto 8px;
}

.ec-landing-logo {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 8px;
  object-fit: cover;
}

.ec-landing-title {
  margin: 0 0 28px;
  color: #18181b;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.08;
  font-weight: 500;
  text-wrap: balance;
}

.ec-landing-title strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.ec-ease {
  position: relative;
  display: inline-block;
}

.ec-ease::after {
  content: "";
  position: absolute;
  left: 2px;
  right: -4px;
  bottom: -4px;
  height: 9px;
  border-bottom: 5px solid var(--ec-green);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.ec-landing-copy {
  width: min(576px, 100%);
  margin: 0 auto 26px;
  color: #272d31;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.35;
  font-weight: 300;
  text-wrap: balance;
}

.ec-kicker {
  margin: 0 0 10px;
  color: var(--ec-green-dark);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ── Labels (matches .question-title) ─────────────────────── */
.gform_wrapper.easycooling-quote-form .gfield_label {
  font-size: clamp(26px, 4vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  color: var(--ec-text) !important;
  margin: 0 0 24px !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-form .gfield_label,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .gfield_label {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

.gform_wrapper.easycooling-quote-form .gfield_description {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid #b9d9fb;
  border-radius: 8px;
  background: var(--ec-green-soft);
  color: #2a4560;
  font-size: 14px;
  line-height: 1.45;
}

.gform_wrapper.easycooling-quote-form .gfield_validation_message,
.gform_wrapper.easycooling-enquiry-form .gfield_validation_message {
  margin-top: 12px;
  padding: 13px 15px;
  border: 1px solid #efc8c8;
  border-radius: 8px;
  background: #fff5f5;
  color: #8e2626;
  font-size: 14px;
}

.gform_wrapper.easycooling-quote-form .gsection_title {
  font-size: 18px;
  font-weight: 800;
  margin: 28px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--ec-line);
}

/* ── Room details (page 6) ────────────────────────────────── */
.gform_wrapper.easycooling-quote-form .ec-room-group {
  margin: 28px 0 32px;
  padding: 8px 22px 4px;
  background: #f7f9fc;
  border: 1px solid var(--ec-line);
  border-radius: 10px;
}

.gform_wrapper.easycooling-quote-form .ec-rooms-intro + .ec-room-group {
  margin-top: 20px;
}

.gform_wrapper.easycooling-quote-form .ec-room-group .ec-room-section .gsection_title {
  margin: 12px 0 4px;
  padding: 0;
  border-top: 0;
  font-size: 20px;
}

.gform_wrapper.easycooling-quote-form .ec-room-field {
  padding: 20px 0 24px;
  border-bottom: 1px solid #e4eaf4;
}

.gform_wrapper.easycooling-quote-form .ec-room-group .ec-room-field:last-child {
  border-bottom: 0;
  padding-bottom: 18px;
}

.gform_wrapper.easycooling-quote-form .ec-room-field .gfield_label {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 0 0 12px !important;
  color: var(--ec-text) !important;
}

.gform_wrapper.easycooling-quote-form .ec-room-field .gfield_description {
  margin: 0 0 14px !important;
  margin-top: 0 !important;
  padding: 13px 15px !important;
  border: 1px solid #b9d9fb !important;
  border-radius: 12px !important;
  background: var(--ec-green-soft) !important;
  color: #2a4560 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* GF Orbital — description above option cards (matches static HTML order) */
/* GF Orbital — description is rendered as a sibling after fieldset; JS moves it inside */
.gform_wrapper.easycooling-quote-form fieldset.gfield.ec-option-cards + .gfield_description {
  display: none !important;
}

.gform_wrapper.easycooling-quote-form fieldset.gfield.ec-option-cards {
  display: flex !important;
  flex-direction: column !important;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.gform_wrapper.easycooling-quote-form .gfield.ec-option-cards {
  display: flex !important;
  flex-direction: column !important;
}

.gform_wrapper.easycooling-quote-form fieldset.gfield.ec-option-cards legend.gfield_label {
  order: 1;
}

.gform_wrapper.easycooling-quote-form .ec-option-cards .gfield_label,
.gform_wrapper.easycooling-quote-form fieldset.gfield.ec-option-cards legend {
  order: 1;
}

.gform_wrapper.easycooling-quote-form .ec-option-cards .gfield_description {
  order: 2;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

.gform_wrapper.easycooling-quote-form .ec-option-cards .ginput_container,
.gform_wrapper.easycooling-quote-form .ec-option-cards .ec-option-grid {
  order: 3;
  margin-top: 0;
}

.gform_wrapper.easycooling-quote-form .ec-rooms-intro h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: var(--ec-text);
}

.gform_wrapper.easycooling-quote-form .ec-room-field .ec-option-grid {
  margin-top: 0;
}

/* Gravity Forms: separate room blocks (no ec-room-group wrapper) */
.gform_wrapper.easycooling-quote-form .ec-room-field:has(+ .ec-room-section) {
  border-bottom: 0;
  padding-bottom: 8px;
}

.gform_wrapper.easycooling-quote-form .ec-clearance .gfield_description {
  border-color: var(--ec-amber-line);
  background: var(--ec-amber);
  color: #6a5619;
}

/* ── Inputs ───────────────────────────────────────────────── */
.gform_wrapper.easycooling-quote-form input[type="text"],
.gform_wrapper.easycooling-quote-form input[type="email"],
.gform_wrapper.easycooling-quote-form input[type="tel"],
.gform_wrapper.easycooling-quote-form input[type="url"],
.gform_wrapper.easycooling-quote-form input[type="number"],
.gform_wrapper.easycooling-quote-form select,
.gform_wrapper.easycooling-quote-form textarea,
.gform_wrapper.easycooling-enquiry-form input[type="text"],
.gform_wrapper.easycooling-enquiry-form input[type="email"],
.gform_wrapper.easycooling-enquiry-form input[type="tel"],
.gform_wrapper.easycooling-enquiry-form select,
.gform_wrapper.easycooling-enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--ec-line-strong);
  border-radius: 8px;
  min-height: 54px;
  padding: 14px 15px;
  color: var(--ec-text);
  background: #fff;
  font-size: 16px;
  font-family: inherit;
  box-shadow: none !important;
}

.gform_wrapper.easycooling-quote-form textarea,
.gform_wrapper.easycooling-enquiry-form textarea {
  min-height: 120px;
  resize: vertical;
}

.gform_wrapper.easycooling-quote-form input:focus,
.gform_wrapper.easycooling-quote-form select:focus,
.gform_wrapper.easycooling-quote-form textarea:focus,
.gform_wrapper.easycooling-enquiry-form input:focus,
.gform_wrapper.easycooling-enquiry-form textarea:focus {
  outline: none;
  border-color: var(--ec-green) !important;
  box-shadow: 0 0 0 3px rgba(89, 135, 182, 0.16) !important;
}

/* Landing postcode pill */
.gform_wrapper.easycooling-quote-form .ec-postcode input {
  min-height: 58px;
  border: 4px solid #a7c8ff !important;
  border-radius: 999px !important;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: #20262a;
  box-shadow: none !important;
}

.gform_wrapper.easycooling-quote-form .ec-postcode input::placeholder {
  color: #9ca5b5;
  opacity: 1;
}

.gform_wrapper.easycooling-quote-form .ec-postcode .gfield_label {
  position: absolute !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  font-size: 1px !important;
  margin: 0 !important;
}

/* ── Option cards (matches .option-card) ──────────────────── */
.gform_wrapper.easycooling-quote-form .ec-native-radios-hidden {
  display: none !important;
}

.ec-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
  width: 100%;
}

@media (max-width: 640px) {
  .ec-option-grid { grid-template-columns: 1fr; }
}

.ec-option-card {
  min-height: 66px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--ec-text);
  background: #e8f0fc;
  text-align: left;
  font-weight: 800;
  line-height: 1.35;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.ec-option-card .ec-option-label {
  line-height: 1.35;
}

.ec-option-card:hover {
  border-color: var(--ec-green);
  background: #edf3ff;
}

.ec-option-card.is-selected {
  color: #ffffff;
  background: var(--ec-green);
  border-color: var(--ec-green);
}

.ec-selector {
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: 24px;
  min-height: 24px;
  max-height: 24px;
  flex-shrink: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #cfdcf0;
  color: transparent;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  align-self: center;
  box-sizing: border-box;
}

.ec-option-card.is-selected .ec-selector {
  color: var(--ec-green);
  background: #ffffff;
}

/* GF Orbital styles every form button as primary blue — reset option cards */
.gform_wrapper.easycooling-quote-form button.ec-option-card {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  gap: 12px !important;
  background: #e8f0fc !important;
  color: var(--ec-text) !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  min-height: 66px !important;
  padding: 14px 16px !important;
  align-items: center !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.gform_wrapper.easycooling-quote-form button.ec-option-card .ec-selector {
  flex-shrink: 0 !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
}

.gform_wrapper.easycooling-quote-form button.ec-option-card:hover {
  border-color: var(--ec-green) !important;
  background: #edf3ff !important;
  color: var(--ec-text) !important;
}

.gform_wrapper.easycooling-quote-form button.ec-option-card.is-selected {
  color: #ffffff !important;
  background: var(--ec-green) !important;
  border-color: var(--ec-green) !important;
}

.gform_wrapper.easycooling-quote-form button.ec-option-card.is-selected .ec-selector {
  color: var(--ec-green) !important;
  background: #ffffff !important;
}

.gform_wrapper.easycooling-quote-form .ec-option-cards:not(.ec-cards-ready) .gchoice {
  border-radius: 8px;
  background: #e8f0fc;
  padding: 14px 16px;
  margin: 0 0 10px !important;
}

.gform_wrapper.easycooling-quote-form .ec-option-cards.ec-cards-ready .gchoice {
  display: none !important;
}

/* ── Primary / ghost buttons (matches .primary-btn) ───────── */
.gform_wrapper.easycooling-quote-form .gform_page_footer,
.gform_wrapper.easycooling-quote-form .gform_footer,
.gform_wrapper.easycooling-enquiry-form .gform_footer {
  margin-top: 22px;
  padding: 0 34px 34px !important;
  border: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing .gform_page_footer,
.gform_wrapper.easycooling-quote-form.ec-mode-question .gform_page_footer {
  padding: 22px 0 0 !important;
}

.gform_wrapper.easycooling-quote-form .gform_page_footer .gform_button:not(.ec-next-hidden),
.gform_wrapper.easycooling-quote-form .gform_page_footer .gform_next_button:not(.ec-next-hidden),
.gform_wrapper.easycooling-quote-form .gform_page_footer .gform_previous_button,
.gform_wrapper.easycooling-quote-form .gform_page_footer input.gform_button,
.gform_wrapper.easycooling-quote-form .gform_page_footer input.gform_next_button:not(.ec-next-hidden),
.gform_wrapper.easycooling-quote-form .gform_page_footer input.gform_previous_button,
.gform_wrapper.easycooling-quote-form .gform_footer .gform_button,
.gform_wrapper.easycooling-quote-form .gform_footer input.gform_button,
.gform_wrapper.easycooling-quote-form .gform_footer input[type="submit"] {
  width: min(432px, 100%);
  max-width: 100%;
}

.gform_wrapper.easycooling-quote-form .gform_button,
.gform_wrapper.easycooling-quote-form .gform_next_button,
.gform_wrapper.easycooling-enquiry-form .gform_button,
.gform_wrapper.easycooling-quote-form input[type="submit"],
.gform_wrapper.easycooling-enquiry-form input[type="submit"] {
  border: 0 !important;
  border-color: var(--ec-green) !important;
  border-radius: 999px !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  background: var(--ec-green) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 140ms ease, transform 140ms ease;
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing .gform_next_button {
  width: min(432px, 100%);
  min-height: 52px !important;
  font-size: 18px !important;
}

.gform_wrapper.easycooling-quote-form .gform_button:hover,
.gform_wrapper.easycooling-quote-form .gform_next_button:hover,
.gform_wrapper.easycooling-enquiry-form .gform_button:hover,
.gform_wrapper.easycooling-quote-form input[type="submit"]:hover {
  background: var(--ec-green-dark) !important;
  border-color: var(--ec-green-dark) !important;
}

/* GF Orbital theme blue on custom primary CTAs — unify with site button color */
.gform_wrapper.easycooling-quote-form .ec-detail-book-btn,
.gform_wrapper.easycooling-quote-form .ec-primary-btn,
.gform_wrapper.easycooling-quote-form .ec-continue-quote,
.gform_wrapper.easycooling-quote-form .btn.btn-primary,
.gform_wrapper.easycooling-quote-form .ec-sticky-continue {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-color: var(--ec-green) !important;
  border-radius: 999px !important;
  background: var(--ec-green) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-weight: 800 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.gform_wrapper.easycooling-quote-form .ec-detail-book-btn:hover,
.gform_wrapper.easycooling-quote-form .ec-primary-btn:hover,
.gform_wrapper.easycooling-quote-form .ec-continue-quote:hover,
.gform_wrapper.easycooling-quote-form .btn.btn-primary:hover,
.gform_wrapper.easycooling-quote-form .ec-sticky-continue:hover {
  background: var(--ec-green-dark) !important;
  border-color: var(--ec-green-dark) !important;
  color: #fff !important;
}

/* Back button in page footer */
.gform_wrapper.easycooling-quote-form .gform_previous_button {
  border: 1px solid var(--ec-line) !important;
  border-radius: 999px !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  background: #ffffff !important;
  color: var(--ec-text) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 140ms ease, border-color 140ms ease;
}

.gform_wrapper.easycooling-quote-form .gform_previous_button:hover {
  background: #f7f9fc !important;
  border-color: #c8daf4 !important;
}

/* Dual-button footers — primary above back, centered (all pages) */
.gform_wrapper.easycooling-quote-form .gform_page_footer:has(.gform_previous_button):has(.gform_next_button:not(.ec-next-hidden)),
.gform_wrapper.easycooling-quote-form .gform_page_footer:has(.gform_previous_button):has(.gform_button),
.gform_wrapper.easycooling-quote-form .gform_page_footer:has(.gform_previous_button):has(input.gform_button),
.gform_wrapper.easycooling-quote-form .ec-booking-footer:has(.gform_previous_button) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  justify-content: center;
  gap: 10px;
}

.gform_wrapper.easycooling-quote-form .gform_page_footer:has(.gform_previous_button) .gform_next_button:not(.ec-next-hidden),
.gform_wrapper.easycooling-quote-form .gform_page_footer:has(.gform_previous_button) input.gform_next_button:not(.ec-next-hidden),
.gform_wrapper.easycooling-quote-form .gform_page_footer:has(.gform_previous_button) .gform_button,
.gform_wrapper.easycooling-quote-form .gform_page_footer:has(.gform_previous_button) input.gform_button,
.gform_wrapper.easycooling-quote-form .ec-booking-footer .gform_next_button,
.gform_wrapper.easycooling-quote-form .ec-booking-footer input.gform_next_button,
.gform_wrapper.easycooling-quote-form .ec-booking-footer input.gform_button {
  grid-row: 1;
  grid-column: 1;
  width: min(432px, 100%);
  max-width: 100%;
  white-space: normal;
  line-height: 1.25 !important;
}

.gform_wrapper.easycooling-quote-form .gform_page_footer:has(.gform_previous_button) .gform_previous_button,
.gform_wrapper.easycooling-quote-form .ec-booking-footer .gform_previous_button {
  grid-row: 2;
  grid-column: 1;
  width: min(432px, 100%);
  max-width: 100%;
}

.gform_wrapper.easycooling-quote-form.ec-mode-landing .gform_previous_button,
.gform_wrapper.easycooling-quote-form.ec-mode-confirmation .gform_previous_button {
  display: none !important;
}

/* Hide Next on auto-advance question pages (JS still clicks it) */
.gform_wrapper.easycooling-quote-form .gform_next_button.ec-next-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* Room wizard: JS marks one field at a time with .ec-wizard-visible */
.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-room-field,
.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-room-section,
.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-other-room {
  display: none !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-wizard-visible {
  display: block !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard fieldset.ec-wizard-visible.ec-room-field {
  display: flex !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-wizard-visible.gfield_visibility_hidden,
.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard fieldset.ec-wizard-visible.gfield_visibility_hidden {
  display: flex !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  position: static !important;
  width: auto !important;
  margin: initial;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-room-field.gfield_visibility_hidden:not(.ec-wizard-visible),
.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard fieldset.ec-room-field.gfield_visibility_hidden:not(.ec-wizard-visible),
.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-room-section.gfield_visibility_hidden {
  display: none !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-room-section {
  display: none !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-wizard-visible.ec-room-field {
  margin: 20px 0 0;
  padding: 8px 22px 18px !important;
  background: #f7f9fc;
  border: 1px solid var(--ec-line);
  border-radius: 10px;
  border-bottom: 0;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard:not(.ec-advancing-from-summary) .gform_page[data-page="5"] .gform_page_footer,
.gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gform_page[data-page="5"] .gform_page_footer {
  display: flex !important;
  justify-content: center !important;
  padding-top: 8px !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gform_page[data-page="5"] .gform_next_button,
.gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gform_page[data-page="5"] .gform_next_button {
  display: none !important;
}

.gform_wrapper.easycooling-quote-form.ec-advancing-from-summary .gform_page[data-page="5"] .gform_next_button {
  display: inline-flex !important;
  visibility: visible !important;
}

/* Room summary — hide all per-room questions (GF conditional logic can re-show them) */
.gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gfield.ec-room-field,
.gform_wrapper.easycooling-quote-form.ec-mode-room-summary fieldset.ec-room-field,
.gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gfield.ec-room-section,
.gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gfield.ec-other-room,
.gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gfield.ec-rooms-intro,
.gform_wrapper.easycooling-quote-form.ec-mode-room-summary fieldset.ec-room-field + .gfield_description,
.gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gfield.ec-room-field + .gfield_description {
  display: none !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-summary .ec-room-summary-shell {
  display: block !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard fieldset.ec-room-field:not(.ec-wizard-visible) + .gfield_description,
.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gfield.ec-room-field:not(.ec-wizard-visible) + .gfield_description {
  display: none !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .ec-wizard-visible .gfield_description {
  display: block !important;
}

/* ── Progress (matches .progress-track / .progress-badge) ─── */
.gform_wrapper.easycooling-quote-form .gf_progressbar_wrapper {
  width: min(760px, 100%);
  margin: 0 auto 18px;
  display: grid;
  gap: 7px;
  justify-items: center;
}

.gform_wrapper.easycooling-quote-form .gf_progressbar_wrapper.ec-progress-hidden {
  display: none !important;
}

.gform_wrapper.easycooling-quote-form .gf_progressbar {
  width: 100%;
  height: 9px !important;
  border-radius: 999px !important;
  background: #dce8f4 !important;
  border: 0 !important;
  overflow: hidden;
  box-shadow: none !important;
}

.gform_wrapper.easycooling-quote-form .gf_progressbar_percentage {
  height: 100% !important;
  border-radius: inherit !important;
  background: var(--ec-green) !important;
  box-shadow: none !important;
  text-indent: -9999px;
  transition: width 180ms ease;
}

.gform_wrapper.easycooling-quote-form .gf_progressbar_title,
.gform_wrapper.easycooling-quote-form .ec-progress-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ec-line);
  background: #ffffff;
  color: var(--ec-green-dark);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(16, 24, 23, 0.08);
  margin: 0 0 4px !important;
}

/* ── Helpers / contact ────────────────────────────────────── */
.gform_wrapper.easycooling-quote-form .ec-nonhouse-notice,
.gform_wrapper.easycooling-quote-form .ec-rooms-intro,
.gform_wrapper.easycooling-quote-form .ec-contact-intro {
  color: var(--ec-muted);
  font-size: 16px;
  line-height: 1.45;
}

.gform_wrapper.easycooling-quote-form .ec-helper-static {
  margin: 0 0 16px;
  padding: 13px 15px;
  border: 1px solid #b9d9fb;
  border-radius: 8px;
  background: var(--ec-green-soft);
  color: #2a4560;
  font-size: 14px;
  line-height: 1.45;
}

.ec-confirm h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}

.ec-confirm p {
  color: var(--ec-muted);
  font-size: 16px;
}

/* Review step */
.gform_wrapper.easycooling-quote-form .ec-review-intro h3,
.gform_wrapper.easycooling-quote-form .ec-payment-intro h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}

.gform_wrapper.easycooling-quote-form .ec-review-intro p,
.gform_wrapper.easycooling-quote-form .ec-payment-intro p {
  color: var(--ec-muted);
  margin: 0 0 20px;
}

.ec-review-block,
.ec-payment-order {
  margin: 24px 0;
}

.ec-review-block h3,
.ec-payment-order h4 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.ec-review-muted,
.ec-payment-note {
  color: var(--ec-muted);
  margin: 0 0 14px;
  line-height: 1.45;
}

.ec-results-footnote {
  margin-top: 20px;
  font-size: 15px;
  text-align: center;
}

.page-quote .container:has(.ec-mode-results) {
  width: min(var(--ec-max, 1140px), calc(100vw - 48px));
}

.gform_wrapper.easycooling-quote-form.ec-mode-results #ec_answers_mount {
  padding: 28px 24px 0;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.gform_wrapper.easycooling-quote-form.ec-mode-results .ec-results-shell > .ec-results-inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gform_wrapper.easycooling-quote-form.ec-mode-results .gform_page_footer {
  padding: 8px 24px 34px !important;
}

.ec-answer-panel {
  width: 100%;
  box-sizing: border-box;
  background: #f1f2f2;
  border-radius: 16px;
  padding: 28px 24px 32px;
}

.ec-panel-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.15;
}

.ec-answer-panel .ec-result-sub {
  margin: 0 0 18px;
  color: var(--ec-muted);
  font-size: 15px;
}

.ec-answer-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ec-answer-item {
  border-radius: 12px;
  padding: 14px 16px;
  background: #ffffff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
  min-width: 0;
}

.ec-answer-item small {
  display: block;
  color: var(--ec-muted);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ec-answer-item span {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ec-text);
  text-align: left;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ec-room-answer {
  grid-column: 1 / -1;
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.ec-room-answer-head,
.ec-room-answer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: start;
  min-width: 0;
}

.ec-room-answer-head strong,
.ec-room-answer-row small {
  color: var(--ec-muted);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ec-room-answer-head span,
.ec-room-answer-row span {
  display: block;
  color: var(--ec-text);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  text-align: left;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ec-summary-card {
  background: #f7f9fc;
  border: 1px solid var(--ec-line);
  border-radius: 10px;
  padding: 18px 20px;
}

.ec-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e4eaf4;
  font-size: 15px;
}

.ec-summary-row:last-child {
  border-bottom: 0;
}

.ec-summary-row strong {
  text-align: right;
  max-width: 58%;
  font-weight: 700;
}

.ec-summary-row.ec-summary-row-deposit {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(5, 116, 66, 0.22);
  border-radius: 8px;
  background: #eaf7f0;
  font-weight: 700;
}

.ec-summary-row.ec-summary-row-deposit span,
.ec-summary-row.ec-summary-row-deposit strong {
  color: #057442;
  font-weight: 800;
}

.ec-summary-room {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #d4e0f0;
}

.ec-summary-room h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ec-green-dark);
}

.ec-review-notice {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid #ead28f;
  border-radius: 8px;
  background: #fff8e6;
  color: #5a4d1f;
}

.ec-review-notice ul {
  margin: 10px 0 0 18px;
}

.ec-unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.ec-package-card {
  display: block;
  position: relative;
  border: 2px solid var(--ec-line);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.ec-package-card:hover {
  border-color: var(--ec-green);
}

.ec-package-card.is-selected {
  border-color: #18181b;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.12);
}

.ec-package-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ec-package-card h4 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ec-green-dark);
}

.ec-price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 14px;
  border-bottom: 1px dashed #e2eaf6;
}

.ec-price-row.highlight span:last-child {
  color: var(--ec-green-dark);
  font-weight: 700;
}

.ec-price-row.total {
  border-top: 2px solid var(--ec-green);
  border-bottom: 0;
  margin-top: 8px;
  padding-top: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ec-green-dark);
}

.ec-price-row.was span:last-child {
  text-decoration: line-through;
  color: var(--ec-muted);
}

.ec-package-plan {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ec-muted);
  line-height: 1.4;
}

/* Payment placeholder */
.ec-payment-demo {
  margin-top: 20px;
  padding: 20px;
  border: 1px dashed #c8daf4;
  border-radius: 10px;
  background: #f7f9fc;
}

.ec-payment-fields {
  display: grid;
  gap: 14px;
}

.ec-payment-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ec-payment-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ec-text);
}

.ec-payment-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ec-line);
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
  color: var(--ec-muted);
}

/* Rich confirmation */
.gform_wrapper.easycooling-quote-form.ec-mode-confirmation .gform_body,
.gform_wrapper.easycooling-quote-form.ec-mode-confirmation .gform_page {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.gform_wrapper.easycooling-quote-form.ec-mode-confirmation .gf_progressbar_wrapper {
  display: none !important;
}

.ec-confirm-panel {
  background: #eaf7f0;
  border: 1px solid #b9dfc8;
  border-radius: 12px;
  padding: 36px 28px 32px;
  text-align: center;
  max-width: 720px;
  margin: 24px auto;
}

.ec-confirm-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  color: #075d37;
}

.ec-confirm-panel > p {
  color: #2a4560;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.ec-confirm-lead {
  font-weight: 600;
}

.ec-confirm-ref {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto;
  padding: 14px 22px;
  background: #fff;
  border: 2px solid #057442;
  border-radius: 999px;
  color: #075d37;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}

.ec-confirm-email {
  max-width: 560px;
  margin: 0 auto 22px !important;
}

.ec-confirm-info {
  text-align: left;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #b9dfc8;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 22px 0;
}

.ec-confirm-info h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.ec-confirm-notice {
  font-size: 14px;
  line-height: 1.5;
  color: #2a4560;
  margin: 18px 0 !important;
}

.ec-confirm-support {
  font-size: 15px;
  margin: 0 0 16px !important;
}

.ec-confirm-support a {
  color: #057442;
  font-weight: 700;
}

.gform_wrapper.easycooling-quote-form #gform_confirmation_message_1 .ec-confirm-panel,
.gform_wrapper.easycooling-quote-form .gform_confirmation_message .ec-confirm-panel {
  background: #eaf7f0;
  border-color: #b9dfc8;
}

.ec-confirm-signoff {
  margin: 18px 0 0 !important;
  font-size: 16px;
  color: #2a4560;
}

@media (max-width: 640px) {
  .ec-summary-row {
    flex-direction: column;
    gap: 4px;
  }

  .ec-summary-row strong {
    text-align: left;
    max-width: none;
  }

  .ec-confirm-panel {
    padding: 28px 18px;
  }

  .ec-payment-row {
    grid-template-columns: 1fr;
  }
}

/* Enquiry form */
.gform_wrapper.easycooling-enquiry-form {
  padding: 24px 16px;
}

.gform_wrapper.easycooling-enquiry-form .gfield_label {
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
}

.gform_wrapper.easycooling-enquiry-form .ec-enquiry-intro h3 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}

.gform_wrapper.easycooling-enquiry-form .ec-enquiry-intro p {
  color: var(--ec-muted);
  margin: 0 0 16px;
}

.gform_wrapper.easycooling-enquiry-form .gform_page_footer,
.gform_wrapper.easycooling-enquiry-form .gform_footer {
  padding: 22px 34px 34px !important;
  justify-content: center !important;
}

/* ── Results view (easycooling-quote-page.html) ───────────── */
.gform_wrapper.easycooling-quote-form.ec-mode-results {
  max-width: 100%;
  width: 100%;
  padding: 0 0 64px;
  background: var(--ec-bg);
}

.gform_wrapper.easycooling-quote-form.ec-mode-results .gform_body {
  width: 100%;
  max-width: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.gform_wrapper.easycooling-quote-form.ec-mode-results .gform_page {
  padding: 0;
  overflow: visible;
}

.gform_wrapper.easycooling-quote-form.ec-mode-results .gfield.ec-results-shell,
.gform_wrapper.easycooling-quote-form.ec-mode-results #ec_answers_mount,
.gform_wrapper.easycooling-quote-form.ec-mode-results #ec_results_mount {
  overflow: visible;
  display: block;
  width: 100%;
}

.ec-result-shell {
  width: 100%;
}

.ec-results-hero {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px 32px;
  box-sizing: border-box;
}

.ec-results-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.ec-result-meta-row {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ec-result-actions {
  flex: 0 0 auto;
  margin-top: 4px;
}

.ec-ghost-btn {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: #eef0f1;
  color: #343a3f;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.ec-ghost-btn:hover {
  background: #e4e7e8;
}

.ec-result-heading {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 500;
  line-height: 1.12;
}

.ec-result-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #747b80;
  font-size: 14px;
}

.ec-result-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #eceff1;
  color: #4e565b;
  font-weight: 500;
}

.ec-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.ec-package-card-v2 {
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
  border: 2px solid var(--ec-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.ec-package-card-v2:hover {
  box-shadow: 0 10px 28px rgba(24, 24, 27, 0.08);
}

.ec-package-card-v2.package-bosch { border-color: #9fd5bf; }
.ec-package-card-v2.package-samsung { border-color: #d6ccfb; }
.ec-package-card-v2.is-selected {
  border-color: #18181b;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.12);
}

.gform_wrapper.easycooling-quote-form .ec-package-card-v2 input[type="radio"],
.ec-package-card-v2 input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none !important;
}

.ec-package-media {
  position: relative;
  min-height: 200px;
  padding: 44px 16px 16px;
  display: grid;
  place-items: center;
  background: rgba(125, 125, 125, 0.08);
  border-bottom: 1px solid var(--ec-line);
}

.ec-package-card-v2.package-bosch .ec-package-media { background: var(--ec-green-soft); }
.ec-package-card-v2.package-samsung .ec-package-media { background: #f1edff; }

.ec-package-image,
.ec-package-media img {
  width: min(210px, 100%);
  height: 170px;
  object-fit: contain;
}

.ec-package-image-placeholder {
  font-size: 28px;
  font-weight: 700;
  color: #8a9196;
}

.ec-tag-row {
  position: absolute;
  top: 16px;
  left: 16px;
}

.ec-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  background: #7d7d7d;
  color: #fff;
}

.ec-package-card-v2.package-bosch .ec-tag { background: var(--ec-green); }
.ec-package-card-v2.package-samsung .ec-tag { background: #7157d9; }

.ec-package-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.ec-package-body-compact {
  gap: 8px;
}

.ec-package-compact-price {
  display: grid;
  gap: 4px;
}

.ec-package-compact-total {
  font-size: 22px;
  line-height: 1.1;
  color: var(--ec-text);
}

.ec-package-compact-finance {
  font-size: 12px;
  line-height: 1.35;
  color: var(--ec-green);
  font-weight: 700;
}

.ec-package-view-hint {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #8a9196;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ec-package-body-compact .ec-package-title {
  font-size: 18px;
  margin: 0;
}

.ec-package-body-compact .ec-warranty-row {
  font-size: 13px;
}

.ec-brand-logo-line {
  min-height: 22px;
  display: flex;
  align-items: center;
}

.ec-brand-logo-line img {
  max-width: 116px;
  max-height: 24px;
  object-fit: contain;
}

.ec-brand-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--ec-green);
}

.ec-brand-logo-text.bosch { color: #e30613; }
.ec-brand-logo-text.samsung { color: #174ea6; }

.ec-package-title {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.32;
}

.ec-warranty-row {
  color: #5b6469;
  font-size: 14px;
}

.ec-warranty-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--ec-green);
  font-weight: 700;
}

.ec-hardware-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
  background: #f7f7f7;
  border-radius: 12px;
}

.ec-unit-chip {
  min-height: 52px;
  padding: 8px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
}

.ec-unit-plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ec-black);
  color: #fff;
  font-size: 22px;
  justify-self: center;
}

.ec-price-block {
  border: 1px solid var(--ec-line);
  border-radius: 12px;
  overflow: hidden;
}

.ec-price-breakdown {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
}

.ec-price-breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  font-size: 14px;
}

.ec-price-breakdown-row.total {
  font-size: 15px;
  font-weight: 700;
}

.ec-current-price {
  font-size: 20px;
  font-weight: 500;
}

.ec-installation-balance {
  margin: 0;
  color: var(--ec-muted);
  font-size: 13px;
}

.ec-price-breakdown-row.discount strong { color: var(--ec-green-dark); }

/* Room wizard summary */
.ec-room-summary-shell .ec-question-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 500;
}

.ec-summary-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.ec-summary-card-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--ec-line);
  border-radius: 10px;
  background: #f7f9fc;
}

.ec-summary-card-item span {
  display: block;
  color: var(--ec-muted);
  font-size: 13px;
  margin-top: 4px;
}

.ec-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.gform_wrapper.easycooling-quote-form .ec-action-row .ec-primary-btn,
.gform_wrapper.easycooling-quote-form .ec-action-row .ec-secondary-btn,
.gform_wrapper.easycooling-quote-form .ec-action-row .ec-danger-btn,
.gform_wrapper.easycooling-quote-form .ec-action-row .ec-continue-quote,
.gform_wrapper.easycooling-quote-form .ec-action-row .ec-add-room {
  width: min(432px, 100%);
  max-width: 100%;
}

.ec-room-summary-shell .ec-helper {
  margin-top: 16px;
  padding-top: 4px;
  color: var(--ec-muted);
  font-size: 14px;
  line-height: 1.45;
}

.ec-primary-btn,
.ec-secondary-btn,
.ec-danger-btn {
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.ec-primary-btn {
  background: var(--ec-green);
  color: #fff;
  font-weight: 800;
}

.ec-primary-btn:hover {
  background: var(--ec-green-dark);
}

.ec-secondary-btn {
  background: #ffffff;
  color: var(--ec-text);
  border: 1px solid var(--ec-line);
}

.ec-secondary-btn:hover {
  background: #f7f9fc;
  border-color: #c8daf4;
}

.ec-danger-btn {
  background: #fff;
  color: #b42318;
  border: 1px solid #f2c6c2;
}

/* GF Orbital resets wizard summary buttons to theme blue — match quote form buttons */
.gform_wrapper.easycooling-quote-form .ec-room-summary-shell .ec-primary-btn,
.gform_wrapper.easycooling-quote-form .ec-room-summary-shell .ec-continue-quote {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  background: var(--ec-green) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.gform_wrapper.easycooling-quote-form .ec-room-summary-shell .ec-primary-btn:hover,
.gform_wrapper.easycooling-quote-form .ec-room-summary-shell .ec-continue-quote:hover {
  background: var(--ec-green-dark) !important;
  color: #ffffff !important;
}

.gform_wrapper.easycooling-quote-form .ec-room-summary-shell .ec-secondary-btn,
.gform_wrapper.easycooling-quote-form .ec-room-summary-shell .ec-add-room {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid var(--ec-line) !important;
  border-radius: 999px !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  background: #ffffff !important;
  color: var(--ec-text) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.gform_wrapper.easycooling-quote-form .ec-room-summary-shell .ec-secondary-btn:hover,
.gform_wrapper.easycooling-quote-form .ec-room-summary-shell .ec-add-room:hover {
  background: #f7f9fc !important;
  border-color: #c8daf4 !important;
  color: var(--ec-text) !important;
}

.gform_wrapper.easycooling-quote-form .ec-room-summary-shell .ec-danger-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid #f2c6c2 !important;
  border-radius: 999px !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
  background: #ffffff !important;
  color: #b42318 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  font-family: inherit !important;
  box-shadow: none !important;
}

.ec-booking-fields,
.ec-calendar-placeholder {
  margin-bottom: 0;
}

/* ── Booking page (matches easycooling-quote-page.html) ── */
.gform_wrapper.easycooling-quote-form.ec-mode-booking {
  --ec-book-green: #057442;
  --ec-book-green-dark: #075d37;
  --ec-book-green-soft: #eaf7f0;
  --ec-book-gutter: 16px;
  --ec-book-wrap-pad: 24px var(--ec-book-gutter) 40px;
  --ec-book-page-pad: 16px;
  --ec-book-card-pad: 12px 16px;
  --ec-book-card-gap: 20px;
  max-width: 100%;
  width: 100%;
  padding: var(--ec-book-wrap-pad);
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-heading {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ec-text);
  grid-column: 1 / -1;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_body {
  width: 100% !important;
  max-width: min(920px, 100%) !important;
  margin: 0 auto;
  background: var(--ec-panel) !important;
  border: 1px solid var(--ec-line) !important;
  border-radius: 12px !important;
  box-shadow: var(--ec-shadow) !important;
  overflow: hidden;
}

.page-quote .elementor-widget-shortcode:has(.ec-mode-booking),
.page-quote .elementor-column:has(.ec-mode-booking) {
  width: 100% !important;
  max-width: 100% !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking [id^="gform_fields_"],
.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_fields {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  grid-column: 1 / -1 !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_page_fields {
  width: 100% !important;
  max-width: 100% !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform-grid-row,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .gfield {
  width: 100% !important;
  max-width: 100% !important;
  grid-column: 1 / -1 !important;
}

.page-quote .container:has(.ec-mode-booking),
.page-quote .ec-quote-section .elementor-container:has(.ec-mode-booking) {
  width: min(var(--ec-max, 1140px), calc(100vw - (var(--ec-book-gutter, 16px) * 2)));
  max-width: 100%;
  padding-left: var(--ec-book-gutter, 16px);
  padding-right: var(--ec-book-gutter, 16px);
  box-sizing: border-box;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_page {
  padding: var(--ec-book-page-pad) !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ec-book-card-gap);
  padding: var(--ec-book-card-pad);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-layout {
  container-type: inline-size;
  container-name: ec-booking;
  width: 100%;
  max-width: 100%;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-calendar-col {
  min-width: 0;
  width: 100%;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-content: start;
  min-width: 0;
  width: 100%;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col > .gfield {
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .gfield--width-full,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .gform-grid-row {
  width: 100% !important;
  max-width: 100% !important;
  grid-column: 1 / -1 !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .gform-grid-col,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .gform-grid-col--size-auto {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--name {
  display: grid !important;
  grid-template-columns: minmax(100px, 120px) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 16px;
  width: 100%;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--name > span,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--name .gform-grid-col {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px;
  width: 100% !important;
  min-width: 0 !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--name > span:first-child {
  grid-column: auto;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--address {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px;
  width: 100%;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--address > span,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--address .ginput_full,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--address .gform-grid-col {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px;
  width: 100% !important;
  min-width: 0 !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--address input,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container input,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container select,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .gfield .ginput_container {
  width: 100% !important;
  max-width: 100% !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .gfield_label {
  font-size: 13px;
  font-weight: 800;
  color: #343a3f;
  margin-bottom: 7px;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--name > span {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #697176 50%), linear-gradient(135deg, #697176 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--name > span:first-child select,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .name_prefix select {
  text-align: center;
  text-align-last: center;
  padding-left: 24px;
  padding-right: 24px;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-privacy {
  grid-column: 1 / -1;
  margin: 0;
  color: #60686d;
  font-size: 12px;
  line-height: 1.45;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-privacy a {
  color: var(--ec-book-green);
  font-weight: 800;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-fields {
  margin: 0;
  padding: 0;
  border: 0;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-intro,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-placeholder h4,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-placeholder .ec-review-muted {
  display: none;
}

.ec-booking-intro h3,
.ec-calendar-placeholder h4 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ec-text);
}

.ec-calendar-placeholder h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 8px;
}

.ec-booking-intro p,
.ec-calendar-placeholder .ec-review-muted {
  margin: 0 0 16px;
  color: var(--ec-muted);
  font-size: 16px;
  line-height: 1.45;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .gfield.ec-contact-intro {
  display: none !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-fields + .gfield {
  margin-top: 0 !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-calendar-col,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-placeholder,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-mount,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.ec-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.ec-calendar-panel {
  box-sizing: border-box;
  width: 100%;
  border-radius: 14px;
  margin-top: 0;
  padding: 12px 10px 16px;
  background: #f7f8f8;
  --ec-cal-gap: clamp(4px, 1.2vw, 7px);
  --ec-cal-radius: 11px;
  --ec-cal-font: clamp(15px, 3.8vw, 18px);
}

.ec-calendar-head h2 {
  margin: 0;
  font-size: clamp(18px, 4.8vw, 24px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--ec-text);
}

.ec-calendar-nav {
  display: inline-flex;
  gap: 8px;
  flex-shrink: 0;
}

.ec-calendar-nav button,
.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-calendar-prev,
.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-calendar-next {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #e7eaeb;
  color: #5e666b;
  font: inherit;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-nav button,
.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-calendar-prev,
.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-calendar-next {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #e7eaeb !important;
  color: #5e666b !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.ec-calendar-nav button:hover:not(:disabled),
.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-calendar-prev:hover:not(:disabled),
.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-calendar-next:hover:not(:disabled) {
  background: #dfe3e4 !important;
  color: var(--ec-text) !important;
}

.ec-calendar-nav button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.ec-calendar-weekdays,
.ec-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  justify-content: stretch;
  gap: var(--ec-cal-gap);
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.ec-calendar-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.ec-calendar-weekdays {
  margin-bottom: 8px;
  color: #727a80;
  font-size: clamp(10px, 2.8vw, 13px);
  font-weight: 700;
  text-align: center;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-weekdays span {
  display: block;
  min-width: 0;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ec-date-spacer {
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1;
  min-height: 48px;
}

.ec-date-cell {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  min-height: 48px;
  height: auto;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: var(--ec-cal-radius);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.38) 0 3px, transparent 3px 7px),
    #eef0f0;
  color: #9aa0a4;
  font: inherit;
  font-size: var(--ec-cal-font);
  font-weight: 700;
  line-height: 1;
  cursor: not-allowed;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.ec-date-cell.is-unavailable {
  opacity: 1;
}

.ec-date-cell.available {
  background: #fff;
  color: var(--ec-text);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  cursor: pointer;
}

.ec-date-cell.available:hover {
  background: var(--ec-book-green, #057442);
  color: #fff;
  border-color: transparent;
}

.ec-date-cell.available:active {
  background: var(--ec-green-dark, #476d94);
  color: #fff;
  transform: scale(0.98);
}

.ec-date-cell.available:focus-visible {
  outline: 2px solid rgba(89, 135, 182, 0.45);
  outline-offset: 2px;
}

.ec-date-cell.is-selected,
.ec-date-cell.available.is-selected {
  background: #dbeafe;
  color: #1e4a7a;
  border: 2px solid var(--ec-green, #5987b6);
  box-shadow: 0 0 0 3px rgba(89, 135, 182, 0.28);
  transform: none;
  z-index: 1;
  position: relative;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-date-cell {
  appearance: none !important;
  -webkit-appearance: none !important;
  aspect-ratio: 1 !important;
  min-height: 48px !important;
  max-height: none !important;
  padding: 0 !important;
  line-height: 1 !important;
  border: 0 !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05) !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-date-cell.is-unavailable {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.38) 0 3px, transparent 3px 7px),
    #eef0f0 !important;
  color: #9aa0a4 !important;
  box-shadow: none !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-date-cell.available {
  background: #fff !important;
  color: var(--ec-text) !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-date-cell.available.is-selected {
  background: #dbeafe !important;
  color: #1e4a7a !important;
  border: 2px solid var(--ec-green, #5987b6) !important;
  box-shadow: 0 0 0 3px rgba(89, 135, 182, 0.28) !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-phone input[type="text"],
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-phone input[type="tel"] {
  font-size: 16px;
  letter-spacing: 0.01em;
}

.ec-booking-note {
  margin-top: 14px;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff3d8;
  border: 1px solid #ffbf36;
  color: #895b00;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  font-weight: 700;
}

.ec-booking-tip {
  margin-top: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  background: #f0f1f1;
  color: #3b4348;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-footer input.gform_next_button,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-footer .gform_next_button,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-footer input.gform_button {
  width: min(432px, 100%);
  min-height: 54px !important;
  border-radius: 999px !important;
  background: var(--ec-green) !important;
  border: 0 !important;
  border-color: var(--ec-green) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  font-family: inherit !important;
  box-shadow: none !important;
  cursor: pointer;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-footer input.gform_next_button:hover,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-footer .gform_next_button:hover,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-footer input.gform_button:hover {
  background: var(--ec-green-dark) !important;
  border-color: var(--ec-green-dark) !important;
  color: #fff !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_next_button,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_button {
  width: min(432px, 100%);
  min-height: 54px;
  border-radius: 999px;
  background: var(--ec-green) !important;
  border-color: var(--ec-green) !important;
  font-size: 16px;
  font-weight: 800;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_next_button:hover,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_button:hover {
  background: var(--ec-green-dark) !important;
  border-color: var(--ec-green-dark) !important;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_page_footer {
  margin-top: 4px;
  padding: 16px 0 0 !important;
  border: 0;
  border-top: 1px solid var(--ec-line);
  background: transparent;
}

.gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-footer {
  grid-column: 1 / -1;
}

/* Booking calendar + phone — mobile/tablet page gutters */
@media (max-width: 1024px) {
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-booking),
  .page-quote .container:has(.ec-mode-booking) {
    width: 100%;
    max-width: 100%;
  }

  body.page-quote .ec-quote-section .elementor-widget-wrap:has(.ec-mode-booking) {
    align-items: stretch;
  }

  body.page-quote .ec-quote-section .elementor-widget-shortcode:has(.ec-mode-booking),
  body.page-quote .ec-quote-section .elementor-shortcode:has(.ec-mode-booking) {
    justify-content: stretch;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking {
    padding: var(--ec-book-wrap-pad);
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .gform_body {
    max-width: 100% !important;
  }
}

@media (max-width: 720px) {
  .page-quote .ec-quote-section.elementor-section > .elementor-container,
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-booking),
  .page-quote .container:has(.ec-mode-booking) {
    padding-left: var(--ec-book-gutter, 16px);
    padding-right: var(--ec-book-gutter, 16px);
  }

  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-booking),
  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-booking) > .elementor-widget-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-heading {
    font-size: clamp(24px, 7vw, 30px);
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--name {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--name > .name_prefix,
  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col .ginput_container--name > span:first-child {
    grid-column: 1 / -1;
  }
}

/* Package detail modal */
.ec-package-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: start center;
  padding: 72px 20px 24px;
  overflow-y: auto;
  background: rgba(15, 17, 18, 0.72);
  backdrop-filter: blur(8px);
}

.ec-package-detail-overlay.is-open,
.ec-package-detail-overlay:not([hidden]) {
  display: grid;
}

.ec-package-detail-overlay[hidden] {
  display: none !important;
}

.ec-package-detail-dialog {
  position: relative;
  width: min(1040px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.ec-package-detail-content {
  display: block;
}

.ec-detail-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #06080a;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.ec-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 28px;
  align-items: start;
}

.ec-detail-left,
.ec-detail-right {
  min-width: 0;
}

.ec-detail-image-panel {
  position: relative;
  min-height: 440px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f5f5;
  padding: 20px 56px;
  overflow: hidden;
}

.ec-detail-image-panel .ec-detail-image,
.ec-detail-image-panel img {
  width: min(420px, calc(100% - 24px));
  height: 400px;
  object-fit: contain;
}

.ec-detail-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  flex: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 1px solid #cfd4d7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #2f383d;
  font-size: 34px;
  font-weight: 700;
  line-height: 0.85;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.ec-detail-arrow-prev {
  left: 14px;
}

.ec-detail-arrow-next {
  right: 14px;
}

.ec-detail-arrow:hover:not(:disabled) {
  background: #f7f8f8;
  color: var(--ec-text);
}

.ec-detail-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.gform_wrapper.easycooling-quote-form .ec-package-detail-dialog button.ec-detail-arrow {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border: 1px solid #cfd4d7 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #2f383d !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 0.85 !important;
  font-family: inherit !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14) !important;
}

.gform_wrapper.easycooling-quote-form .ec-package-detail-dialog button.ec-detail-arrow:hover:not(:disabled) {
  background: #f7f8f8 !important;
  color: var(--ec-text) !important;
}

.gform_wrapper.easycooling-quote-form .ec-package-detail-dialog button.ec-detail-arrow:disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

.ec-detail-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 500;
  color: var(--ec-text);
}

.ec-detail-title span {
  display: block;
}

.ec-detail-right {
  display: flex;
  flex-direction: column;
  padding-right: 4px;
}

.ec-detail-body {
  grid-column: 1 / -1;
  overflow: visible;
  padding-top: 20px;
  margin-top: 4px;
  border-top: 1px solid var(--ec-line);
}

.ec-detail-scroll {
  grid-column: 1 / -1;
  overflow: visible;
}

.ec-detail-price-panel {
  margin: 16px 0;
}

.ec-detail-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ec-line);
  width: 100%;
}

.ec-detail-book-btn {
  display: block;
  width: 100%;
  min-height: 54px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: var(--ec-green);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms ease;
  box-shadow: 0 8px 24px rgba(89, 135, 182, 0.24);
}

.ec-detail-book-btn:hover {
  background: var(--ec-green-dark);
  transform: translateY(-1px);
}

.ec-detail-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--ec-line);
  margin-bottom: 0;
}

/* GF Orbital paints every form button blue — reset modal tabs */
.gform_wrapper.easycooling-quote-form .ec-package-detail-dialog button.ec-detail-tab {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  color: #687075 !important;
  border: 0 !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 12px 0 13px !important;
  margin: 0 0 -1px !important;
  font: inherit !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer;
}

.gform_wrapper.easycooling-quote-form .ec-package-detail-dialog button.ec-detail-tab:hover:not(.is-active) {
  color: var(--ec-text) !important;
  background: transparent !important;
}

.gform_wrapper.easycooling-quote-form .ec-package-detail-dialog button.ec-detail-tab.is-active {
  color: var(--ec-green) !important;
  border-bottom-color: var(--ec-green) !important;
  background: transparent !important;
}

.ec-detail-tab {
  border: 0;
  background: none;
  padding: 12px 0 13px;
  margin: 0 0 -1px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #687075;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.ec-detail-tab.is-active {
  color: var(--ec-green);
  border-bottom-color: var(--ec-green);
}

.ec-detail-tab:focus-visible {
  outline: 2px solid rgba(89, 135, 182, 0.28);
  outline-offset: 3px;
  border-radius: 2px;
}

.ec-detail-panel {
  display: none;
  color: var(--ec-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ec-detail-panel.is-active {
  display: block;
}

.ec-detail-panel h3 {
  margin: 0 0 12px;
  color: var(--ec-text);
  font-size: 20px;
}

.ec-detail-highlight {
  display: inline-block;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8dc;
  color: #5c4a00;
  font-size: 14px;
  line-height: 1.45;
}

.ec-detail-panel ul {
  margin: 12px 0;
  padding-left: 1.2rem;
}

.ec-detail-specs h4 {
  margin: 16px 0 6px;
  color: var(--ec-text);
  font-size: 14px;
}

.ec-detail-specs p {
  margin: 0;
}

@media (max-width: 860px) {
  .ec-detail-layout {
    grid-template-columns: 1fr;
  }

  .ec-detail-image-panel {
    min-height: 320px;
    padding: 16px 48px;
  }

  .ec-detail-image-panel .ec-detail-image,
  .ec-detail-image-panel img {
    height: 280px;
  }
}

@media (min-width: 900px) {
  .ec-answer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .ec-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ec-package-grid {
    grid-template-columns: 1fr;
  }

  .ec-package-media {
    min-height: 220px;
    padding: 44px 16px 16px;
  }
}

/* ── Quote chrome (Choose / Book / Complete) — matches easycooling-quote-page.html header ─ */
.ec-quote-chrome {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-bottom: 18px;
}

.ec-quote-chrome.ec-chrome-hidden .ec-progress-wrap {
  display: none;
}

.gform_wrapper.easycooling-quote-form.ec-chrome-landing .ec-quote-chrome {
  margin-bottom: 0;
}

.ec-progress-wrap {
  display: grid;
  gap: 7px;
  justify-items: center;
  width: min(420px, 100%);
}

.ec-progress-track {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #dce8f4;
  overflow: hidden;
}

.ec-progress-fill {
  height: 100%;
  width: var(--progress, 0%);
  border-radius: inherit;
  background: var(--ec-green);
  transition: width 180ms ease;
}

.ec-header-steps {
  display: none;
  align-items: center;
  gap: 14px;
  color: #a7acb0;
  font-size: 14px;
  font-weight: 700;
}

.gform_wrapper.easycooling-quote-form.ec-chrome-journey .ec-header-steps {
  display: inline-flex;
}

.ec-header-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 12px;
  padding: 8px 11px;
  color: #a7acb0;
  font-size: 14px;
  font-weight: 700;
}

.ec-header-step b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #e3e6e7;
  background: #ffffff;
  color: #a7acb0;
  font-size: 12px;
  font-weight: 700;
}

.ec-header-step.active,
.ec-header-step.complete {
  color: var(--ec-text);
}

.ec-header-step.active b,
.ec-header-step.complete b {
  border-color: var(--ec-green);
  background: var(--ec-green);
  color: #ffffff;
}

.ec-step-chevron {
  color: #aab0b4;
  font-size: 18px;
  line-height: 1;
}

.gform_wrapper.easycooling-quote-form.ec-chrome-journey .ec-progress-wrap,
.gform_wrapper.easycooling-quote-form.ec-mode-results .gf_progressbar_wrapper,
.gform_wrapper.easycooling-quote-form.ec-mode-booking .gf_progressbar_wrapper,
.gform_wrapper.easycooling-quote-form.ec-mode-payment .gf_progressbar_wrapper {
  display: none !important;
}

/* Question / form steps — white panel (explicit modes; also covers GF display:none quirk) */
.gform_wrapper.easycooling-quote-form.ec-mode-question .gform_body,
.gform_wrapper.easycooling-quote-form.ec-mode-form .gform_body {
  width: min(760px, 100%);
  margin: 0 auto;
  background: var(--ec-panel) !important;
  border: 1px solid var(--ec-line) !important;
  border-radius: 12px !important;
  box-shadow: var(--ec-shadow) !important;
  overflow: hidden;
}

.gform_wrapper.easycooling-quote-form.ec-mode-question .gform_page,
.gform_wrapper.easycooling-quote-form.ec-mode-form .gform_page {
  padding: 34px;
}

/* Question / form / room wizard — mobile full-width (desktop unchanged above 1024px) */
@media (max-width: 1024px) {
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-question),
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-form),
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-room-wizard),
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-room-summary) {
    width: 100%;
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }

  body.page-quote .ec-quote-section .elementor-widget-wrap:has(.ec-mode-question),
  body.page-quote .ec-quote-section .elementor-widget-wrap:has(.ec-mode-form),
  body.page-quote .ec-quote-section .elementor-widget-wrap:has(.ec-mode-room-wizard),
  body.page-quote .ec-quote-section .elementor-widget-wrap:has(.ec-mode-room-summary) {
    align-items: stretch;
  }

  body.page-quote .ec-quote-section .elementor-widget-shortcode:has(.ec-mode-question),
  body.page-quote .ec-quote-section .elementor-widget-shortcode:has(.ec-mode-form),
  body.page-quote .ec-quote-section .elementor-widget-shortcode:has(.ec-mode-room-wizard),
  body.page-quote .ec-quote-section .elementor-widget-shortcode:has(.ec-mode-room-summary),
  body.page-quote .ec-quote-section .elementor-shortcode:has(.ec-mode-question),
  body.page-quote .ec-quote-section .elementor-shortcode:has(.ec-mode-form),
  body.page-quote .ec-quote-section .elementor-shortcode:has(.ec-mode-room-wizard),
  body.page-quote .ec-quote-section .elementor-shortcode:has(.ec-mode-room-summary) {
    justify-content: stretch;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-question,
  .gform_wrapper.easycooling-quote-form.ec-mode-form,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-wizard,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-summary {
    padding-left: 8px;
    padding-right: 8px;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-question .gform_body,
  .gform_wrapper.easycooling-quote-form.ec-mode-form .gform_body,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gform_body,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gform_body {
    width: 100% !important;
    max-width: 100% !important;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-question .gform_page,
  .gform_wrapper.easycooling-quote-form.ec-mode-form .gform_page,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gform_page,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gform_page {
    padding: 14px 8px !important;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-question .gform_page_footer,
  .gform_wrapper.easycooling-quote-form.ec-mode-form .gform_page_footer,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gform_page_footer,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gform_page_footer {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .gform_wrapper.easycooling-quote-form .ec-room-group {
    margin-left: 0;
    margin-right: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .ec-wizard-visible.ec-room-field,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-wizard fieldset.ec-wizard-visible.ec-room-field {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 720px) {
  .page-quote .ec-quote-section.elementor-section > .elementor-container:has(.ec-mode-question),
  .page-quote .ec-quote-section.elementor-section > .elementor-container:has(.ec-mode-form),
  .page-quote .ec-quote-section.elementor-section > .elementor-container:has(.ec-mode-room-wizard),
  .page-quote .ec-quote-section.elementor-section > .elementor-container:has(.ec-mode-room-summary),
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-question),
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-form),
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-room-wizard),
  .page-quote .ec-quote-section .elementor-container:has(.ec-mode-room-summary) {
    padding-left: 8px;
    padding-right: 8px;
  }

  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-question),
  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-form),
  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-room-wizard),
  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-room-summary),
  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-question) > .elementor-widget-wrap,
  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-form) > .elementor-widget-wrap,
  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-room-wizard) > .elementor-widget-wrap,
  .page-quote .ec-quote-section .elementor-column:has(.ec-mode-room-summary) > .elementor-widget-wrap {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-question,
  .gform_wrapper.easycooling-quote-form.ec-mode-form,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-wizard,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-summary {
    padding: 16px 8px 40px;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-question .gform_page,
  .gform_wrapper.easycooling-quote-form.ec-mode-form .gform_page,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gform_page,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gform_page {
    padding: 10px 8px !important;
  }

  .gform_wrapper.easycooling-quote-form .ec-room-group {
    padding-left: 8px;
    padding-right: 8px;
  }

  .gform_wrapper.easycooling-quote-form .ec-rooms-intro h3 {
    font-size: clamp(24px, 6.5vw, 30px);
  }
}

@media (min-width: 1025px) {
  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-card {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
    gap: var(--ec-book-card-gap) 28px;
    align-items: start;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-calendar-col {
    max-width: none;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-panel {
    padding: 10px 8px 12px;
    --ec-cal-gap: 4px;
    --ec-cal-font: clamp(12px, 0.95vw, 15px);
    --ec-cal-radius: 10px;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-head {
    margin-bottom: 12px;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-head h2 {
    font-size: 17px;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-nav button,
  .gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-calendar-prev,
  .gform_wrapper.easycooling-quote-form.ec-mode-booking button.ec-calendar-next {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    font-size: 16px !important;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-calendar-weekdays {
    font-size: 11px;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-note,
  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-tip {
    font-size: 12px;
    padding: 8px 10px;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-booking .ec-booking-form-col {
    gap: 24px;
  }

  .gform_wrapper.easycooling-quote-form.ec-mode-question .gform_page,
  .gform_wrapper.easycooling-quote-form.ec-mode-form .gform_page,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-wizard .gform_page,
  .gform_wrapper.easycooling-quote-form.ec-mode-room-summary .gform_page {
    padding: 34px;
  }
}

/* WordPress quote page — match example/site */
body.page-quote {
  background: #f7f9fc;
}

body.page-quote .ec-site-footer,
body.page-quote .site-footer {
  margin-top: 0;
}

/* ── Conversion UX (shared with example/site quote-form.css) ─ */
.ec-landing-trust { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--ec-green); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.ec-landing-trust-stars { color: #f5a623; letter-spacing: 2px; font-size: 0.875rem; line-height: 1; }
.ec-landing-bullets { list-style: none; margin: 16px auto 0; padding: 0; display: grid; gap: 8px; width: fit-content; max-width: 100%; }
.ec-landing-bullets li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ec-muted); text-align: left; }
.ec-landing-bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--ec-green); font-weight: 700; }
.ec-quote-chrome-top { width: 100%; display: flex; justify-content: flex-end; }
.ec-quote-help { font-size: 14px; font-weight: 700; color: var(--ec-green); text-decoration: none; }
.ec-quote-help:hover { text-decoration: underline; }
.ec-trust-band { margin-top: 28px; padding: 24px; border-radius: 12px; background: #18181b; color: #fff; }
.ec-trust-band-title { margin: 0 0 16px; font-size: 18px; text-align: center; }
.ec-trust-band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ec-trust-point { display: grid; gap: 6px; font-size: 13px; }
.ec-trust-point strong { color: #fff; }
.ec-trust-point span { color: #b8bec3; line-height: 1.45; }
.ec-social-proof { margin: 24px 0 0; padding: 18px 20px; border: 1px solid var(--ec-line); background: var(--ec-green-soft); border-radius: 12px; }
.ec-social-proof p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--ec-text); }
.ec-social-proof cite { font-style: normal; font-size: 13px; color: var(--ec-muted); }
.ec-finance-hint { margin: 8px 0 0; font-size: 13px; color: var(--ec-green); font-weight: 700; }
.ec-tag-popular { background: var(--ec-green) !important; color: #fff !important; }
.ec-package-card-v2.is-popular { border-color: var(--ec-green); box-shadow: 0 0 0 1px var(--ec-green); }

/* Selected package — must beat brand + popular rules above */
.ec-package-card-v2.is-selected,
.ec-package-card-v2.is-selected.is-popular,
.ec-package-card-v2.is-selected[class*="package-"] {
  border: 3px solid #18181b !important;
  box-shadow: 0 0 0 4px rgba(24, 24, 27, 0.16) !important;
}
.ec-included-link { margin-top: 12px; border: 0; background: none; padding: 0; color: var(--ec-green); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ec-sticky-results { position: sticky; bottom: 0; z-index: 20; margin-top: 20px; padding: 12px 0 4px; background: linear-gradient(180deg, rgba(247, 249, 252, 0), rgba(247, 249, 252, 0.96) 24%, #f7f9fc 100%); }
.ec-sticky-results-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--ec-line); border-radius: 12px; background: #fff; box-shadow: var(--ec-shadow); }
.ec-sticky-copy { display: grid; gap: 4px; min-width: 0; }
.ec-sticky-name { font-size: 15px; color: var(--ec-text); }
.ec-sticky-price { font-size: 13px; color: var(--ec-muted); }
.ec-sticky-continue { white-space: nowrap; }
.ec-payment-trust, .ec-payment-secure { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--ec-green); }
.ec-included-modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: rgba(24, 24, 27, 0.55); }
.ec-included-modal.is-open, .ec-included-modal:not([hidden]) { display: grid; }
.ec-included-modal[hidden] { display: none !important; }
.ec-included-modal-panel { width: min(640px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 24px; border-radius: 16px; background: #fff; box-shadow: var(--ec-shadow); }
.ec-included-modal-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.ec-included-modal-head h3 { margin: 0; }
.ec-included-modal-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f4f6; font-size: 22px; line-height: 1; cursor: pointer; position: relative; z-index: 2; }
.ec-included-section + .ec-included-section { margin-top: 18px; }
.ec-included-section h4 { margin: 0 0 8px; }
.ec-included-section ul { margin: 0; padding-left: 1.1rem; color: var(--ec-muted); line-height: 1.55; }
body.ec-modal-open { overflow: hidden; }
@media (max-width: 720px) {
  .ec-trust-band-grid { grid-template-columns: 1fr; }
  .ec-sticky-results-inner { flex-direction: column; align-items: stretch; }
  .ec-sticky-continue { width: 100%; }
}

/* Example site overrides */
body.page-quote { background: #f7f9fc; }
body.page-quote .site-footer { margin-top: 0; }
/* Keep inactive steps hidden — landing mode must not override [hidden] */
.gform_wrapper .gform_page[hidden] {
  display: none !important;
}
.gform_wrapper.easycooling-quote-form.ec-mode-landing .gform_page:not([hidden]) {
  display: grid;
  justify-items: center;
  text-align: center;
}
.gform_wrapper.easycooling-quote-form.ec-mode-landing .gform_page:not([hidden]) .gfield {
  width: min(432px, 100%);
}
.gform_wrapper.easycooling-enquiry-form .gform_body {
  background: #fff; border: 1px solid #dce8f4; border-radius: 12px;
  box-shadow: 0 4px 24px rgba(24, 24, 27, 0.06); overflow: hidden;
}
.gform_wrapper .form-note { color: #52575c; font-size: 14px; margin-top: 12px; }
