:root {
  --paper: #f6f2ec;
  --ink: #1f1a16;
  --muted: #5b514a;
  --accent: #0f766e;
  --accent-2: #f97316;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(31, 26, 22, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  background: radial-gradient(circle at 10% 10%, #fff1d6 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, #d1fae5 0%, transparent 40%),
    var(--paper);
  color: var(--ink);
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  background: rgba(246, 242, 236, 0.92);
  padding: 14px 24px;
  border-radius: 16px;
  z-index: 10;
  box-shadow: var(--shadow);
}

.brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.top-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.top-nav a {
  font-weight: 600;
  color: var(--muted);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
}

.hero {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 48px 0 32px;
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 12px 0;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
}

.btn {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.25);
}

.btn.secondary {
  background: var(--accent-2);
  color: #fff;
}

.btn.ghost {
  border: 1px solid rgba(31, 26, 22, 0.2);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-points {
  display: grid;
  gap: 14px;
}

.hero-card {
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.08);
}

.summary-chip {
  margin: 14px 0;
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
  font-weight: 600;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.helper {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: 40px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-header h2 {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  margin: 10px 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.plan-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  transition: transform 0.2s ease, border 0.2s ease;
}

.plan-card.selected {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.plan-head {
  display: grid;
  gap: 4px;
}

.price {
  color: var(--accent);
  font-weight: 600;
}

.plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.select-btn {
  border: none;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.budget-cta {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: #1f1a16;
  color: #f6f2ec;
  border-radius: 18px;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.config-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.08);
}

.check-item,
.radio-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.check-item em,
.radio-item em {
  color: var(--accent-2);
  font-style: normal;
  font-weight: 600;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
}

.note.strong {
  color: var(--ink);
  font-weight: 600;
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
}

.finance-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.08);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.finance-details {
  margin-top: 12px;
  background: rgba(15, 118, 110, 0.1);
  padding: 14px;
  border-radius: 12px;
}

.summary-card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.08);
  display: grid;
  gap: 12px;
}

.summary-block {
  display: grid;
  gap: 6px;
}

.summary-list {
  color: var(--muted);
}

.summary-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--muted);
}

.quote-form {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.08);
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(31, 26, 22, 0.2);
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.status {
  font-size: 0.9rem;
  color: var(--accent);
}

.footer {
  padding: 32px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  gap: 12px;
  flex-wrap: wrap;
}

.link {
  color: var(--accent);
  font-weight: 600;
}

.floating-summary {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 260px;
  background: var(--card);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.1);
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.floating-summary.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-summary .label {
  font-size: 0.7rem;
}

.floating-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.floating-row.muted {
  color: var(--muted);
}


.wizard-modal .modal-content {
  width: min(1100px, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: var(--card);
}

.wizard-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.wizard-summary {
  min-width: 220px;
  background: rgba(15, 118, 110, 0.08);
  padding: 12px;
  border-radius: 14px;
  display: grid;
  gap: 6px;
}

.wizard-line {
  display: flex;
  justify-content: space-between;
}

.wizard-line.muted {
  color: var(--muted);
}

.wizard-steps {
  margin-top: 16px;
  display: grid;
  gap: 18px;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-actions {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.wizard-placeholder {
  display: none;
}

@media (max-width: 960px) {
  .wizard-modal .modal-content {
    width: 100vw;
    height: 100vh;
    max-height: none;
    border-radius: 0;
  }

  .wizard-header {
    flex-direction: column;
  }
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 15, 20, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
  z-index: 99999;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--card);
  padding: 24px;
  border-radius: 18px;
  width: min(600px, 92vw);
  box-shadow: var(--shadow);
  position: relative;
  display: grid;
  gap: 12px;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: none;
  background: rgba(31, 26, 22, 0.08);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

.budget-message {
  font-size: 0.9rem;
  color: var(--accent);
}

@media (max-width: 960px) {
  .floating-summary {
    left: 12px;
    right: 12px;
    bottom: 16px;
    width: auto;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 18px 30px rgba(15, 118, 110, 0.18);
  }

  .floating-summary .label {
    font-size: 0.8rem;
  }

  .floating-summary strong {
    font-size: 1rem;
  }
}

  .hero {
    grid-template-columns: 1fr;
  }

  .top-nav {
    position: fixed;
    top: 90px;
    right: 24px;
    background: #fff;
    border-radius: 14px;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s ease;
  }

  .top-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .budget-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.level-guide {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.level-card {
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(31, 26, 22, 0.08);
  box-shadow: var(--shadow);
}

.level-card h4 {
  margin: 0 0 8px;
  font-family: "Fraunces", serif;
}

.level-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.plan-card .plan-summary {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-levels {
  display: grid;
  gap: 8px;
}

.plan-levels .level-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-levels strong {
  color: var(--ink);
}

.email-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.08);
}

.email-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
  align-items: center;
}


.tabs {
  display: grid;
  gap: 12px;
}

.tab-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31, 26, 22, 0.2);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.tab-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.modal-open .floating-summary {
  display: none;
}

.plan-tabs {
  display: grid;
  gap: 10px;
}

.plan-tab-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-tab-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 26, 22, 0.2);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

.plan-tab-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.plan-tab-panel {
  display: none;
}

.plan-tab-panel.active {
  display: block;
}

.modal.show ~ .floating-summary {
  display: none;
}

.plan-description {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-pick {
  display: grid;
  gap: 16px;
}

.plan-pick-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-pick-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(31, 26, 22, 0.2);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.plan-pick-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.plan-pick-panel {
  display: none;
}

.plan-pick-panel.active {
  display: block;
}

.plan-detail {
  background: var(--card);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(31, 26, 22, 0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

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

@media (max-width: 640px) {
  .mp-modal {
    align-items: center;
    padding: 8px;
  }

  .mp-modal-content {
    max-height: 92vh;
    overflow-y: auto;
  }
}

.tab-buttons.main-tabs .tab-btn {
  background: transparent;
  border: 1px solid rgba(15, 118, 110, 0.35);
  color: var(--accent);
}

.tab-buttons.main-tabs .tab-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.18);
}

.plan-pick-buttons .plan-pick-btn {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.12);
  color: var(--accent);
}

.plan-pick-buttons .plan-pick-btn.active {
  background: rgba(15, 118, 110, 0.18);
  border-color: rgba(15, 118, 110, 0.3);
}

@media (max-width: 640px) {
  .tab-buttons.main-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tab-buttons.main-tabs .tab-btn {
    border-radius: 12px;
    text-align: center;
  }

  .plan-pick-buttons {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .plan-pick-buttons .plan-pick-btn {
    white-space: nowrap;
  }
}

.budget-success {
  font-size: 0.9rem;
  color: #15803d;
  font-weight: 600;
}


/* payment-card removed */
.payment-card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 26, 22, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 20px;
}

