/* Ballston Limo hosted Carrd quote widget */
.blhq-widget,
.blhq-widget * {
  box-sizing: border-box;
}

.blhq-widget {
  --blhq-bg: rgba(255, 251, 243, 0.96);
  --blhq-panel: #fffdf8;
  --blhq-ink: #171512;
  --blhq-muted: #655f54;
  --blhq-line: #dfcfaa;
  --blhq-gold: #d8bd6d;
  --blhq-gold-soft: #f3e6b4;
  --blhq-field-bg: #f5eddd;
  --blhq-field-line: #d8bd7b;
  --blhq-dark: #26231f;
  --blhq-blue: #318ce7;
  width: min(100%, 1180px);
  margin: 0 auto;
  color: var(--blhq-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.blhq-card {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 251, 243, 0.96));
  border: 1px solid var(--blhq-line);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  padding: clamp(18px, 2.4vw, 30px);
}

.blhq-title {
  margin: 0 0 18px;
  padding: 13px 17px;
  border-radius: 12px;
  background: #1d1b18;
  color: #fffdf7;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.15;
  font-weight: 650;
}

.blhq-progress {
  display: none;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--blhq-muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blhq-progress span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blhq-progress span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #d8d1c2;
}

.blhq-progress .is-active {
  color: #171512;
  font-weight: 650;
}

.blhq-progress .is-active::before {
  background: var(--blhq-gold);
}

.blhq-progress .is-done::before {
  background: var(--blhq-blue);
}

.blhq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.blhq-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.blhq-field[data-blhq-wrap="flightNumber"],
.blhq-field[data-blhq-wrap="serviceHours"],
.blhq-field[data-blhq-wrap="comments"],
.blhq-check-field,
.blhq-note {
  grid-column: 1 / -1;
}

.blhq-full {
  grid-column: 1 / -1;
}

.blhq-field label {
  color: #3d3932;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.blhq-field input,
.blhq-field select,
.blhq-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid var(--blhq-field-line);
  border-radius: 7px;
  background: var(--blhq-field-bg);
  color: #111;
  font: 400 13px/1.25 Arial, Helvetica, sans-serif;
  padding: 7px 11px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.blhq-field input[readonly] {
  color: #3d3932;
  background: var(--blhq-field-bg);
}

.blhq-field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  inline-size: 100%;
  text-align: left;
}

.blhq-field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.blhq-field textarea {
  min-height: 92px;
  resize: vertical;
  background: #fffdf8;
}

.blhq-field input:focus,
.blhq-field select:focus,
.blhq-field textarea:focus {
  border-color: var(--blhq-gold);
  box-shadow: 0 0 0 3px rgba(216, 189, 109, 0.22);
}

.blhq-field input.blhq-prefilled,
.blhq-field select.blhq-prefilled,
.blhq-field textarea.blhq-prefilled {
  color: var(--blhq-blue);
}

.blhq-field.is-invalid input,
.blhq-field.is-invalid select,
.blhq-field.is-invalid textarea {
  border-color: #c43c31;
  background: #fff7f6;
}

.blhq-error {
  display: none;
  color: #a4261d;
  font-size: 11px;
  font-weight: 600;
}

.blhq-field.is-invalid .blhq-error {
  display: block;
}

.blhq-hidden {
  display: none !important;
}

.blhq-child-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
  padding: 18px 20px;
  border: 1px dashed #d8d0c2;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.42);
}

.blhq-child-grid .blhq-field:nth-child(3) {
  grid-column: 1 / -1;
}

.blhq-check-field {
  margin: 6px 0 12px;
}

.blhq-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3d3932;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.blhq-check input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  accent-color: #318ce7;
}

.blhq-note {
  margin-top: 28px;
  color: #3d3932;
  font-size: 12px;
  line-height: 1.45;
}

