/* Light Up Letters — Instant Quote Form */

.lul-qf-wrap {
  max-width: 780px;
  margin: 40px auto 80px;
  padding: 0 16px;
  font-family: inherit;
  color: #1a1a1a;
}

/* Snappy, immediate feedback on every button in the form — fast transitions plus
   a quick press-down so clicks feel instant rather than sluggish. */
.lul-qf-wrap button {
  transition: background-color 0.1s ease, border-color 0.1s ease, transform 0.08s ease, opacity 0.1s ease;
}

.lul-qf-wrap button:active:not(:disabled) {
  transform: scale(0.97);
}

.lul-qf-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

@media (max-width: 700px) {
  .lul-qf-switcher { grid-template-columns: 1fr; }
}

.lul-qf-switch-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 16px 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.lul-qf-switch-btn.active {
  border-color: #c8a84b;
  background: #fdf6e3;
}

.lul-qf-switch-btn:hover:not(.active) {
  border-color: #ddd;
}

.lul-qf-switch-icon { font-size: 20px; }

.lul-qf-switch-label {
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
}

.lul-qf-switch-sub {
  font-size: 12px;
  color: #888;
}

.lul-qf-panel input[type="file"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 2px dashed #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: #fafafa;
}

.lul-qf-inline-link {
  background: none;
  border: none;
  color: #c8a84b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  padding: 10px 0 0;
  display: block;
  text-decoration: none;
}

.lul-qf-inline-link:hover { text-decoration: underline; }

.lul-qf-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
}

.lul-qf-intro {
  color: #666;
  font-size: 15px;
  margin: 0 0 28px;
}

.lul-qf-section {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.lul-qf-section-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a1a1a;
}

.lul-qf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  min-width: 0;
}

.lul-qf-grid > .lul-qf-field {
  min-width: 0; /* grid items default to min-width:auto, letting native date-input
                   content push past the cell width on some mobile browsers even
                   with width:100% set below — this lets them shrink properly. */
}

@media (max-width: 600px) {
  .lul-qf-grid { grid-template-columns: 1fr; }
}

.lul-qf-field label,
.lul-qf-section > label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 6px;
}

.lul-qf-optional {
  text-transform: none;
  font-weight: 400;
  color: #aaa;
}

/* NOTE: includes `.lul-qf-field textarea` (not just `.lul-qf-section > textarea`) so
   textareas nested inside a field wrapper — like the Buy panel's message box — get
   full width too, instead of falling back to the browser's default narrow textarea. */
.lul-qf-field input,
.lul-qf-field select,
.lul-qf-field textarea,
.lul-qf-section > textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
}

.lul-qf-field input:focus,
.lul-qf-field select:focus,
.lul-qf-field textarea:focus,
.lul-qf-section > textarea:focus {
  outline: none;
  border-color: #c8a84b;
}

/* Hardened against theme-level `textarea { ... }` styles that can otherwise beat
   the class-based selector above on specificity (seen shrinking the Buy panel's
   message box on the live site) — belt-and-braces with !important here. */
.lul-qf-wrap textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 90px;
}

.lul-qf-field-wide { width: 100%; }

.lul-qf-time-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.lul-qf-time-group {
  flex: 1;
  min-width: 200px;
}

.lul-qf-time-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 8px;
}

.lul-qf-time-pair {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lul-qf-time-pair select {
  padding: 8px 10px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
}

.lul-qf-time-sublabel {
  display: block;
  font-size: 10px;
  color: #aaa;
  margin-bottom: 4px;
}

.lul-qf-time-sep {
  color: #ccc;
  margin-top: 14px;
}

.lul-qf-upstairs-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.lul-qf-toggle-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  display: block;
  margin-bottom: 8px;
}

.lul-qf-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #ddd;
  border: none;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.lul-qf-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.lul-qf-toggle[aria-checked="true"] {
  background: #c8a84b;
}

.lul-qf-toggle[aria-checked="true"]::after {
  left: 22px;
}

.lul-qf-fee-notice {
  margin-top: 16px;
  background: #fff8e6;
  border: 1px solid #f0dfa8;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #7a5c00;
}

.lul-qf-fee-icon { flex-shrink: 0; }