.payment-info h3 {
  margin-top: 0;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.payment-option {
  background: rgba(15, 118, 110, 0.12);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.payment-actions {
  display: grid;
  gap: 12px;
  align-content: start;
}

.payment-actions .btn {
  width: 100%;
  text-align: center;
}

.payment-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 900px) {
  .payment-card {
    grid-template-columns: 1fr;
  }
}


.payment-inline {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(15, 118, 110, 0.35);
  background: rgba(15, 118, 110, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
}

.payment-inline h4 {
  margin: 0 0 6px;
  font-family: "Fraunces", serif;
}

@media (max-width: 900px) {
  .payment-inline {
    grid-template-columns: 1fr;
  }
}


.mp-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 15, 20, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
  z-index: 99999;
}

.mp-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.mp-modal-content {
  background: var(--card);
  padding: 24px;
  border-radius: 18px;
  width: min(720px, 94vw);
  box-shadow: var(--shadow);
  position: relative;
  display: grid;
  gap: 12px;
  max-height: 90vh;
  overflow-y: auto;
}

.mp-modal-summary {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

#mpCardBrickContainer {
  min-height: 320px;
}

.mp-modal.show ~ .floating-summary {
  display: none;
}


/* Wizard desktop: no scroll, compact steps */
.wizard-open #wizardModal .modal-content {
  height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wizard-open #wizardModal .wizard-steps {
  flex: 1;
  overflow: hidden;
}

.wizard-open #wizardModal .wizard-step.active {
  height: 100%;
}

.wizard-open #wizardModal .section {
  padding: 0;
}

.wizard-open #wizardModal .section-header,
.wizard-open #wizardModal .hero,
.wizard-open #wizardModal .footer {
  display: none;
}

.wizard-open #wizardModal .note,
.wizard-open #wizardModal .level-guide {
  display: none;
}

.wizard-open #wizardModal .budget-cta {
  display: none;
}

.wizard-open #wizardModal .payment-inline {
  display: none;
}

.wizard-open #wizardModal .config-card,
.wizard-open #wizardModal .email-card,
.wizard-open #wizardModal .summary-card {
  margin: 0;
}

.wizard-open #wizardModal .quote-form {
  gap: 12px;
}

.wizard-open #wizardModal .quote-form .form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.wizard-open #wizardModal .quote-form .form-row + label,
.wizard-open #wizardModal .quote-form label {
  margin-top: 0;
}

.wizard-open #wizardModal textarea {
  min-height: 90px;
}

@media (max-width: 960px) {
  .wizard-open #wizardModal .quote-form .form-row {
    grid-template-columns: 1fr;
  }
}


.wizard-open #wizardModal .quote-form button[type="submit"] {
  display: none;
}

.wizard-submit {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 26, 22, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wizard-open #wizardModal .quote-form small {
  display: none;
}

.wizard-open #wizardModal .quote-form label {
  font-size: 0.9rem;
}

.wizard-open #wizardModal .quote-form input,
.wizard-open #wizardModal .quote-form select,
.wizard-open #wizardModal .quote-form textarea {
  padding: 10px 12px;
}

.wizard-open #wizardModal textarea {
  min-height: 70px;
}


/* Wizard tuning: reduce height and hide tabs */
.wizard-open #wizardModal .modal-content {
  padding: 18px;
  height: 92vh;
}

.wizard-open #wizardModal .wizard-header {
  gap: 10px;
}

.wizard-open #wizardModal .wizard-header h3 {
  font-size: 1.3rem;
}

.wizard-open #wizardModal .wizard-summary {
  padding: 10px;
  font-size: 0.9rem;
}

.wizard-open #wizardModal .wizard-steps {
  gap: 12px;
}

.wizard-open #wizardModal .tab-buttons {
  display: none;
}

.wizard-open #wizardModal .tabs {
  gap: 0;
}

.wizard-open #wizardModal .summary-card {
  padding: 12px;
}

.wizard-open #wizardModal .summary-block {
  gap: 6px;
}

.wizard-open #wizardModal .quote-form {
  gap: 10px;
}

.wizard-open #wizardModal .quote-form textarea {
  min-height: 60px;
}

.wizard-open #wizardModal .quote-form .form-row {
  gap: 10px;
}

.wizard-open #wizardModal .quote-form label {
  font-size: 0.85rem;
}


#wizardStepStatus {
  min-height: 18px;
  margin: 6px 0 0;
}


/* Wizard step-specific form visibility */
.wizard-open[data-wizard-step="1"] .wizard-details-block {
  display: none;
}

.wizard-open[data-wizard-step="5"] .wizard-contact-block {
  display: none;
}

.wizard-open:not([data-wizard-step="1"]):not([data-wizard-step="5"]):not([data-wizard-step="6"]) .quote-form {
  display: none;
}


/* Compact wizard summary */
.wizard-open #wizardModal .wizard-header {
  align-items: center;
}

.wizard-open #wizardModal .wizard-summary {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  gap: 4px;
  max-width: 260px;
}

.wizard-open #wizardModal .wizard-summary .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wizard-open #wizardModal .wizard-summary strong {
  font-size: 0.95rem;
}

.wizard-open #wizardModal .wizard-line {
  gap: 8px;
}


/* Wizard summary blocks: allow wrap */
.wizard-open #wizardModal .summary-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.wizard-open #wizardModal .summary-block {
  gap: 4px;
}

.wizard-open #wizardModal .summary-block strong {
  font-size: 0.92rem;
  word-break: break-word;
}

@media (max-width: 960px) {
  .wizard-open #wizardModal .summary-card {
    grid-template-columns: 1fr;
  }
}


/* Wizard finance compact */
.wizard-open #wizardModal .finance-card {
  padding: 14px;
}

.wizard-open #wizardModal .finance-details ul {
  margin: 8px 0 0;
  padding-left: 16px;
}

.wizard-open #wizardModal .finance-details li {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.wizard-open #wizardModal .finance-card .note {
  display: none;
}


#quoteSuccessModal .modal-content {
  text-align: center;
  gap: 10px;
}

#quoteSuccessModal .btn {
  align-self: center;
}


#quoteSuccessModal {
  z-index: 100000;
}

#quoteSuccessModal .modal-close {
  z-index: 100001;
}

#quoteSuccessModal.show ~ .floating-summary {
  display: none;
}


/* Success modal buttons */
#quoteSuccessModal .success-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

#quoteSuccessModal .success-actions .btn {
  min-width: 150px;
}




.wizard-open #wizardModal .plan-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wizard-open #wizardModal .plan-detail-btn {
  margin-top: 8px;
}


@media (max-width: 960px) {
  .wizard-open[data-wizard-step="1"] .wizard-message-block {
    display: none;
  }
  .wizard-open[data-wizard-step="5"] .wizard-message-block {
    display: block;
  }
}

.wizard-open[data-wizard-step="5"] .wizard-details-block {
  display: block;
}


/* Bring wizard close button to front */
.wizard-modal .modal-close {
  z-index: 100002;
}

.wizard-modal .wizard-header {
  position: relative;
  z-index: 1;
}


/* Wizard: step layout tuning for more steps */
.wizard-open #wizardModal .wizard-step {
  padding-bottom: 8px;
}

.wizard-open[data-wizard-step="6"] .wizard-details-block,
.wizard-open[data-wizard-step="6"] .wizard-contact-block {
  display: none;
}

