@charset "utf-8";
/* 제품 상세페이지
   색상은 기존 page-product.css 와 동일한 값을 쓴다.
   주색 #4E66FF / 본문 #1C1C1C / 보조 #666 / 경계 #E8E8E8 */

#pd_detail {
    padding: 60px 0 100px;
}

/* ---------- 상단 : 코드 / 제목 ---------- */
#pd_detail .pd-head {
    padding-bottom: 28px;
    border-bottom: 2px solid #1C1C1C;
}
#pd_detail .pd-breadcrumb {
    margin-bottom: 18px;
    font-size: 14px;
    color: #888;
    letter-spacing: -0.02em;
}
#pd_detail .pd-breadcrumb a {
    color: #888;
    transition: color 0.2s;
}
#pd_detail .pd-breadcrumb a:hover {
    color: #4E66FF;
}
#pd_detail .pd-breadcrumb span {
    padding: 0 6px;
    color: #CCC;
}
#pd_detail .pd-tag-area {
    margin-bottom: 14px;
    font-size: 0;
}
#pd_detail .pd-tag {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
}
#pd_detail .pd-tag.code {
    background-color: #4E66FF;
    color: #FFF;
}
#pd_detail .pd-tag.cas {
    background-color: #EEF1FF;
    color: #3B5FAD;
}
#pd_detail .pd-tag.purity {
    background-color: #F1F1F1;
    color: #666;
}
#pd_detail .pd-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    color: #1C1C1C;
    letter-spacing: -0.03em;
    word-break: break-word;
}

/* ---------- 본문 2단 ---------- */
#pd_detail .pd-body {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}
#pd_detail .pd-visual {
    flex: 0 0 380px;
    max-width: 380px;
}
#pd_detail .pd-visual .img-box {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    background-color: #FFF;
    overflow: hidden;
}
#pd_detail .pd-visual .img-box img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 82%;
    max-height: 82%;
    transform: translate(-50%, -50%);
}
#pd_detail .pd-visual .img-caption {
    margin-top: 10px;
    font-size: 13px;
    color: #999;
    text-align: center;
    line-height: 1.5;
}
#pd_detail .pd-main {
    flex: 1 1 420px;
    min-width: 0;
}

/* 요약 문장 */
#pd_detail .pd-lead {
    padding: 22px 24px;
    border-left: 3px solid #4E66FF;
    background-color: #F8F9FC;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    letter-spacing: -0.02em;
    word-break: break-word;
}

/* 물성 표 */
#pd_detail .pd-spec {
    width: 100%;
    margin-top: 28px;
    border-top: 2px solid #1C1C1C;
    border-collapse: collapse;
}
#pd_detail .pd-spec th,
#pd_detail .pd-spec td {
    padding: 15px 18px;
    border-bottom: 1px solid #E8E8E8;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}
#pd_detail .pd-spec th {
    width: 150px;
    background-color: #FAFAFA;
    color: #555;
    font-weight: 500;
    letter-spacing: -0.02em;
}
#pd_detail .pd-spec td {
    color: #1C1C1C;
}
#pd_detail .pd-spec td.mono {
    font-family: Consolas, Menlo, Monaco, monospace;
    letter-spacing: 0;
}

/* 버튼 */
#pd_detail .pd-btn-area {
    margin-top: 30px;
    font-size: 0;
}
#pd_detail .pd-btn {
    display: inline-block;
    min-width: 150px;
    margin: 0 8px 8px 0;
    padding: 15px 26px;
    border: 1px solid #4E66FF;
    border-radius: 4px;
    background-color: #4E66FF;
    color: #FFF;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.02em;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
#pd_detail .pd-btn:hover {
    background-color: #4058F2;
    border-color: #4058F2;
}
#pd_detail .pd-btn.line {
    background-color: #FFF;
    color: #4E66FF;
}
#pd_detail .pd-btn.line:hover {
    background-color: #EEF1FF;
    color: #3B5FAD;
}

/* ---------- 하단 : 관련 제품 ---------- */
#pd_detail .pd-section {
    margin-top: 70px;
}
#pd_detail .pd-section > h2 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #1C1C1C;
    letter-spacing: -0.03em;
}
#pd_detail .pd-related {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
#pd_detail .pd-related > li {
    flex: 1 1 calc(33.333% - 14px);
    min-width: 260px;
}
#pd_detail .pd-related a {
    display: block;
    height: 100%;
    padding: 18px 20px;
    border: 1px solid #E8E8E8;
    border-radius: 6px;
    background-color: #FFF;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
