/* ==========================================================================
   SSG booking form — widget stylesheet
   Everything is scoped under .vbf so it can be dropped into any theme
   without leaking styles. Tune from the custom properties in the .vbf
   block below; these map 1:1 to the Elementor controls.
   ========================================================================== */

.vbf {
  /* Brand — --vbf-primary is the brand colour, --vbf-primary-hi is the
     deeper shade used wherever text or icons need real contrast, and
     --vbf-primary-deep closes the gradients on filled surfaces. */
  --vbf-primary: #10a4cd;
  --vbf-primary-hi: #0a7b9b;
  --vbf-primary-deep: #076c8b;
  --vbf-primary-lite: #26bce4;
  --vbf-primary-soft: #e7f6fc;
  --vbf-ring: rgba(16, 164, 205, 0.2);

  /* Ink & surfaces */
  --vbf-ink: #14212a;
  --vbf-ink-soft: #44535e;
  --vbf-muted: #6d7c87;
  --vbf-line: #e2e8ed;
  --vbf-line-strong: #cbd5dd;
  --vbf-surface: #ffffff;
  --vbf-surface-alt: #f8fafc;

  /* States */
  --vbf-req: #e11d48;
  --vbf-danger: #d92c4c;
  --vbf-danger-soft: #fff5f7;
  --vbf-ok: #157f4a;

  /* Shape & rhythm */
  --vbf-radius: 14px;
  --vbf-radius-lg: 22px;
  --vbf-field-h: 52px;
  --vbf-gap: 18px;

  /* Typography — set --vbf-font to `inherit` to hand control back to the
     theme / Elementor global fonts, or override either variable from an
     Elementor typography control. */
  --vbf-font:
    "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    sans-serif;
  --vbf-font-heading: inherit;

  font-family: var(--vbf-font);
  color: var(--vbf-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.vbf *,
.vbf *::before,
.vbf *::after {
  box-sizing: border-box;
}

/* --------------------------------------------------------- theme reset

   Themes style bare `button`, `input` and `textarea` heavily — uppercase
   letter-spacing on buttons, their own borders and backgrounds on fields.
   Those selectors are more specific than a bare class, so without this the
   form inherits whichever theme it happens to land in.

   Wrapped in :where() so the whole block contributes no specificity of its
   own: it clears the ground for the component rules below, and every one of
   them still wins on source order. A plain `.vbf button` here would instead
   beat `.vbf-submit` and undo the button entirely.                        */

.vbf :where(button, input, textarea, select) {
  font: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.vbf :where(button) {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
}

.vbf :where(a) {
  box-shadow: none;
}

.vbf :where(h2, h3) {
  margin: 0;
  padding: 0;
  text-transform: none;
}

/* --------------------------------------------------------- card + header */

.vbf-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: var(--vbf-surface);
  border: 1px solid var(--vbf-line);
  border-radius: var(--vbf-radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(16, 32, 42, 0.04),
    0 12px 24px -12px rgba(16, 32, 42, 0.14),
    0 40px 80px -40px rgba(6, 78, 100, 0.28);
}

.vbf-head {
  position: relative;
  padding: 30px 32px 28px;
  background:
    radial-gradient(
      120% 140% at 88% -20%,
      rgba(56, 214, 255, 0.45) 0%,
      rgba(56, 214, 255, 0) 60%
    ),
    linear-gradient(
      135deg,
      var(--vbf-primary-lite) 0%,
      var(--vbf-primary) 46%,
      var(--vbf-primary-deep) 100%
    );
  color: #fff;
  isolation: isolate;
}

.vbf-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0)
  );
}

.vbf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.vbf-eyebrow .vbf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.22);
}

.vbf-title {
  margin: 0;
  font-family: var(--vbf-font-heading);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.vbf-sub {
  margin: 8px 0 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.vbf-body {
  padding: 28px 32px 30px;
}

/* --------------------------------------------------------- layout */

.vbf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vbf-gap);
  margin-bottom: var(--vbf-gap);
}

.vbf-field {
  margin-bottom: var(--vbf-gap);
  min-width: 0;
}

.vbf-row > .vbf-field {
  margin-bottom: 0;
}

.vbf-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 7px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--vbf-ink);
}

.vbf-req {
  font-family: var(--vbf-font);
  color: var(--vbf-req);
  font-weight: 700;
}

.vbf-optional {
  color: var(--vbf-muted);
  font-weight: 500;
}

/* --------------------------------------------------------- controls */