.wizard-open[data-wizard-step="6"] .wizard-message-block {
  display: block;
}

.wizard-open[data-wizard-step="5"] .wizard-message-block {
  display: none;
}

@media (max-width: 960px) {
  .wizard-open #wizardModal .modal-content {
    height: 100vh;
  }

  .wizard-open #wizardModal .wizard-header {
    gap: 8px;
  }

  .wizard-open #wizardModal .wizard-summary {
    max-width: none;
    width: 100%;
  }

  .wizard-open #wizardModal .wizard-actions {
    position: sticky;
    bottom: 0;
    background: var(--card);
    padding-top: 8px;
  }
}


@media (max-width: 960px) {
  .wizard-open #wizardModal .wizard-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
  }

  .wizard-open #wizardModal .wizard-summary .label {
    display: none;
  }

  .wizard-open #wizardModal .wizard-summary #wizardType {
    font-size: 0.9rem;
    font-weight: 600;
  }

  .wizard-open #wizardModal .wizard-line {
    font-size: 0.85rem;
  }

  .wizard-open #wizardModal .wizard-line span {
    display: none;
  }
}

/* Wizard modal sizing */
.wizard-modal .modal-content {
  max-height: 90vh;
  overflow: hidden;
}

@media (max-width: 960px) {
  .wizard-modal .modal-content {
    max-height: 100vh;
    height: 100vh;
    padding: 14px;
  }
}

/* Mobile plan/extras wrapping */
@media (max-width: 960px) {
  .wizard-open #wizardModal .plan-description {
    -webkit-line-clamp: 3;
  }

  .wizard-open #wizardModal .check-item {
    align-items: flex-start;
  }

  .wizard-open #wizardModal .check-item em {
    margin-left: 0;
    margin-top: 4px;
    display: block;
  }
}

/* Finance summary visibility */
.wizard-open[data-wizard-step="7"] .summary-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .wizard-open[data-wizard-step="7"] .summary-card {
    grid-template-columns: 1fr;
  }
}


/* Modal centering with margins */
.modal {
  padding: 20px;
}

.wizard-modal .modal-content {
  margin: 12px auto;
  max-height: calc(100vh - 40px);
  overflow: auto;
}

@media (max-width: 960px) {
  .wizard-modal .modal-content {
    height: auto;
    max-height: calc(100vh - 32px);
    border-radius: 18px;
  }
}

/* Extras: allow price to wrap under label */
.wizard-open #wizardModal .check-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.wizard-open #wizardModal .check-item em {
  margin-left: 0;
  font-size: 0.85rem;
}

/* Message step visibility */
.wizard-open[data-wizard-step="6"] .wizard-message-block {
  display: block;
}

.wizard-open[data-wizard-step="6"] .wizard-details-block,
.wizard-open[data-wizard-step="6"] .wizard-contact-block {
  display: none;
}

/* Finance summary keep type visible */
.wizard-open[data-wizard-step="7"] .summary-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.wizard-open[data-wizard-step="7"] .summary-block strong {
  word-break: break-word;
}


.form-row.row.g-3 > label {
  margin: 0;
}

/* Bootstrap modal override */
.modal {
  display: none !important;
}

.modal.show {
  display: flex !important;
}

.brand {
  color: var(--accent);
  text-decoration: none;
}


/* Ensure wizard modal allows input interaction */
.wizard-modal.show {
  pointer-events: auto;
}

.wizard-modal .modal-content {
  pointer-events: auto;
}


/* Force wizard modal to capture clicks */
.wizard-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.wizard-modal {
  pointer-events: auto;
}


/* Ensure wizard modal is topmost and clickable */
#wizardModal {
  z-index: 200000;
}

#wizardModal .modal-content {
  position: relative;
  z-index: 200001;
}

#wizardModal.show {
  opacity: 1;
  pointer-events: auto;
}


/* Mobile modal margins */
@media (max-width: 960px) {
  #wizardModal {
    padding: 12px;
  }

  #wizardModal .modal-content {
    margin: 8px auto;
    max-height: calc(100vh - 24px);
  }
}

/* Make modal content interactive */
#wizardModal .modal-content,
#quoteSuccessModal .modal-content {
  pointer-events: auto;
}


/* Message step: ensure textarea visible */
.wizard-open[data-wizard-step="6"] textarea[name="message"] {
  display: block;
}

/* Success modal buttons clickable */
#quoteSuccessModal {
  z-index: 210000;
}

#quoteSuccessModal .modal-content {
  z-index: 210001;
}


/* Wizard step visibility overrides (force) */
.wizard-open .quote-form {
  display: block !important;
}

.wizard-open:not([data-wizard-step="1"]):not([data-wizard-step="5"]):not([data-wizard-step="6"]) .quote-form {
  display: none !important;
}

.wizard-open[data-wizard-step="1"] .wizard-contact-block {
  display: block !important;
}

.wizard-open[data-wizard-step="1"] .wizard-details-block,
.wizard-open[data-wizard-step="1"] .wizard-message-block {
  display: none !important;
}

.wizard-open[data-wizard-step="5"] .wizard-details-block {
  display: block !important;
}

.wizard-open[data-wizard-step="5"] .wizard-contact-block,
.wizard-open[data-wizard-step="5"] .wizard-message-block {
  display: none !important;
}

.wizard-open[data-wizard-step="6"] .wizard-message-block {
  display: block !important;
}

.wizard-open[data-wizard-step="6"] .wizard-contact-block,
.wizard-open[data-wizard-step="6"] .wizard-details-block {
  display: none !important;
}

/* Ensure inputs are clickable */
.wizard-open .quote-form input,
.wizard-open .quote-form select,
.wizard-open .quote-form textarea {
  pointer-events: auto !important;
}

/* Ensure wizard modal captures all clicks */
#wizardModal {
  pointer-events: auto !important;
}

#wizardModal .modal-content {
  pointer-events: auto !important;
}


/* FINAL OVERRIDES: modal fit + extras + message + summary */
#wizardModal {
  padding: 16px !important;
  align-items: center !important;
}

#wizardModal .modal-content {
  margin: 8px auto !important;
  max-height: calc(100vh - 32px) !important;
  overflow: auto !important;
}

@media (max-width: 960px) {
  #wizardModal {
    padding: 12px !important;
  }
  #wizardModal .modal-content {
    max-height: calc(100vh - 24px) !important;
  }
}

/* Extras: force price to wrap below */
.wizard-open #wizardModal .check-item {
  flex-direction: column !important;
  align-items: flex-start !important;
}

.wizard-open #wizardModal .check-item em {
  margin-left: 0 !important;
  display: block !important;
}

/* Message step: ensure textarea visible */
.wizard-open[data-wizard-step="6"] .wizard-message-block {
  display: block !important;
}

.wizard-open[data-wizard-step="6"] .wizard-message-block textarea {
  display: block !important;
  width: 100% !important;
}

/* Finance summary: show type */
.wizard-open[data-wizard-step="7"] .summary-card {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px 12px !important;
}

@media (max-width: 960px) {
  .wizard-open[data-wizard-step="7"] .summary-card {
    grid-template-columns: 1fr !important;
  }
}


