.tk-wheel-picker {
  margin-bottom: 12px;
}

.tk-wheel-picker > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  list-style: none;
  cursor: pointer;
}

.tk-wheel-picker > summary::-webkit-details-marker { display: none; }
.tk-wheel-count { color: #615a56; }
.tk-wheel-change {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #a69d97;
  border-radius: 4px;
  color: #342d29;
  font-weight: 600;
}
.tk-wheel-change::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.tk-wheel-picker[open] .tk-wheel-change::after { transform: translateY(2px) rotate(225deg); }
.tk-wheel-picker[open] > summary { margin-bottom: 8px; }
.tk-wheel-picker > summary:is(:hover, :focus-visible) .tk-wheel-change { background: #eeeae6; }
.tk-wheel-list :is(summary, a, button, select):focus-visible {
  outline: 2px solid #8a252a;
  outline-offset: 3px;
}

.tk-wheel-list .tk-rows { gap: 12px; }
.tk-wheel-list .tk-tire {
  display: grid;
  grid-template-columns: minmax(100px, 30%) minmax(0, 1fr);
  grid-template-areas: "photo info" "price price";
  align-items: center;
  gap: 12px 16px;
  padding: 16px;
  border: 1px solid #d6d1cd;
  border-radius: 6px;
  background: #fff;
  color: #282422;
}
.tk-wheel-list .tk-tire:is(:hover, :focus-within) {
  background: var(--tk-ink);
  color: #fff;
  border-color: var(--tk-ink);
  box-shadow: 0 3px 8px #342d2933;
}
.tk-wheel-list .tk-tire:is(:hover, :focus-within) .tk-name,
.tk-wheel-list .tk-tire:is(:hover, :focus-within) .tk-tire-details small,
.tk-wheel-list .tk-tire:is(:hover, :focus-within) .tk-amount > small {
  color: inherit;
}
.tk-wheel-list .tk-tire:is(:hover, :focus-within) .tk-amount strong { color: #ffaaa4; }
.tk-wheel-list .tk-tire-photo {
  grid-area: photo;
  display: grid;
  align-content: center;
  width: 100%;
}
.tk-wheel-list .tk-tire-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.tk-wheel-list .tk-tire-details { grid-area: info; min-width: 0; }
.tk-wheel-list .tk-name { color: #292522; }
.tk-wheel-list .tk-tire-details small {
  margin-top: 6px;
  color: #5d5753;
  overflow-wrap: anywhere;
}
.tk-wheel-list .tk-tire-details small:last-child { color: #385743; }
.tk-wheel-list .tk-tire-details small:last-child::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 6px 2px 0;
  border-radius: 50%;
  background: #467555;
}
.tk-wheel-list .tk-amount {
  grid-area: price;
}
.tk-wheel-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 24px;
  margin: 0;
  line-height: 1.2;
}
.tk-wheel-prices > span { display: grid; gap: 2px; white-space: nowrap; }
.tk-wheel-list .tk-tire .tk-wheel-prices strong { color: #ad272d; font-size: 1.37rem; }
.tk-wheel-prices b { color: #312c28; font-size: 1.08rem; }
.tk-wheel-list .tk-wheel-prices small { color: #5d5753; font-size: .79rem; }
.tk-wheel-list .tk-tire .tk-cart-feedback:not(:empty) { grid-column: 1 / -1; }

@media (max-width: 350px) {
  .tk-wheel-list .tk-tire { grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 12px; }
}
@media (min-width: 701px) {
  .tk-wheel-picker > summary { justify-content: flex-start; }
  .tk-wheel-list .tk-tire {
    grid-template-columns: 100px minmax(0, 1fr) auto;
    grid-template-areas: "photo info price";
  }
}