.vbf-control {
  display: block;
  width: 100%;
  height: var(--vbf-field-h);
  padding: 0 15px;
  font: inherit;
  font-size: 14.5px;
  color: var(--vbf-ink);
  background: var(--vbf-surface-alt);
  border: 1px solid var(--vbf-line);
  border-radius: var(--vbf-radius);
  outline: none;
  appearance: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.vbf-control::placeholder {
  color: #94a3af;
}

.vbf-control:hover:not(:disabled) {
  border-color: var(--vbf-line-strong);
}

.vbf-control:focus {
  background: var(--vbf-surface);
  border-color: var(--vbf-primary-hi);
  box-shadow: 0 0 0 4px var(--vbf-ring);
}

.vbf-control:disabled {
  color: #94a3af;
  background: #f1f5f8;
  border-color: var(--vbf-line);
  cursor: not-allowed;
}

textarea.vbf-control {
  height: auto;
  min-height: 116px;
  padding: 14px 15px;
  line-height: 1.55;
  resize: vertical;
}

/* Invalid state */
.vbf-field.is-invalid .vbf-control {
  background: var(--vbf-danger-soft);
  border-color: var(--vbf-danger);
}

.vbf-field.is-invalid .vbf-control:focus {
  box-shadow: 0 0 0 4px rgba(217, 44, 76, 0.14);
}

.vbf-error {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--vbf-danger);
}

.vbf-field.is-invalid .vbf-error {
  display: flex;
}

.vbf-error::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d92c4c'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

/* A whole-form failure (the server refused the booking) rather than a
   single bad field. */
.vbf-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--vbf-gap);
  padding: 13px 15px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #8f1d33;
  background: var(--vbf-danger-soft);
  border: 1px solid #f5c8d2;
  border-radius: var(--vbf-radius);
}

.vbf-alert.is-visible {
  display: flex;
}

/* ------------------------------------------- searchable custom dropdown */

.vbf-ac,
.vbf-ds {
  position: relative;
}

.vbf-ac-trigger {
  position: relative;
}

.vbf-ac-input {
  padding-left: 44px;
  padding-right: 42px;
  cursor: text;
  text-overflow: ellipsis;
}

.vbf-ac-lead,
.vbf-ac-caret {
  position: absolute;
  top: 50%;
  display: flex;
  transform: translateY(-50%);
  color: var(--vbf-muted);
  pointer-events: none;
  transition:
    color 0.18s ease,
    transform 0.2s ease;
}

.vbf-ac-lead {
  left: 15px;
}

.vbf-ac-caret {
  right: 14px;
}

.vbf-ac-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  transform: translateY(-50%);
  color: var(--vbf-muted);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}

.vbf-ac-clear:hover {
  color: var(--vbf-primary-hi);
  background: var(--vbf-primary-soft);
}

.vbf-ac-clear:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--vbf-ring);
}

.vbf-ac.has-query .vbf-ac-clear {
  display: flex;
}

.vbf-ac.has-query .vbf-ac-caret {
  display: none;
}

.vbf-ac.is-open .vbf-ac-caret {
  transform: translateY(-50%) rotate(180deg);
  color: var(--vbf-primary-hi);
}

.vbf-ac.is-open .vbf-ac-lead,
.vbf-ac.has-value .vbf-ac-lead {
  color: var(--vbf-primary-hi);
}

.vbf-ac.is-open .vbf-ac-input {
  background: var(--vbf-surface);
  border-color: var(--vbf-primary-hi);
  box-shadow: 0 0 0 4px var(--vbf-ring);
}

.vbf-ac.has-value .vbf-ac-input {
  font-weight: 550;
}

/* Spinner shown while the vehicle search is in flight. */
.vbf-ac-busy {
  position: absolute;
  top: 50%;
  right: 16px;
  display: none;
  width: 15px;
  height: 15px;
  margin-top: -7px;
  border: 2px solid var(--vbf-line-strong);
  border-top-color: var(--vbf-primary-hi);
  border-radius: 50%;
  animation: vbf-spin 0.7s linear infinite;
}

.vbf-ac.is-busy .vbf-ac-busy {
  display: block;
}

.vbf-ac.is-busy .vbf-ac-caret,
.vbf-ac.is-busy .vbf-ac-clear {
  display: none;
}

.vbf-ac-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 320px;
  padding: 6px;
  overflow-y: auto;
  background: var(--vbf-surface);
  border: 1px solid var(--vbf-line);
  border-radius: var(--vbf-radius);
  box-shadow: 0 16px 40px -12px rgba(16, 32, 42, 0.26);
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
  scrollbar-width: thin;
  scrollbar-color: var(--vbf-line-strong) transparent;
}