/* Modal margins requested */
.modal {
  padding: 20px !important;
}

#wizardModal {
  align-items: center !important;
}

#wizardModal .modal-content {
  margin: 12px auto !important;
}

@media (max-width: 960px) {
  .modal {
    padding: 12px !important;
  }
  #wizardModal .modal-content {
    margin: 10px auto !important;
  }
}


/* Plan picker layout */
.plan-picker {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}

.plan-picker-list {
  display: grid;
  gap: 10px;
}

.plan-list-item {
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(31, 26, 22, 0.15);
  background: #fff;
  cursor: pointer;
}

.plan-list-item.active {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.15);
}

.plan-picker-preview {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(31, 26, 22, 0.08);
}

.plan-description-full {
  color: var(--muted);
  margin: 8px 0 14px;
}

@media (max-width: 960px) {
  .plan-picker {
    grid-template-columns: 1fr;
  }
}

/* Ensure summary visible in finance step */
.wizard-open[data-wizard-step="7"] #wizardFinanceMount .summary-card {
  display: grid !important;
}

/* Message step: show textarea */
.wizard-open[data-wizard-step="6"] .wizard-message-block textarea {
  display: block !important;
  width: 100% !important;
}


/* FINAL CLEAN OVERRIDES */
#wizardModal {
  padding: 16px !important;
  align-items: center !important;
}

#wizardModal .modal-content {
  max-height: calc(100vh - 32px) !important;
  overflow: auto !important;
  margin: 8px auto !important;
}

@media (max-width: 960px) {
  #wizardModal {
    padding: 12px !important;
  }
  #wizardModal .modal-content {
    max-height: calc(100vh - 24px) !important;
  }
}

/* Plan preview: allow full text */
.plan-picker-preview {
  max-height: 360px;
  overflow: auto;
}

/* Extras: ensure right text fits */
.wizard-open #wizardModal .check-item {
  flex-direction: column !important;
  align-items: flex-start !important;
}

.wizard-open #wizardModal .check-item em {
  margin-left: 0 !important;
  display: block !important;
}

/* Message step: force textarea visible */
.wizard-open[data-wizard-step="6"] .wizard-message-block {
  display: block !important;
}

.wizard-open[data-wizard-step="6"] textarea[name="message"] {
  display: block !important;
  width: 100% !important;
  min-height: 140px !important;
}

/* Keep summary visible in finance step */
.wizard-open[data-wizard-step="7"] .summary-card {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px 12px !important;
}

@media (max-width: 960px) {
  .wizard-open[data-wizard-step="7"] .summary-card {
    grid-template-columns: 1fr !important;
  }
}


/* Wizard page layout (no modal) */
.wizard-page {
  margin: 24px auto;
  padding: 24px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  .wizard-page {
    margin: 16px 12px;
    padding: 16px;
  }
}

/* Disable modal-specific wizard rules */
.wizard-modal { display: none !important; }


/* WIZARD PAGE CLEAN LAYER */
body.wizard-only .hero,
body.wizard-only .footer,
body.wizard-only #floatingSummary {
  display: none !important;
}

body.wizard-only .wizard-page {
  display: block !important;
  width: min(1100px, calc(100vw - 32px));
  margin: 18px auto;
  padding: 18px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

body.wizard-only .wizard-steps {
  margin-top: 12px;
}

body.wizard-only .wizard-step {
  display: none;
}

body.wizard-only .wizard-step.active {
  display: block;
}

body.wizard-only .wizard-actions {
  margin-top: 12px;
}

body.wizard-only .plan-picker {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
}

body.wizard-only .plan-picker-preview {
  max-height: 380px;
  overflow: auto;
}

body.wizard-only .check-item {
  align-items: flex-start;
  gap: 6px;
}

body.wizard-only .check-item em {
  display: block;
  margin-left: 0;
}

body.wizard-only[data-wizard-step="1"] .wizard-contact-block { display: block !important; }
body.wizard-only[data-wizard-step="1"] .wizard-details-block,
body.wizard-only[data-wizard-step="1"] .wizard-message-block { display: none !important; }

body.wizard-only[data-wizard-step="5"] .wizard-details-block { display: block !important; }
body.wizard-only[data-wizard-step="5"] .wizard-contact-block,
body.wizard-only[data-wizard-step="5"] .wizard-message-block { display: none !important; }

body.wizard-only[data-wizard-step="6"] .wizard-message-block,
body.wizard-only[data-wizard-step="6"] .wizard-message-block textarea {
  display: block !important;
}
body.wizard-only[data-wizard-step="6"] .wizard-contact-block,
body.wizard-only[data-wizard-step="6"] .wizard-details-block { display: none !important; }

body.wizard-only:not([data-wizard-step="1"]):not([data-wizard-step="5"]):not([data-wizard-step="6"]) .quote-form {
  display: none !important;
}

body.wizard-only[data-wizard-step="7"] .summary-card {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-page {
    width: calc(100vw - 24px);
    margin: 12px auto;
    padding: 14px;
  }

  body.wizard-only .wizard-summary {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 100%;
    overflow: auto;
  }

  body.wizard-only .wizard-summary .label,
  body.wizard-only .wizard-summary .wizard-line span {
    display: none;
  }

  body.wizard-only .plan-picker {
    grid-template-columns: 1fr;
  }

  body.wizard-only[data-wizard-step="7"] .summary-card {
    grid-template-columns: 1fr;
  }
}

/* WIZARD FULLSCREEN STABLE */
body.wizard-only,
body.wizard-only .page {
  height: 100vh;
  overflow: hidden;
}

body.wizard-only .topbar {
  position: static;
  margin: 10px 12px 0;
}

body.wizard-only .wizard-page {
  height: calc(100vh - 92px);
  margin: 10px 12px 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}

body.wizard-only .wizard-header {
  flex: 0 0 auto;
}

body.wizard-only .wizard-steps {
  flex: 1 1 auto;
  min-height: 0;
}

body.wizard-only .wizard-step.active {
  height: 100%;
  overflow: auto;
}

body.wizard-only .wizard-actions {
  flex: 0 0 auto;
}

/* In wizard flow, submit/payment controls are handled outside step content */
body.wizard-only .quote-form > button[type="submit"],
body.wizard-only .quote-form .payment-inline,
body.wizard-only .quote-form #quoteStatus {
  display: none !important;
}

body.wizard-only[data-wizard-step="6"] .wizard-message-block textarea {
  min-height: 180px;
}

@media (min-width: 961px) {
  body.wizard-only .wizard-page {
    margin: 14px auto;
    width: min(1200px, calc(100vw - 28px));
    height: calc(100vh - 108px);
    padding: 18px;
  }

  body.wizard-only .wizard-step.active {
    overflow: hidden;
  }
}

/* WIZARD FULLSCREEN FIX: step content must fit */
body.wizard-only .topbar {
  margin: 6px 10px 0 !important;
  padding: 10px 14px !important;
}

body.wizard-only .wizard-page {
  margin: 8px 10px 10px !important;
  padding: 12px !important;
  height: calc(100vh - 78px) !important;
}

