.buying-guide {
  --ink: #17212a;
  --muted: #475861;
  --paper: #f9fbfc;
  --line: #cfdae0;
  --ice: #eaf2f6;
  --cta: #a33916;
  --cta-hover: #812b0d;
}

.buying-guide .top,
.buying-guide .foot {
  background: var(--ink);
}

.buying-guide .shop-hero {
  background: var(--ice);
  margin-top: 8px;
}

.buying-guide .shop-hero h1 {
  max-width: none;
  overflow-wrap: anywhere;
  margin-top: 0;
}

.buying-guide .shop-card {
  padding: 12px;
  border-radius: 8px;
}

.buying-guide .shop-card .shop-link {
  display: flex;
  min-height: 44px;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 .3em;
  text-align: center;
  background: var(--cta);
  border-radius: 5px;
}

[data-shop-season="winter"] .buying-guide .shop-link[data-tire="all_season"],
[data-shop-season="all_season"] .buying-guide .shop-link[data-tire="winter"] {
  display: none;
}

.buying-guide .shop-card .shop-link:hover,
.buying-guide .aside .btn:hover {
  background: var(--cta-hover);
}

.buying-guide .aside .btn {
  background: var(--cta);
  min-height: 44px;
}

.buying-guide .shop-season label {
  min-height: 44px;
  margin-right: 3px;
  background: var(--paper);
}

.buying-guide .shop-season label:has(:checked) {
  background: #d4e3e9;
}

.buying-guide .article > h2 {
  margin: 1.25em 0 .55em;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.buying-guide .article > h2:first-child,
.buying-guide .guide-context {
  margin-top: 0;
}

.guide-example {
  padding: 12px 14px;
  background: var(--ice);
  border-left: 3px solid #788d98;
}

.guide-price-check {
  padding-left: 1.35em;
}

.guide-price-check li + li {
  margin-top: .35em;
}

.buying-guide .shop-hero .lede a,
.buying-guide .shop-jump a,
.buying-guide .steps a {
  color: var(--cta-hover);
  text-underline-offset: .18em;
}

@media (max-width: 760px) {
  .buying-guide .top .wrap {
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 0;
  }

  .buying-guide .nav {
    gap: 0 12px;
  }

  .buying-guide .breadcrumbs {
    padding-top: 8px;
  }

  .buying-guide .shop-hero {
    padding: 14px 0 18px;
  }

  .buying-guide .shop-hero h1 {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
  }

  .buying-guide .shop-hero .shop-card {
    padding: 7px;
  }

  .buying-guide .shop-hero .shop-card p,
  .buying-guide .shop-hero .shop-link {
    font-size: .81rem;
  }

  .buying-guide .shop-season label {
    font-size: .87rem;
  }
}

@media (max-width: 560px) {
  .buying-guide .wrap {
    width: calc(100% - 30px);
  }

  .buying-guide .top .wrap {
    min-height: 0;
  }

  .buying-guide .nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    gap: 5px;
  }

  .buying-guide .nav a {
    padding-block: 4px;
    font-size: .77rem;
    white-space: nowrap;
  }

  .buying-guide .breadcrumbs {
    padding-top: 5px;
    line-height: 1.35;
  }

  .guide-breadcrumb-current {
    display: none;
  }

  .buying-guide .shop-hero {
    margin-top: 4px;
    padding-top: 12px;
  }

  .buying-guide .shop-hero .lede {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .buying-guide .shop-hero [data-shop-position="top"] {
    margin-top: 10px;
  }

  .buying-guide [data-shop-position="top"] .shop-season:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .buying-guide [data-shop-position="top"] .shop-season label {
    margin: 0;
    padding-inline: 7px;
  }

  .buying-guide [data-shop-position="top"] .shop-link {
    padding-inline: 4px;
  }
}
