:root {
  --bg: #f4f6f7;
  --surface: #fff;
  --text: #191c1f;
  --muted: #5f6870;
  --border: #f4f4f4;
  --primary: #111827;
  --accent: #f2f0fe;
  --accent-strong: #d1cafc;
  --warning: #f6ac29;
  --control-height: 58px;
}
/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1 {
  font-size: 18px;
}
h2 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 15px;
}
h3 {
  font-size: 16px;
}
h4,
h5,
h6 {
  font-size: 14px;
}
p {
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
}
label {
  font-size: 16px;
  margin-bottom: 15px;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
small {
  font-size: 0.84rem;
}
button,
input,
select,
textarea {
  font: inherit;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
}
.page {
  position: relative;
  min-height: 100vh;
  padding: 50px;
  isolation: isolate;
}
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("baggrund.jpg") center / cover no-repeat;
  transform: scale(1.06);
}
.app-chrome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: 1060px;
  height: 52px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  display: block;
  height: 18px;
  width: auto;
}
.app-chrome-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.app-chrome-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #171a1f;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.app-chrome-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 6px;
  background: #fff;
  color: #171a1f;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.app-chrome-login:hover,
.app-chrome-login:focus-visible {
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}
.app-chrome-link:hover,
.app-chrome-link:focus-visible {
  color: var(--accent-strong);
}
.phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #6b7280;
}
.app-chrome-link:hover .phone-icon,
.app-chrome-link:focus-visible .phone-icon {
  color: var(--accent-strong);
}
.phone-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}
.flow-progress {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 0;
}
.flow-progress-status {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.flow-progress-icon-wrap {
  width: 38px;
  height: 38px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
}
.flow-step-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.flow-step-icon.is-hidden {
  display: none;
}
.flow-progress-step {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  line-height: 1.2;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.quote-shell {
  max-width: 1060px;
  margin: 0 auto 50px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.90);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.12);
}
.quote-shell-top {
  margin: -50px -50px 42px;
  padding: 0 50px;
  background: #fff;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
.quote-shell-progress {
  padding: 32px 56px 28px;
  border-bottom: 1px solid rgba(232, 236, 239, 0.65);
}
.quote-shell-body {
  padding: 0;
}
#step-title {
  margin-bottom: 15px;
}
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0;
  align-items: stretch;
}
.quote-main {
  min-width: 0;
  padding: 40px 56px 56px;
}
.quote-summary {
  min-width: 0;
  background: #f4f6f7;
  border-left: 1px solid rgba(17, 24, 39, 0.08);
}
.quote-summary-inner {
  position: sticky;
  top: 20px;
  padding: 40px 32px;
}
.quote-summary-title {
  font-size: 1rem;
  margin-bottom: 14px;
}
.quote-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.quote-summary-item {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8ecef;
}
.quote-summary-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.quote-summary-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.quote-summary-value {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.35;
}
.quote-summary-item[data-summary-state="done"] .quote-summary-value {
  font-weight: 600;
}
.quote-summary-item[data-summary-state="pending"] .quote-summary-value {
  color: #9ca3af;
}
.quote-summary-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #dfe3e8;
}
.quote-summary-total-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin-bottom: 4px;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.quote-summary-total-price {
  margin: 0;
  line-height: 1.2;
}
.quote-summary-total-price strong {
  display: block;
  font-size: 1.65rem;
  color: var(--text);
}
.quote-summary-total-price span {
  font-size: 0.84rem;
  color: var(--muted);
}
.quote-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  display: none;
}
.quote-sticky-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.quote-sticky-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}
.quote-summary-toggle {
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (min-width: 861px) {
  .quote-summary-toggle {
    display: none;
  }
}
.quote-sticky-price {
  text-align: right;
  line-height: 1.15;
}
.quote-sticky-price strong {
  display: block;
  font-size: 1.35rem;
}
.quote-sticky-price span {
  font-size: 0.78rem;
  color: var(--muted);
}
.summary-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 95;
}
.summary-drawer-backdrop.is-hidden {
  display: none;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.flow-stack {
  display: grid;
  gap: 22px;
}
.flow-stack.accept-step {
  gap: 18px;
}
.form-footer-meta {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  justify-items: start;
}
.payment-trust {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}
.quote-summary .payment-trust {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.payment-trust-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.payment-trust-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.payment-trust-icons img {
  height: 25px;
  width: auto;
  display: block;
}
.help-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 22px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.95rem;
  color: var(--muted);
  text-align: left;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.help-row .live-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2bb673;
  box-shadow: 0 0 0 4px rgba(43, 182, 115, 0.18);
}
.help-row a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
.is-hidden {
  display: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.step[hidden] {
  display: none;
}
.step.active {
  display: block;
}
.package-list {
  display: grid;
  gap: 10px;
}
.package-list-divider {
  margin: 4px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.package-section-title {
  margin: 16px 0 2px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.package-list > .package-section-title:first-of-type {
  margin-top: 0;
}
.package-section-group {
  display: grid;
  gap: 10px;
}
.package-section-note {
  margin: -2px 0 2px;
  font-size: 0.84rem;
  color: #4b5563;
  line-height: 1.45;
}
.package-option {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.package-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.package-option-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #c5cad1;
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.package-option:has(input:checked) {
  border-color: var(--accent-strong);
  background: #c9c0ff;
}
.package-option:has(input:checked) .package-option-radio {
  border-color: var(--accent-strong);
  background: #c9c0ff;
  box-shadow: inset 0 0 0 3px #fff;
}
.package-option-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.package-option-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.package-option-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.35;
}
.package-option-price {
  text-align: right;
  line-height: 1.15;
  flex-shrink: 0;
}
.package-price-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}
.package-price-unit {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
}
.package-option-details {
  margin-top: 2px;
}
.package-option-details summary {
  font-size: 0.82rem;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  list-style: none;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.package-option-details summary::-webkit-details-marker {
  display: none;
}
.package-option-details ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.package-option-details li {
  font-size: 0.84rem;
  color: #4b5563;
  padding-left: 14px;
  position: relative;
}
.package-option-details li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
  font-weight: 700;
}
.package-option-details-text {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.package-option-details-text p {
  font-size: 0.84rem;
  color: #4b5563;
}
.package-badge {
  position: absolute;
  top: -8px;
  right: 14px;
  background: var(--accent-strong);
  color: #000;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.package-option-popular {
  margin-top: 4px;
}
.package-option-alt {
  background: #f9fafb;
}
.livsforsikring-price-section {
  padding: 15px;
}
.livsforsikring-price-section .form-group label {
  margin-top: 0;
}
.package-addon-group {
  display: grid;
  gap: 10px;
}
.package-option-addon .package-option-radio {
  border-radius: 6px;
}
.package-option-locked {
  cursor: default;
}
.package-option-locked:has(input:checked) {
  border-color: var(--accent-strong);
  background: #c9c0ff;
}
.package-option-locked:has(input:checked) .package-option-radio {
  border-color: var(--accent-strong);
  background: #c9c0ff;
  box-shadow: inset 0 0 0 3px #fff;
}
.package-option-locked:has(input:disabled) {
  opacity: 1;
}
.package-error {
  margin: 0;
  color: #b42318;
  font-size: 0.9rem;
}
.health-question h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 12px;
  margin-bottom: 12px;
  color: var(--text);
}
.health-follow-up {
  margin-top: 14px;
}
.health-follow-up .form-group label {
  margin-top: 0;
}
textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: #fff;
  resize: vertical;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
textarea:focus {
  outline: 2px solid #cbe6fa;
  outline-offset: 2px;
  border-color: #8ac4ef;
}
.chip-section {
  margin-top: 4px;
  display: grid;
  gap: 14px;
}
.chip-info-box {
  padding: 14px 16px;
  background: #f9fafb;
  border-left: 4px solid #d1d5db;
  border-radius: 8px;
}
.chip-info-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.chip-opt-in {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.chip-opt-in input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex-shrink: 0;
  border-radius: 5px;
  accent-color: var(--accent-strong);
}
.chip-input-wrap .form-group label {
  margin-top: 0;
}
body.is-step-4 .quote-layout {
  grid-template-columns: 1fr;
}
body.is-step-4 .quote-summary {
  display: none;
}
.summary-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafbfc;
  padding: 4px 0;
}
.summary-row,
.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid #eef1f4;
  color: #000;
}
.summary-row:last-of-type {
  border-bottom: 0;
}
.summary-total {
  border-top: 1px solid #dfe3e8;
  border-bottom: 0;
  margin-top: 4px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-weight: 700;
  color: #000;
}
.summary-lbl {
  font-size: 0.88rem;
  color: var(--muted);
}
.summary-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}
.summary-val small {
  font-weight: 400;
  color: var(--muted);
}
.summary-row-discount .summary-lbl,
.summary-row-discount .summary-val {
  color: #000;
}
.accept-section {
  display: grid;
  gap: 10px;
}
.accept-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.accept-section-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.accept-section-title h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.option-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.option-card {
  margin: 0;
  padding: 16px 14px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.option-card:hover {
  border-color: #c5cad1;
}
.option-card.is-selected {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px var(--accent-strong);
  background: #faf7f9;
}
.option-card-icon {
  width: 28px;
  height: 28px;
  color: #374151;
  display: inline-flex;
}
.option-card-icon svg {
  width: 28px;
  height: 28px;
}
.option-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.option-card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.freq-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.freq-option {
  position: relative;
  margin: 0;
  padding: 16px 14px;
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.freq-option.is-selected {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px var(--accent-strong);
  background: #faf7f9;
}
.freq-option-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.freq-option-sub {
  font-size: 0.84rem;
  color: var(--muted);
}
.freq-discount-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  background: var(--accent-strong);
  color: #000;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.accept-checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #374151;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.accept-checkbox-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  flex-shrink: 0;
  border-radius: 5px;
  accent-color: var(--accent-strong);
}
.accept-checkbox-row a {
  color: var(--text);
  font-weight: 600;
}
.accept-explain {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}
.accept-explain.is-hidden {
  display: none;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.choice-card {
  margin: 0;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  min-height: var(--control-height);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: #fff;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  flex: 0 0 34px;
}
.choice-card-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  position: relative;
}
.choice-card-disabled input {
  pointer-events: none;
}
.soon-badge {
  margin-left: 10px;
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #6b7280;
  background: #eef1f4;
  border: 1px solid #d8dee4;
  border-radius: 999px;
  padding: 3px 8px;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.choice-card:has(input:checked) {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #000;
}
.choice-card:has(input:checked) .choice-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}
.form-group label {
  display: block;
  margin-top: 15px;
  margin-bottom: 15px;
}
input[type="text"]:not(.breed-search),
input[type="date"],
select {
  width: 100%;
  height: var(--control-height);
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: #fff;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.breed-combobox {
  width: 100%;
  min-height: var(--control-height);
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 8px 0 0;
}
.breed-combobox.is-selected {
  background: var(--accent);
  border-color: var(--accent-strong);
}
.breed-combobox:focus-within {
  outline: 2px solid #cbe6fa;
  outline-offset: 2px;
  border-color: #8ac4ef;
}
.breed-search {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: 0;
  height: calc(var(--control-height) - 2px);
  width: auto;
  padding: 0 16px;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.breed-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.breed-clear,
.breed-toggle {
  width: 28px;
  height: 28px;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #f8fafc;
  color: #667085;
  cursor: pointer;
  padding: 0;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.breed-clear:hover,
.breed-toggle:hover {
  background: #eef2f6;
  color: #344054;
}
.breed-toggle svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}
.breed-clear svg {
  width: 12px;
  height: 12px;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.breed-combobox[aria-expanded="true"] .breed-toggle svg {
  transform: rotate(180deg);
}
.breed-clear.is-hidden {
  display: none;
}
.breed-list {
  margin: 6px 0 0;
  padding: 0;
  max-height: 280px;
  overflow: auto;
  list-style: none;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
}
.breed-option {
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #eaecf0;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.breed-option:last-child {
  border-bottom: 0;
}
.breed-option-content {
  min-width: 0;
}
.breed-option-title {
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}
.breed-option-meta {
  color: #667085;
  font-size: 0.84rem;
  margin-top: 1px;
}
.breed-option-icon {
  font-size: 1rem;
  margin-left: 10px;
  line-height: 1;
}
.breed-option:hover,
.breed-option.is-active {
  background: #f9fafb;
}
.breed-option-empty {
  padding: 9px 14px;
  color: var(--muted);
}
input[type="text"]:focus:not(.breed-search),
input[type="date"]:focus,
select:focus {
  outline: 2px solid #cbe6fa;
  outline-offset: 2px;
  border-color: #8ac4ef;
}
input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.85;
  cursor: pointer;
}
.flatpickr-calendar {
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.flatpickr-months .flatpickr-month {
  color: #171a1f;
  fill: #171a1f;
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-weight: 600;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.flatpickr-weekdays {
  background: #fff;
}
span.flatpickr-weekday {
  color: #5f6870;
  font-weight: 600;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.flatpickr-day {
  border-radius: 8px;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
.breed-search:focus {
  outline: 0;
  border-color: transparent;
}
.help-text {
  margin-top: 6px;
  display: inline-block;
  color: var(--muted);
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.money-field {
  width: 100%;
  height: var(--control-height);
  border: 1px solid #dfe3e8;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}
.money-prefix {
  font-size: 1.2rem;
  color: #171a1f;
  line-height: 1;
}
#chilePris {
  border: 0;
  outline: 0;
  width: 100%;
  min-width: 0;
  padding: 0;
  height: 100%;
  background: transparent;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.money-field:focus-within {
  outline: 2px solid #cbe6fa;
  outline-offset: 2px;
  border-color: #8ac4ef;
}
.inline-help-btn {
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-top: 15px;
  cursor: pointer;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-backdrop.is-hidden {
  display: none;
}
.modal-card {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}
.modal-card h3 {
  margin-bottom: 10px;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.age-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
}
.form-navigation {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid transparent;
  border-radius: 5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 26px;
  cursor: pointer;
  min-height: 46px;
  font-family: Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.btn-secondary {
  background: #f1f3f5;
  color: #171a1f;
  border: 1px solid #dfe3e8;
}
.btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}
.btn-primary:hover {
  background: #000;
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #eceff2;
}
.field-error {
  border-color: #d92d20 !important;
}
.error-message {
  margin-top: 15px;
  color: #b42318;
}
@media (max-width: 1024px) {
  .page {
    padding: 0 16px 28px;
  }
  .quote-shell {
    border-radius: 0;
  }
  .quote-shell-top {
    margin: 0 -16px 28px;
    padding: 0 16px;
  }
  .quote-shell-progress {
    padding: 24px 34px 22px;
  }
  .quote-main {
    padding: 32px 34px 40px;
  }
  .flow-stack {
    gap: 16px;
  }
  .form-group label {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .choice-grid {
    gap: 10px;
  }
  .form-navigation {
    margin-top: 16px;
  }
  .quote-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .quote-summary-inner {
    padding: 32px 24px;
  }
}
@media (max-width: 860px) {
  :root {
    --control-height: 54px;
  }
  .quote-shell-top {
    margin-bottom: 16px;
  }
  .quote-shell-progress {
    padding: 20px 28px 18px;
  }
  .quote-main {
    padding: 28px 28px 36px;
  }
  .app-chrome-bar {
    gap: 16px;
  }
  .brand-logo {
    height: 24px;
  }
  .app-chrome-link {
    font-size: 0.82rem;
  }
  .quote-shell {
    border-radius: 0;
  }
  .flow-stack {
    gap: 12px;
  }
  .form-group label {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .btn {
    padding: 10px 18px;
    min-width: 140px;
  }
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .quote-layout {
    grid-template-columns: 1fr;
  }
  .quote-summary {
    display: none;
  }
  .quote-summary.is-drawer-open {
    display: block;
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    margin: 0;
    max-height: 78vh;
    overflow: auto;
    border-left: 0;
    border-top: 1px solid #e8ecef;
    border-radius: 16px 16px 0 0;
    background: #fff;
    box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.18);
  }
  .quote-summary.is-drawer-open .quote-summary-inner {
    position: static;
    padding: 20px 20px 24px;
  }
  body.has-sticky-quote .quote-sticky-bar {
    display: block;
  }
  body.has-sticky-quote .page {
    padding-bottom: 88px;
  }
  body.is-step-4 .quote-summary,
  body.is-step-4 .quote-summary.is-drawer-open {
    display: none !important;
  }
  body.is-step-4 .summary-drawer-backdrop {
    display: none !important;
  }
  body.is-step-4.has-sticky-quote .quote-sticky-bar,
  body.is-step-4 .quote-sticky-bar {
    display: none;
  }
  body.is-step-4 .page {
    padding-bottom: 0;
  }
  .package-option {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "radio body"
      "radio price";
    gap: 8px 12px;
  }
  .package-option-radio {
    grid-area: radio;
    align-self: start;
    margin-top: 2px;
  }
  .package-option-body {
    grid-area: body;
  }
  .package-option-price {
    grid-area: price;
    text-align: left;
  }
  .option-grid,
  .option-grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  :root {
    --control-height: 52px;
  }
  .page {
    padding: 0 10px 20px;
  }
  h1 {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  h2,
  label {
    margin-top: 10px;
    font-size: 0.98rem;
  }
  .quote-shell-top {
    margin: 0 -10px 14px;
    padding: 0 10px;
  }
  .quote-shell-progress {
    padding: 18px 20px 16px;
  }
  .quote-main {
    padding: 24px 20px 28px;
  }
  .app-chrome-bar {
    gap: 12px;
  }
  .app-chrome-link {
    font-size: 0.78rem;
  }
  .flow-progress-step {
    font-size: 0.68rem;
  }
  .quote-shell {
    border-radius: 0;
  }
  .quote-layout {
    gap: 0;
  }
  .flow-stack {
    gap: 10px;
  }
  .form-group label {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .choice-card {
    padding: 0 12px;
    gap: 5px;
  }
  .choice-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 0.95rem;
  }
  .soon-badge {
    margin-left: auto;
    font-size: 0.64rem;
    padding: 2px 6px;
  }
  .breed-list {
    max-height: 230px;
  }
  .breed-option {
    padding: 10px 12px;
  }
  .breed-option-meta {
    font-size: 0.78rem;
  }
  .form-navigation {
    margin-top: 12px;
    gap: 8px;
  }
  .btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 120px;
  }
}
@media (max-width: 420px) {
  .app-chrome-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .app-chrome-link {
    font-size: 0.74rem;
  }
  .btn {
    flex-basis: 100%;
    width: 100%;
  }
}