body.wizard-only .wizard-header {
  margin-bottom: 8px;
}

body.wizard-only .wizard-steps {
  margin-top: 6px !important;
}

body.wizard-only .wizard-step.active {
  overflow: auto !important;
}

@media (max-width: 1280px) {
  body.wizard-only .plan-picker {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 961px) {
  body.wizard-only .wizard-step.active {
    overflow: auto !important;
  }
}

/* WIZARD PRIORITY LAYOUT: form first, summary last */
body.wizard-only .wizard-page {
  display: flex;
  flex-direction: column;
}

body.wizard-only .wizard-steps {
  order: 1;
  flex: 1 1 auto;
  min-height: 0;
}

body.wizard-only #wizardStepStatus {
  order: 2;
  margin-top: 8px;
}

body.wizard-only .wizard-header {
  order: 3;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(31, 26, 22, 0.12);
}

body.wizard-only .wizard-actions {
  order: 4;
  margin-top: 10px;
  padding: 10px 0 12px;
}

body.wizard-only .wizard-step.active {
  overflow: auto;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-header {
    margin-top: 8px;
    padding-top: 6px;
  }

  body.wizard-only .wizard-actions {
    padding-bottom: 14px;
  }
}


/* FINAL HARD OVERRIDES: keep nav buttons inside viewport */
body.wizard-only * {
  box-sizing: border-box;
}

body.wizard-only {
  overflow-x: hidden !important;
}

body.wizard-only .wizard-page {
  width: min(1200px, calc(100vw - 20px)) !important;
  max-width: calc(100vw - 20px) !important;
  margin: 8px auto 10px !important;
  padding: 12px 12px 16px !important;
  height: calc(100dvh - 82px) !important;
  max-height: calc(100dvh - 82px) !important;
  overflow: hidden !important;
}

body.wizard-only .wizard-steps {
  min-height: 0 !important;
}

body.wizard-only .wizard-step.active {
  overflow: auto !important;
  padding-bottom: 10px !important;
}

body.wizard-only .wizard-actions {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
  margin-top: 10px !important;
  padding: 10px 0 14px !important;
}

body.wizard-only .wizard-actions .btn {
  width: 100% !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  padding: 10px 12px !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-page {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    margin: 6px auto 8px !important;
    padding: 10px 10px 14px !important;
    height: calc(100dvh - 72px) !important;
    max-height: calc(100dvh - 72px) !important;
    border-radius: 14px !important;
  }

  body.wizard-only .wizard-actions {
    gap: 8px !important;
    padding: 10px 0 12px !important;
  }

  body.wizard-only .wizard-actions .btn {
    padding: 10px 8px !important;
    font-size: 0.92rem !important;
  }
}


/* FINAL LAYOUT PATCH v2: keep wizard actions always visible */
body.wizard-only .wizard-page {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

body.wizard-only .wizard-steps {
  order: 1 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

body.wizard-only #wizardStepStatus {
  order: 2 !important;
  flex: 0 0 auto !important;
  margin: 6px 0 0 !important;
}

body.wizard-only .wizard-actions {
  order: 3 !important;
  flex: 0 0 auto !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 6 !important;
  background: var(--card) !important;
  border-top: 1px solid rgba(31, 26, 22, 0.12) !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 10px 0 12px !important;
}

body.wizard-only .wizard-actions .btn {
  width: 100% !important;
  min-width: 0 !important;
  padding: 10px 10px !important;
}

body.wizard-only .wizard-header {
  order: 4 !important;
  flex: 0 0 auto !important;
  margin-top: 8px !important;
  padding-top: 6px !important;
}

body.wizard-only .wizard-summary {
  padding: 8px 10px !important;
  gap: 4px !important;
}

body.wizard-only .wizard-step.active {
  height: 100% !important;
  overflow: auto !important;
  padding-bottom: 10px !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-actions {
    gap: 8px !important;
    padding: 10px 0 10px !important;
  }

  body.wizard-only .wizard-actions .btn {
    font-size: 0.92rem !important;
    padding: 10px 8px !important;
  }
}


/* FINAL LAYOUT PATCH v3: maximize space and reduce scroll */
body.wizard-only .topbar {
  display: none !important;
}

body.wizard-only .wizard-header {
  display: none !important;
}

body.wizard-only .wizard-page {
  width: min(1240px, calc(100vw - 10px)) !important;
  max-width: calc(100vw - 10px) !important;
  margin: 5px auto !important;
  padding: 10px 10px 12px !important;
  height: calc(100dvh - 10px) !important;
  max-height: calc(100dvh - 10px) !important;
}

body.wizard-only .wizard-steps {
  margin-top: 0 !important;
}

body.wizard-only .wizard-step h4 {
  margin: 0 0 10px !important;
}

body.wizard-only #wizardStepStatus {
  margin-top: 4px !important;
  min-height: 1.1rem;
}

body.wizard-only .wizard-step.active {
  overflow: auto !important;
  padding-bottom: 6px !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-page {
    width: calc(100vw - 8px) !important;
    max-width: calc(100vw - 8px) !important;
    margin: 4px auto !important;
    padding: 8px 8px 10px !important;
    height: calc(100dvh - 8px) !important;
    max-height: calc(100dvh - 8px) !important;
  }

  body.wizard-only .wizard-step h4 {
    font-size: 1rem !important;
    margin-bottom: 8px !important;
  }
}


/* FINAL LAYOUT PATCH v4: cleaner steps, no budget CTA, step-2 without scroll */
body.wizard-only .budget-cta,
body.wizard-only #budgetModal,
body.wizard-only .tab-buttons.main-tabs {
  display: none !important;
}

body.wizard-only .wizard-step h4 {
  margin: 0 0 8px !important;
}

body.wizard-only .section-header {
  margin-bottom: 8px !important;
}

body.wizard-only .section-header p,
body.wizard-only #financiamiento .note,
body.wizard-only #financiamiento .section-header,
body.wizard-only #resumen {
  display: none !important;
}

body.wizard-only[data-wizard-step="2"] .plan-picker {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

body.wizard-only[data-wizard-step="2"] .plan-picker-preview,
body.wizard-only[data-wizard-step="2"] .plan-description-full,
body.wizard-only[data-wizard-step="2"] .plan-picker-preview .small {
  display: none !important;
}

body.wizard-only[data-wizard-step="2"] .plan-picker-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.wizard-only[data-wizard-step="2"] .plan-list-item {
  padding: 10px !important;
  min-height: 74px !important;
}

body.wizard-only[data-wizard-step="2"] .plan-list-item .small {
  margin-top: 2px;
  font-size: 0.82rem !important;
}

body.wizard-only[data-wizard-step="3"] .config-card,
body.wizard-only[data-wizard-step="4"] .email-card,
body.wizard-only[data-wizard-step="7"] .finance-card {
  margin-top: 0 !important;
  padding-top: 12px !important;
}

body.wizard-only[data-wizard-step="6"] .wizard-message-block {
  height: calc(100% - 8px);
}

body.wizard-only[data-wizard-step="6"] .wizard-message-block label {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  height: 100%;
}

body.wizard-only[data-wizard-step="6"] .wizard-message-block textarea {
  min-height: 260px !important;
  height: min(46vh, 420px) !important;
}

@media (max-width: 960px) {
  body.wizard-only[data-wizard-step="2"] .plan-picker-list {
    grid-template-columns: 1fr !important;
  }

  body.wizard-only[data-wizard-step="6"] .wizard-message-block textarea {
    min-height: 220px !important;
    height: 40vh !important;
  }
}


/* FINAL LAYOUT PATCH v5: no overflow + compact step content */
body.wizard-only #planes .section-header,
body.wizard-only #cotización .section-header,
body.wizard-only #financiamiento .section-header,
body.wizard-only #financiamiento .note {
  display: none !important;
}