.vbf-ac.is-open .vbf-ac-menu,
.vbf-ds.is-open .vbf-ac-menu {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.vbf-ac-menu::-webkit-scrollbar {
  width: 10px;
}

.vbf-ac-menu::-webkit-scrollbar-thumb {
  background: var(--vbf-line-strong);
  border: 3px solid var(--vbf-surface);
  border-radius: 6px;
}

/* --------------------------------------- plain custom select (Service) */

.vbf-ds-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 44px;
  text-align: left;
  cursor: pointer;
}

.vbf-ds-trigger .vbf-ac-caret {
  position: absolute;
}

.vbf-ds-value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 550;
}

.vbf-ds-trigger.is-placeholder .vbf-ds-value {
  font-weight: 400;
  color: #94a3af;
}

.vbf-ds.is-open .vbf-ds-trigger {
  background: var(--vbf-surface);
  border-color: var(--vbf-primary-hi);
  box-shadow: 0 0 0 4px var(--vbf-ring);
}

.vbf-ds.is-open .vbf-ac-caret {
  transform: translateY(-50%) rotate(180deg);
  color: var(--vbf-primary-hi);
}

.vbf-ac-group {
  position: sticky;
  top: -6px;
  z-index: 1;
  padding: 8px 12px 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--vbf-muted);
  background: var(--vbf-surface);
  border-bottom: 1px solid var(--vbf-line);
}

.vbf-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
}

.vbf-ac-body {
  flex: 1 1 auto;
  min-width: 0;
}

.vbf-ac-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 550;
  color: var(--vbf-ink);
}

.vbf-ac-detail {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 450;
  color: var(--vbf-muted);
}

.vbf-ac-check {
  display: none;
  flex: 0 0 auto;
  color: var(--vbf-primary-hi);
}

.vbf-ac-item.is-picked .vbf-ac-check {
  display: flex;
}

.vbf-ac-item.is-picked,
.vbf-ac-item:hover,
.vbf-ac-item.is-active {
  background: var(--vbf-primary-soft);
}

.vbf-ac-item:hover .vbf-ac-name,
.vbf-ac-item.is-active .vbf-ac-name {
  color: var(--vbf-primary-hi);
}

.vbf-ac-more {
  padding: 9px 12px 4px;
  font-size: 12px;
  color: var(--vbf-muted);
  text-align: center;
}

.vbf-ac-item mark {
  background: none;
  color: var(--vbf-primary-hi);
  font-weight: 700;
}

.vbf-ac-empty {
  padding: 14px 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--vbf-muted);
  text-align: center;
}

/* --------------------------------------------------- day + time picker */

.vbf-sched {
  margin-bottom: var(--vbf-gap);
  background: var(--vbf-surface);
  border: 1px solid var(--vbf-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 32, 42, 0.03);
}

.vbf-sched-titlewrap {
  position: relative;
  border-bottom: 1px solid var(--vbf-line);
}

.vbf-sched-title {
  font-family: var(--vbf-font-heading);
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 16px 20px 13px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.vbf-sched-titlewrap::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -1px;
  width: 168px;
  max-width: calc(100% - 40px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--vbf-primary),
    var(--vbf-primary-lite)
  );
}

.vbf-sched-body {
  padding: 16px 20px 18px;
}

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

.vbf-sched-month {
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.vbf-sched-nav {
  display: flex;
  gap: 6px;
}

.vbf-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--vbf-primary-hi);
  background: var(--vbf-surface);
  border: 1px solid var(--vbf-line);
  border-radius: 9px;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.vbf-nav-btn:hover:not(:disabled) {
  background: var(--vbf-primary-soft);
  border-color: #bfe3f0;
}

.vbf-nav-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.vbf-nav-btn:disabled {
  color: #c4bfcd;
  cursor: not-allowed;
}

.vbf-nav-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--vbf-ring);
}

.vbf-days {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.vbf-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0 0 2px;
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.vbf-day-dow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--vbf-muted);
  transition: color 0.15s ease;
}

.vbf-day-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--vbf-primary-hi);
  background: var(--vbf-primary-soft);
  border: 1px solid transparent;
  border-radius: 11px;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.vbf-day:hover:not(:disabled) .vbf-day-num {
  border-color: #b8dfee;
  transform: translateY(-1px);
}

.vbf-day:focus-visible {
  outline: none;
}

.vbf-day:focus-visible .vbf-day-num {
  box-shadow: 0 0 0 4px var(--vbf-ring);
}