.blhq-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.blhq-btn {
  appearance: none;
  border: 0;
  border-radius: 9px;
  min-height: 48px;
  min-width: min(100%, 320px);
  padding: 12px 24px;
  color: #fff;
  background: linear-gradient(180deg, #383530 0%, #201e1a 100%);
  font: 700 12px/1.1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.blhq-btn:hover,
.blhq-btn:focus {
  background: linear-gradient(180deg, #47433d 0%, #25221d 100%);
}

.blhq-btn-secondary {
  color: #171512;
  background: #fff;
  border: 1px solid #d9d0bf;
  box-shadow: none;
}

.blhq-btn-secondary:hover,
.blhq-btn-secondary:focus {
  background: #f9f4e7;
}

.blhq-trust {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 18px;
  color: #3e382e;
  font-size: 13px;
  font-weight: 650;
  flex-wrap: wrap;
}

.blhq-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.blhq-status-error {
  color: #8d2118;
  background: #fff0ee;
  border: 1px solid #efb4ad;
}

.blhq-status-info {
  color: #3c3320;
  background: #fff7dd;
  border: 1px solid #e8ce84;
}

.blhq-confirm {
  text-align: center;
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid var(--blhq-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f0df 100%);
}

.blhq-confirm h3 {
  margin: 0 0 12px;
  color: #171512;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 500;
}

.blhq-confirm p {
  margin: 0 auto 24px;
  max-width: 780px;
  color: #4a443a;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.45;
  font-weight: 500;
}

.blhq-confirm strong {
  color: #171512;
}

.blhq-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.blhq-option {
  border: 1px solid #ded2b7;
  border-radius: 14px;
  background: #fffdf8;
  padding: 16px;
}

.blhq-option h4 {
  margin: 0 0 5px;
  font-size: 16px;
}

.blhq-option p {
  margin: 0 0 14px;
  color: var(--blhq-muted);
  font-weight: 500;
}

.blhq-price {
  font-size: 20px;
  font-weight: 700;
  color: #171512;
}

.blhq-heavy-header {
  text-align: center;
  margin-bottom: 18px;
}

.blhq-heavy-header h3 {
  margin: 0 0 8px;
  color: #171512;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
}

.blhq-heavy-header p {
  margin: 0 auto;
  max-width: 760px;
  color: #514a3f;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.blhq-heavy-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #e5d9bf;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
}

.blhq-heavy-summary-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.blhq-heavy-summary-row strong {
  color: #6d624f;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blhq-heavy-summary-row span {
  color: #171512;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.blhq-heavy-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.blhq-heavy-option {
  display: grid;
  grid-template-columns: auto 86px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d8c89f;
  border-radius: 12px;
  background: #fffdf8;
  cursor: pointer;
}

.blhq-heavy-option:has(input:checked) {
  border-color: #b68d2f;
  box-shadow: 0 0 0 3px rgba(216, 189, 109, 0.22);
}

.blhq-heavy-option input {
  width: 16px;
  height: 16px;
  accent-color: #318ce7;
}

.blhq-heavy-option img {
  width: 86px;
  height: 54px;
  object-fit: contain;
  border: 1px solid #e2d7bd;
  border-radius: 8px;
  background: #fff;
}

.blhq-heavy-option strong {
  display: block;
  color: #171512;
  font-size: 14px;
  line-height: 1.2;
}

.blhq-heavy-option small {
  display: block;
  margin-top: 3px;
  color: #5f584d;
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .blhq-widget {
    width: 96%;
  }

  .blhq-card {
    padding: 16px;
    border-radius: 16px;
  }

  .blhq-title {
    font-size: 20px;
    padding: 18px;
  }

  .blhq-grid,
  .blhq-child-grid,
  .blhq-options,
  .blhq-heavy-summary,
  .blhq-heavy-options {
    grid-template-columns: 1fr;
  }

  .blhq-heavy-option {
    grid-template-columns: auto 74px minmax(0, 1fr);
  }

  .blhq-heavy-option img {
    width: 74px;
    height: 48px;
  }

  .blhq-actions {
    align-items: stretch;
  }

  .blhq-btn {
    width: 100%;
    padding-inline: 18px;
  }

  .blhq-trust {
    gap: 14px;
    font-size: 15px;
  }
}