body.wizard-only .wizard-step,
body.wizard-only .wizard-step * {
  min-width: 0;
}

body.wizard-only .wizard-step.active {
  overflow-x: hidden !important;
}

body.wizard-only[data-wizard-step="2"] .plan-picker {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

body.wizard-only[data-wizard-step="2"] .plan-picker-preview {
  display: none !important;
}

body.wizard-only[data-wizard-step="2"] .plan-picker-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.wizard-only .plan-list-item {
  width: 100% !important;
  overflow: hidden;
  white-space: normal;
}

body.wizard-only .plan-list-item .small,
body.wizard-only .plan-list-item strong,
body.wizard-only .check-item span,
body.wizard-only .check-item em {
  overflow-wrap: anywhere;
}

body.wizard-only .plan-item-desc {
  display: none;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(31, 26, 22, 0.2);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

body.wizard-only .plan-list-item.active .plan-item-desc {
  display: block;
}

body.wizard-only[data-wizard-step="3"] .check-item {
  grid-template-columns: 18px 1fr auto;
  column-gap: 8px;
}

body.wizard-only[data-wizard-step="3"] .check-item em {
  text-align: right;
  font-size: 0.84rem;
}

body.wizard-only[data-wizard-step="6"] .wizard-message-block {
  height: 100%;
}

body.wizard-only[data-wizard-step="6"] .wizard-message-block textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 300px !important;
  height: calc(100% - 36px) !important;
  margin-bottom: 6px;
}

body.wizard-only[data-wizard-step="8"] #resumen {
  display: block !important;
}

@media (max-width: 960px) {
  body.wizard-only[data-wizard-step="2"] .plan-picker-list {
    grid-template-columns: 1fr !important;
  }

  body.wizard-only[data-wizard-step="6"] .wizard-message-block textarea {
    min-height: 230px !important;
    height: 42vh !important;
  }
}


/* FINAL LAYOUT PATCH v6: hard right-overflow fix across steps */
html, body {
  overflow-x: hidden;
}

body.wizard-only .page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

body.wizard-only .wizard-page {
  width: calc(100vw - 8px) !important;
  max-width: calc(100vw - 8px) !important;
  margin: 4px auto !important;
  padding: 8px !important;
}

body.wizard-only .wizard-step > div,
body.wizard-only .wizard-step .section,
body.wizard-only #planes,
body.wizard-only #cotización,
body.wizard-only #financiamiento,
body.wizard-only #resumen,
body.wizard-only .config-card,
body.wizard-only .email-card,
body.wizard-only .quote-form,
body.wizard-only .finance-card,
body.wizard-only .summary-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.wizard-only #planes,
body.wizard-only #cotización,
body.wizard-only #financiamiento,
body.wizard-only #resumen {
  padding: 0 !important;
}

body.wizard-only .quote-form,
body.wizard-only .config-card,
body.wizard-only .email-card,
body.wizard-only .finance-card,
body.wizard-only .summary-card {
  padding: 12px !important;
}

body.wizard-only .form-row.row.g-3 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  --bs-gutter-x: 8px;
}

body.wizard-only .form-row.row.g-3 > label {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.wizard-only .email-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
}

body.wizard-only .check-item {
  grid-template-columns: 18px minmax(0, 1fr) auto !important;
  gap: 8px !important;
}

body.wizard-only .check-item em,
body.wizard-only .email-card strong,
body.wizard-only .summary-block strong,
body.wizard-only .wizard-actions .btn {
  max-width: 100%;
}

body.wizard-only .wizard-actions {
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 8px 0 10px !important;
}

body.wizard-only .wizard-actions .btn {
  width: 100% !important;
  padding: 10px 8px !important;
}

@media (min-width: 961px) {
  body.wizard-only .wizard-page {
    width: min(1180px, calc(100vw - 20px)) !important;
    max-width: min(1180px, calc(100vw - 20px)) !important;
    margin: 8px auto !important;
    padding: 10px 12px !important;
  }

  body.wizard-only[data-wizard-step="2"] .plan-picker-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* FINAL LAYOUT PATCH v7: add top breathing space + centered inner blocks */
body.wizard-only .wizard-step h4 {
  margin-top: 2px !important;
  margin-bottom: 10px !important;
}

body.wizard-only .wizard-step.active > div {
  margin-top: 6px !important;
}

body.wizard-only #planes,
body.wizard-only #cotización,
body.wizard-only #financiamiento,
body.wizard-only #resumen {
  margin-top: 6px !important;
}

body.wizard-only .quote-form,
body.wizard-only .config-card,
body.wizard-only .email-card,
body.wizard-only .finance-card,
body.wizard-only .summary-card {
  padding-top: 14px !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-step.active > div {
    margin-top: 4px !important;
  }

  body.wizard-only .quote-form,
  body.wizard-only .config-card,
  body.wizard-only .email-card,
  body.wizard-only .finance-card,
  body.wizard-only .summary-card {
    padding-top: 12px !important;
  }
}


/* FINAL LAYOUT PATCH v8: vertically center step content a bit more */
body.wizard-only .wizard-step.active {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding-top: clamp(14px, 2.2vh, 24px) !important;
}

body.wizard-only .wizard-step.active > h4 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

body.wizard-only .wizard-step.active > div {
  margin-top: 0 !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-step.active {
    padding-top: clamp(10px, 1.8vh, 16px) !important;
  }
}


/* FINAL LAYOUT PATCH v9: true vertical centering for short steps */
body.wizard-only .wizard-step.active[data-step="1"],
body.wizard-only .wizard-step.active[data-step="4"],
body.wizard-only .wizard-step.active[data-step="5"] {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  align-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.wizard-only .wizard-step.active[data-step="1"] > div,
body.wizard-only .wizard-step.active[data-step="4"] > div,
body.wizard-only .wizard-step.active[data-step="5"] > div {
  align-self: center !important;
}

body.wizard-only .wizard-step.active[data-step="1"] #cotización,
body.wizard-only .wizard-step.active[data-step="4"] #planes,
body.wizard-only .wizard-step.active[data-step="5"] #cotización {
  margin-top: 0 !important;
}


