.tag-page {
  margin-top: 10px;
}

.tag-entry-section {
  margin: 12px 0 14px;
  padding: 10px 12px;
  background: #202a31;
  border: 1px solid #2f3b45;
  border-radius: 8px;
}

.tag-entry-title {
  margin: 0 0 8px;
  color: #dce8f1;
  font-size: 15px;
  font-weight: 700;
}

.tag-entry-title i {
  margin-right: 6px;
}

.tag-page h1 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}

.tag-intro {
  background: #202a31;
  border: 1px solid #2f3b45;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.tag-intro p {
  margin: 0;
  color: #d6e2ea;
  line-height: 1.7;
}

.tag-list-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag-pill {
  display: inline-block;
  text-decoration: none;
  color: #d6e2ea;
  border: 1px solid #3f4f5d;
  background: #25303a;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 13px;
}

.tag-pill.active {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}

.result-meta {
  margin-bottom: 10px;
  color: #c9d7e2;
}

.shop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.shop-card {
  display: flex;
  gap: 10px;
  background: #2b2b2b;
  border: 1px solid #191919;
  border-radius: 8px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.shop-card:hover {
  border-color: #dc3545;
  transform: translateY(-1px);
}

.shop-image {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.shop-image img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  border-radius: 6px;
}

.shop-info h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.shop-info h2 {
  color: #fff;
}

.meta-line {
  margin: 2px 0;
  color: #cbd7df;
  font-size: 13px;
}

.meta-line.rating {
  color: #ffd700;
}

.no-data {
  color: #ccc;
}

.pagination {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination a {
  color: #fff;
  text-decoration: none;
  background: #0066cc;
  border-radius: 4px;
  padding: 6px 10px;
}

.pagination span {
  color: #d6e2ea;
}

@media (max-width: 640px) {
  .shop-cards {
    grid-template-columns: 1fr;
  }
}
