.top-restaurants-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(228, 86, 35, 0.2), transparent 48%),
    radial-gradient(circle at 88% 0%, rgba(102, 45, 145, 0.22), transparent 42%),
    linear-gradient(135deg, #fff5ef 0%, #f7f2ff 100%);
}

.top-restaurants-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-restaurants-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  color: #662d91;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.top-restaurants-cta {
  background: #662d91;
  border: 1px solid #662d91;
  color: #fff;
  font-weight: 700;
}

.top-restaurants-cta:hover,
.top-restaurants-cta:focus {
  background: #e45623;
  border-color: #e45623;
  color: #fff;
}

.top-restaurants-body {
  padding: 1.5rem 0 3rem;
}

.top-restaurants-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.top-restaurants-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px 260px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 230px;
  border-radius: 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(102, 45, 145, 0.16);
  box-shadow: 0 14px 28px rgba(52, 28, 68, 0.08);
  padding: 0.95rem 1.1rem;
}

.top-restaurants-rank {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1;
  font-weight: 900;
  color: #662d91;
  text-align: center;
}

.top-restaurants-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(102, 45, 145, 0.12);
  background: #fff;
}

.top-restaurants-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-restaurants-content {
  min-width: 0;
}

.top-restaurants-name-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.top-restaurants-name {
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.top-restaurants-name a {
  color: #662d91;
  text-decoration: none;
}

.top-restaurants-name a:hover {
  color: #e45623;
}

.top-restaurants-address {
  margin: 0.45rem 0 0;
  color: #4a4256;
}

.top-restaurants-address a {
  color: #662d91;
}

.top-restaurants-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, #ffefe8 0%, #ffe6dc 100%);
  border: 1px solid rgba(228, 86, 35, 0.45);
  color: #e45623;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.top-restaurants-score-badge i {
  font-size: 0.9rem;
}

.top-restaurants-phone {
  margin: 0.3rem 0 0;
  color: #4a4256;
}

.top-restaurants-phone a {
  color: #662d91;
  font-weight: 600;
  text-decoration: none;
}

.top-restaurants-phone a:hover {
  color: #e45623;
}

.top-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.33rem 0.72rem;
  background: #fff7f2;
  border: 1px solid rgba(228, 86, 35, 0.35);
  color: #662d91;
  font-size: 0.85rem;
  text-decoration: none;
}

.top-online-pill:hover {
  color: #e45623;
  border-color: rgba(228, 86, 35, 0.7);
  background: #fff2ea;
}

@media (max-width: 991.98px) {
  .top-restaurants-card {
    grid-template-columns: 72px 220px 1fr;
    min-height: 210px;
  }

  .top-restaurants-image-wrap {
    height: 160px;
  }
}

@media (max-width: 767.98px) {
  .top-restaurants-body {
    padding-top: 1rem;
  }

  .top-restaurants-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.9rem;
    min-height: 0;
  }

  .top-restaurants-rank {
    text-align: left;
    font-size: 2.45rem;
  }

  .top-restaurants-image-wrap {
    width: 100%;
    height: 170px;
  }

  .top-restaurants-name-row {
    gap: 0.35rem;
  }
}
