/* BASIC css start */
/* ============================================================
   THE LAB CHEMICAL — 상품상세 CSS  (product-detail.css)
   ▸ 좌: 이미지 갤러리 (메인 + 썸네일)
   ▸ 우: 브랜드·상품명·가격 요약 + 테이블형 SKU + 구매버튼
   ▸ 반응형: 1200 → 1024 → 640 → 400  4단계
   ─────────────────────────────────────────
   ★ 컬러 팔레트 (블루그레이 D 스타일)
      메인:     #1e3a8a  (인디고)
      메인dk:   #1e3064
      메인lt:   rgba(30,58,138,.07)
      뱃지key:  #3451b2  (미디엄 인디고)
      뱃지bg:   #eff4ff
      뱃지bdr:  #c7d7fe
      페이지bg: #f8fafd
============================================================ */

/* ━━━ 색상 변수 오버라이드 ━━━ */
#productDetail {
  --navy:    #1e3a8a;
  --navy-dk: #1e3064;
  --navy-lt: rgba(30,58,138,.07);
  --bg-page: #f8fafd;
}

#productDetail { font-family: var(--font); color: var(--text); }

/* loc-navi */
.loc-navi {
  margin-bottom: 18px; font-size: 12.5px; color: var(--text-muted);
}
.loc-navi a { color: inherit; text-decoration: none; }
.loc-navi a:hover { color: var(--navy); }

/* ── 상단 2단 ── */
.prd-top {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

/* ═══════════════════════════════
   왼쪽: 이미지 갤러리
═══════════════════════════════ */
.prd-gallery {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.prd-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  cursor: zoom-in;
}
.prd-main-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}
.prd-main-img:hover img { transform: scale(1.06); }

.prd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.prd-thumb-item {
  width: 68px; height: 68px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  background: var(--bg); flex-shrink: 0;
  transition: border-color var(--ease);
}
.prd-thumb-item img { width: 100%; height: 100%; object-fit: contain; }
.prd-thumb-item:hover { border-color: rgba(30,58,138,.35); }
.prd-thumb-item.active { border-color: var(--navy); }

/* ═══════════════════════════════
   오른쪽: center-section
═══════════════════════════════ */
.center-section { min-width: 0; }

/* 브랜드 */
.prd-brand-wrap {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px; flex-wrap: wrap;
}
.prd-brand-wrap a {
  font-size: 14px; font-weight: 700;
  color: var(--text-muted); text-decoration: none;
  transition: color var(--ease);
}
.prd-brand-wrap a:hover { color: var(--navy); }
.prd-brand-sep { color: var(--border); font-size: 15px; }

/* 상품명 */
.prd-name {
  font-size: 22px; font-weight: 800;
  color: var(--text); line-height: 1.38;
  letter-spacing: -.4px; margin: 0 0 6px;
}

/* 서브명 */
.prd-subname {
  font-size: 13px; color: var(--text-sub);
  line-height: 1.55; margin: 0 0 18px;
}

/* ━━━ Subname 뱃지 ━━━
   key: #3451b2 배경 + 흰 텍스트
   val: 흰 배경 + #0f172a 진한 텍스트 → 확실한 구분
━━━ */
.prd-subname-wrap { margin: 8px 0 18px; }
.prd-subname-list {
  list-style: none; margin: 0; padding: 0 0 2px;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  align-items: center;
}
.prd-subname-item {
  display: inline-flex; align-items: stretch;
  border: 1px solid #c7d7fe;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.prd-subname-item.prd-subname-plain {
  border: none; border-radius: 0; overflow: visible;
  background: none; padding: 0;
  font-size: 13px; color: var(--text-muted);
  align-items: center;
}
.subname-key {
  background: #3451b2;
  color: #fff;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .02em;
  padding: 5px 9px;
  white-space: nowrap;
  display: flex; align-items: center;
  border-right: 1px solid #c7d7fe;
}
.subname-val {
  background: #fff;
  color: #0f172a;
  font-size: 13px; font-weight: 700;
  padding: 5px 11px;
  display: flex; align-items: center;
  white-space: nowrap;
}

