:root {
  --container: 1400px;
  --radius: 16px;
  --ink: #212529;
  --muted: #868e96;
  --line: #f1f3f5;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 리스트 그리드 */
.product-page-v1-main {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 0 20px;
}

@media (min-width: 1024px) {
  .product-page-v1-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .product-page-v1-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;
  }
}

/* 카드 */
.product-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* 썸네일 */
.product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  padding: 16px;
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-list-thumbnail-image-url {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* 상단 배지(가격 표시용) */
.price-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #bddce5 0%, #07afd5 100%);
  box-shadow: 0 4px 12px rgb(0 118 187 / 30%);
  font-size: 13px;
}

.price-badge .cur {
  opacity: 0.95;
  font-size: 11px;
}

.price-badge .num {
  font-size: 15px;
  line-height: 1;
}

/* 바디 */
.product-card__info {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.product-card__name {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__price {
  display: flex;
  gap: 8px;
  color: #868e96;
  font-size: 12px;
  align-items: center;
}

.product-card__price b {
  font-weight: 800;
  color: #186dc3;
  font-size: 16px;
}

.product-card__current-price {
  color: #5aa5e5;
  font-size: 15px;
  font-weight: bold;
}

@media (max-width: 640px) {
  .product-card__name {
    font-size: 14px;
  }

  .product-card__price b {
    font-size: 15px;
  }

  .price-badge {
    padding: 5px 10px;
    font-size: 12px;
  }

  .price-badge .num {
    font-size: 14px;
  }
}
