.td-section {
  max-width: 1500px;
  margin: 0 auto;
}

.td-section * {
  box-sizing: border-box;
}

.td-heading {
  font-size: 21px;
  font-weight: 700;
  color: #0f1111;
  margin: 0 0 16px 4px;
}

.td-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.td-card {
  display: block;
  text-decoration: none;
  color: #0f1111;
}

.td-thumb {
  background: #f5f5f5;
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.td-thumb img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.td-title {
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.td-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.td-badge {
  background: #cc0c39;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.td-note {
  color: #cc0c39;
  font-weight: 700;
  font-size: 13px;
}

.td-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.td-price {
  font-size: 22px;
  font-weight: 700;
}

.td-compare {
  font-size: 13px;
  color: #565959;
}

.td-compare-price {
  text-decoration: line-through;
}

@media (max-width: 980px) {
  .td-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .td-grid { grid-template-columns: 1fr; }
}