/* subname 비었을 때 여백 제거 */
.prd-subname-wrap:empty,
.prd-subname-wrap:has(.prd-subname-list:empty) { display: none; }

/* 가격 요약 */
.prd-price-summary {
  display: flex; align-items: baseline; gap: 8px;
  justify-content: flex-end;
  padding: 13px 0;
  border-top: 1px solid #c7d7fe;
  border-bottom: 1px solid #c7d7fe;
  margin: 14px 0 12px;
}
.prd-price-label { font-size: 13px; color: var(--text-sub); margin-right: auto; }
.prd-price-value {
  font-size: 28px; font-weight: 900;
  color: var(--navy); letter-spacing: -.5px;
}
.prd-price-vat { font-size: 12px; color: var(--text-muted); }
#MK_p_total { color: var(--navy); }

/* ═══════════════════════════════
   SKU 안내 배너
═══════════════════════════════ */
.sku-guide-notice {
  display: flex; align-items: flex-start; gap: 10px;
  background: #eff4ff;
  border: 1px solid #c7d7fe;
  border-radius: var(--radius);
  padding: 11px 15px; margin-bottom: 14px;
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  line-height: 1.55;
}
.sku-guide-notice .sku-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.sku-guide-notice span { font-weight: 400; color: var(--text-sub); }

/* ═══════════════════════════════
   SKU 테이블
═══════════════════════════════ */
.sku-table-wrap {
  border: 1px solid #c7d7fe;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
}
.sku-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.sku-table col:nth-child(1) { width: 33% !important; }
.sku-table col:nth-child(2) { width: 22% !important; }
.sku-table col:nth-child(3) { width: 13% !important; }
.sku-table col:nth-child(4) { width: 20% !important; }
.sku-table col:nth-child(5) { width: 12% !important; }

/* 헤더: #eff4ff 배경 + #1e3a8a 볼드 텍스트 */
.sku-table thead th {
  padding: 11px 10px;
  background: #eff4ff;
  color: #1e3a8a;
  font-size: 12.5px; font-weight: 700;
  text-align: center; letter-spacing: .02em;
  border-right: 1px solid #c7d7fe;
  border-bottom: 1px solid #c7d7fe;
  white-space: nowrap;
  overflow: hidden;
}
.sku-table thead th:last-child { border-right: none; }
.sku-table thead th.th-spec { text-align: center; }
.sku-table thead th small { font-weight: 400; opacity: .7; }