/* FINAL LAYOUT PATCH v10: correctly center short-step content */
body.wizard-only .wizard-step.active[data-step="1"],
body.wizard-only .wizard-step.active[data-step="4"],
body.wizard-only .wizard-step.active[data-step="5"] {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 10px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.wizard-only .wizard-step.active[data-step="1"] > div,
body.wizard-only .wizard-step.active[data-step="4"] > div,
body.wizard-only .wizard-step.active[data-step="5"] > div {
  align-self: center !important;
  width: 100% !important;
  max-width: 1040px !important;
}

body.wizard-only .wizard-step.active[data-step="1"] > h4,
body.wizard-only .wizard-step.active[data-step="4"] > h4,
body.wizard-only .wizard-step.active[data-step="5"] > h4 {
  align-self: center !important;
  width: 100% !important;
  max-width: 1040px !important;
  margin: 0 !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-step.active[data-step="1"],
  body.wizard-only .wizard-step.active[data-step="4"],
  body.wizard-only .wizard-step.active[data-step="5"] {
    justify-content: flex-start !important;
    padding-top: 6px !important;
  }
}


/* FINAL LAYOUT PATCH v11: keep titles at top, center only content on steps 1/4/5 */
body.wizard-only .wizard-step.active[data-step="1"],
body.wizard-only .wizard-step.active[data-step="4"],
body.wizard-only .wizard-step.active[data-step="5"] {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  align-content: stretch !important;
  gap: 10px !important;
  padding-top: 0 !important;
}

body.wizard-only .wizard-step.active[data-step="1"] > h4,
body.wizard-only .wizard-step.active[data-step="4"] > h4,
body.wizard-only .wizard-step.active[data-step="5"] > h4 {
  margin: 0 0 4px !important;
  align-self: start !important;
  width: 100% !important;
  max-width: none !important;
}

body.wizard-only .wizard-step.active[data-step="1"] > div,
body.wizard-only .wizard-step.active[data-step="4"] > div,
body.wizard-only .wizard-step.active[data-step="5"] > div {
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

body.wizard-only .wizard-step.active[data-step="1"] .quote-form,
body.wizard-only .wizard-step.active[data-step="5"] .quote-form,
body.wizard-only .wizard-step.active[data-step="4"] .email-card,
body.wizard-only .wizard-step.active[data-step="4"] .config-card {
  width: min(1120px, 100%) !important;
  max-width: min(1120px, 100%) !important;
  padding: 18px !important;
  border-radius: 16px !important;
}

body.wizard-only .wizard-step.active[data-step="1"] .quote-form,
body.wizard-only .wizard-step.active[data-step="5"] .quote-form {
  min-height: 220px !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-step.active[data-step="1"],
  body.wizard-only .wizard-step.active[data-step="4"],
  body.wizard-only .wizard-step.active[data-step="5"] {
    grid-template-rows: auto auto !important;
  }

  body.wizard-only .wizard-step.active[data-step="1"] > div,
  body.wizard-only .wizard-step.active[data-step="4"] > div,
  body.wizard-only .wizard-step.active[data-step="5"] > div {
    align-items: flex-start !important;
    justify-content: stretch !important;
  }

  body.wizard-only .wizard-step.active[data-step="1"] .quote-form,
  body.wizard-only .wizard-step.active[data-step="5"] .quote-form,
  body.wizard-only .wizard-step.active[data-step="4"] .email-card,
  body.wizard-only .wizard-step.active[data-step="4"] .config-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
  }
}


/* FINAL LAYOUT PATCH v12: clean look for steps 1/4/5 (remove awkward centering) */
body.wizard-only .wizard-step.active[data-step="1"],
body.wizard-only .wizard-step.active[data-step="4"],
body.wizard-only .wizard-step.active[data-step="5"] {
  display: block !important;
  padding-top: 8px !important;
}

body.wizard-only .wizard-step.active[data-step="1"] > h4,
body.wizard-only .wizard-step.active[data-step="4"] > h4,
body.wizard-only .wizard-step.active[data-step="5"] > h4 {
  margin: 0 0 10px !important;
  width: 100% !important;
  max-width: none !important;
}

body.wizard-only .wizard-step.active[data-step="1"] > div,
body.wizard-only .wizard-step.active[data-step="4"] > div,
body.wizard-only .wizard-step.active[data-step="5"] > div {
  display: block !important;
  width: 100% !important;
}

body.wizard-only .wizard-step.active[data-step="1"] .quote-form,
body.wizard-only .wizard-step.active[data-step="5"] .quote-form,
body.wizard-only .wizard-step.active[data-step="4"] .email-card,
body.wizard-only .wizard-step.active[data-step="4"] .config-card {
  width: min(1080px, 100%) !important;
  max-width: min(1080px, 100%) !important;
  margin: 0 auto !important;
  min-height: auto !important;
  padding: 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(31, 26, 22, 0.10) !important;
  box-shadow: 0 8px 20px rgba(31, 26, 22, 0.08) !important;
}

body.wizard-only .wizard-step.active[data-step="1"] .form-row,
body.wizard-only .wizard-step.active[data-step="5"] .form-row {
  gap: 12px !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-step.active[data-step="1"],
  body.wizard-only .wizard-step.active[data-step="4"],
  body.wizard-only .wizard-step.active[data-step="5"] {
    padding-top: 4px !important;
  }

  body.wizard-only .wizard-step.active[data-step="1"] .quote-form,
  body.wizard-only .wizard-step.active[data-step="5"] .quote-form,
  body.wizard-only .wizard-step.active[data-step="4"] .email-card,
  body.wizard-only .wizard-step.active[data-step="4"] .config-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
    border-radius: 12px !important;
  }
}


/* FINAL LAYOUT PATCH v13: premium visual pass */
body.wizard-only {
  background:
    radial-gradient(1200px 500px at 0% 0%, rgba(217, 119, 6, 0.10), transparent 60%),
    radial-gradient(1200px 500px at 100% 0%, rgba(15, 118, 110, 0.10), transparent 60%),
    var(--paper);
}

body.wizard-only .wizard-page {
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(31, 26, 22, 0.10);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 45px rgba(31, 26, 22, 0.14) !important;
}

body.wizard-only .wizard-step > h4 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: clamp(1.15rem, 1.2vw, 1.45rem);
  color: #1b1612;
}

body.wizard-only .quote-form,
body.wizard-only .config-card,
body.wizard-only .email-card,
body.wizard-only .finance-card,
body.wizard-only .summary-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(251,249,246,0.92)) !important;
  border: 1px solid rgba(31, 26, 22, 0.10) !important;
  box-shadow: 0 10px 24px rgba(31, 26, 22, 0.08) !important;
}

body.wizard-only .plan-list-item {
  border: 1px solid rgba(31, 26, 22, 0.14) !important;
  border-radius: 12px !important;
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.wizard-only .plan-list-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 26, 22, 0.10);
}

body.wizard-only .plan-list-item.active {
  border-color: rgba(15, 118, 110, 0.65) !important;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18) !important;
}

body.wizard-only input,
body.wizard-only select,
body.wizard-only textarea {
  border: 1px solid rgba(31, 26, 22, 0.16) !important;
  border-radius: 10px !important;
  background: #fff;
}

body.wizard-only input:focus,
body.wizard-only select:focus,
body.wizard-only textarea:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.75) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