.vbf-day.is-selected .vbf-day-dow {
  color: var(--vbf-primary-hi);
}

.vbf-day.is-selected .vbf-day-num {
  color: #fff;
  background: linear-gradient(
    160deg,
    var(--vbf-primary),
    var(--vbf-primary-deep)
  );
  box-shadow: 0 8px 16px -8px rgba(6, 78, 100, 0.75);
}

.vbf-day:disabled {
  cursor: not-allowed;
}

.vbf-day:disabled .vbf-day-dow {
  color: #bdb7c6;
}

.vbf-day:disabled .vbf-day-num {
  color: #bdb7c6;
  background: none;
  transform: none;
  border-color: transparent;
}

.vbf-times-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--vbf-line);
}

.vbf-times-label {
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.vbf-times-label span {
  font-weight: 500;
  color: var(--vbf-muted);
}

.vbf-times-date {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--vbf-ink-soft);
}

.vbf-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 9px;
  max-height: 210px;
  overflow-y: auto;
  padding-right: 2px;
}

.vbf-time {
  padding: 12px 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  color: var(--vbf-ink);
  background: var(--vbf-surface);
  border: 1px solid var(--vbf-line-strong);
  border-radius: 11px;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.vbf-time:hover:not(:disabled):not(.is-selected) {
  border-color: var(--vbf-primary-hi);
  color: var(--vbf-primary-hi);
  transform: translateY(-1px);
}

.vbf-time.is-selected {
  color: var(--vbf-primary-hi);
  background: var(--vbf-primary-soft);
  border-color: var(--vbf-primary-hi);
  box-shadow: inset 0 0 0 1px var(--vbf-primary-hi);
  font-weight: 650;
}

.vbf-time:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--vbf-ring);
}

.vbf-times-empty {
  grid-column: 1 / -1;
  padding: 18px 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--vbf-muted);
  text-align: center;
  background: var(--vbf-surface-alt);
  border: 1px dashed var(--vbf-line-strong);
  border-radius: 11px;
}

.vbf-sched.is-invalid {
  border-color: var(--vbf-danger);
}

.vbf-sched.is-invalid .vbf-sched-body {
  background: var(--vbf-danger-soft);
}

.vbf-sched .vbf-error {
  margin-top: 12px;
}

.vbf-sched.is-invalid .vbf-error {
  display: flex;
}

/* --------------------------------------------------------- summary strip */

.vbf-estimate {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--vbf-gap);
  padding: 15px 18px;
  background: linear-gradient(180deg, #f4fbfe, #eaf7fc);
  border: 1px solid #d7edf6;
  border-radius: var(--vbf-radius);
}

.vbf-estimate.is-visible {
  display: flex;
}

.vbf-estimate-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #4d8ba3;
}

.vbf-estimate-value {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
  color: var(--vbf-ink);
}

/* --------------------------------------------------------- consent */

.vbf-consent {
  margin: 4px 0 22px;
}

.vbf-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--vbf-surface-alt);
  border: 1px solid var(--vbf-line);
  border-radius: var(--vbf-radius);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.vbf-check:hover {
  border-color: var(--vbf-line-strong);
}

.vbf-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vbf-check-box {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: var(--vbf-surface);
  border: 1.5px solid var(--vbf-line-strong);
  border-radius: 6px;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.vbf-check-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 13px no-repeat;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease;
}

.vbf-check input:checked + .vbf-check-box {
  background: linear-gradient(
    160deg,
    var(--vbf-primary),
    var(--vbf-primary-deep)
  );
  border-color: var(--vbf-primary-hi);
}

.vbf-check input:checked + .vbf-check-box::after {
  opacity: 1;
  transform: none;
}

.vbf-check input:focus-visible + .vbf-check-box {
  box-shadow: 0 0 0 4px var(--vbf-ring);
}

.vbf-check-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--vbf-ink-soft);
}

.vbf-consent.is-invalid .vbf-check {
  background: var(--vbf-danger-soft);
  border-color: var(--vbf-danger);
}

.vbf-consent .vbf-error {
  margin-left: 2px;
}

.vbf-consent.is-invalid .vbf-error {
  display: flex;
}

/* --------------------------------------------------------- submit */

.vbf-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.005em;
  color: #fff;
  background: linear-gradient(
    140deg,
    var(--vbf-primary-lite) 0%,
    var(--vbf-primary) 50%,
    var(--vbf-primary-deep) 100%
  );
  border: none;
  border-radius: var(--vbf-radius);
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 22px -10px rgba(6, 78, 100, 0.72);
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.vbf-submit::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-18deg);
  transition: left 0.5s ease;
}

