/* Added in the 2026 move off IIS. The original look lives in haywoodsblindsv2.css, untouched. */

/* ---------- Quote form ---------- */
.hbq {
  --hb-yellow: #f1e80f;
  --hb-yellow-deep: #d9cf00;
  --hb-charcoal: #414141;
  --hb-ink: #1d1d1d;
  --hb-purple: #56568d;
  --hb-line: #e4e4e4;
  --hb-soft: #f7f7f5;
  --hb-red: #b3261e;
  --hb-green: #2e7d32;
  font-family: 'Montserrat', sans-serif;
  text-align: left;
  color: var(--hb-ink);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.08);
  overflow: hidden;
  margin: 10px 0 30px;
  max-width: 920px;
  border: 1px solid var(--hb-line);
}
.hbq *, .hbq *::before, .hbq *::after { box-sizing: border-box; }

.hbq-head {
  background: var(--hb-charcoal);
  color: #fff;
  padding: 26px 26px 20px;
  position: relative;
}
.hbq-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: repeating-linear-gradient(90deg, var(--hb-yellow) 0 22px, #e2d900 22px 26px);
}
.hbq-kicker {
  display: inline-block; background: var(--hb-yellow); color: var(--hb-ink);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.hbq-title { margin: 12px 0 6px; font-size: 24px; line-height: 1.2; color: #fff; }
.hbq-lede { margin: 0; color: #d7d7d7; font-size: 15px; }

.hbq-progress { list-style: none; display: flex; gap: 8px; margin: 18px 0 4px; padding: 0; flex-wrap: wrap; }
.hbq-progress li {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #bdbdbd;
  padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.06);
  transition: background .25s, color .25s;
}
.hbq-progress li span {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 12px; background: rgba(255,255,255,.14); color: #fff;
}
.hbq-progress li.is-on { color: #fff; background: rgba(241,232,15,.16); }
.hbq-progress li.is-on span { background: var(--hb-yellow); color: var(--hb-ink); }

.hbq-form { margin: 0; }
.hbq-step { border: 0; margin: 0; padding: 24px 26px; border-bottom: 1px solid var(--hb-line); min-width: 0; }
.hbq-step legend {
  display: flex; align-items: center; gap: 10px; float: left; width: 100%;
  font-size: 18px; font-weight: 700; padding: 0; margin-bottom: 6px;
}
.hbq-step legend + * { clear: both; }
.hbq-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--hb-yellow);
  display: grid; place-items: center; font-size: 15px; font-weight: 700; flex: none;
}
.hbq-help { margin: 4px 0 16px; color: #555; font-size: 14px; clear: both; }
.hbq-help a, .hbq-small a { color: var(--hb-purple); font-weight: 600; }

/* fields */
.hbq-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.hbq-row-end { margin-top: 14px; }
.hbq-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 140px; min-width: 0; }
.hbq-grow { flex: 3 1 220px; }
.hbq-unit { flex: 0 1 120px; }
.hbq-field > span { font-size: 13px; font-weight: 600; color: #333; }
.hbq-field em { font-style: normal; font-weight: 400; color: #888; }
.hbq input[type=text], .hbq input[type=email], .hbq input[type=tel], .hbq select, .hbq textarea {
  font: inherit; font-size: 16px; width: 100%;
  padding: 12px 14px; border: 1.5px solid #cfcfcf; border-radius: 10px; background: #fff; color: var(--hb-ink);
  transition: border-color .15s, box-shadow .15s;
}
.hbq textarea { resize: vertical; min-height: 84px; }
.hbq input:focus, .hbq select:focus, .hbq textarea:focus {
  outline: none; border-color: var(--hb-charcoal); box-shadow: 0 0 0 4px rgba(241,232,15,.55);
}
.hbq .is-invalid { border-color: var(--hb-red) !important; box-shadow: 0 0 0 3px rgba(179,38,30,.12) !important; }
.hbq-times { font-size: 22px; color: #999; padding-bottom: 10px; flex: none; }

/* recess cards */
.hbq-recess { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.hbq-recess-opt, .hbq-choice-opt { position: relative; cursor: pointer; display: block; }
.hbq-recess-opt input, .hbq-choice-opt input, .hbq-pill input { position: absolute; opacity: 0; pointer-events: none; }
.hbq-recess-card, .hbq-choice-card {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  border: 1.5px solid #d6d6d6; border-radius: 12px; padding: 12px; background: #fff; height: 100%;
  transition: border-color .15s, background .15s, transform .15s;
}
.hbq-choice-card { grid-template-columns: 1fr; padding: 14px 16px; }
.hbq-recess-card svg { grid-row: 1 / span 2; width: 64px; height: 48px; }
.hbq-recess-card b, .hbq-choice-card b { font-size: 14px; }
.hbq-recess-card small, .hbq-choice-card small { color: #777; font-size: 12px; }
.hbq-recess-card .wall { fill: #ececec; }
.hbq-recess-card .glass { fill: #cfe3ee; }
.hbq-recess-card .blind { fill: #9a9a9a; transition: fill .15s; }
.hbq-recess-opt:hover .hbq-recess-card, .hbq-choice-opt:hover .hbq-choice-card { border-color: #9b9b9b; }
.hbq-recess-opt input:checked + .hbq-recess-card,
.hbq-choice-opt input:checked + .hbq-choice-card {
  border-color: var(--hb-charcoal); background: #fffde0; box-shadow: inset 0 0 0 1px var(--hb-charcoal);
}
.hbq-recess-opt input:checked + .hbq-recess-card .blind { fill: var(--hb-charcoal); }
.hbq-recess-opt input:focus-visible + .hbq-recess-card,
.hbq-choice-opt input:focus-visible + .hbq-choice-card,
.hbq-pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(241,232,15,.75); }

/* adder + list */
.hbq-adder { background: var(--hb-soft); border: 1px dashed #d2d2c8; border-radius: 12px; padding: 16px; }
.hbq-add {
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; flex: 0 0 auto;
  padding: 12px 20px; border-radius: 10px; border: 0; background: var(--hb-charcoal); color: #fff;
  display: inline-flex; align-items: center; gap: 8px; transition: background .15s, transform .1s;
}
.hbq-add::before { content: "+"; font-size: 20px; line-height: 1; color: var(--hb-yellow); }
.hbq-add.is-editing::before { content: "\2713"; font-size: 16px; }
.hbq-add:hover { background: #222; }
.hbq-add:active { transform: translateY(1px); }
.hbq-inline-msg { margin: 10px 0 0; font-size: 13px; color: #8a5a00; min-height: 0; }
.hbq-inline-msg:empty { display: none; }

.hbq-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.hbq-item {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
  border: 1px solid var(--hb-line); border-left: 5px solid var(--hb-yellow); border-radius: 10px;
  padding: 12px 12px 12px 14px; background: #fff; animation: hbq-in .28s ease-out;
}
.hbq-item.is-editing { border-left-color: var(--hb-purple); background: #f6f6fb; }
.hbq-item-n { width: 40px; height: 40px; border-radius: 8px; background: var(--hb-charcoal); color: var(--hb-yellow); display: grid; place-items: center; font-weight: 700; }
.hbq-item-size { font-weight: 700; font-size: 16px; }
.hbq-item-meta { font-size: 13px; color: #666; }
.hbq-item-actions { display: flex; gap: 6px; }
.hbq-item-actions button {
  font: inherit; font-size: 13px; font-weight: 600; border: 1px solid #d6d6d6; background: #fff; color: #333;
  border-radius: 8px; padding: 7px 10px; cursor: pointer;
}
.hbq-item-actions button:hover { border-color: #888; }
.hbq-item-actions .hbq-del:hover { border-color: var(--hb-red); color: var(--hb-red); }
.hbq-empty { margin: 12px 0 0; font-size: 13px; color: #888; }
.hbq-list:not(:empty) + .hbq-empty { display: none; }
@keyframes hbq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* choices + pills */
.hbq-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hbq-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hbq-pill { cursor: pointer; position: relative; }
.hbq-pill span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid #d0d0d0; font-size: 14px; font-weight: 600; background: #fff; transition: all .15s; user-select: none;
}
.hbq-pill span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #aaa; transition: all .15s; }
.hbq-pill:hover span { border-color: #888; }
.hbq-pill input:checked + span { background: var(--hb-yellow); border-color: var(--hb-yellow-deep); }
.hbq-pill input:checked + span::before {
  border-color: var(--hb-ink); background: var(--hb-ink);
  box-shadow: inset 0 0 0 2px var(--hb-yellow);
}
.hbq-named { margin-top: 14px; display: grid; gap: 14px; }
.hbq-named[hidden], .hbq-ranges[hidden] { display: none; }
.hbq-fabric-link {
  display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--hb-ink);
  border: 1.5px solid #d6d6d6; border-radius: 12px; padding: 10px; transition: border-color .15s;
}
.hbq-fabric-link:hover { border-color: var(--hb-charcoal); }
.hbq-fabric-link img { width: 92px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.hbq-fabric-link b { display: block; font-size: 14px; }
.hbq-fabric-link small { color: #777; font-size: 12px; }

/* details */
.hbq-also { margin: 6px 0 18px; }
.hbq-also-title { font-size: 14px; font-weight: 600; margin: 0; }
.hbq-also .hbq-pills { margin-top: 8px; }
.hbq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hbq-span { grid-column: 1 / -1; }

/* submit */
.hbq-submit { padding: 22px 26px 26px; background: var(--hb-soft); text-align: center; }
.hbq-turnstile { display: flex; justify-content: center; min-height: 65px; margin-bottom: 12px; }
.hbq-send {
  font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; width: 100%; max-width: 420px;
  padding: 16px 24px; border-radius: 12px; border: 0; color: var(--hb-ink);
  background: var(--hb-yellow); box-shadow: 0 3px 0 var(--hb-yellow-deep), 0 8px 18px rgba(217,207,0,.35);
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  transition: transform .1s, box-shadow .1s, filter .15s;
}
.hbq-send:hover { filter: brightness(1.04); }
.hbq-send:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--hb-yellow-deep), 0 4px 10px rgba(217,207,0,.3); }
.hbq-send[disabled] { cursor: progress; filter: saturate(.6); }
.hbq-spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(0,0,0,.2); border-top-color: var(--hb-ink); display: none; animation: hbq-spin .7s linear infinite; }
.hbq.is-sending .hbq-spinner { display: inline-block; }
@keyframes hbq-spin { to { transform: rotate(360deg); } }
.hbq-small { font-size: 13px; color: #666; margin: 12px 0 0; }
.hbq-error-text { color: var(--hb-red); font-weight: 600; font-size: 14px; margin: 8px 0 0; }

/* sent */
.hbq-done { padding: 40px 26px; text-align: center; outline: none; }
.hbq-done h3 { font-size: 24px; margin: 14px 0 8px; }
.hbq-done p { margin: 6px 0; color: #444; }
.hbq-done a { color: var(--hb-purple); font-weight: 700; }
.hbq-tick svg { width: 76px; height: 76px; }
.hbq-tick circle { fill: var(--hb-yellow); }
.hbq-tick path { fill: none; stroke: var(--hb-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: hbq-draw .5s .15s ease-out forwards; }
@keyframes hbq-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 640px) {
  .hbq-head, .hbq-step, .hbq-submit { padding-left: 16px; padding-right: 16px; }
  .hbq-title { font-size: 20px; }
  .hbq-times { display: none; }
  .hbq-recess, .hbq-choice, .hbq-grid { grid-template-columns: 1fr; }
  .hbq-add { width: 100%; justify-content: center; }
  .hbq-item { grid-template-columns: 34px 1fr; }
  .hbq-item-n { width: 34px; height: 34px; }
  .hbq-item-actions { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .hbq *, .hbq *::before, .hbq *::after { animation: none !important; transition: none !important; }
  .hbq-tick path { stroke-dashoffset: 0; }
}

/* ---------- Contact form ---------- */
.hbc { display: grid; gap: 12px; max-width: 420px; text-align: left; }
.hbc input, .hbc textarea {
  font: inherit; font-size: 16px; width: 100%; box-sizing: border-box;
  padding: 12px 14px; border: 1.5px solid #cfcfcf; border-radius: 10px;
}
.hbc input:focus, .hbc textarea:focus { outline: none; border-color: #414141; box-shadow: 0 0 0 4px rgba(241,232,15,.55); }
.hbc .is-invalid { border-color: #b3261e; }
.hbc button {
  font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; padding: 16px; border: 0; border-radius: 10px;
  background: #f4ea00; box-shadow: 0 3px 0 #d9cf00;
}
.hbc button[disabled] { cursor: progress; opacity: .7; }
.hbc-msg { font-weight: 600; margin: 0; }
.hbc-msg.is-error { color: #b3261e; }
.hbc-done { font-size: 18px; font-weight: 700; }