body.wizard-only .wizard-actions {
  border-top: 1px solid rgba(31, 26, 22, 0.12) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.64), rgba(255,255,255,0.95)) !important;
  backdrop-filter: blur(5px);
}

body.wizard-only .wizard-actions .btn {
  border-radius: 10px !important;
  font-weight: 700;
}

body.wizard-only .wizard-actions .btn.primary {
  background: linear-gradient(135deg, #0f766e, #0d9488) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.25);
}

body.wizard-only .wizard-actions .btn.ghost {
  background: #fff !important;
  border: 1px solid rgba(31, 26, 22, 0.18) !important;
}

body.wizard-only .wizard-actions .btn:disabled {
  opacity: 0.55;
}

body.wizard-only #wizardStepStatus {
  min-height: 1.2rem;
  font-size: 0.9rem;
}


/* FINAL LAYOUT PATCH v14: steps 1/4/5 fill width better + more top spacing */
body.wizard-only .wizard-step.active[data-step="1"],
body.wizard-only .wizard-step.active[data-step="4"],
body.wizard-only .wizard-step.active[data-step="5"] {
  padding-top: 6px !important;
}

body.wizard-only .wizard-step.active[data-step="1"] > h4,
body.wizard-only .wizard-step.active[data-step="4"] > h4,
body.wizard-only .wizard-step.active[data-step="5"] > h4 {
  margin-bottom: 12px !important;
}

body.wizard-only .wizard-step.active[data-step="1"] .quote-form,
body.wizard-only .wizard-step.active[data-step="5"] .quote-form,
body.wizard-only .wizard-step.active[data-step="4"] .email-card,
body.wizard-only .wizard-step.active[data-step="4"] .config-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

body.wizard-only .wizard-step.active[data-step="1"] .form-row.row.g-3,
body.wizard-only .wizard-step.active[data-step="5"] .form-row.row.g-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.wizard-only .wizard-step.active[data-step="1"] .form-row.row.g-3 > label,
body.wizard-only .wizard-step.active[data-step="5"] .form-row.row.g-3 > label {
  width: 100% !important;
  max-width: 100% !important;
}

body.wizard-only .wizard-step.active[data-step="4"] .email-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-step.active[data-step="1"] .form-row.row.g-3,
  body.wizard-only .wizard-step.active[data-step="5"] .form-row.row.g-3 {
    grid-template-columns: 1fr !important;
  }
}


/* FINAL LAYOUT PATCH v15: uniform full-width cards for steps 1/4/5 */
body.wizard-only .wizard-step.active[data-step="1"],
body.wizard-only .wizard-step.active[data-step="4"],
body.wizard-only .wizard-step.active[data-step="5"] {
  padding-top: 12px !important;
}

body.wizard-only .wizard-step.active[data-step="1"] > h4,
body.wizard-only .wizard-step.active[data-step="4"] > h4,
body.wizard-only .wizard-step.active[data-step="5"] > h4 {
  margin: 0 0 14px !important;
  padding-left: 2px;
}

body.wizard-only .wizard-step.active[data-step="1"] > div,
body.wizard-only .wizard-step.active[data-step="4"] > div,
body.wizard-only .wizard-step.active[data-step="5"] > div,
body.wizard-only .wizard-step.active[data-step="1"] #cotización,
body.wizard-only .wizard-step.active[data-step="4"] #planes,
body.wizard-only .wizard-step.active[data-step="5"] #cotización {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.wizard-only .wizard-step.active[data-step="1"] .quote-form,
body.wizard-only .wizard-step.active[data-step="5"] .quote-form,
body.wizard-only .wizard-step.active[data-step="4"] .config-card,
body.wizard-only .wizard-step.active[data-step="4"] .email-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 16px !important;
  border-radius: 14px !important;
}

body.wizard-only .wizard-step.active[data-step="1"] .form-row.row.g-3,
body.wizard-only .wizard-step.active[data-step="5"] .form-row.row.g-3 {
  margin-top: 2px !important;
}

@media (max-width: 960px) {
  body.wizard-only .wizard-step.active[data-step="1"],
  body.wizard-only .wizard-step.active[data-step="4"],
  body.wizard-only .wizard-step.active[data-step="5"] {
    padding-top: 8px !important;
  }

  body.wizard-only .wizard-step.active[data-step="1"] > h4,
  body.wizard-only .wizard-step.active[data-step="4"] > h4,
  body.wizard-only .wizard-step.active[data-step="5"] > h4 {
    margin-bottom: 10px !important;
  }
}


/* FINAL LAYOUT PATCH v16: mobile fixes for step 3/4 text and no weird wrapping */
@media (max-width: 960px) {
  body.wizard-only .wizard-step.active {
    overflow-x: hidden !important;
  }

  /* Step 3: prevent one-letter-per-line wrapping */
  body.wizard-only[data-wizard-step="3"] .check-item {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    align-items: start !important;
    row-gap: 4px !important;
    column-gap: 8px !important;
  }

  body.wizard-only[data-wizard-step="3"] .check-item span {
    grid-column: 2 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  body.wizard-only[data-wizard-step="3"] .check-item em {
    grid-column: 2 !important;
    text-align: left !important;
    font-size: 0.82rem !important;
    margin-top: -2px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  /* Step 4: place monthly summary in cleaner block */
  body.wizard-only[data-wizard-step="4"] .email-card {
    padding: 12px !important;
  }

  body.wizard-only[data-wizard-step="4"] .email-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    align-items: start !important;
  }

  body.wizard-only[data-wizard-step="4"] .email-row > div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(31, 26, 22, 0.12);
    border-radius: 10px;
    background: #fff;
  }

  body.wizard-only[data-wizard-step="4"] .email-row .label {
    margin: 0 !important;
    font-size: 0.72rem !important;
  }

  body.wizard-only[data-wizard-step="4"] #emailCost {
    font-size: 1rem !important;
    font-weight: 700 !important;
  }
}


.domain-quick-search {
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fafcff;
}

.domain-quick-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 6px;
}

.domain-quick-results {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.domain-quick-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
}

.domain-quick-item .meta {
  font-size: 12px;
  color: var(--ink-muted);
}

.domain-quick-item button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 600;
  padding: 0 10px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .domain-quick-row {
    grid-template-columns: 1fr;
  }

  .domain-quick-item {
    grid-template-columns: 1fr;
  }
}

.domain-tld-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 6px;
}

.domain-tld-chips .chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.domain-tld-chips .chip.active {
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  color: #fff;
  border-color: transparent;
}

.domain-picked {
  margin: 8px 0;
  border: 1px solid rgba(14, 165, 233, 0.3);
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-radius: 10px;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
}

.domain-picked strong {
  font-size: 14px;
}

.domain-picked span {
  font-size: 12px;
  color: var(--ink-muted);
}

.domain-quick-item {
  border-color: rgba(148, 163, 184, 0.4);
  transition: transform .14s ease, box-shadow .14s ease;
}

.domain-quick-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.domain-quick-item button {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.domain-quick-item button:disabled {
  background: #e2e8f0;
  color: #64748b;
  border-color: #cbd5e1;
}


.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
