/* BASIC css start */
/* ============================================================
   THE LAB CHEMICAL — 상품상세 CSS  (product-detail.css)
   ▸ 컴팩트 레이아웃 — 이미지 300px, 간격 축소
   ▸ 멀티이미지 + 썸네일 갤러리
   ─────────────────────────────────────────
   ★ 컬러 팔레트
      메인:     #0C025B  (인디고)
      메인dk:   #080142
      뱃지bg:   #f0eeff
      뱃지bdr:  #c4bfee
============================================================ */

/* ━━━ 색상 변수 ━━━ */
#productDetail {
  --navy:    #0C025B;
  --navy-dk: #080142;
  --navy-lt: rgba(12,2,91,.07);
  --bg-page: #f8fafd;
}

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

/* loc-navi */
.loc-navi {
  margin-bottom: 14px; font-size: 12px; color: #6b7280;
}
.loc-navi a { color: inherit; text-decoration: none; }
.loc-navi a:hover { color: var(--navy); }

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

/* ═══════════════════════════════
   갤러리 영역
═══════════════════════════════ */
.prd-gallery {
  position: sticky;
  top: calc(var(--header-h) + 12px);
}

/* MakeShop multi_image 태그가 출력하는 기본 테이블 숨김 */
#multi_image_thumb_list {
  display: none !important;
}

/* 메인 이미지 */
.prd-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafd;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  cursor: zoom-in;
  position: relative;
}
.prd-main-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(12,2,91,.06);
  pointer-events: none;
}
.prd-main-img img,
.prd-main-img #lens_img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  transition: transform .3s ease;
  display: block;
  border: none !important;
}
.prd-main-img:hover img,
.prd-main-img:hover #lens_img {
  transform: scale(1.05);
}

/* 커스텀 썸네일 목록 */
.prd-thumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.prd-thumb-item {
  width: 68px;
  height: 68px;
  border: 2px solid var(--border);
  border-radius: 4px;
  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;
  display: block;
}
.prd-thumb-item:hover  { border-color: rgba(12,2,91,.4); }
.prd-thumb-item.active { border-color: var(--navy); }

/* 썸네일 라벨 */
.prd-thumb-item span {
  display: block;
  font-size: 9px;
  text-align: center;
  color: var(--text-muted);
  padding: 2px 0 3px;
  background: #f8fafd;
  border-top: 1px solid var(--border);
}

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

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

/* 상품명 */
.prd-name {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -.3px;
  margin: 0 0 6px;
}

/* 서브명 */
.prd-subname-wrap { margin: 6px 0 14px; }
.prd-subname-list {
  list-style: none;
  margin: 0;
  padding: 0 0 2px;
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  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 #c4bfee;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.subname-key {
  background: #0C025B;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 4px 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  border-right: 1px solid #c4bfee;
}
.subname-val {
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

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

/* ═══════════════════════════════
   SKU 테이블
═══════════════════════════════ */
.sku-table-wrap {
  border: 1px solid #c4bfee;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #fff;
}
.sku-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}
.sku-table col:nth-child(1) { width: 28% !important; }
.sku-table col:nth-child(2) { width: 30% !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: 9% !important; }

