@charset "utf-8";

/* -----------------------------
 * Nav
 * ----------------------------- */
.list-nav {
  line-height: 22px;
  margin-bottom: 10px;
}
.list-nav .page-nav {
  margin-top: 4px;
}

/* -----------------------------
 * Category
 * ----------------------------- */
.list-category {
  margin-bottom: 10px;
}
.list-category .dropdown {
  margin-bottom: 20px;
}
.list-category .active a,
.list-category .selected a {
  color: crimson;
  font-weight: bold !important;
}

/* -----------------------------
 * Sort
 * ----------------------------- */
.list-sort {
  margin: 15px 0 20px;
}
.list-sort .on {
  font-weight: bold;
  color: crimson !important;
}
.list-sort .pull-left a,
.list-sort .pull-right a {
  display: inline-block;
  margin: 0 10px;
}

/* -----------------------------
 * List Wrap
 * ----------------------------- */
.list-wrap {
  width: 100%;
  line-height: 17px;
}
.list-none {
  margin: 0 0 15px;
  padding: 80px 0;
}
.list-page {
  margin-bottom: 15px;
}
.list-page .pagination {
  margin: 0;
}

/* -----------------------------
 * List Item
 * ----------------------------- */
.list-item .label-tack {
  padding-left: 0;
  line-height: 12px;
}
.list-item .label-dc {
  color: orangered;
  text-align: right;
  font-weight: bold;
  font-style: italic;
  width: 100%;
  margin: 0;
  padding: 0 10px;
  line-height: 40px;
  height: 40px;
  margin-top: -40px;
  font-size: 32px;
  letter-spacing: -1px;
  position: relative;
  text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.7);
}
.list-item .label-dc-cur {
  color: orangered;
  text-align: right;
  font-weight: bold;
  font-style: italic;
  width: 100%;
  margin: 0;
  padding: 0 10px;
  line-height: 35px;
  height: 75px;
  margin-top: -35px;
  font-size: 26px;
  letter-spacing: -1px;
  position: relative;
  text-shadow: 1px 2px 1px rgba(255, 255, 255, 1);
}
.list-item .label-dc-cur strike {
  color: #fff;
  line-height: 20px;
  font-size: 20px;
}
.list-item .list-img {
  position: relative;
  overflow: hidden;
}
.list-item .list-img a img {
  width: 100%;
  height: auto;
}
.list-item .list-content {
  margin: 10px 3% 0;
  line-height: 21px;
  letter-spacing: -1px;
}
.list-item .list-star {
  padding: 4px 0 6px;
  line-height: 18px;
}
.list-item strong {
  display: block;
  line-height: 18px;
  margin-bottom: 4px;
  text-align: center;
}
.list-item .list-desc {
  font-size: 11px;
  line-height: 18px;
}
.list-mobile .list-item .list-desc {
  font-size: 13px;
  line-height: 18px;
}
.list-item .list-details {
  margin-top: 8px;
}
.list-item .list-details i {
  margin-right: 2px;
}
.list-item .list-sns {
  margin-top: 15px;
  text-align: center;
}

/* -----------------------------
 * Time Countdown
 * ----------------------------- */
.buy_time {
  text-align: center;
  width: 100%;
  margin: 0 0 5px;
}
.buy_time .time {
  width: 100%;
  position: relative;
  text-align: center;
}
.buy_time .time .tit {
  color: #666;
}
.buy_time .time .count {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.buy_time .time .count span {
  color: red;
  font-size: 15px;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: normal;
}
.buy_time .time .count .date,
.buy_time .time .count div {
  float: left;
}

/* -----------------------------
 * Responsive Design
 * ----------------------------- */

/* =================================
 * MOBILE BREAK FIX (필수)
 * ================================= */
@media (max-width: 768px) {

  /* 1️⃣ 카드 2열 고정 + 넘침 방지 */
  .list-wrap .list-row {
    width: 50% !important;
    box-sizing: border-box;
  }

  .list-item {
    margin-right: 6px !important;
    margin-bottom: 12px !important;
    box-sizing: border-box;
  }

  /* 2️⃣ 고정 높이 제거 (가장 중요) */
  .list-item > div,
  .list-item > div > div {
    height: auto !important;
    min-height: 0 !important;
  }

  /* 3️⃣ 이미지 영역 안정화 */
  .imgframe,
  .img-wrap {
    height: auto !important;
  }

  .img-item img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 4️⃣ table 강제 줄바꿈 허용 */
  .list-content table,
  .list-content tbody,
  .list-content tr,
  .list-content td {
    display: block !important;
    width: 100% !important;
  }

  /* 5️⃣ table 안쪽 고정 width 제거 */
  .list-content td[width],
  .list-content table[width] {
    width: 100% !important;
  }

  /* 6️⃣ 할인율 / 가격 세로 정렬 */
  .list-content td[style*="font-size:36px"] {
    font-size: 22px !important;
    text-align: center;
    height: auto !important;
  }

  .list-content td[style*="font-size:22px"] {
    font-size: 18px !important;
    text-align: center;
  }

  /* 7️⃣ 브랜드 / 상품명 중앙 정렬 */
  .list-content td {
    text-align: center !important;
  }

  /* 8️⃣ 상태 이미지 겹침 방지 */
  .list-details img {
    max-width: 70px;
    height: auto;
    margin: 6px auto 0;
    display: block;
  }

  /* 9️⃣ 아이콘/구매수 숨김 (폭 확보) */
  .list-details .pull-left {
    display: none;
  }

  /* 🔟 SNS 제거 */
  .list-sns {
    display: none;
  }


}



/* 태블릿용 스타일 (600px ~ 899px) */
@media all and (min-width: 600px) and (max-width: 899px) {
  .responsive .list-row {
    width: 48%;
    margin: 1%;
  }
}

/* 데스크탑 이상 (900px 이상) */
@media all and (min-width: 900px) {
  .responsive .list-row {
    width: 32%;
    margin: 1%;
  }
}
