/* 제품 모달 */
#prd_modal { display: none; position: fixed; inset: 0; z-index: 999; align-items: center; justify-content: center; }
#prd_modal.on { display: flex; }
.pm_overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.pm_wrap { position: relative; z-index: 1; width: 90%; max-width: 1040px; max-height: 90vh; background: #fff; overflow-y: auto; }
.pm_inner { padding: 50px 50px 60px; }

.pm_header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.pm_header strong { font-size: 3.2rem; font-family: ptb; color: #111; }
.pm_close { background: none; border: none; font-size: 2.2rem; color: #666; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.pm_close:hover { color: #111; }

.pm_top { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 50px; }

.pm_gallery { flex-shrink: 0; width: 400px; }
.pm_main_img { margin: 0 0 14px; width: 100%; height: 280px; background: #f5f5f5; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pm_main_img img { max-width: 90%; max-height: 90%; object-fit: contain; transition: 0.2s; }
.pm_thumbs { display: flex; gap: 10px; }
.pm_thumbs figure { margin: 0; flex: 1; height: 90px; background: #f5f5f5; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid transparent; transition: 0.2s; }
.pm_thumbs figure.on,
.pm_thumbs figure:hover { border-color: var(--color); }
.pm_thumbs figure img { max-width: 85%; max-height: 85%; object-fit: contain; }

.pm_info { flex: 1; }
.pm_info h2 { font-size: 2.6rem; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--color); margin-bottom: 20px; line-height: 1.3; }
.pm_info #pm_desc p { font-size: 1.55rem; color: #444; line-height: 1.9; margin-bottom: 12px; }
.pm_info #pm_desc p:last-child { margin-bottom: 0; }
#pm_bullets { margin-top: 20px; }
#pm_bullets li { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; color: #333; padding: 10px 0; border-bottom: 1px solid #e8e8e8; }
#pm_bullets li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--color); flex-shrink: 0; }

.pm_section { border-top: 1px solid #e0e0e0; padding-top: 40px; margin-bottom: 40px; }
.pm_section h3 { font-size: 2.4rem; font-family: ptb; color: #111; margin-bottom: 20px; }

.pm_mid { display: flex; gap: 30px; }
.pm_col { flex: 1; }
.pm_col h3 { font-size: 2rem; font-family: ptb; }
.pm_col ul li { display: flex; align-items: center; gap: 14px; border: 1px solid #e0e0e0; border-radius: 6px; padding: 14px 16px; font-size: 1.5rem; color: #333; margin-bottom: 10px; line-height: 1.5; }
.pm_num { font-size: 1.4rem; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--color); flex-shrink: 0; min-width: 26px; }

.pm_spec_wrap h3 { font-size: 2rem; font-family: ptb; margin-bottom: 16px; }
.pm_spec { width: 100%; border-collapse: collapse; font-size: 1.5rem; }
.pm_spec th,
.pm_spec td { border: 1px solid #ddd; padding: 14px 20px; text-align: center; color: #333; }
.pm_spec thead th { background: #f5f5f5; font-family: ptb; color: #111; font-size: 1.5rem; }
.pm_spec th:first-child, .pm_spec td:first-child { border-left: none; }
.pm_spec th:last-child, .pm_spec td:last-child { border-right: none; }
.pm_spec tbody td:first-child { font-family: ptm; color: #444; }

/* 반응형 */
@media (max-width: 1024px) {
  .pm_inner { padding: 36px 36px 48px; }
  .pm_gallery { width: 320px; }
  .pm_main_img { height: 220px; }
  .pm_thumbs figure { height: 76px; }
  .pm_info h2 { font-size: 2.2rem; }
  .pm_info #pm_desc p { font-size: 1.45rem; }
  #pm_bullets li { font-size: 1.4rem; }
  .pm_col ul li { font-size: 1.4rem; padding: 12px 14px; }
  .pm_spec th, .pm_spec td { padding: 12px 14px; font-size: 1.4rem; }
}

@media (max-width: 768px) {
  .pm_wrap { width: 94%; max-height: 92vh; }
  .pm_inner { padding: 28px 24px 40px; }
  .pm_header strong { font-size: 2.6rem; }
  .pm_top { flex-direction: column; gap: 28px; }
  .pm_gallery { width: 100%; }
  .pm_main_img { height: 240px; }
  .pm_thumbs figure { height: 80px; }
  .pm_mid { flex-direction: column; gap: 0; }
  .pm_col { margin-bottom: 24px; }
  .pm_spec th, .pm_spec td { padding: 10px 12px; font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .pm_wrap { width: 96%; border-radius: 12px; max-height: 94vh; }
  .pm_inner { padding: 22px 18px 36px; }
  .pm_header { margin-bottom: 22px; }
  .pm_header strong { font-size: 2.2rem; }
  .pm_main_img { height: 190px; }
  .pm_thumbs figure { height: 66px; }
  .pm_info h2 { font-size: 1.9rem; margin-bottom: 14px; }
  .pm_info #pm_desc p { font-size: 1.4rem; line-height: 1.8; }
  #pm_bullets li { font-size: 1.35rem; padding: 8px 0; }
  .pm_section { padding-top: 28px; margin-bottom: 28px; }
  .pm_col h3, .pm_spec_wrap h3 { font-size: 1.8rem; margin-bottom: 14px; }
  .pm_col ul li { font-size: 1.35rem; padding: 10px 12px; }
  .pm_num { font-size: 1.3rem; }
  .pm_spec th, .pm_spec td { padding: 9px 10px; font-size: 1.3rem; }
}