.vbf-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 30px -12px rgba(6, 78, 100, 0.8);
}

.vbf-submit:hover:not(:disabled)::before {
  left: 120%;
}

.vbf-submit:active:not(:disabled) {
  transform: translateY(0) scale(0.995);
}

.vbf-submit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px var(--vbf-ring),
    0 10px 22px -10px rgba(6, 78, 100, 0.6);
}

.vbf-submit:disabled {
  cursor: progress;
  opacity: 0.9;
}

.vbf-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: vbf-spin 0.7s linear infinite;
}

.vbf-submit.is-loading .vbf-spinner {
  display: block;
}

.vbf-submit.is-loading .vbf-submit-icon {
  display: none;
}

@keyframes vbf-spin {
  to {
    transform: rotate(360deg);
  }
}

.vbf-foot {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--vbf-muted);
  text-align: center;
}

.vbf-foot a {
  color: var(--vbf-primary-hi);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vbf-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--vbf-line);
}

.vbf-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--vbf-ink-soft);
}

.vbf-trust svg {
  color: var(--vbf-ok);
  flex: 0 0 auto;
}

/* Honeypot. Off-screen rather than display:none — some bots skip hidden
   fields, and anything that fills this in is not a person. */
.vbf-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------- success state */

.vbf-success {
  display: none;
  padding: 46px 32px 44px;
  text-align: center;
}

.vbf.is-sent .vbf-form-inner {
  display: none;
}

.vbf.is-sent .vbf-success {
  display: block;
}

.vbf-success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 20px;
  color: #fff;
  background: linear-gradient(
    160deg,
    var(--vbf-primary),
    var(--vbf-primary-deep)
  );
  border-radius: 50%;
  box-shadow:
    0 0 0 10px var(--vbf-primary-soft),
    0 14px 28px -12px rgba(6, 78, 100, 0.7);
}

.vbf-success h3 {
  margin: 0 0 8px;
  font-family: var(--vbf-font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.vbf-success p {
  margin: 0 auto;
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--vbf-muted);
}

p.vbf-success-note {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  margin: 34px auto 0;
  padding: 10px 18px 10px 12px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  text-align: left;
  color: #12694a;
  background: #eafaf1;
  border: 1px solid #c9eeda;
  border-radius: 12px;
  overflow-wrap: break-word;
}

p.vbf-success-note > span:last-child {
  min-width: 0;
}

.vbf-note-ico {
  display: flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--vbf-ok);
  background: #fff;
  border: 1px solid #c9eeda;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(21, 127, 74, 0.08);
}

/* --------------------------------------------------- deposit / redirect */

.vbf-pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 420px;
  margin: 22px auto 0;
  padding: 16px 18px;
  text-align: left;
  background: linear-gradient(180deg, #f4fbfe, #eaf7fc);
  border: 1px solid #d7edf6;
  border-radius: var(--vbf-radius);
}

.vbf-pay-body {
  flex: 1 1 auto;
  min-width: 0;
}

.vbf-pay-label {
  display: block;
  margin-bottom: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #4d8ba3;
}

.vbf-pay-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--vbf-ink-soft);
}

.vbf-pay-text strong {
  color: var(--vbf-primary-hi);
  font-weight: 700;
}

.vbf-pay-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 650;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(
    140deg,
    var(--vbf-primary-lite),
    var(--vbf-primary) 55%,
    var(--vbf-primary-deep)
  );
  border-radius: 11px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 18px -10px rgba(6, 78, 100, 0.8);
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease;
}

.vbf-pay-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 24px -12px rgba(6, 78, 100, 0.85);
}

.vbf-pay-btn:active {
  transform: none;
}

.vbf-pay-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--vbf-ring);
}

p.vbf-pay-countdown {
  display: none;
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--vbf-muted);
}

p.vbf-pay-countdown.is-visible {
  display: block;
}

.vbf-recap {
  margin: 22px auto 24px;
  max-width: 420px;
  text-align: left;
  background: var(--vbf-surface-alt);
  border: 1px solid var(--vbf-line);
  border-radius: var(--vbf-radius);
  overflow: hidden;
}

.vbf-recap div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  font-size: 13.5px;
}

.vbf-recap div + div {
  border-top: 1px solid var(--vbf-line);
}

.vbf-recap dt {
  color: var(--vbf-muted);
}

.vbf-recap dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

