.quote-flow [hidden],
.shop-product [hidden],
.shop-cart [hidden] {
  display: none;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  margin: 0 0 .8rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: clamp(.72rem, 1.4vw, .85rem);
  font-weight: 700;
}

.journey-steps li {
  padding-top: .6rem;
  border-top: .2rem solid var(--line);
}

.journey-steps li[aria-current],
.journey-steps .journey-step-done { border-color: var(--brand); }
.journey-steps li[aria-current] { color: var(--ink); }

.journey-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: .8rem;
}

.journey-card-top h2,
.journey-confirmation h2 {
  margin: .32rem 0 .5rem;
  max-width: 22ch;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.journey-card-top .btn {
  flex-shrink: 0;
}

.journey-price {
  margin: .8rem 0;
  color: var(--brand);
  font-size: clamp(1.65rem, 5vw, 3.2rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.journey-muted {
  color: var(--muted);
  font-size: .9rem;
}

.quote-source {
  margin: .9rem 0;
  padding: .85rem;
  border-radius: .72rem;
  border: 1px solid var(--line);
  background: #edf4e5;
}

.quote-source p { margin: .3rem 0 0; }
.quote-source a { color: var(--brand); font-weight: 700; text-underline-offset: .16em; }
.quote-source details { margin-top: .5rem; }
.quote-source summary { cursor: pointer; font-size: .88rem; font-weight: 700; }

.journey-tag {
  display: inline-block;
  padding: .24rem .52rem;
  border-radius: .42rem;
  background: var(--lime);
  color: #163323;
  font-weight: 750;
  font-size: .82rem;
}

.quote-flow [data-quote-next],
.journey-confirmation .btn { margin-top: .85rem; }

.journey-contact {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.journey-contact h3 { margin: 0; }

.journey-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.journey-fields label {
  display: grid;
  gap: .3rem;
  font-size: .87rem;
  font-weight: 700;
}

.journey-fields input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: .65rem;
  padding: .55rem .72rem;
  background: #fffef8;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.journey-contact > .btn { justify-self: start; }

.journey-error {
  margin: .5rem 0;
  color: #913810;
  font-size: .92rem;
  font-weight: 650;
}
.journey-error:empty { margin: 0; }

.journey-confirmation {
  display: grid;
  justify-items: start;
  gap: .55rem;
  background: #edf4e5;
}
.journey-confirmation > p { margin: 0; }

.shop-order-items {
  display: grid;
  gap: .5rem;
  margin: .95rem 0;
  padding: 0;
  list-style: none;
}
.shop-order-items li { display: flex; justify-content: space-between; gap: 1rem; }
.shop-order-items strong { white-space: nowrap; }
.shop-order-dialog .journey-contact { margin-top: .4rem; }
.shop-order-dialog .journey-error:empty { margin: 0; }

.quote-flow button:disabled,
.shop-cart button:disabled,
.shop-filters select:disabled { opacity: .55; cursor: default; }

@media (max-width: 570px) {
  .journey-fields { grid-template-columns: minmax(0, 1fr); }
  .journey-card-top { align-items: start; }
  .journey-card-top .btn { padding-inline: .8rem; }
}
