/* Clear Path Fee Calculator — v2.0.0 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --cpfc-navy:      #0b1c2c;
  --cpfc-navy-lt:   #1a3048;
  --cpfc-gold:      #caa75e;
  --cpfc-gold-lt:   #e8d4a0;
  --cpfc-gold-dk:   #a8883a;
  --cpfc-white:     #ffffff;
  --cpfc-grey:      #6b7280;
}

.cpfc-wrap * { box-sizing: border-box; margin: 0; padding: 0; }

.cpfc-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 16px 20px;
  align-self: flex-start;
  height: fit-content;
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  background: var(--cpfc-navy);
  border-radius: 20px;
}

/* ── Header ── */
.cpfc-logo-bar      { text-align: center; padding: 24px 0 8px; }
.cpfc-brand         { font-family: 'Playfair Display', serif; font-size: 13px; letter-spacing: 2px; color: var(--cpfc-gold-lt); text-transform: uppercase; opacity: .8; }
.cpfc-h1            { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: #fff; margin: 6px 0 4px; }
.cpfc-sub           { font-size: 14px; color: #a0b4c8; margin-bottom: 16px; }

/* ── Trust bar ── */
.cpfc-trust-bar     { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; margin: 12px 0 24px; }
.cpfc-trust-bar span { font-size: 12px; color: var(--cpfc-gold-lt); display: flex; align-items: center; gap: 5px; }
.cpfc-trust-bar span::before { content: '✓'; color: var(--cpfc-gold); font-weight: 700; }

/* ── Card ── */
.cpfc-card { background: #fff; border-radius: 16px; padding: 28px 24px; color: #1a2530; }

/* ── Progress bar ── */
.cpfc-progress-bar  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; position: relative; }
.cpfc-progress-bar::before { content: ''; position: absolute; top: 14px; left: 20px; right: 20px; height: 2px; background: #e5e7eb; z-index: 0; }
.cpfc-prog-fill     { position: absolute; top: 14px; left: 20px; height: 2px; background: var(--cpfc-gold); z-index: 1; transition: width .4s; }
.cpfc-step-dot      { display: flex; flex-direction: column; align-items: center; z-index: 2; position: relative; flex-shrink: 0; }
.cpfc-step-dot.active { /* active state handled by .cpfc-dot-num */ }
.cpfc-step-dot.done   { /* done state handled by .cpfc-dot-num */ }

/* ── Step header ── */
.cpfc-step-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.cpfc-step-num    { width: 32px; height: 32px; border-radius: 50%; background: var(--cpfc-gold); color: var(--cpfc-navy); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'DM Sans', sans-serif; }
.cpfc-step-title  { font-family: 'Playfair Display', serif; font-size: 18px; color: #0b1c2c; font-weight: 700; }

.cpfc-section-sub { font-size: 13px; color: #6b7280; margin-bottom: 20px; }

/* ── Button options ── */
.cpfc-btn-group  { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cpfc-btn-option { border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 14px 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all .2s; background: #fff; text-align: left; }
.cpfc-btn-option:hover    { border-color: var(--cpfc-gold); background: #fffdf7; }
.cpfc-btn-option.selected { border-color: var(--cpfc-gold); background: #fffdf7; box-shadow: 0 0 0 3px rgba(202,167,94,.15); }
.cpfc-opt-label  { font-size: 14px; font-weight: 500; color: #1a2530; pointer-events: none; }
.cpfc-opt-sub    { font-size: 11px; color: #6b7280; pointer-events: none; }
.cpfc-opt-popular { display: flex; flex-direction: column; gap: 3px; }
.cpfc-opt-badge  { font-size: 11px; background: var(--cpfc-gold); color: #fff; padding: 2px 8px; border-radius: 20px; font-weight: 600; white-space: nowrap; pointer-events: none; }
.cpfc-opt-price  { font-size: 13px; color: var(--cpfc-gold-dk); font-weight: 600; pointer-events: none; flex-shrink: 0; }

/* ── Checkboxes ── */
.cpfc-check-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cpfc-check-item  { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 10px; cursor: pointer; transition: all .2s; user-select: none; }
.cpfc-check-item:hover    { border-color: var(--cpfc-gold); background: #fffdf7; }
.cpfc-check-item.selected { border-color: var(--cpfc-gold); background: #fffdf7; }
.cpfc-check-box   { width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid #d1d5db; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; background: #fff; pointer-events: none; }
.cpfc-check-item.selected .cpfc-check-box { background: var(--cpfc-gold); border-color: var(--cpfc-gold); }
.cpfc-check-tick  { width: 10px; height: 7px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); display: none; pointer-events: none; }
.cpfc-check-item.selected .cpfc-check-tick { display: block; }
.cpfc-check-label { flex: 1; font-size: 14px; color: #1a2530; font-weight: 400; pointer-events: none; }
.cpfc-check-price { font-size: 13px; color: var(--cpfc-gold-dk); font-weight: 600; pointer-events: none; flex-shrink: 0; }

/* ── Assets grid ── */
.cpfc-assets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }

/* ── Total display ── */
.cpfc-total-display { background: linear-gradient(135deg,#0b1c2c 0%,#1a3048 100%); border-radius: 14px; padding: 24px; text-align: center; margin: 20px 0; }
.cpfc-total-label   { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--cpfc-gold-lt); margin-bottom: 6px; }
.cpfc-total-amount  { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: var(--cpfc-gold); line-height: 1; }
.cpfc-total-note    { font-size: 12px; color: #a0b4c8; margin-top: 6px; }
.cpfc-compare-note  { text-align: center; font-size: 12px; color: #9ca3af; margin: 8px 0 16px; padding: 10px 14px; background: #f9fafb; border-radius: 8px; }
.cpfc-compare-note strong { color: #e24b4a; }

/* ── CTAs ── */
.cpfc-cta-btn  { width: 100%; padding: 16px; background: var(--cpfc-gold); color: var(--cpfc-navy); border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all .2s; margin-top: 4px; font-family: 'DM Sans', sans-serif; }
.cpfc-cta-btn:hover { background: var(--cpfc-gold-dk); transform: translateY(-1px); }
.cpfc-nav-btns { display: flex; gap: 10px; margin-top: 20px; }
.cpfc-btn-back { flex: 0 0 auto; padding: 12px 20px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; color: #6b7280; cursor: pointer; font-size: 14px; font-family: 'DM Sans', sans-serif; }
.cpfc-btn-next { flex: 1; padding: 12px; border: none; border-radius: 10px; background: var(--cpfc-gold); color: var(--cpfc-navy); font-weight: 700; font-size: 15px; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .2s; }
.cpfc-btn-next:hover { background: var(--cpfc-gold-dk); }

/* ── Testimonial ── */
.cpfc-testimonial { background: #fffdf7; border-left: 3px solid var(--cpfc-gold); border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; }
.cpfc-testimonial p    { font-size: 12.5px; color: #374151; line-height: 1.6; font-style: italic; }
.cpfc-testimonial cite { display: block; margin-top: 8px; font-size: 11px; color: var(--cpfc-gold-dk); font-weight: 600; font-style: normal; }

/* ── Form fields ── */
.cpfc-form-field        { margin-bottom: 14px; }
.cpfc-form-field label  { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 5px; }
.cpfc-form-field input,
.cpfc-form-field select { width: 100%; padding: 10px 12px; border: 1.5px solid #e5e7eb; border-radius: 8px; font-size: 14px; font-family: 'DM Sans', sans-serif; color: #1a2530; outline: none; transition: border-color .2s; background: #fff; }
.cpfc-form-field input:focus,
.cpfc-form-field select:focus { border-color: var(--cpfc-gold); }
.cpfc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cpfc-req-star { color: #e24b4a; margin-left: 2px; }

/* ── Confirm box ── */
.cpfc-confirm-box        { background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 10px; padding: 16px 20px; margin: 16px 0; text-align: center; }
.cpfc-fee-label          { font-size: 12px; color: #16a34a; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.cpfc-fee-val            { font-family: 'Playfair Display', serif; font-size: 28px; color: #15803d; font-weight: 700; }
.cpfc-fee-sub            { font-size: 11px; color: #6b7280; margin-top: 3px; }

/* ── Compliance ── */
.cpfc-compliance-checks  { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.cpfc-compliance-check   { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; user-select: none; }
.cpfc-cc-box             { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #d1d5db; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; background: #fff; transition: all .2s; pointer-events: none; }
.cpfc-compliance-check.checked .cpfc-cc-box { background: var(--cpfc-gold); border-color: var(--cpfc-gold); }
.cpfc-cc-tick            { width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); display: none; pointer-events: none; }
.cpfc-compliance-check.checked .cpfc-cc-tick { display: block; }
.cpfc-cc-text            { font-size: 12px; color: #374151; line-height: 1.5; pointer-events: none; }

/* ── Success ── */
.cpfc-success-page  { text-align: center; padding: 20px 0; }
.cpfc-success-icon  { width: 64px; height: 64px; border-radius: 50%; background: var(--cpfc-gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; }
.cpfc-success-page h2 { font-family: 'Playfair Display', serif; font-size: 24px; color: #0b1c2c; margin-bottom: 8px; }
.cpfc-success-page p  { font-size: 14px; color: #6b7280; line-height: 1.6; margin-bottom: 16px; }
.cpfc-success-list    { text-align: left; background: #fffdf7; border-radius: 10px; padding: 14px 16px; margin: 12px 0; }
.cpfc-success-list li { font-size: 13px; color: #374151; padding: 5px 0; list-style: none; display: flex; gap: 8px; }
.cpfc-success-list li::before { content: '✓'; color: var(--cpfc-gold); font-weight: 700; }

/* ── Compliance footer note ── */
.cpfc-compliance-note { font-size: 11px; color: #9ca3af; text-align: center; margin-top: 16px; line-height: 1.6; padding: 0 8px; }

/* ── Utility ── */
.cpfc-hidden { display: none !important; }

/* ── Responsive ── */
@media (max-width: 500px) {
  .cpfc-form-row       { grid-template-columns: 1fr; }
  .cpfc-total-amount   { font-size: 40px; }
  .cpfc-h1             { font-size: 28px; }
  .cpfc-assets-grid    { grid-template-columns: 1fr; }
}


/* ================================================================
   v2.1.0 ENHANCEMENTS
   ================================================================ */

/* ── Running Total Ticker ── */
.cpfc-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #0b1c2c 0%, #1a3a52 100%);
  border-top: 2px solid #a8883a;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.4s ease, transform 0.3s ease;
  transform: translateY(100%);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.cpfc-ticker.cpfc-ticker-visible {
  transform: translateY(0);
}
.cpfc-ticker-label {
  font-size: 12px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cpfc-ticker-amt {
  font-size: 20px;
  font-weight: 700;
  color: #a8883a;
  font-family: 'Playfair Display', serif;
  transition: all 0.3s ease;
}

/* ── Progress dots with labels ── */
.cpfc-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: default;
  transition: transform 0.15s ease;
}
.cpfc-step-dot.done {
  cursor: pointer;
}
.cpfc-step-dot.done:hover {
  transform: scale(1.15);
}
.cpfc-dot-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  background: #e5e7eb;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}
.cpfc-step-dot.active .cpfc-dot-num {
  background: #a8883a;
  color: #fff;
  border-color: #a8883a;
  box-shadow: 0 0 0 3px rgba(168,136,58,0.2);
}
.cpfc-step-dot.done .cpfc-dot-num {
  background: #0b1c2c;
  color: #a8883a;
  border-color: #0b1c2c;
}
.cpfc-dot-label {
  font-size: 9px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.cpfc-step-dot.active .cpfc-dot-label {
  color: #a8883a;
  font-weight: 600;
}
.cpfc-step-dot.done .cpfc-dot-label {
  color: #0b1c2c;
}

/* ── Result Breakdown ── */
.cpfc-breakdown-wrap {
  margin: 16px 0;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
}
.cpfc-breakdown-title {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}
.cpfc-breakdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cpfc-breakdown-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
}
.cpfc-breakdown-list li:last-child {
  border-bottom: none;
}
.cpfc-bd-label {
  color: #374151;
}
.cpfc-bd-amt {
  color: #a8883a;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

/* ── Save My Estimate ── */
.cpfc-save-estimate {
  background: #fffdf7;
  border: 1px solid #e8d98a;
  border-radius: 10px;
  padding: 16px;
  margin: 16px 0;
  text-align: center;
}
.cpfc-save-title {
  font-size: 13px;
  font-weight: 600;
  color: #0b1c2c;
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}
.cpfc-save-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cpfc-est-input {
  flex: 1;
  min-width: 180px;
  padding: 10px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: #0b1c2c;
  outline: none;
  transition: border-color 0.2s;
}
.cpfc-est-input:focus {
  border-color: #a8883a;
}
.cpfc-est-btn {
  padding: 10px 18px;
  background: #a8883a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
.cpfc-est-btn:hover { background: #8a6e2d; }
.cpfc-est-btn:disabled { background: #c4a96a; cursor: not-allowed; }

/* ── Inline Field Validation ── */
.cpfc-field-error {
  color: #e24b4a;
  font-size: 12px;
  margin-top: 4px;
  font-family: 'DM Sans', sans-serif;
  display: none;
}
.cpfc-field-success {
  color: #16a34a;
  font-size: 12px;
  margin-top: 6px;
  font-family: 'DM Sans', sans-serif;
  display: none;
  text-align: center;
}
.cpfc-input-error {
  border-color: #e24b4a !important;
}
.cpfc-input-error:focus {
  border-color: #e24b4a !important;
  box-shadow: 0 0 0 3px rgba(226,75,74,0.15) !important;
}

/* Error anchors for button groups (rp, lt, itl) */
#cpfc-rp-group + .cpfc-field-error,
#cpfc-lt-group + .cpfc-field-error,
#cpfc-itl-group + .cpfc-field-error {
  margin-bottom: 8px;
}

/* ── Phone format hint ── */
#cpfc-f-phone::placeholder { color: #9ca3af; }

/* ── Start Over button subtle style ── */
.cpfc-btn-back[onclick*="startOver"] {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 12px;
}
.cpfc-btn-back[onclick*="startOver"]:hover {
  background: #f3f4f6;
  color: #6b7280;
}

/* ── Dot back-nav tooltip ── */
.cpfc-step-dot.done::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #0b1c2c;
  color: #fff;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.cpfc-step-dot.done:hover::after {
  opacity: 1;
}
.cpfc-progress-bar {
  position: relative;
}

/* ── Ticker animation on value change ── */
@keyframes cpfc-tick-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); color: #c9a84c; }
  100% { transform: scale(1); }
}
.cpfc-ticker-amt.pop {
  animation: cpfc-tick-pop 0.3s ease;
}

/* ── Mobile adjustments ── */
@media (max-width: 480px) {
  .cpfc-ticker { padding: 8px 12px; gap: 6px; }
  .cpfc-ticker-amt { font-size: 17px; }
  .cpfc-dot-label { display: none; }
  .cpfc-save-row { flex-direction: column; }
  .cpfc-est-input, .cpfc-est-btn { width: 100%; }
  .cpfc-breakdown-list li { font-size: 12px; }
}

/* Fixed ticker body padding */
body.cpfc-ticker-active {
  padding-bottom: 50px !important;
}
@media (max-width: 480px) {
  .cpfc-ticker { padding: 8px 12px; gap: 6px; }
  .cpfc-ticker-amt { font-size: 17px; }
}


/* ══════════════════════════════════════════════
   v2.2.0 ENHANCEMENTS
   ══════════════════════════════════════════════ */

/* ── 1. WooCommerce cart pushed up when ticker active ── */
body.cpfc-ticker-active .fkcart-container,
body.cpfc-ticker-active .cart-for-wc,
body.cpfc-ticker-active .floating-cart,
body.cpfc-ticker-active #fkcart-wobble-wrapper {
  bottom: 60px !important;
  transition: bottom 0.3s ease;
}

/* ── 2. "What's included" toggle ── */
.cpfc-whats-included {
  margin-top: 4px;
  padding: 0 4px;
}
.cpfc-wi-toggle {
  background: none;
  border: none;
  color: var(--cpfc-gold);
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cpfc-wi-toggle:hover { opacity: 0.75; }
.cpfc-wi-list {
  display: none;
  margin: 6px 0 4px 0;
  padding-left: 18px;
  font-size: 12px;
  color: #4b5563;
  line-height: 1.6;
}
.cpfc-whats-included.open .cpfc-wi-list { display: block; }
.cpfc-whats-included.open .cpfc-wi-toggle { text-decoration: none; }

/* ── 3. "None apply" option ── */
.cpfc-none-apply {
  border-style: dashed !important;
  border-color: #d1d5db !important;
  opacity: 0.85;
  margin-top: 8px;
}
.cpfc-none-apply:hover {
  border-color: var(--cpfc-gold) !important;
  opacity: 1;
}
.cpfc-none-apply.selected {
  border-color: var(--cpfc-gold) !important;
  background: #fffdf7 !important;
  opacity: 1;
}

/* ── 4. Comparison table on result screen ── */
.cpfc-compare-wrap {
  margin: 16px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.cpfc-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  font-family: 'DM Sans', sans-serif;
}
.cpfc-compare-table thead {
  background: var(--cpfc-navy);
  color: #fff;
}
.cpfc-compare-table thead th {
  padding: 8px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.cpfc-compare-table thead th:first-child { text-align: left; }
.cpfc-compare-table th.cpfc-col-cp { color: var(--cpfc-gold); }
.cpfc-compare-table tbody tr:nth-child(odd)  { background: #f9fafb; }
.cpfc-compare-table tbody tr:nth-child(even) { background: #fff; }
.cpfc-compare-table td {
  padding: 7px 12px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.cpfc-compare-table td:first-child {
  font-weight: 500;
  color: var(--cpfc-navy);
  font-size: 12px;
}
.cpfc-compare-table td.cpfc-col-cp {
  color: #059669;
  font-weight: 600;
  text-align: center;
}
.cpfc-compare-table td.cpfc-col-lawyer {
  color: #6b7280;
  text-align: center;
}

/* ── 5. Share button ── */
.cpfc-share-btn {
  display: block;
  width: 100%;
  margin: 10px 0 6px;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--cpfc-gold);
  border-radius: 8px;
  color: var(--cpfc-gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.cpfc-share-btn:hover {
  background: var(--cpfc-gold);
  color: #fff;
}

/* ── 6. Done-dot checkmark ── */
.cpfc-step-dot.done .cpfc-dot-num::after {
  content: '\2713';
  position: absolute;
  font-size: 13px;
  font-weight: 700;
  color: var(--cpfc-gold);
}
.cpfc-step-dot.done .cpfc-dot-num {
  position: relative;
  font-size: 0; /* hide number, show checkmark only */
}

/* ── 7. Focusable option cards ── */
.cpfc-btn-option:focus {
  outline: 2px solid var(--cpfc-gold);
  outline-offset: 2px;
}

/* Gap fix: eliminate phantom margins from hidden steps */
.et_pb_code_0, .et_pb_column_0 { align-items: flex-start !important; }
.cpfc-hidden { margin-top: 0 !important; margin-bottom: 0 !important; }
#cpfc-root { display: block !important; }


/* Required-field validation error state — applied by submitForm() when a required field is empty. */
.cpfc-field-invalid,
.cpfc-field-invalid:focus {
  border-color: #c0392b !important;
  background-color: #fff5f4 !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15) !important;
}