.sku-table thead th {
  padding: 9px 8px;
  background: #f0eeff;
  color: #0C025B;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .02em;
  border-right: 1px solid #c4bfee;
  border-bottom: 1px solid #c4bfee;
  white-space: nowrap;
  overflow: hidden;
}
.sku-table thead th:last-child { border-right: none; }
.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: #f5f4ff; }
.sku-table tbody tr.sku-selected { background: #f0eeff; }
.sku-table tbody tr.sku-soldout { opacity: .5; cursor: not-allowed; pointer-events: none; }

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

.td-spec  { font-size: 12.5px; color: #111827; font-weight: 600; word-break: break-word; overflow-wrap: break-word; }
.td-price { font-weight: 800; color: var(--navy); white-space: nowrap; font-size: 13px; }
.td-stock { font-size: 11.5px; }
.stock-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.stock-badge.ok,
.stock-badge.low { background: #fff; color: #0C025B; }
.stock-badge.out { background: #f0f0f0; color: #999; }

/* 수량 컨트롤 */
.td-qty { overflow: visible; }
.sku-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c4bfee;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}
.sku-qty-btn {
  width: 24px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0eeff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #1a0a7a;
  flex-shrink: 0;
  transition: background var(--ease);
}
.sku-qty-btn:hover { background: #dbeafe; color: var(--navy); }
.sku-qty-input {
  width: 28px;
  height: 26px;
  border: none;
  border-left: 1px solid #c4bfee;
  border-right: 1px solid #c4bfee;
  text-align: center;
  font-size: 12px;
  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: 15px;
  height: 15px;
  accent-color: var(--navy);
  cursor: pointer;
}

/* ═══════════════════════════════
   구매 버튼
═══════════════════════════════ */
.action-buttons {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}
.btn_cart, .btn_buy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  border: 1.5px solid #0C025B;
}
.btn_cart { background: var(--bg); color: var(--navy); }
.btn_cart:hover { background: #f0eeff; }
.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: 14px 0;
  font-weight: 700;
  border-radius: 4px;
  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: 8px 12px;
  background: #f0eeff;
  font-weight: 700;
  color: #0C025B;
  border-bottom: 1px solid #c4bfee;
  text-align: left;
}
.table-slide tbody td {
  padding: 8px 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: 20px !important; }

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

.related-allbasket { margin-top: 10px; text-align: right; }
.related-allbasket a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

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

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

.action-buttons-sub { display: none; }
.action-buttons-pay { margin-top: 6px; }

/* ═══════════════════════════════
   하단 탭
═══════════════════════════════ */
.detailTab { margin: 28px 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: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 18px;
  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: #0C025B; border-bottom-color: #0C025B; }

.prd-detail {
  padding: 24px 0 18px;
  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: 16px; }
.item-cont { display: flex; flex-wrap: wrap; gap: 12px; }
.item-list {
  width: 170px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px;
  box-shadow: var(--shadow-xs);
}
.item-list .thumb img { width: 100%; border-radius: 4px; }
.item-list .prd-name a { font-size: 12px; color: var(--navy); font-weight: 700; text-decoration: none; display: block; margin-top: 6px; line-height: 1.4; }
.item-list .prd-price .price { color: var(--navy); font-size: 12px; font-weight: 700; }

.tit-detail { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.tit-detail h3 { font-size: 13px; font-weight: 700; color: var(--navy); margin: 0; }
.tit-detail .more a { font-size: 11px; color: var(--text-muted); text-decoration: none; }

/* 유해물질 모달 */
#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: 4px; padding: 40px 32px; box-shadow: var(--shadow-md); width: 90%; max-width: 520px; text-align: center; z-index: 10000; }
.hazard-icon { font-size: 3em; margin-bottom: 8px; }
.modal-title { font-size: 18px; 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: 11px; color: var(--text-muted); }
.copy-email { cursor: pointer; color: var(--navy); font-weight: 700; }
.hazard-modal-close { margin-top: 18px; padding: 9px 36px; background: var(--accent); color: #fff; border: none; border-radius: 4px; font-size: 14px; font-weight: 700; cursor: pointer; }
.hazard-modal-close:hover { background: #b71c1c; }

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

/* 제품상세정보 테이블 */
#productWrap { margin: 24px 0 32px; }
.tit-prd { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); letter-spacing: -.3px; }
.product-info-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.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: 150px; padding: 11px 16px; background: #f5f4f8; font-weight: 700; color: #1a1a2e; text-align: left; vertical-align: top; font-size: 13px; white-space: nowrap; }
.product-info-table td { padding: 11px 16px; color: #111827; font-size: 13.5px; 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: 44px 20px 30px; }
.iu-section-title .iu-eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #0C025B; opacity: .5; margin-bottom: 10px; }
.iu-section-title h3 { font-size: 20px; font-weight: 900; color: #111; letter-spacing: -.4px; line-height: 1.3; }
.iu-section-title h3 em { color: #0C025B; font-style: normal; }
.iu-hero { background: linear-gradient(135deg, #0C025B 0%, #1a0a7a 100%); color: #fff; padding: 48px 28px 40px; 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: 12px; }
.iu-hero .iu-hero-title { font-size: 24px; font-weight: 900; line-height: 1.4; color: #fff; margin-bottom: 36px; 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: 4px; overflow: hidden; }
.iu-hero-cards .card { flex: 1; padding: 20px 16px; background: rgba(255,255,255,.06); text-align: center; }
.iu-hero-cards .card-icon { font-size: 20px; color: #bfdbfe; margin-bottom: 10px; }
.iu-hero-cards .card-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.iu-hero-cards .card-value { font-size: 12.5px; font-weight: 600; color: #fff; line-height: 1.7; }
.iu-notice { background: #fff; padding-bottom: 40px; }
.iu-notice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 28px; max-width: 960px; margin: 0 auto; }
.iu-notice-card { border: 1px solid #c4bfee; border-radius: 4px; padding: 22px 20px; background: #faf9ff; }
.iu-notice-card .nc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #e2eaff; }
.iu-notice-card .nc-icon { width: 36px; height: 36px; border-radius: 4px; background: #0C025B; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; flex-shrink: 0; }
.iu-notice-card .nc-title { font-size: 14px; 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: 4px 0 4px 14px; font-size: 13px; color: #555; line-height: 1.7; }
.iu-notice-list li::before { content: ''; position: absolute; left: 3px; top: 13px; width: 4px; height: 4px; border-radius: 50%; background: #c4bfee; }
.iu-notice-list .hi-red  { color: #d63031; font-weight: 700; }
.iu-notice-list .hi-blue { color: #0C025B; font-weight: 700; }
.iu-notice-list .note    { font-size: 11px; color: #aaa; }
.iu-notice-list .note::before { display: none !important; }
.iu-delivery { background: #f0f4ff; padding-bottom: 40px; }
.iu-delivery-icons { display: flex; justify-content: center; gap: 20px; padding: 0 28px 28px; flex-wrap: wrap; }
.iu-delivery-icon-card { flex: 1; min-width: 160px; max-width: 200px; background: #fff; border: 1px solid #c4bfee; border-radius: 4px; padding: 22px 16px 20px; text-align: center; }
.iu-delivery-icon-card .dic-icon { width: 56px; height: 56px; border-radius: 4px; background: linear-gradient(135deg, #0C025B, #1a0a7a); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 22px; color: #fff; }
.iu-delivery-icon-card .dic-title { font-size: 14px; font-weight: 800; color: #111; margin-bottom: 6px; }
.iu-delivery-icon-card .dic-desc { font-size: 12px; color: #888; line-height: 1.65; }
.iu-delivery-notes { list-style: none; margin: 0 auto; padding: 0 28px; max-width: 800px; }
.iu-delivery-notes li { position: relative; padding: 5px 0 5px 16px; font-size: 13px; color: #666; line-height: 1.7; border-bottom: 1px dashed #c4bfee; }
.iu-delivery-notes li:last-child { border-bottom: none; }
.iu-delivery-notes li::before { content: ''; position: absolute; left: 3px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: #0C025B; opacity: .3; }
.iu-delivery-notes .hi-red  { color: #d63031; font-weight: 700; }
.iu-delivery-notes .hi-blue { color: #0C025B; font-weight: 700; }
.iu-delivery-notes .hi-ul   { text-decoration: underline; text-underline-offset: 2px; }
.iu-return { background: #fff; padding-bottom: 40px; }
.iu-return-list { list-style: none; margin: 0 auto; padding: 0 28px; max-width: 800px; counter-reset: return-counter; }
.iu-return-list li { counter-increment: return-counter; position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid #e8eeff; font-size: 13.5px; color: #444; line-height: 1.7; }
.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: 14px; font-size: 10px; font-weight: 800; color: #0C025B; opacity: .35; }
.iu-return-list .hi-red  { color: #d63031; font-weight: 700; }
.iu-return-list .hi-blue { color: #0C025B; font-weight: 700; }
.iu-cta { background: linear-gradient(135deg, #0C025B 0%, #1a0a7a 100%); padding: 44px 28px; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.iu-cta .cta-logo img { height: 44px; }
.iu-cta .cta-logo-img { height: 44px; filter: invert(1) brightness(2); mix-blend-mode: screen; }
.iu-cta .cta-body { color: #fff; }
.iu-cta .cta-desc { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 14px; line-height: 1.7; }
.iu-cta .cta-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; }
.iu-cta .cta-contacts li { font-size: 12px; color: rgba(255,255,255,.45); }
.iu-cta .cta-contacts li strong { font-size: 15px; font-weight: 800; color: #fff; display: block; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   반응형
═══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .prd-top { grid-template-columns: 360px 1fr; gap: 22px; }
  .prd-thumb-item { width: 52px; height: 52px; }
}

@media (max-width: 1024px) {
  .prd-top { grid-template-columns: 1fr; gap: 20px; }
  .prd-gallery { position: static; }
  .prd-main-img { max-width: 320px; margin: 0 auto 8px; }
  .prd-thumbs { justify-content: center; }
  .prd-name { font-size: 18px; }
}

@media (max-width: 640px) {
  .prd-main-img { max-width: 260px; }
  .prd-name { font-size: 16px; }
  .prd-price-value { font-size: 20px; }
  .sku-table thead th { padding: 7px 4px; font-size: 10.5px; }
  .sku-table tbody td { padding: 7px 4px; font-size: 11.5px; }
  .sku-table thead th:first-child,
  .sku-table tbody td:first-child { display: none; }
  .action-buttons { gap: 6px; }
  .btn_cart, .btn_buy { height: 42px; font-size: 13px; }
  .prd-thumb-item { width: 48px; height: 48px; }
  .iu-notice-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .iu-delivery-icons { gap: 12px; padding: 0 16px 22px; }
  .iu-delivery-notes, .iu-return-list { padding: 0 16px; }
  .iu-cta { flex-direction: column; text-align: center; gap: 20px; padding: 32px 16px; }
  .iu-cta .cta-contacts { justify-content: center; }
}

@media (max-width: 400px) {
  .prd-main-img { max-width: 200px; }
  .prd-name { font-size: 15px; }
  .prd-price-value { font-size: 18px; }
  .btn_cart, .btn_buy { height: 38px; font-size: 12px; }
}

/* ── 3열 레이아웃 ── */
.right-section {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  background: #fff;
  border: 1.5px solid #c4bfee;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(12,2,91,.07);
}

/* center-section은 상품명/설명만 */
.center-section {
  min-width: 0;
}

/* right-section 안의 가격 요약 */
.right-section .prd-price-summary {
  margin: 12px 0 10px;
  padding: 10px 0;
}

/* right-section 안의 버튼 */
.right-section .prd-btns { margin-top: 0; }

/* right-section 안 SKU 테이블 border 제거 (이미 패딩으로 감쌈) */
.right-section .sku-table-wrap {
  border-radius: 4px;
  margin-bottom: 10px;
}

/* 반응형 — 1200px 이하: 2열로 */
@media (max-width: 1200px) {
  .prd-top {
    grid-template-columns: 300px 1fr !important;
    grid-template-rows: auto auto;
  }
  .right-section {
    grid-column: 1 / -1;
    position: static;
  }
}

/* 반응형 — 1024px 이하: 1열로 */
@media (max-width: 1024px) {
  .prd-top {
    grid-template-columns: 1fr !important;
  }
  .prd-gallery { position: static; }
  .prd-main-img { max-width: 320px; margin: 0 auto 8px; }
  .prd-thumbs { justify-content: center; }
  .right-section { position: static; }
}

/* ── 신뢰 지표 뱃지 (center-section) ── */
.prd-trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
  padding: 14px 16px;
  background: #f8fafd;
  border: 1px solid #e8eeff;
  border-radius: 8px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  white-space: nowrap;
}
.trust-badge i {
  font-size: 12px;
  color: #0C025B;
}
.trust-badge + .trust-badge {
  padding-left: 8px;
  border-left: 1px solid #e2e8f0;
}

/* ── right-section 내부 강조 ── */
.right-section .section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 10px;
}

/* ── SKU 테이블 개선 ── */
.sku-table thead {
  background: linear-gradient(135deg, #0C025B, #1a0a7a);
}
.sku-table thead th {
  background: transparent;
  color: #fff;
  border-right-color: rgba(255,255,255,.15);
  border-bottom-color: rgba(255,255,255,.15);
}

/* ── 구매버튼 개선 ── */
.btn_buy {
  background: linear-gradient(135deg, #0C025B, #1a0a7a) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(12,2,91,.25);
  transition: all .2s !important;
}
.btn_buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(12,2,91,.3) !important;
}
.btn_cart {
  border-color: #0C025B !important;
  color: #0C025B !important;
  transition: all .2s !important;
}
.btn_cart:hover {
  background: #f0eeff !important;
}

/* ── 가격 강조 ── */
.prd-price-value {
  color: #0C025B;
  font-size: 28px !important;
}

/* ── prd-top 배경 ── */
#productDetail {
  background: #f8fafc;
  min-height: 100vh;
  padding: 0 32px 40px;
}
.prd-top {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  margin-bottom: 24px;
}
/* ── 할인가 표시 ── */
.prd-dc-row {
  display: flex; align-items: center;
  padding: 6px 0; margin-bottom: 10px;
}
.prd-dc-badge {
  background: #dc2626; color: #fff;
  font-size: 15px; font-weight: 800;
  padding: 4px 12px; border-radius: 4px;
}

/* td-price 할인 표시 */
.td-price-origin { font-size: 13px; color: #dc2626; font-weight: 800; text-decoration: line-through; margin-right: 4px; }
.td-price-dc { font-size: 13px; font-weight: 800; color: var(--navy); display: block; margin-top: 2px; }
.td-price-rate {
  display: inline-block;
  background: #dc2626; color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 1px 5px; border-radius: 3px;
  margin-left: 4px; vertical-align: middle;
}
/* BASIC css end */

