@charset "utf-8";

#inc05 {
  padding: 0 60px;
  margin: 130px 0;
}
#inc05 .inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* 좌측 텍스트 */
#inc05 .txt_area {
  flex-shrink: 0;
  width: 380px;
  padding-top: 10px;
}
#inc05 .txt_area .eng {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  font-family: var(--e-font);
  margin-bottom: 16px;
}
#inc05 .txt_area h2 {
  font-size: 38px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  margin-bottom: 18px;
  word-break: keep-all;
}
#inc05 .txt_area h2 span {
  color: var(--secondary);
}
#inc05 .txt_area .sub {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  word-break: keep-all;
  margin-bottom: 28px;
}
#inc05 .txt_area .badge_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#inc05 .txt_area .badge_list li {
  padding: 6px 14px;
  background: rgba(82, 230, 136, 0.12);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
}

/* 우측 카드 그리드 */
#inc05 .card_area {
  flex: 1;
}
#inc05 .card_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
#inc05 .tpl_card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
#inc05 .tpl_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
#inc05 .card_label {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: #fff;
  text-align: center;
}

/* 템플릿 미리보기 공통 */
#inc05 .tpl_preview {
  padding: 20px 18px;
  height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  position: relative;
  overflow: hidden;
}
#inc05 .tpl_preview .tpl_name {
  font-size: 24px;
  color: inherit;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#inc05 .tpl_preview .tpl_price {
  font-size: 22px;
  font-weight: 700;
  color: inherit;
  line-height: 1.2;
  font-family: var(--e-font);
}
#inc05 .tpl_preview .tpl_price .won {
  font-size: 14px;
}
#inc05 .tpl_preview .tpl_price .unit {
  font-size: 12px;
  font-weight: 400;
}