#pd_detail .pd-related a:hover {
    border-color: #4E66FF;
    box-shadow: 0 6px 18px rgba(78, 102, 255, 0.12);
    transform: translateY(-2px);
}
#pd_detail .pd-related .code {
    display: block;
    margin-bottom: 8px;
    color: #4E66FF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
#pd_detail .pd-related .name {
    display: block;
    color: #1C1C1C;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    word-break: break-word;
}
#pd_detail .pd-related .cas {
    display: block;
    margin-top: 8px;
    color: #999;
    font-size: 13px;
}

/* 문의 안내 */
#pd_detail .pd-cta {
    margin-top: 60px;
    padding: 34px 30px;
    border-radius: 8px;
    background-color: #F5F6FA;
    text-align: center;
}
#pd_detail .pd-cta p.t1 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1C;
    letter-spacing: -0.03em;
}
#pd_detail .pd-cta p.t2 {
    margin-bottom: 20px;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    letter-spacing: -0.02em;
}

/* ---------- 태블릿 ---------- */
@media all and (max-width: 1024px) {
    #pd_detail {
        padding: 44px 0 70px;
    }
    #pd_detail .pd-title {
        font-size: 26px;
    }
    #pd_detail .pd-body {
        gap: 30px;
    }
    #pd_detail .pd-visual {
        flex: 0 0 300px;
        max-width: 300px;
    }
}

/* ---------- 모바일 ---------- */
@media all and (max-width: 767px) {
    #pd_detail {
        padding: 30px 0 60px;
    }
    #pd_detail .pd-title {
        font-size: 21px;
    }
    #pd_detail .pd-body {
        display: block;
        margin-top: 26px;
    }
    #pd_detail .pd-visual {
        max-width: 100%;
        margin-bottom: 26px;
    }
    #pd_detail .pd-lead {
        padding: 18px;
        font-size: 15px;
    }
    #pd_detail .pd-spec th,
    #pd_detail .pd-spec td {
        padding: 12px 10px;
        font-size: 14px;
    }
    #pd_detail .pd-spec th {
        width: 96px;
    }
    #pd_detail .pd-btn {
        display: block;
        width: 100%;
        margin: 0 0 8px 0;
    }
    #pd_detail .pd-section {
        margin-top: 46px;
    }
    #pd_detail .pd-related > li {
        flex: 1 1 100%;
        min-width: 0;
    }
    #pd_detail .pd-cta {
        margin-top: 40px;
        padding: 26px 18px;
    }
    #pd_detail .pd-cta p.t1 {
        font-size: 17px;
    }
}

/* 화면에는 보이지 않고 스크린리더만 읽는 텍스트 */
#pd_detail .blind {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* 참고문헌 / 특허 목록 */
#pd_detail .pd-spec .pd-cite > li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
#pd_detail .pd-spec .pd-cite > li:last-child {
    margin-bottom: 0;
}
#pd_detail .pd-spec .pd-cite > li:before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #B8B8B8;
}
/* 취급·보관 주의 */
#pd_detail .pd-spec td.caution {
    color: #C0392B;
    font-weight: 500;
}

/* 외부 DB 링크 출처 표기 */
#pd_detail .pd-spec td .pd-source {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 13px;
}
#pd_detail .pd-spec td a {
    color: #4E66FF;
    font-weight: 700;
    text-decoration: underline;
}

/* 제품명 옆 외부 DB(PubChem) 링크 아이콘 */
#pd_detail .pd-title .pd-ext {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: 8px;
    border: 1px solid #D9DEF5;
    border-radius: 6px;
    background-color: #F4F6FF;
    color: #4E66FF;
    vertical-align: 5px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
#pd_detail .pd-title .pd-ext:hover {
    border-color: #4E66FF;
    background-color: #4E66FF;
    color: #FFF;
}

@media all and (max-width: 767px) {
    #pd_detail .pd-title .pd-ext {
        width: 26px;
        height: 26px;
        margin-left: 6px;
        vertical-align: 3px;
    }
    #pd_detail .pd-title .pd-ext svg {
        width: 15px;
        height: 15px;
    }
}