/* --------------------------------------------------------- a11y + motion */

@media (prefers-reduced-motion: reduce) {
  .vbf *,
  .vbf *::before,
  .vbf *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------- responsive */

/* The day strip never scrolls sideways — padding, gaps and type shrink
   with the viewport so all six days always fit on one line. */

@media (max-width: 700px) {
  .vbf {
    --vbf-gap: 15px;
    --vbf-field-h: 50px;
  }

  .vbf-head {
    padding: 24px 20px 22px;
  }

  .vbf-body {
    padding: 22px 20px 24px;
  }

  .vbf-success {
    padding: 38px 20px 34px;
  }

  .vbf-sched-body {
    padding: 14px 16px 16px;
  }

  .vbf-days {
    gap: 5px;
  }

  .vbf-day-num {
    min-height: 44px;
    font-size: 15px;
  }

  /* on phones the panel grows instead of scrolling inside itself —
     a clipped half-row reads as broken on a small screen */
  .vbf-times {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .vbf-row {
    grid-template-columns: 1fr;
  }

  .vbf-card {
    border-radius: 18px;
  }

  .vbf-estimate {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .vbf-body {
    padding: 20px 16px 22px;
  }

  .vbf-sched-body {
    padding: 13px 12px 15px;
  }

  .vbf-sched-title {
    padding: 14px 16px 12px;
    font-size: 16px;
  }

  .vbf-sched-titlewrap::after {
    left: 16px;
    width: 150px;
  }

  .vbf-days {
    gap: 4px;
  }

  .vbf-day {
    gap: 5px;
  }

  .vbf-day-dow {
    font-size: 9.5px;
    letter-spacing: 0.03em;
  }

  .vbf-day-num {
    min-height: 42px;
    font-size: 14.5px;
    border-radius: 10px;
  }

  .vbf-times-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin: 15px 0 11px;
  }

  .vbf-times {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .vbf-time {
    padding: 11px 4px;
    font-size: 13px;
  }

  .vbf-pay {
    align-items: stretch;
    gap: 12px;
  }

  .vbf-pay-btn {
    justify-content: center;
  }
}

/* Small phones (400px and under): the tightest the strip has to survive */
@media (max-width: 400px) {
  .vbf {
    --vbf-gap: 13px;
    --vbf-field-h: 48px;
  }

  .vbf-head {
    padding: 22px 16px 20px;
  }

  .vbf-body {
    padding: 18px 12px 20px;
  }

  .vbf-success {
    padding: 32px 16px 30px;
  }

  .vbf-sched-body {
    padding: 12px 9px 14px;
  }

  .vbf-sched-title {
    padding: 13px 14px 11px;
    font-size: 15.5px;
  }

  .vbf-sched-titlewrap::after {
    left: 14px;
    width: 132px;
  }

  .vbf-sched-month {
    font-size: 13.5px;
  }

  .vbf-nav-btn {
    width: 29px;
    height: 29px;
  }

  .vbf-days {
    gap: 3px;
  }

  .vbf-day {
    gap: 4px;
  }

  .vbf-day-dow {
    font-size: 8.5px;
    letter-spacing: 0.01em;
  }

  .vbf-day-num {
    min-height: 38px;
    font-size: 13.5px;
    border-radius: 9px;
  }

  .vbf-times {
    gap: 6px;
  }

  .vbf-time {
    padding: 10px 2px;
    font-size: 12px;
    border-radius: 9px;
  }

  .vbf-check {
    padding: 12px 13px;
  }

  .vbf-check-text {
    font-size: 12.5px;
  }

  .vbf-submit {
    min-height: 52px;
    font-size: 15px;
  }

  .vbf-trust {
    gap: 7px 14px;
  }

  .vbf-trust span {
    font-size: 12px;
  }
}


/* ==========================================================================
   Theme-proofing

   Re-asserts the properties themes most often reach for, at a specificity
   (0,2,0) that beats the usual offenders — `h2`, `input[type="text"]`,
   `.entry-content a`. Kept in one block at the end rather than scattered
   through the file so the design above stays readable, and so there is a
   single place to add to when a theme finds a new way in.

   The heading colour is the clearest example of why this is needed: it is
   white by inheritance from the header, and inheritance loses to any rule
   that names the element directly, so a theme styling `h2` turned the
   heading dark on its own background.
   ========================================================================== */

.vbf .vbf-title,
.vbf .vbf-eyebrow {
  color: #fff;
}

.vbf .vbf-sub {
  color: rgba(255, 255, 255, 0.72);
}

.vbf .vbf-label {
  color: var(--vbf-ink);
  text-transform: none;
}

.vbf .vbf-control {
  width: 100%;
  height: var(--vbf-field-h);
  font-size: 14.5px;
  line-height: normal;
  color: var(--vbf-ink);
  background-color: var(--vbf-surface-alt);
  border: 1px solid var(--vbf-line);
  border-radius: var(--vbf-radius);
}

.vbf textarea.vbf-control {
  height: auto;
  min-height: 116px;
  line-height: 1.55;
}

.vbf .vbf-control:focus {
  background-color: var(--vbf-surface);
  border-color: var(--vbf-primary-hi);
}

.vbf .vbf-ac-input {
  padding-left: 44px;
  padding-right: 42px;
}

.vbf .vbf-ds-trigger {
  padding-right: 44px;
}

.vbf .vbf-submit {
  width: 100%;
  min-height: 56px;
  color: #fff;
  background-image: linear-gradient(
    140deg,
    var(--vbf-primary-lite) 0%,
    var(--vbf-primary) 50%,
    var(--vbf-primary-deep) 100%
  );
  border: none;
  border-radius: var(--vbf-radius);
}

.vbf .vbf-submit:hover:not(:disabled),
.vbf .vbf-submit:focus {
  color: #fff;
  background-image: linear-gradient(
    140deg,
    var(--vbf-primary-lite) 0%,
    var(--vbf-primary) 50%,
    var(--vbf-primary-deep) 100%
  );
}

.vbf .vbf-day-num {
  color: var(--vbf-primary-hi);
  background-color: var(--vbf-primary-soft);
}

.vbf .vbf-day.is-selected .vbf-day-num {
  color: #fff;
  background-image: linear-gradient(
    160deg,
    var(--vbf-primary),
    var(--vbf-primary-deep)
  );
}

.vbf .vbf-day:disabled .vbf-day-num {
  color: #bdb7c6;
  background-color: transparent;
}

.vbf .vbf-time {
  color: var(--vbf-ink);
  background-color: var(--vbf-surface);
  border: 1px solid var(--vbf-line-strong);
  border-radius: 11px;
}

.vbf .vbf-time:hover:not(.is-selected) {
  color: var(--vbf-primary-hi);
  background-color: var(--vbf-surface);
  border-color: var(--vbf-primary-hi);
}

.vbf .vbf-time.is-selected {
  color: var(--vbf-primary-hi);
  background-color: var(--vbf-primary-soft);
  border-color: var(--vbf-primary-hi);
}

.vbf .vbf-nav-btn {
  color: var(--vbf-primary-hi);
  background-color: var(--vbf-surface);
  border: 1px solid var(--vbf-line);
  border-radius: 9px;
}

.vbf .vbf-nav-btn:hover:not(:disabled) {
  background-color: var(--vbf-primary-soft);
}

.vbf .vbf-ac-item:hover .vbf-ac-name {
  color: var(--vbf-primary-hi);
}

.vbf .vbf-check-text {
  color: var(--vbf-ink-soft);
}

.vbf .vbf-foot a,
.vbf .vbf-foot a:hover {
  color: var(--vbf-primary-hi);
  background: none;
}

.vbf .vbf-pay-btn,
.vbf .vbf-pay-btn:hover {
  color: #fff;
  background-image: linear-gradient(
    140deg,
    var(--vbf-primary-lite),
    var(--vbf-primary) 55%,
    var(--vbf-primary-deep)
  );
  border-radius: 11px;
}

.vbf .vbf-recap dt {
  color: var(--vbf-muted);
}

.vbf .vbf-recap dd {
  margin: 0;
  color: var(--vbf-ink);
}

.vbf .vbf-success h3 {
  color: var(--vbf-ink);
}


/* --------------------------------------------------------------------------
   Interactive states, held against the theme

   The day tiles are the clearest case. `.vbf-day` is a bare <button> used as
   a layout wrapper — the visible tile is the span inside it — so it has no
   background of its own to defend with, and a theme styling `button:hover`
   paints a slab behind the tile and recolours the weekday above it.

   Every state is pinned rather than only :hover. A theme that styles hover
   almost always styles :focus and :active the same way, and a tile that goes
   dark the moment it is clicked is the one the customer is looking at.
   -------------------------------------------------------------------------- */

.vbf .vbf-day,
.vbf .vbf-day:hover,
.vbf .vbf-day:focus,
.vbf .vbf-day:active,
.vbf .vbf-day:disabled {
  background: none;
  border: none;
  box-shadow: none;
  text-align: center;
  outline: none;
}

.vbf .vbf-day:hover:not(:disabled) .vbf-day-dow,
.vbf .vbf-day:focus .vbf-day-dow {
  color: var(--vbf-muted);
}

.vbf .vbf-day.is-selected .vbf-day-dow,
.vbf .vbf-day.is-selected:hover .vbf-day-dow {
  color: var(--vbf-primary-hi);
}

.vbf .vbf-day:hover:not(:disabled) .vbf-day-num {
  color: var(--vbf-primary-hi);
  background-color: var(--vbf-primary-soft);
  border-color: #b8dfee;
}

.vbf .vbf-day.is-selected:hover .vbf-day-num {
  color: #fff;
  background-color: var(--vbf-primary);
}

/* Buttons centre their own label by default; the reset above deliberately
   leaves text-align alone so that keeps working, and these say so outright
   for any theme that sets it on `button` directly. */
.vbf .vbf-time,
.vbf .vbf-time:hover,
.vbf .vbf-time:focus {
  text-align: center;
  text-decoration: none;
  outline: none;
}

.vbf .vbf-nav-btn,
.vbf .vbf-nav-btn:hover,
.vbf .vbf-nav-btn:focus,
.vbf .vbf-nav-btn:active {
  text-align: center;
  outline: none;
  box-shadow: none;
}

.vbf .vbf-nav-btn:hover:not(:disabled) {
  color: var(--vbf-primary-hi);
  background-color: var(--vbf-primary-soft);
}

.vbf .vbf-submit,
.vbf .vbf-submit:hover,
.vbf .vbf-submit:focus {
  text-align: center;
  outline: none;
}

.vbf .vbf-ac-clear,
.vbf .vbf-ac-clear:hover,
.vbf .vbf-ac-clear:focus {
  background-color: transparent;
  outline: none;
  box-shadow: none;
}

.vbf .vbf-ac-clear:hover {
  background-color: var(--vbf-primary-soft);
}

/* Keyboard focus stays visible — the outlines removed above are the theme's,
   and this puts the form's own ring back in their place. */
.vbf .vbf-day:focus-visible .vbf-day-num,
.vbf .vbf-time:focus-visible,
.vbf .vbf-nav-btn:focus-visible,
.vbf .vbf-submit:focus-visible,
.vbf .vbf-ac-clear:focus-visible {
  box-shadow: 0 0 0 4px var(--vbf-ring);
}


/* --------------------------------------------------------------------------
   Progressive disclosure

   The picker reveals itself in the order the choices actually depend on each
   other: service, then day, then time. Availability is per-service and times
   are per-day, so anything shown ahead of its input would be a guess.

   Hiding rather than disabling. A greyed-out grid of dates still reads as a
   grid of dates, and people try to click it; an explanatory line in its place
   says what to do next.
   -------------------------------------------------------------------------- */

.vbf-sched-prompt {
  display: none;
  margin: 0;
  padding: 18px 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--vbf-muted);
  text-align: center;
  background: var(--vbf-surface-alt);
  border: 1px dashed var(--vbf-line-strong);
  border-radius: 11px;
}

/* No service yet: the entire picker collapses to the prompt. */
.vbf-sched.is-locked .vbf-sched-prompt {
  display: block;
}

.vbf-sched.is-locked .vbf-sched-head,
.vbf-sched.is-locked .vbf-days,
.vbf-sched.is-locked .vbf-times-head,
.vbf-sched.is-locked .vbf-times {
  display: none;
}

/* Service chosen, no day yet: days are shown, times stay out of the way. */
.vbf-sched.no-date .vbf-times-head,
.vbf-sched.no-date .vbf-times {
  display: none;
}

/* The times panel is a grid, so it needs its own display value back rather
   than the `block` a plain unhide would give it. */
.vbf-sched .vbf-times {
  display: grid;
}


/* --------------------------------------------------------------------------
   The notes field, which becomes the service description for "Other"

   Only its wording and its required marker change — there is one textarea,
   and the customer never sees a box appear beside another asking much the
   same thing.
   -------------------------------------------------------------------------- */

/* Switched off in the widget settings. Still rendered, because picking
   "Other" has to be able to bring it back. */
.vbf .vbf-notes.is-hidden {
  display: none;
}

.vbf .vbf-notes .vbf-req {
  display: none;
}

.vbf .vbf-notes.is-required .vbf-req {
  display: inline;
}

.vbf .vbf-notes.is-required .vbf-optional {
  display: none;
}
