/* Explore — Figma node 2535:4633 (402 × 958) */

.explore__col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 402px;
  padding-bottom: 96px; /* lets the last row scroll clear of the bottom nav */
}
.explore__spacer { height: 80px; flex-shrink: 0; background: #fff; }

/* ---------- hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 250px;
  padding: 50px 20px 10px;
  flex-shrink: 0;
}
.hero__title { font-weight: 600; font-size: 28px; line-height: 36px; color: #000; }
.hero__sub { max-width: 512px; font-size: 16px; line-height: 24px; color: var(--grey); }
.search { position: relative; display: block; padding-top: 10px; max-width: 672px; }
.search__input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 17px 16px 18px 48px;
  border: 0.3px solid var(--light-grey);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.06);
  font-family: "Hanken Grotesk", var(--font);
  font-size: 16px;
  line-height: normal;
  color: var(--dark);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.search__input::placeholder { color: var(--light-grey); opacity: 1; }
.search__input::-webkit-search-decoration { -webkit-appearance: none; }
.search__input:focus { border-color: var(--red); box-shadow: 0 4px 10px rgba(142, 1, 36, 0.12); }
.search__icon {
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 6px;
  padding-left: 16px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* ---------- featured route ---------- */
.featured {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px;
}
.feature-card {
  position: relative;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  color: #fff;
  transition: transform 180ms ease;
}
.feature-card:active:not(:has(.feature-card__fav:active)) { transform: scale(0.985); }
.feature-card__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.feature-card__bg img { position: absolute; left: 0; top: -35.5%; width: 100%; height: 171%; max-width: none; }
.feature-card__photo {
  position: absolute;
  left: -82px;
  top: -5px;
  width: 505px;
  height: 247px;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
.feature-card__shade-top {
  position: absolute;
  left: 0;
  top: -5px;
  width: 362px;
  height: 148px;
  /* Figma stop 0 sits above the layer (gradientTransform), so the first stop is negative */
  background: linear-gradient(to bottom, #000 -43.919%, rgba(0, 0, 0, 0) 71.622%);
}
.feature-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0));
}
.feature-card__content {
  position: absolute;
  inset: 0 0 -15.5px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 20px 0;
}
.badge {
  align-self: flex-start;
  padding: 6px 13px 5px 12px;
  border-radius: 8px;
  background: var(--red);
  font-weight: 700;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.feature-card__body { position: relative; height: 168.5px; }
.feature-card__title {
  position: absolute;
  left: 0;
  top: -0.75px;
  font-weight: 700;
  font-size: 24px;
  line-height: 37.5px;
  white-space: nowrap;
}
.feature-card__place {
  position: absolute;
  left: 0;
  top: 84.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.feature-card__stats { position: absolute; left: 0; right: 0; top: calc(50% + 38px); }
.stat {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.stat__w53 { width: 53px; }
.stat-divider {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
}
.feature-card__fav {
  position: absolute;
  right: 10px;
  top: 10px;
}
.featured__go { position: absolute; left: 341px; top: 158px; transition: transform 150ms; }
.featured__go:hover { transform: translateX(2px); }

.dots { display: flex; justify-content: center; gap: 6px; }
.dots i { display: block; width: 6px; height: 6px; border-radius: 9999px; background: #d1d5db; }
.dots i.is-active { background: var(--red-deep); }

/* ---------- categories ---------- */
.cats {
  position: relative;
  width: 422px;
  height: 109px;
  padding: 0 21px;
  flex-shrink: 0;
}
.cat {
  position: absolute;
  top: 0;
  left: 21px;
  width: 83.768px;
  height: 109px;
  border-radius: 10px;
}
.cat__col {
  position: absolute;
  left: 9.97px;
  top: 8px;
  height: 79px;
  min-width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cat--last .cat__col { left: 5.98px; }
.cat__m { position: relative; width: 64px; height: 60px; flex-shrink: 0; }
.cat__circle {
  position: absolute;
  left: 6px;
  top: 8px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.1);
  transition: background-color 150ms, transform 150ms;
}
.cat:hover .cat__circle { transform: scale(1.04); }
.cat__label {
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #000;
  white-space: nowrap;
}
.cat.is-active .cat__circle { background: var(--red); border: 1px solid var(--red); padding: 1px; }
.cat.is-active .cat__circle img { filter: brightness(0) invert(1); }
.cat.is-active .cat__label { font-weight: 600; color: var(--red); }
.cat.is-active .cat__col::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -6px;
  width: 20px;
  height: 2px;
  border-radius: 9999px;
  background: var(--red-deep);
}

/* ---------- curated ---------- */
.curated { display: flex; flex-direction: column; gap: 4px; }
.curated__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  padding: 0 20px;
}
.curated__head h3 { font-weight: 700; font-size: 16px; line-height: 28px; white-space: nowrap; }
.curated__all { font-weight: 600; font-size: 14px; line-height: 20px; color: var(--red-deep); }
.curated__all:hover { text-decoration: underline; }
.curated__row {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 223.5px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 20px;
}
.curated__row::-webkit-scrollbar { display: none; }
.curated__row::after { content: ""; flex: 0 0 5px; }
.route-card {
  position: relative;
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  width: 200px;
  height: 223.5px;
  padding: 1px;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
  transition: transform 150ms;
}
.route-card:active { transform: scale(0.98); }
.route-card__img { position: relative; height: 128px; flex-shrink: 0; overflow: hidden; }
.route-card__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.route-card__photo--route66 { object-position: 50% 28%; }
.route-card__body {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}
.route-card__head { position: relative; height: 41.5px; }
.route-card__head h4 {
  position: absolute;
  left: 0;
  right: 0;
  top: -1.13px;
  padding-bottom: 0.625px;
  font-weight: 700;
  font-size: 15px;
  line-height: 18.75px;
  color: var(--ink);
  white-space: nowrap;
}
.route-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  white-space: nowrap;
}