.lul-qf-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.lul-qf-add-item-btn {
  background: #c8a84b;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lul-qf-add-item-btn:hover { background: #b6963f; }

.lul-qf-empty-hint {
  color: #aaa;
  font-size: 13px;
  padding: 12px 0 0;
  margin: 0;
}

.lul-qf-item {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px;
  margin-top: 16px;
  position: relative;
}

.lul-qf-item-remove {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.lul-qf-item-remove:hover { color: #c0392b; }

.lul-qf-item-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Spacing between Style / Size / Balloon colours / Characters — these render one
   after another inside .lul-qf-item-dynamic and previously had no gap between them. */
.lul-qf-item-dynamic {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lul-qf-dynamic-field { margin: 0; }

.lul-qf-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lul-qf-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #1a1a1a;
  padding: 0;
}

.lul-qf-swatch.active {
  outline: 2px solid #c8a84b;
  outline-offset: 2px;
}

.lul-qf-balloon-colours {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}

.lul-qf-selected-colours {
  font-size: 12px;
  color: #888;
  margin: 8px 0 0;
}

.lul-qf-custom-chars {
  width: 100%;
  box-sizing: border-box;
  font-size: 18px;
  letter-spacing: 3px;
  padding: 10px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-transform: uppercase;
  font-family: inherit;
}

.lul-qf-bundle-label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.lul-qf-custom-hint {
  font-size: 12px;
  color: #aaa;
  margin: 6px 0 0;
}

.lul-qf-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
  color: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.lul-qf-avail-issue {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.lul-qf-avail-issue-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.lul-qf-avail-issue-msg {
  color: #dc2626;
  font-size: 14px;
  margin: 0;
}

.lul-qf-avail-issue-disclaimer {
  font-size: 12px;
  color: #666;
  margin: 10px 0 0;
}

.lul-qf-avail-issue-disclaimer a {
  color: #c8a84b;
  text-decoration: underline;
}

.lul-qf-total-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ccc;
}

.lul-qf-total-note {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.lul-qf-total-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lul-qf-total-value {
  font-size: 26px;
  font-weight: 700;
  min-width: 90px;
  text-align: right;
}

.lul-qf-update-price-btn {
  background: #c8a84b;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.lul-qf-update-price-btn:hover { background: #b6963f; }
.lul-qf-update-price-btn:disabled { background: #555; color: #ccc; cursor: not-allowed; }

.lul-qf-submit-btn {
  width: 100%;
  background: #c8a84b;
  color: #1a1a1a;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.lul-qf-submit-btn:disabled {
  background: #eee;
  color: #aaa;
  cursor: not-allowed;
}

.lul-qf-submit-btn:not(:disabled):hover { background: #b6963f; }

.lul-qf-error {
  color: #c0392b;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
}

.lul-qf-confirmation {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 40px 24px;
  margin-top: 20px;
  border: 1px solid #eee;
}

.lul-qf-confirmation-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #e9f9ee;
  color: #16a34a;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.lul-qf-confirmation h2 { margin: 0 0 8px; }
.lul-qf-confirmation p { color: #666; margin: 0 0 20px; }

.lul-qf-confirmation .lul-qf-inline-link {
  text-align: center;
  padding-top: 14px;
}

.lul-qf-booknow-btn {
  background: #c8a84b;
  color: #1a1a1a;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.lul-qf-booknow-btn:hover { background: #b6963f; }

/* ── Step wizard ─────────────────────────────────────────────────────────── */

.lul-qf-progress {
  margin-bottom: 24px;
}

.lul-qf-progress-track {
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}

.lul-qf-progress-fill {
  height: 100%;
  background: #c8a84b;
  width: 0%;
  transition: width 0.3s ease;
}

.lul-qf-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.lul-qf-progress-labels span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #bbb;
  white-space: nowrap;
}

.lul-qf-progress-labels span.active {
  color: #1a1a1a;
}

/* On narrow screens, 5 fixed labels in a row crowd and wrap into each other.
   Show only the CURRENT step's label (not every completed one — that's what
   .active is for, used by the desktop trail styling above), centered, with a
   "Step X of N" prefix. Going back is still done via the Back button below. */
@media (max-width: 600px) {
  .lul-qf-progress-labels {
    position: relative;
    justify-content: center;
    min-height: 16px;
  }
  .lul-qf-progress-labels span {
    display: none;
    font-size: 12px;
  }
  .lul-qf-progress-labels span.current {
    display: block;
    color: #1a1a1a;
  }
  .lul-qf-progress-labels span.current::before {
    content: "Step " attr(data-step) " of " attr(data-total) " — ";
    color: #bbb;
    font-weight: 600;
  }
}

.lul-qf-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  margin-bottom: 20px;
}

.lul-qf-next-btn,
.lul-qf-back-btn {
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.lul-qf-next-btn {
  background: #c8a84b;
  color: #1a1a1a;
  margin-left: auto;
}

.lul-qf-next-btn:hover { background: #b6963f; }

.lul-qf-back-btn {
  background: none;
  color: #888;
}

.lul-qf-back-btn:hover { color: #1a1a1a; }

/* ── "I don't know yet / TBC" delivery & collection window ───────────────── */

.lul-qf-tbc-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #888;
  margin-top: 10px;
  cursor: pointer;
}

.lul-qf-tbc-toggle input { margin: 0; }

.lul-qf-tbc-followup {
  margin-top: 12px;
  padding: 12px;
  background: #fafafa;
  border-radius: 8px;
}

.lul-qf-tbc-question {
  font-size: 12px;
  font-weight: 600;
  color: #444;
  margin: 0 0 8px;
}

.lul-qf-tbc-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lul-qf-tbc-btn {
  border: 2px solid #e0e0e0;
  background: #fff;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.lul-qf-tbc-btn.active {
  border-color: #c8a84b;
  background: #fdf6e3;
  font-weight: 600;
}

.lul-qf-tbc-hours {
  margin-top: 12px;
}

.lul-qf-tbc-note {
  font-size: 11px;
  color: #b08900;
  margin: 10px 0 0;
}

/* ── "Other (not listed)" product option ─────────────────────────────────── */

.lul-qf-other-note {
  background: #fff8e6;
  border: 1px solid #f0dfa8;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #7a5c00;
}

.lul-qf-other-note a { color: #7a5c00; font-weight: 700; }

/* ── Photo picker (chips with individual remove) ──────────────────────────── */

.lul-qf-photo-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lul-qf-photo-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  max-width: 220px;
}

.lul-qf-photo-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lul-qf-photo-chip-remove {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.lul-qf-photo-chip-remove:hover { color: #c0392b; }

.lul-qf-photo-add-btn {
  border: 2px dashed #e0e0e0;
  background: #fafafa;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  color: #888;
}

.lul-qf-photo-add-btn:hover { border-color: #c8a84b; color: #1a1a1a; }

.lul-qf-photo-max-note {
  font-size: 12px;
  color: #aaa;
  margin: 0;
}
