a.item-card,
a.featured-card,
a.filter-chip,
a.quick-tag,
a.recommend-card,
a.detail-modal__close {
  text-decoration: none;
  color: inherit;
}

a.filter-chip,
a.quick-tag,
a.detail-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

a.detail-modal__close {
  color: #fafafa;
}

a.featured-card {
  display: block;
}

a.recommend-card {
  display: flex;
}

.detail-page {
  max-width: 520px;
}

.detail-page__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 4px 12px;
  font-size: 14px;
}

.detail-page__bar a {
  color: var(--text-soft);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.detail-page__panel {
  max-height: none;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 10px 14px 22px;
}

@media (width>=521px) {
  .detail-page__panel {
    border-radius: 28px;
  }
}
