html.is-quote-fare-cond-modal-open,
body.is-quote-fare-cond-modal-open {
  overflow: hidden;
}

.quote-fare-cond-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 10045;
  display: none;
  pointer-events: none;
}

.quote-fare-cond-modal-layer:not([hidden]) {
  display: block;
}

.quote-fare-cond-backdrop {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(30, 42, 58, 0.22);
  cursor: default;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.quote-fare-cond-backdrop.is-active {
  display: block;
  background: rgba(30, 42, 58, 0.38);
}

.quote-fare-cond-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(600px, calc(100vw - 32px));
  max-height: min(88vh, calc(100dvh - 32px));
  margin: 0;
  padding: 0;
  border: 1px solid rgba(30, 42, 58, 0.09);
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 24px 48px rgba(30, 42, 58, 0.18),
    0 8px 20px rgba(30, 42, 58, 0.1);
  overflow: hidden;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.quote-fare-cond-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(30, 42, 58, 0.07);
}

.quote-fare-cond-modal-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: #1e2a3a;
  font-family: var(--lv-font-sans, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quote-fare-cond-modal-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 42, 58, 0.08);
  color: rgba(30, 42, 58, 0.72);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.quote-fare-cond-modal-close:hover {
  background: rgba(30, 42, 58, 0.14);
  color: #1e2a3a;
}

.quote-fare-cond-modal-body {
  --quote-cond-line: rgba(27, 34, 48, 0.08);
  --quote-cond-ink: #1b2230;
  --quote-cond-muted: #5a6068;
  --quote-cond-icon-size: 25px;

  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px 20px 22px;
  -webkit-overflow-scrolling: touch;
}

.quote-fare-cond-modal-body .cond-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.quote-fare-cond-modal-body .cond-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--quote-cond-line);
  border-bottom: 0;
}

.quote-fare-cond-modal-body .cond-item:first-child {
  padding-top: 10px;
  border-top: none;
}

.quote-fare-cond-modal-body .cond-item:last-child {
  padding-bottom: 4px;
}

.quote-fare-cond-modal-body .cond-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-height: var(--quote-cond-icon-size);
  padding-top: 0;
  color: var(--quote-cond-ink);
  font-family: var(--lv-font-sans, 'Inter', sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.quote-fare-cond-modal-body .cond-label img {
  flex: 0 0 auto;
  width: var(--quote-cond-icon-size);
  height: var(--quote-cond-icon-size);
  object-fit: contain;
}

.quote-fare-cond-modal-body .cond-texto {
  margin: 0;
  color: var(--quote-cond-muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.55;
}

.quote-fare-cond-modal-body .cond-texto b,
.quote-fare-cond-modal-body .cond-texto strong {
  color: var(--quote-cond-ink);
  font-weight: 600;
}

@media (max-width: 600px) {
  .quote-fare-cond-modal-body .cond-item {
    gap: 8px;
    padding: 14px 0;
  }

  .quote-fare-cond-modal-body .cond-texto {
    font-size: 0.82rem;
  }
}