/* 바디 행 */
.sku-table tbody tr {
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: background var(--ease);
  cursor: pointer;
}
.sku-table tbody tr:last-child { border-bottom: none; }
.sku-table tbody tr:hover { background: #f5f8ff; }
.sku-table tbody tr.sku-selected { background: #eff4ff; }
.sku-table tbody tr.sku-soldout { opacity: .5; cursor: not-allowed; pointer-events: none; }

.sku-table tbody td {
  padding: 11px 10px;
  text-align: center; vertical-align: middle;
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.sku-table tbody td:last-child { border-right: none; }

/* SKU 코드: Pretendard 유지, 가독성 있게 */
.td-code {
  font-size: 13.5px; color: #334155;
  font-weight: 600; white-space: nowrap;
}
/* 규격 */
.td-spec {
  text-align: center; font-weight: 600; color: var(--text);
  word-break: break-word; overflow-wrap: break-word;
}
/* 가격 */
.td-price { font-weight: 800; color: var(--navy); white-space: nowrap; font-size: 14px; }
.td-price .orig {
  display: block; font-size: 11px; font-weight: 400;
  color: var(--text-muted); text-decoration: line-through; margin-top: 1px;
}
/* 재고 */
.td-stock { font-size: 12px; }
.stock-badge {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 7px;
  border-radius: 4px; font-size: 11px; font-weight: 700;
  white-space: nowrap;
}
.stock-badge.ok  { background: #f0faf2; color: #2e7d32; }
.stock-badge.low { background: #fff8e1; color: #e65100; }
.stock-badge.out { background: #fff3f5; color: #c62828; }

/* 수량 */
.td-qty { overflow: visible; }
.sku-qty-ctrl {
  display: inline-flex; align-items: center;
  border: 1px solid #c7d7fe; border-radius: 6px;
  overflow: hidden; background: var(--bg);
  flex-shrink: 0;
}
.sku-qty-btn {
  width: 26px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: #eff4ff; border: none; cursor: pointer;
  font-size: 13px; font-weight: 700; color: #3451b2;
  flex-shrink: 0; transition: background var(--ease);
}
.sku-qty-btn:hover { background: #dbeafe; color: var(--navy); }
.sku-qty-input {
  width: 32px; height: 28px;
  border: none;
  border-left: 1px solid #c7d7fe; border-right: 1px solid #c7d7fe;
  text-align: center; font-size: 13px; font-weight: 700;
  font-family: var(--font); color: var(--text); background: var(--bg);
  outline: none; -moz-appearance: textfield;
}
.sku-qty-input::-webkit-outer-spin-button,
.sku-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* 체크 */
.td-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--navy); cursor: pointer;
}

/* ═══════════════════════════════
   구매 버튼
═══════════════════════════════ */
.action-buttons {
  display: flex; gap: 10px; width: 100%; margin-top: 8px;
}
.btn_cart, .btn_buy {
  flex: 1; display: flex; align-items: center; justify-content: center;
  height: 50px; font-size: 15px; font-weight: 700;
  border-radius: var(--radius); cursor: pointer;
  transition: all .15s ease; text-decoration: none;
  border: 1.5px solid var(--navy);
}
.btn_cart { background: var(--bg); color: var(--navy); }
.btn_cart:hover { background: #eff4ff; }
.btn_buy  { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn_buy:hover { background: var(--navy-dk); }
.btn_soldout {
  width: 100%; text-align: center; padding: 16px 0;
  font-weight: 700; border-radius: var(--radius);
  background: var(--bg-soft); color: var(--text-muted);
  border: 1.5px solid var(--border);
}

/* ━━━ MakeShop 원본 영역 숨김 ━━━ */
.mk-origin-area {
  position: absolute; left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
  pointer-events: none; clip: rect(0,0,0,0);
}

/* ━━━ 리뷰/QnA 테이블 ━━━ */
.table-slide { margin-top: 0; overflow-x: auto; }
.table-slide table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-slide thead th {
  padding: 9px 12px; background: #eff4ff;
  font-weight: 700; color: #1e3a8a;
  border-bottom: 1px solid #c7d7fe; text-align: left;
}
.table-slide tbody td {
  padding: 9px 12px; border-bottom: 1px dashed var(--border); color: var(--text);
}
.table-slide tbody tr:last-child td { border-bottom: none; }
.table-slide tbody a { color: var(--navy); text-decoration: none; }
.table-slide tbody a:hover { text-decoration: underline; }
.empty-row { text-align: center; color: var(--text-muted); padding: 24px !important; }

.list-btm { padding: 12px 0 4px; display: flex; justify-content: flex-end; }
.btm_write a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 18px;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  font-size: 12.5px; font-weight: 700; text-decoration: none;
  transition: background var(--ease);
}
.btm_write a:hover { background: var(--navy-dk); }

/* 연관상품 장바구니 버튼 */
.related-allbasket { margin-top: 12px; text-align: right; }
.related-allbasket a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 18px;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  font-size: 13px; font-weight: 700; text-decoration: none;
}

/* ━━━ Wish 관련 요소 숨김 ━━━ */
.prd-wish, #MS_wish_count, #MS_btn_wish, .btn_wish { display: none !important; }

/* ━━━ 판매가격 박스 ━━━ */
.prd-price-box { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #c7d7fe; }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 4px 0; font-size: 14px; }
.price-th { width: 80px; flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--text-muted); }
.price-val { color: var(--text); }
.price-original { font-size: 12px; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }
.price-now { font-size: 18px; font-weight: 900; color: var(--navy); letter-spacing: -.3px; }

/* 오늘출발 */
.today-delivery {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 14px;
  background: #e8f5e9; border-radius: var(--radius); border: 1px solid #c8e6c9;
}
.today-delivery .icon { background: #2e7d32; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; flex-shrink: 0; }
.today-delivery .txt { font-size: 13px; color: #1b5e20; }
.today-delivery .txt strong { font-weight: 700; }

/* 서브 액션 버튼 */
.action-buttons-sub { display: none; }
.action-buttons-pay { margin-top: 8px; }
.btn_subs {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 24px; margin-top: 8px; width: 100%;
  background: var(--bg); color: var(--navy);
  border: 1.5px solid var(--navy); border-radius: var(--radius);
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background var(--ease);
}
.btn_subs:hover { background: #eff4ff; }

/* ═══════════════════════════════
   하단 탭
═══════════════════════════════ */
.detailTab { margin: 36px 0 0; border-bottom: 2px solid var(--border); }
.detailTab ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.detailTab ul li a {
  display: block; font-size: 13.5px; font-weight: 600;
  color: var(--text-muted); padding: 11px 20px; text-decoration: none;
  border-bottom: 2.5px solid transparent; margin-bottom: -2px;
  transition: color var(--ease), border-color var(--ease);
}
.detailTab ul li a.active,
.detailTab ul li a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* 상품 상세 본문 */
.prd-detail {
  padding: 28px 0 20px; font-size: 14px; line-height: 1.85;
  color: var(--text); border-bottom: 1px solid var(--border);
}
.prd-detail img { max-width: 100%; height: auto; }

/* 연관상품 */
.item-wrap { margin-top: 20px; }
.item-cont { display: flex; flex-wrap: wrap; gap: 14px; }
.item-list {
  width: 180px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow-xs); transition: box-shadow var(--ease);
}
.item-list:hover { box-shadow: var(--shadow-sm); }
.item-list .thumb img { width: 100%; border-radius: 6px; }
.item-list .prd-name a { font-size: 12.5px; color: var(--navy); font-weight: 700; text-decoration: none; display: block; margin-top: 8px; line-height: 1.4; }
.item-list .prd-price .price { color: var(--navy); font-size: 13px; font-weight: 700; }

/* 리뷰 / QnA */
.review-section, .qna-section {
  margin: 20px 0; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.tit-detail { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.tit-detail h3 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin: 0; }
.tit-detail .more a { font-size: 12px; color: var(--text-muted); text-decoration: none; }
.tit-detail .more a:hover { color: var(--navy); }
.review-list table, .qna-list table { width: 100%; border-collapse: collapse; }
.review-list th, .review-list td,
.qna-list  th, .qna-list  td { padding: 9px 14px; font-size: 13px; border-bottom: 1px solid var(--border); text-align: left; }
.review-list th, .qna-list th { background: #eff4ff; font-weight: 600; color: #1e3a8a; }
.review-list tr:last-child td, .qna-list tr:last-child td { border-bottom: none; }
.review-list.empty, .qna-list.empty { padding: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }

/* 유해물질 모달 */
#hazard-warning-modal { display: none; align-items: center; justify-content: center; position: fixed; inset: 0; z-index: 9999; }
#hazard-warning-modal.open { display: flex; }
.hazard-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); }
.hazard-modal-box { position: relative; background: var(--bg); border-radius: var(--radius-lg); padding: 44px 36px; box-shadow: var(--shadow-md); width: 90%; max-width: 540px; text-align: center; z-index: 10000; }
.hazard-icon { font-size: 3em; margin-bottom: 8px; }
.modal-title { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.hazard-modal-msg { font-size: 14px; line-height: 1.8; }
.hazard-modal-msg p { margin: 0 0 8px; }
.hazard-modal-msg small { font-size: 12px; color: var(--text-muted); }
.copy-email { cursor: pointer; color: var(--navy); font-weight: 700; }
.hazard-modal-close { margin-top: 20px; padding: 10px 40px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.hazard-modal-close:hover { background: #b71c1c; }

/* ━━━ detail_common 영역 ━━━ */
.detail-common-wrap { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px dashed var(--border); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   제품상세정보 테이블 (#productWrap)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#productWrap { margin: 32px 0 40px; }
.tit-prd { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); letter-spacing: -.3px; }
.product-info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.product-info-table tr { border-bottom: 1px solid var(--border); }
.product-info-table tr:first-child { border-top: 1px solid var(--border); }
.product-info-table th { width: 160px; padding: 13px 18px; background: #eff4ff; font-weight: 700; color: #1e3a8a; text-align: left; vertical-align: top; font-size: 13.5px; white-space: nowrap; }
.product-info-table td { padding: 13px 18px; color: var(--text); font-size: 14px; line-height: 1.6; vertical-align: top; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   공통상세설명 (item-under)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#item-under { max-width: 100%; margin: 0; font-family: var(--font, 'SUIT', sans-serif); font-size: 14px; color: #333; line-height: 1.6; word-break: keep-all; }
.iu-section-title { text-align: center; padding: 52px 20px 36px; }
.iu-section-title .iu-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #1e3a8a; opacity: .5; margin-bottom: 10px; }
.iu-section-title h3 { font-size: 22px; font-weight: 900; color: #111; letter-spacing: -.4px; line-height: 1.3; }
.iu-section-title h3 em { color: #1e3a8a; font-style: normal; }
.iu-hero { background: linear-gradient(135deg, #1e3a8a 0%, #3451b2 100%); color: #fff; padding: 56px 32px 48px; text-align: center; }
.iu-hero .iu-hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.iu-hero .iu-hero-title { font-size: 26px; font-weight: 900; line-height: 1.4; color: #fff; margin-bottom: 40px; letter-spacing: -.4px; }
.iu-hero .iu-hero-title em { color: #bfdbfe; font-style: normal; }
.iu-hero-cards { display: flex; justify-content: center; gap: 1px; max-width: 720px; margin: 0 auto; background: rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; }
.iu-hero-cards .card { flex: 1; padding: 24px 20px; background: rgba(255,255,255,.06); text-align: center; }
.iu-hero-cards .card-icon { font-size: 22px; color: #bfdbfe; margin-bottom: 12px; }
.iu-hero-cards .card-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.iu-hero-cards .card-value { font-size: 13.5px; font-weight: 600; color: #fff; line-height: 1.7; }
.iu-notice { background: #fff; padding-bottom: 48px; }
.iu-notice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 32px; max-width: 960px; margin: 0 auto; }
.iu-notice-card { border: 1px solid #c7d7fe; border-radius: 16px; padding: 28px 24px; background: #fafbff; }
.iu-notice-card .nc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #e2eaff; }
.iu-notice-card .nc-icon { width: 40px; height: 40px; border-radius: 10px; background: #1e3a8a; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; flex-shrink: 0; }
.iu-notice-card .nc-title { font-size: 15px; font-weight: 800; color: #111; letter-spacing: -.2px; }
.iu-notice-list { list-style: none; margin: 0; padding: 0; }
.iu-notice-list li { position: relative; padding: 5px 0 5px 16px; font-size: 13.5px; color: #555; line-height: 1.7; }
.iu-notice-list li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 4px; height: 4px; border-radius: 50%; background: #c7d7fe; }
.iu-notice-list .hi-red  { color: #d63031; font-weight: 700; }
.iu-notice-list .hi-blue { color: #1e3a8a; font-weight: 700; }
.iu-notice-list .note    { font-size: 12px; color: #aaa; }
.iu-notice-list .note::before { display: none !important; }
.iu-delivery { background: #f0f4ff; padding-bottom: 48px; }
.iu-delivery-icons { display: flex; justify-content: center; gap: 24px; padding: 0 32px 36px; flex-wrap: wrap; }
.iu-delivery-icon-card { flex: 1; min-width: 180px; max-width: 220px; background: #fff; border: 1px solid #c7d7fe; border-radius: 20px; padding: 28px 20px 24px; text-align: center; box-shadow: 0 2px 12px rgba(30,58,138,.05); transition: transform .2s, box-shadow .2s; }
.iu-delivery-icon-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(30,58,138,.10); }
.iu-delivery-icon-card .dic-icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #1e3a8a, #3451b2); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 26px; color: #fff; }
.iu-delivery-icon-card .dic-title { font-size: 15px; font-weight: 800; color: #111; margin-bottom: 8px; letter-spacing: -.2px; }
.iu-delivery-icon-card .dic-desc { font-size: 12.5px; color: #888; line-height: 1.65; }
.iu-delivery-notes { list-style: none; margin: 0 auto; padding: 0 32px; max-width: 800px; }
.iu-delivery-notes li { position: relative; padding: 6px 0 6px 18px; font-size: 13.5px; color: #666; line-height: 1.7; border-bottom: 1px dashed #c7d7fe; }
.iu-delivery-notes li:last-child { border-bottom: none; }
.iu-delivery-notes li::before { content: ''; position: absolute; left: 4px; top: 16px; width: 5px; height: 5px; border-radius: 50%; background: #1e3a8a; opacity: .3; }
.iu-delivery-notes .hi-red  { color: #d63031; font-weight: 700; }
.iu-delivery-notes .hi-blue { color: #1e3a8a; font-weight: 700; }
.iu-delivery-notes .hi-ul   { text-decoration: underline; text-underline-offset: 2px; }
.iu-return { background: #fff; padding-bottom: 48px; }
.iu-return-list { list-style: none; margin: 0 auto; padding: 0 32px; max-width: 800px; counter-reset: return-counter; }
.iu-return-list li { counter-increment: return-counter; position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid #e8eeff; font-size: 14px; color: #444; line-height: 1.7; word-break: break-word; overflow-wrap: break-word; }
.iu-return-list li:last-child { border-bottom: none; }
.iu-return-list li::before { content: counter(return-counter, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-size: 11px; font-weight: 800; color: #1e3a8a; opacity: .35; }
.iu-return-list .hi-red  { color: #d63031; font-weight: 700; }
.iu-return-list .hi-blue { color: #1e3a8a; font-weight: 700; }
.iu-cta { background: linear-gradient(135deg, #1e3a8a 0%, #3451b2 100%); padding: 52px 32px; display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.iu-cta .cta-logo img { height: 50px; }
.iu-cta .cta-logo-img {
  height: 50px;
  filter: invert(1) brightness(2);
  mix-blend-mode: screen;
}
.iu-cta .cta-body { color: #fff; }
.iu-cta .cta-desc { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 18px; line-height: 1.7; }
.iu-cta .cta-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.iu-cta .cta-contacts li { font-size: 13px; color: rgba(255,255,255,.45); }
.iu-cta .cta-contacts li strong { font-size: 16px; font-weight: 800; color: #fff; display: block; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   ★★★ 반응형 — 4단계 (1200 → 1024 → 640 → 400)
═══════════════════════════════════════════════════════════ */

/* 1단계: ≤1200px */
@media (max-width: 1200px) {
  .prd-top { grid-template-columns: 320px 1fr; gap: 28px; }
  .sku-table { font-size: 13px; }
  .sku-table thead th { padding: 9px 6px; font-size: 12px; }
  .sku-table tbody td { padding: 9px 6px; }
  .sku-qty-btn { width: 22px; height: 24px; font-size: 11px; }
  .sku-qty-input { width: 28px; height: 24px; font-size: 11px; }
  .stock-badge { height: 18px; padding: 0 5px; font-size: 10px; }
  .subname-key { font-size: 11px; padding: 4px 8px; }
  .subname-val { font-size: 12px; padding: 4px 9px; }
  .td-code { font-size: 12.5px; }
}

/* 2단계: ≤1024px — 2단→1단 전환 */
@media (max-width: 1024px) {
  .prd-top { grid-template-columns: 1fr; gap: 24px; }
  .prd-gallery { position: static; }
  .prd-main-img { max-width: 360px; margin: 0 auto 12px; }
  .sku-table { font-size: 13.5px; }
  .sku-table thead th { padding: 10px 8px; font-size: 12.5px; }
  .sku-table tbody td { padding: 10px 8px; }
  .sku-qty-btn { width: 24px; height: 26px; font-size: 12px; }
  .sku-qty-input { width: 30px; height: 26px; font-size: 12px; }
  .stock-badge { height: 19px; padding: 0 6px; font-size: 10.5px; }
  .prd-name { font-size: 20px; }
}

/* 3단계: ≤640px */
@media (max-width: 640px) {
  .prd-main-img { max-width: 280px; }
  .prd-name { font-size: 17px; }
  .prd-price-value { font-size: 22px; }
  .prd-price-summary { padding: 10px 0; gap: 6px; }
  .sku-table { table-layout: auto; }
  .sku-table col:nth-child(1),
  .sku-table col:nth-child(2),
  .sku-table col:nth-child(3),
  .sku-table col:nth-child(4),
  .sku-table col:nth-child(5) { width: auto !important; }
  .sku-table thead th:first-child,
  .sku-table tbody td:first-child { display: none; }
  .sku-table { font-size: 12px; }
  .sku-table thead th { padding: 8px 4px; font-size: 11px; }
  .sku-table tbody td { padding: 8px 4px; }
  .sku-qty-btn { width: 22px; height: 24px; font-size: 11px; }
  .sku-qty-input { width: 26px; height: 24px; font-size: 11px; }
  .stock-badge { height: 17px; padding: 0 4px; font-size: 9.5px; }
  .td-check input[type="checkbox"] { width: 14px; height: 14px; }
  .action-buttons { flex-direction: row; gap: 8px; }
  .btn_cart, .btn_buy { height: 44px; font-size: 13px; }
  .subname-key { font-size: 10px; padding: 3px 6px; }
  .subname-val { font-size: 11px; padding: 3px 7px; }
  .td-code { font-size: 12px; }
}

/* 4단계: ≤400px */
@media (max-width: 400px) {
  .prd-main-img { max-width: 220px; }
  .prd-name { font-size: 15px; }
  .prd-price-value { font-size: 20px; }
  .sku-table thead th { padding: 6px 3px; font-size: 10px; }
  .sku-table tbody td { padding: 6px 3px; font-size: 11px; }
  .sku-qty-btn { width: 20px; height: 22px; font-size: 10px; }
  .sku-qty-input { width: 22px; height: 22px; font-size: 10px; }
  .btn_cart, .btn_buy { height: 40px; font-size: 12px; }
}

/* item-under 반응형 */
@media (max-width: 680px) {
  .iu-hero { padding: 40px 20px 36px; }
  .iu-hero .iu-hero-title { font-size: 20px; }
  .iu-hero-cards { flex-direction: column; gap: 1px; }
  .iu-notice-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .iu-delivery-icons { gap: 16px; padding: 0 20px 28px; }
  .iu-delivery-icon-card { min-width: 140px; }
  .iu-delivery-notes, .iu-return-list { padding: 0 20px; }
  .iu-cta { flex-direction: column; text-align: center; gap: 24px; padding: 36px 20px; }
  .iu-cta .cta-contacts { justify-content: center; }
  .iu-section-title h3 { font-size: 18px; }
  .iu-section-title { padding: 36px 20px 24px; }
}
/* BASIC css end */