/* style01 QR */
#inc05 .tpl_preview.style01 .tpl_qr {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'><rect width='42' height='42' fill='white'/><rect x='0' y='0' width='14' height='14' fill='%23111'/><rect x='2' y='2' width='10' height='10' fill='white'/><rect x='4' y='4' width='6' height='6' fill='%23111'/><rect x='28' y='0' width='14' height='14' fill='%23111'/><rect x='30' y='2' width='10' height='10' fill='white'/><rect x='32' y='4' width='6' height='6' fill='%23111'/><rect x='0' y='28' width='14' height='14' fill='%23111'/><rect x='2' y='30' width='10' height='10' fill='white'/><rect x='4' y='32' width='6' height='6' fill='%23111'/><rect x='14' y='12' width='2' height='2' fill='%23111'/><rect x='18' y='12' width='2' height='2' fill='%23111'/><rect x='22' y='12' width='2' height='2' fill='%23111'/><rect x='26' y='12' width='2' height='2' fill='%23111'/><rect x='12' y='14' width='2' height='2' fill='%23111'/><rect x='12' y='18' width='2' height='2' fill='%23111'/><rect x='12' y='22' width='2' height='2' fill='%23111'/><rect x='12' y='26' width='2' height='2' fill='%23111'/><rect x='14' y='14' width='2' height='2' fill='%23111'/><rect x='18' y='14' width='4' height='2' fill='%23111'/><rect x='26' y='14' width='2' height='2' fill='%23111'/><rect x='30' y='14' width='4' height='2' fill='%23111'/><rect x='36' y='14' width='6' height='2' fill='%23111'/><rect x='16' y='16' width='2' height='2' fill='%23111'/><rect x='22' y='16' width='2' height='2' fill='%23111'/><rect x='28' y='16' width='2' height='2' fill='%23111'/><rect x='32' y='16' width='2' height='2' fill='%23111'/><rect x='36' y='16' width='2' height='2' fill='%23111'/><rect x='40' y='16' width='2' height='2' fill='%23111'/><rect x='14' y='18' width='4' height='2' fill='%23111'/><rect x='20' y='18' width='2' height='2' fill='%23111'/><rect x='24' y='18' width='4' height='2' fill='%23111'/><rect x='30' y='18' width='2' height='2' fill='%23111'/><rect x='34' y='18' width='4' height='2' fill='%23111'/><rect x='16' y='20' width='2' height='2' fill='%23111'/><rect x='20' y='20' width='2' height='2' fill='%23111'/><rect x='26' y='20' width='2' height='2' fill='%23111'/><rect x='30' y='20' width='2' height='2' fill='%23111'/><rect x='34' y='20' width='2' height='2' fill='%23111'/><rect x='38' y='20' width='2' height='2' fill='%23111'/><rect x='14' y='22' width='2' height='2' fill='%23111'/><rect x='18' y='22' width='4' height='2' fill='%23111'/><rect x='24' y='22' width='2' height='2' fill='%23111'/><rect x='28' y='22' width='4' height='2' fill='%23111'/><rect x='34' y='22' width='2' height='2' fill='%23111'/><rect x='38' y='22' width='4' height='2' fill='%23111'/><rect x='16' y='24' width='2' height='2' fill='%23111'/><rect x='22' y='24' width='4' height='2' fill='%23111'/><rect x='28' y='24' width='2' height='2' fill='%23111'/><rect x='32' y='24' width='4' height='2' fill='%23111'/><rect x='40' y='24' width='2' height='2' fill='%23111'/><rect x='14' y='26' width='4' height='2' fill='%23111'/><rect x='22' y='26' width='2' height='2' fill='%23111'/><rect x='26' y='26' width='2' height='2' fill='%23111'/><rect x='30' y='26' width='4' height='2' fill='%23111'/><rect x='38' y='26' width='4' height='2' fill='%23111'/><rect x='14' y='28' width='2' height='2' fill='%23111'/><rect x='18' y='28' width='2' height='2' fill='%23111'/><rect x='22' y='28' width='4' height='2' fill='%23111'/><rect x='28' y='28' width='4' height='2' fill='%23111'/><rect x='34' y='28' width='2' height='2' fill='%23111'/><rect x='38' y='28' width='4' height='2' fill='%23111'/><rect x='16' y='30' width='4' height='2' fill='%23111'/><rect x='24' y='30' width='2' height='2' fill='%23111'/><rect x='28' y='30' width='2' height='2' fill='%23111'/><rect x='32' y='30' width='4' height='2' fill='%23111'/><rect x='38' y='30' width='2' height='2' fill='%23111'/><rect x='14' y='32' width='2' height='2' fill='%23111'/><rect x='20' y='32' width='2' height='2' fill='%23111'/><rect x='24' y='32' width='4' height='2' fill='%23111'/><rect x='30' y='32' width='2' height='2' fill='%23111'/><rect x='34' y='32' width='2' height='2' fill='%23111'/><rect x='40' y='32' width='2' height='2' fill='%23111'/><rect x='16' y='34' width='2' height='2' fill='%23111'/><rect x='20' y='34' width='4' height='2' fill='%23111'/><rect x='26' y='34' width='4' height='2' fill='%23111'/><rect x='34' y='34' width='4' height='2' fill='%23111'/><rect x='40' y='34' width='2' height='2' fill='%23111'/><rect x='14' y='36' width='4' height='2' fill='%23111'/><rect x='20' y='36' width='2' height='2' fill='%23111'/><rect x='24' y='36' width='2' height='2' fill='%23111'/><rect x='28' y='36' width='4' height='2' fill='%23111'/><rect x='36' y='36' width='2' height='2' fill='%23111'/><rect x='16' y='38' width='2' height='2' fill='%23111'/><rect x='20' y='38' width='4' height='2' fill='%23111'/><rect x='26' y='38' width='2' height='2' fill='%23111'/><rect x='30' y='38' width='2' height='2' fill='%23111'/><rect x='34' y='38' width='4' height='2' fill='%23111'/><rect x='40' y='38' width='2' height='2' fill='%23111'/><rect x='14' y='40' width='2' height='2' fill='%23111'/><rect x='18' y='40' width='2' height='2' fill='%23111'/><rect x='22' y='40' width='4' height='2' fill='%23111'/><rect x='28' y='40' width='2' height='2' fill='%23111'/><rect x='32' y='40' width='2' height='2' fill='%23111'/><rect x='36' y='40' width='2' height='2' fill='%23111'/><rect x='40' y='40' width='2' height='2' fill='%23111'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
}

/* style01 - 마트 기본형: 흰 배경 + 빨강 포인트 */
#inc05 .tpl_preview.style01 {
  background: #fff;
  border-bottom: 3px solid #e8002d;
  color: #111;
}
#inc05 .tpl_preview.style01 .tpl_price {
  color: #e8002d;
}
#inc05 .tpl_preview.style01 .tpl_origin {
  font-size: 11px;
  color: #888;
}

