.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 14px;
  text-align: center;
}

.btn--red { background: var(--red); color: #fff; width: 100%; }

.btn--green { background: var(--green); color: #fff; width: 100%; }

.input-pill {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  background: #fff;
}

.input-pill:focus { outline: none; border-color: var(--red); }

.section-title {
  text-align: center;
  font-weight: 300;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 20px 16px 0;
}

.section-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 12px auto 4px;
}

.tab-links {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 16px 12px;
  scrollbar-width: none;
}

.tab-links::-webkit-scrollbar { display: none; }

.tab-links a {
  color: var(--red);
  font-size: 12px;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.carousel-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 12px 6px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-track > * { scroll-snap-align: start; }

.dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 12px 0 4px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfcfcf;
  transition: background .2s, width .2s;
}

.dot.is-active { background: var(--red); width: 18px; border-radius: 4px; }

.nav-arrow { display: none; }

.card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 45vw, 210px);
  background: #fff;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

.card__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
}

.card__flag {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 2px 7px;
  border-radius: 4px;
}

.card__flag--new { background: var(--ink); }

.card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-soft);
}

.card__name {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.card__old {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--price);
}

.card__tag {
  align-self: flex-start;
  margin: 8px 0;
  background: var(--red-dark);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
}

.card__tag--orange { background: var(--orange); }

.card__add {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}

.card__add .ico {
  width: 18px;
  height: 18px;
  padding: 2px;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  stroke-width: 2.4;
}

.card__add span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.circle-cat {
  flex: 0 0 auto;
  width: 86px;
  text-align: center;
}

.circle-cat__img {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
}

.circle-cat__img img { width: 100%; height: 100%; object-fit: cover; }

.circle-cat__label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.flower-tile {
  position: relative;
  flex: 0 0 auto;
  width: 118px;
  height: 142px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
}

.flower-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flower-tile span {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #5a5a5a;
}

.shop-tile {
  flex: 0 0 auto;
  width: 128px;
}

.shop-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-soft);
}

.shop-tile span {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}

.city-card {
  position: relative;
  flex: 0 0 auto;
  width: 80%;
  max-width: 320px;
}

.city-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background: var(--bg-soft);
}

.city-card__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
