.quotes-head,
.compare-actions,
.quote-filter {
  display: flex;
  align-items: center;
}
.compare-actions {
  gap: 1.4rem;
}
.comparison {
  padding-block: 2rem 4rem;
}
.crumb {
  font-size: 0.85rem;
  color: var(--muted);
}
.crumb:hover {
  text-decoration: underline;
}
.compare-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  padding: 3rem 0 2.6rem;
}
.compare-intro h1 {
  font-size: clamp(3rem, 6.2vw, 6rem);
  font-weight: 570;
  letter-spacing: -0.067em;
  line-height: 0.97;
  margin-top: 1.1rem;
}
.compare-intro h1 span {
  color: var(--green);
}
.compare-intro > p {
  max-width: 35rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}
.compare-intro > p strong {
  color: var(--ink);
  font-weight: 630;
}
.quotes {
  border-top: 2px solid var(--ink);
}
.quotes-head {
  justify-content: space-between;
  gap: 1.1rem;
  margin-block: 1.55rem;
}
.unit {
  font-size: 0.84rem;
  color: var(--muted);
}
.quotes h2 {
  font-size: clamp(1.3rem, 2.3vw, 2.2rem);
  font-weight: 610;
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin-top: 0.3rem;
}
.quote-filter {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  background: var(--white);
}
.quote-filter[hidden] {
  display: none;
}
.quote-filter button {
  background: transparent;
  border: 0;
  border-radius: 4px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.81rem;
}
.quote-filter button[aria-pressed='true'] {
  background: #e2eee5;
  color: #145239;
  font-weight: 660;
}
.quotes table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.quotes th,
.quotes td {
  border-bottom: 1px solid var(--line);
  text-align: right;
  padding: 0.55rem 1.1rem;
}
.quotes tr > th:first-child {
  text-align: left;
}
.quotes thead th {
  background: #eaf0e6;
  color: #3b5145;
  font-size: 0.76rem;
  font-weight: 600;
  padding-block: 0.65rem;
}
.quotes td {
  width: 17%;
  font-size: 1.08rem;
}
.quotes .our-price {
  font-weight: 690;
  color: #145239;
}
.quotes tr > th:first-child {
  padding-left: 0.65rem;
}
.skin-name {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}
.skin-name img {
  object-fit: contain;
  width: 90px;
  height: 66px;
  background: #eef2ea;
  border-radius: 4px;
}
.skin-name > span {
  display: grid;
  gap: 0.05rem;
}
.skin-name small,
.skin-name > span > span {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 450;
}
.skin-name strong {
  font-size: 1rem;
  line-height: 1.2;
}
.compare-actions {
  flex-wrap: wrap;
}
.sr-comparison {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .compare-intro {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 2rem 0;
  }
  .quotes-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .comparison {
    padding-top: 1.2rem;
  }
  .quotes th,
  .quotes td {
    padding-inline: 0.7rem;
  }
}
@media (max-width: 580px) {
  .quotes table,
  .quotes tbody {
    display: block;
  }
  .quotes thead {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .quotes tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem 0.3rem;
    border-top: 1px solid var(--line);
    padding: 13px 0 15px;
  }
  .quotes tbody tr[hidden] {
    display: none;
  }
  .quotes tr > th:first-child {
    grid-column: 1/-1;
    padding: 0;
  }
  .quotes th,
  .quotes td {
    border: none;
    text-align: left;
  }
  .quotes td {
    width: auto;
    padding: 0.3rem 0.15rem 0;
    font-size: 1rem;
  }
  .quotes td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 450;
  }
  .skin-name img {
    width: 74px;
    height: 58px;
  }
  .compare-intro h1 {
    font-size: clamp(2.9rem, 10vw, 3.7rem);
  }
  .compare-actions {
    gap: 1rem;
  }
  .skin-name {
    gap: 0.7rem;
  }
}
.quotes thead th small {
  display: block;
  font-size: 0.72rem;
  font-weight: 430;
  color: var(--muted);
  margin-top: 2px;
}
.quotes td.estimate {
  color: #53665c;
}
.comparison .compare-intro {
  grid-template-columns: 1fr;
}
.comparison .compare-actions {
  margin-top: 1.6rem;
}
@media (max-width: 580px) {
  .comparison .quotes tbody tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.48rem;
  }
  .quotes td[data-label] {
    padding-top: 0.4rem;
  }
}
@media (min-width: 761px) {
  .compare-intro {
    padding: 2.25rem 0;
  }
  .compare-intro h1 {
    font-size: clamp(3rem, 5.3vw, 5rem);
  }
}
.quotes td.our-price,
.quotes thead th:nth-child(2) {
  color: #007b42;
}
@media (max-width: 580px) {
  .quotes table {
    border-bottom: 1px solid var(--line);
  }
}