/* style02 - 프로모션형: 검정 배경 + 노랑 뱃지 */
#inc05 .tpl_preview.style02 {
  background: #111;
  color: #fff;
}
#inc05 .tpl_preview.style02 .tpl_badge {
  display: inline-block;
  background: #f5c800;
  color: #111;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--e-font);
  letter-spacing: 1px;
  width: fit-content;
}
#inc05 .tpl_preview.style02 .tpl_old {
  font-size: 12px;
  color: #888;
  text-decoration: line-through;
}
#inc05 .tpl_preview.style02 .tpl_price {
  color: #f5c800;
}

/* style03 - 약국형: 흰 배경 + 빨강 상단 뱃지 */
#inc05 .tpl_preview.style03 {
  background: #fff;
  color: #111;
}
#inc05 .tpl_preview.style03 .tpl_top {
  font-size: 10px;
  background: #e8002d;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
  font-weight: 600;
}
#inc05 .tpl_preview.style03 .tpl_barcode {
  height: 16px;
  background: repeating-linear-gradient(
    to right,
    #111 0px,
    #111 2px,
    #fff 2px,
    #fff 4px,
    #111 4px,
    #111 5px,
    #fff 7px,
    #fff 7px
  );
  width: 120px;
  border-radius: 2px;
  margin-top: 4px;
  opacity: 0.4;
}

/* style04 - 의류형: 흰 배경 + 노랑 사이즈 강조 */
#inc05 .tpl_preview.style04 {
  background: #fff;
  color: #111;
}
#inc05 .tpl_preview.style04 .tpl_brand {
  font-size: 10px;
  font-weight: 800;
  font-family: var(--e-font);
  letter-spacing: 3px;
  color: #999;
}
#inc05 .tpl_preview.style04 .tpl_size_row {
  display: flex;
  gap: 5px;
  font-size: 11px;
  font-family: var(--e-font);
}
#inc05 .tpl_preview.style04 .tpl_size_row span {
  padding: 2px 5px;
  border-radius: 4px;
  background: #eee;
  color: #999;
}
#inc05 .tpl_preview.style04 .tpl_size_row span.on {
  background: #f5c800;
  color: #111;
}

/* style05 - 편의점 행사형: 노랑 배경 + 빨강 서브 뱃지 */
#inc05 .tpl_preview.style05 {
  background: #f5c800;
  color: #111;
}
#inc05 .tpl_preview.style05 .tpl_label_top {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.6;
}
#inc05 .tpl_preview.style05 .tpl_sub {
  font-size: 11px;
  font-weight: 700;
  background: #e8002d;
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  width: fit-content;
}

/* style06 - 창고형 재고형: 검정 배경 + 노랑 강조 */
#inc05 .tpl_preview.style06 {
  background: #111;
  color: #fff;
}
#inc05 .tpl_preview.style06 .tpl_sku {
  font-size: 10px;
  color: #888;
  font-family: var(--e-font);
}
#inc05 .tpl_preview.style06 .tpl_stock {
  font-size: 11px;
  color: #f5c800;
  font-weight: 600;
}
#inc05 .tpl_preview.style06 .tpl_price {
  color: #f5c800;
}

/* 반응형 [s] */
@media (max-width: 1380px) {
  #inc05 {
    padding: 0 2.5%;
  }
  #inc05 .inner {
    gap: 50px;
  }
  #inc05 .txt_area {
    width: 320px;
  }
  #inc05 .txt_area h2 {
    font-size: 32px;
  }
  #inc05 .card_grid {
    gap: 15px;
  }
}
@media (max-width: 1024px) {
  #inc05 {
    margin: 110px 0;
  }
  #inc05 .inner {
    flex-direction: column;
    gap: 40px;
  }
  #inc05 .txt_area {
    width: 100%;
  }
  #inc05 .txt_area h2 {
    font-size: 30px;
  }
  #inc05 .card_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  #inc05 {
    margin: 90px 0;
  }
  #inc05 .txt_area h2 {
    font-size: 26px;
  }
  #inc05 .txt_area .sub {
    font-size: 14px;
    white-space: normal;
  }
  #inc05 .card_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 480px) {
  #inc05 {
    margin: 70px 0;
  }
  #inc05 .txt_area h2 {
    font-size: 22px;
  }
  #inc05 .card_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  #inc05 .tpl_preview {
    height: 130px;
    padding: 15px 12px;
  }
  #inc05 .tpl_preview .tpl_price {
    font-size: 19px;
  }
}
/* 반응형 [e] */
