.con_center {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.sct.list_10 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sct_li {
  width: 100% !important;
  background: #111726;
  border: 1px solid #1f2435;
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.sct_li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.giftcard_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
}

.sct_img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.sct_txt {
  margin-top: 14px;
  width: 100%;
  color: #fff;
}

.sct_tit {
  font-size: 15px;
  font-weight: 600;
  color: #fdbd49;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  line-height: 1.4;
}
.sct_tit:hover {
  color: #ffd97f;
}

.sct_cost {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 8px;
}

.buy-btn {
  margin-top: auto;
  display: inline-block;
  padding: 8px 14px;
  background: #fdbd49;
  color: #000;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.buy-btn:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 1024px) {
  .sct.list_10 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
@media (max-width: 768px) {
  .sct.list_10 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .sct_tit {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .sct.list_10 {
    grid-template-columns: 1fr;
  }
  .sct_tit {
    font-size: 13px;
  }
}

.con_center {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* ✅ 균등한 카드 레이아웃 */
.sct.list_10 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-items: stretch;
  align-items: stretch;
}

/* ✅ 카드 공통 */
.sct_li {
  width: 100%;
  background: #111726;
  border: 1px solid #1f2435;
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px; /* ✅ 고정대신 최소높이 (반응형 안정) */
}

.sct_li:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* ✅ 카드 내용 */
.giftcard_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  height: 100%;
  box-sizing: border-box;
  justify-content: space-between;
}

/* ✅ 이미지 일정 비율 유지 */
.sct_img {
  width: 100%;
  aspect-ratio: 1 / 1; /* ✅ 완전 정사각형 비율 유지 */
  overflow: hidden;
  border-radius: 10px;
  background: #0d111a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sct_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ✅ 텍스트/버튼 정렬 */
.sct_txt {
  margin-top: 12px;
  width: 100%;
  color: #fff;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
}

.sct_tit {
  font-size: 15px;
  font-weight: 600;
  color: #fdbd49;
  text-decoration: none;
  line-height: 1.4;
  min-height: 40px; /* ✅ 제목 길이 달라도 균등 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 10px;
}

.sct_tit:hover {
  color: #ffd97f;
}

/* ✅ 버튼 */
.buy-btn {
  display: inline-block;
  padding: 10px 18px;
  background: #fdbd49;
  color: #000;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 80%;
  max-width: 180px;
}
.buy-btn:hover {
  background: #fff;
  color: #000;
}

/* ✅ 모바일 반응형 개선 전용 */
@media (max-width: 1024px) {
  .sct.list_10 {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
  .sct_li {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .con_center {
    padding: 12px;
  }

  .sct.list_10 {
    grid-template-columns: repeat(2, 1fr); /* ✅ 2열 고정 */
    gap: 16px;
  }

  .sct_li {
    min-height: 320px;
    border-radius: 10px;
  }

  .sct_img {
    aspect-ratio: 1 / 1; /* ✅ 정사각 유지 */
    border-radius: 8px;
  }

  .sct_img img {
    object-fit: contain; /* ✅ 짤림 없이 비율 유지 */
  }

  .sct_tit {
    font-size: 14px;
    min-height: auto;
    margin-bottom: 6px;
  }

  .buy-btn {
    font-size: 13px;
    padding: 7px 14px;
    width: 90%;
  }
}

@media (max-width: 480px) {
  .sct.list_10 {
    grid-template-columns: 1fr; /* ✅ 한 줄 꽉차게 */
    gap: 14px;
  }

  .sct_li {
    min-height: 300px;
  }

  .sct_img {
    aspect-ratio: 1.1 / 1; /* ✅ 조금 세로 길게 */
  }

  .sct_img img {
    object-fit: contain;
  }

  .sct_tit {
    font-size: 13px;
    line-height: 1.3;
  }

  .buy-btn {
    width: 100%;
    max-width: none;
    padding: 8px 16px;
  }
}
