.time-picks {
  margin: 20px 0 16px;
  color: var(--ink);
}
.time-picks header,
.time-title,
.time-price,
.time-clock > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.time-picks header {
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 10px;
}
.time-picks h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0;
  font-weight: 700;
}
.time-picks header p,
.time-spec {
  color: #595f5d;
  font-size: 13px;
  margin: 0;
}
.time-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 2px 2px 8px;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #b8c6bd #f3f5f4;
}
.time-card {
  flex: 0 0 calc((100% - 36px) / 2);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.time-navigation {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.time-navigation[hidden] {
  display: none;
}
.time-navigation button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #151515;
  cursor: pointer;
  font: 22px/1 sans-serif;
}
.time-navigation button:disabled {
  opacity: 0.3;
  cursor: default;
}
.time-navigation button:hover:not(:disabled) {
  border-color: #9acdb4;
  background: #f2f8f4;
}
.time-navigation button:focus-visible {
  outline: 2px solid var(--brand-dark);
  outline-offset: 2px;
}
.time-card:focus-visible,
.time-card:hover {
  outline: 2px solid var(--brand-dark);
  outline-offset: 1px;
}
.time-photo {
  position: relative;
  overflow: hidden;
  background: #f3f5f4;
  height: clamp(140px, 15vw, 250px);
}
.time-photo img {
  width: 100%;
  height: 100%;
}
.time-photo-vehicle {
  position: relative;
  object-fit: cover;
}
.time-photo small,
.time-category {
  position: absolute;
  border-radius: 12px;
  background: #141414d9;
  color: white;
  font-size: 12px;
  padding: 2px 9px;
  z-index: 1;
}
.time-category {
  top: 8px;
  left: 8px;
}
.time-photo small {
  bottom: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.time-photo small svg {
  width: 13px;
  height: 13px;
}
.time-sold {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #15151588;
  color: white;
  font-size: 23px;
  font-weight: 750;
}
.time-body {
  padding: 10px 13px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.time-title {
  justify-content: space-between;
}
.time-title span {
  font-size: 12px;
  white-space: nowrap;
}
.time-title h3,
.time-note p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.time-title h3 {
  font-size: 17px;
  line-height: 1.35;
  min-height: 2.7em;
  margin: 0;
  -webkit-line-clamp: 2;
}
.time-note {
  background: #f2f8f4;
  border-left: 3px solid #9acdb4;
  padding: 6px 10px;
  border-radius: 4px;
}
.time-note strong {
  color: #066b47;
  font-size: 13px;
}
.time-note p {
  white-space: pre-line;
  word-break: keep-all;
  margin: 2px 0 0;
  color: #151515;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  -webkit-line-clamp: 3;
}
.time-body .time-offer {
  margin-top: auto;
}
.time-offer {
  min-width: 0;
}
.time-price {
  flex-wrap: wrap;
  gap: 4px 10px;
  line-height: 1.3;
  align-items: center;
}
.time-price strong {
  font-size: 24px;
  color: #066b47;
}
.time-offer.is-sold .time-price strong {
  color: #555;
}
.time-price del,
.time-price small {
  font-size: 13px;
  color: #616161;
}
.time-price b {
  color: #973713;
  background: #ffecdd;
  font-size: 12px;
  border-radius: 10px;
  padding: 2px 8px;
}
.time-clock,
.time-finished {
  display: block;
  padding: 5px 9px;
  margin-top: 5px;
  background: #fff6e7;
  color: #734810;
  border-radius: 6px;
  font-size: 12px;
}
.time-clock > div {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 6px;
}
.time-clock [data-remaining] {
  font-variant-numeric: tabular-nums;
  color: #292929;
}
.time-clock small {
  font-size: 12px;
}
.time-clock progress {
  --time-progress-color: #b77920;
  display: block;
  appearance: none;
  border: 0;
  height: 3px;
  width: 100%;
  margin-top: 3px;
  background: #e0d9cb;
  color: var(--time-progress-color);
}
.time-clock progress.is-ending {
  --time-progress-color: #dc2626;
}
.time-clock progress::-webkit-progress-bar {
  background: #e0d9cb;
}
.time-clock progress::-webkit-progress-value {
  background: var(--time-progress-color);
}
.time-clock progress::-moz-progress-bar {
  background: var(--time-progress-color);
}
.time-finished {
  display: flex;
  align-items: center;
  min-height: 34px;
  background: #f2f3f3;
  color: #555;
}
.time-detail-note p {
  display: block;
  overflow: visible;
}
.time-detail-note {
  margin: 10px 0;
}
.modal-action-row .time-offer {
  flex: 1 1 240px;
}
.modal-price[hidden] {
  display: none;
}
@media (max-width: 680px) {
  .time-navigation {
    display: none;
  }
  .time-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px;
    gap: 10px;
  }
  .time-card {
    flex: 0 0 89%;
    scroll-snap-align: start;
  }
  .time-card:only-child {
    flex-basis: 100%;
  }
  .time-picks header {
    display: block;
  }
  .time-picks header p {
    margin-top: 3px;
  }
  .time-photo {
    height: 250px;
  }
  .time-picks h2 {
    font-size: 18px;
  }
  .time-title h3 {
    font-size: 16px;
  }
  .time-price strong {
    font-size: 21px;
  }
}
