/* BASIC css start */
/* ==========================================
   GUIDE SAMJUNG PRODUCT LIBRARY
   기존 디자인 유지 + 프로젝터 분류
========================================== */

#gs-library {
    --gs-blue: #0075ff;
    --gs-navy: #102344;
    --gs-line: #dbe3f0;
    --gs-muted: #8193b2;

    width: 100%;
    max-width: 1368px;
    margin: 0 auto;
    padding: 38px 20px 85px;
    box-sizing: border-box;
    font-family: Arial, "Noto Sans KR", sans-serif;
    color: #14233d;
    font-size: 13px;
}

#gs-library *,
#gs-library *::before,
#gs-library *::after {
    box-sizing: border-box;
}

#gs-library button,
#gs-library input {
    font-family: inherit;
}

/* 상단 경로 */

#gs-library .gs-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 48px;
    color: #7d90ae;
    font-size: 12px;
}

#gs-library .gs-breadcrumb a {
    color: #7d90ae;
    text-decoration: none;
}

#gs-library .gs-breadcrumb strong {
    color: #435778;
    font-weight: 700;
}

/* 중앙 제목 */

#gs-library .gs-page-heading {
    text-align: center;
    margin-bottom: 46px;
}

#gs-library .gs-page-heading h1 {
    margin: 0;
    color: #101827;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
}

#gs-library .gs-page-heading p {
    margin: 17px 0 0;
    color: #7f92b2;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   상단 제품군 7개
========================================== */

#gs-library .gs-category-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 44px;
}

#gs-library .gs-category-grid .gs-category {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 116px !important;
    min-height: 116px !important;
    padding: 15px 8px !important;

    border: 1px solid #d7e1f1 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;

    color: #172c4b !important;
    text-align: center !important;
    text-indent: 0 !important;
    line-height: normal !important;

    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important;

    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s, background .2s;
}

#gs-library .gs-category-grid .gs-category:hover {
    border-color: #80b6ff !important;
    background: #f7fbff !important;
}

#gs-library .gs-category-grid .gs-category.is-active {
    border: 2px solid #0075ff !important;
    background: #eff6ff !important;
    color: #0075ff !important;
}

#gs-library .gs-category-grid .gs-category::before,
#gs-library .gs-category-grid .gs-category::after {
    content: none !important;
    display: none !important;
}

/* 아이콘 */

#gs-library .gs-category-grid .gs-category .gs-category-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 28px !important;

    position: static !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    color: #536c91 !important;

    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: none !important;
}

#gs-library .gs-category-grid .gs-category.is-active .gs-category-icon {
    color: #0075ff !important;
}

#gs-library .gs-category-icon svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    color: inherit !important;
    stroke: currentColor !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 카테고리 글자 */

#gs-library .gs-category-grid .gs-category .gs-category-label {
    display: block !important;
    position: static !important;

    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-indent: 0 !important;
    white-space: normal !important;

    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: none !important;
}

/* ==========================================
   중앙 검색창
========================================== */

#gs-library .gs-search-section {
    display: flex;
    justify-content: center;
    margin: 0 0 40px;
}

#gs-library .gs-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 630px;
    height: 52px;
    padding: 0 23px;

    border: 1px solid #cddbf0;
    border-radius: 30px;
    background: #fff;
}

#gs-library .gs-search-box:focus-within {
    border-color: #0075ff;
}

#gs-library #gs-product-search {
    display: block !important;
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;

    color: #172c4b !important;
    font-size: 13px !important;
}

#gs-library #gs-product-search::placeholder {
    color: #8195b5;
}

#gs-library .gs-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    margin-left: 12px;
    color: #172c4b;
}

#gs-library .gs-search-icon svg {
    display: block;
    width: 21px;
    height: 21px;
}

/* ==========================================
   새로 추가한 프로젝터 분류
========================================== */

#gs-library .gs-projector-filters {
    margin: 0 0 40px;
    padding: 22px 24px;
    border: 1px solid #e0e8f4;
    border-radius: 12px;
    background: #f8faff;
}

#gs-library .gs-projector-filters.is-hidden {
    display: none !important;
}

#gs-library .gs-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

#gs-library .gs-filter-title strong {
    color: #172c4b;
    font-size: 14px;
    font-weight: 700;
}

#gs-library .gs-filter-title span {
    color: #8a9ab3;
    font-size: 11px;
    letter-spacing: .5px;
}

#gs-library .gs-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#gs-library .gs-filter-buttons .gs-subcategory {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-height: 37px !important;
    padding: 9px 14px !important;

    border: 1px solid #d6e1f1 !important;
    border-radius: 7px !important;
    background: #fff !important;

    color: #526886 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-indent: 0 !important;

    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important;
    appearance: none;
}

#gs-library .gs-filter-buttons .gs-subcategory:hover {
    border-color: #0075ff !important;
    color: #0075ff !important;
}

#gs-library .gs-filter-buttons .gs-subcategory.is-active {
    border-color: #0075ff !important;
    background: #0075ff !important;
    color: #fff !important;
}

/* ==========================================
   자료실 제목
========================================== */

#gs-library .gs-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

#gs-library .gs-list-heading h2 {
    margin: 0;
    color: #111827;
    font-size: 17px;
    font-weight: 800;
}

#gs-library #gs-library-count {
    color: #8194b2;
    font-size: 12px;
    white-space: nowrap;
}

/* ==========================================
   기존 다운로드 테이블
========================================== */

#gs-library .gs-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-top: 2px solid #28384f;
}

#gs-library .gs-library-table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

#gs-library .gs-library-table th {
    padding: 17px 10px;
    border: 1px solid #e1e7f0;
    border-top: 0;
    background: #f1f4f9;

    color: #111827;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

#gs-library .gs-library-table th:first-child {
    width: 23%;
}

#gs-library .gs-library-table td {
    padding: 12px 10px;
    height: 58px;

    border-bottom: 1px solid #dce5f0;
    border-right: 1px solid #e6ecf4;

    color: #8194b2;
    font-size: 12px;
    text-align: center;
    vertical-align: middle;
}

#gs-library .gs-library-table td:last-child,
#gs-library .gs-library-table th:last-child {
    border-right: 0;
}

#gs-library .gs-library-table tbody tr:hover {
    background: #fafcff;
}

/* 제품명과 성능 */

#gs-library .gs-product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#gs-library .gs-product-name {
    color: #112747;
    font-size: 12px;
    font-weight: 700;
}

#gs-library .gs-product-spec {
    color: #8194b2;
    font-size: 11px;
    line-height: 1.4;
}

/* 기존 파란색 다운로드 버튼 */

#gs-library .gs-download {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 68px;
    min-height: 33px;
    padding: 7px 11px !important;

    border: 1px solid #0075ff !important;
    border-radius: 5px !important;
    background: #fff !important;

    color: #0075ff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-indent: 0 !important;

    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer;
}

#gs-library .gs-download:hover {
    background: #0075ff !important;
    color: #fff !important;
}

#gs-library .gs-multi-download {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

#gs-library .gs-multi-download .gs-download {
    min-width: 32px;
    padding: 7px 8px !important;
}

#gs-library .gs-empty {
    padding: 50px 15px !important;
    color: #8c9bb1 !important;
    text-align: center !important;
}

#gs-library .gs-library-note {
    margin: 18px 0 0;
    color: #8b9bb2;
    font-size: 11px;
    line-height: 1.8;
}

/* ==========================================
   반응형
========================================== */

@media (max-width: 1100px) {

    #gs-library .gs-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {

    #gs-library {
        padding: 25px 14px 60px;
    }

    #gs-library .gs-breadcrumb {
        margin-bottom: 32px;
    }

    #gs-library .gs-page-heading {
        margin-bottom: 32px;
    }

    #gs-library .gs-page-heading h1 {
        font-size: 24px;
    }

    #gs-library .gs-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-bottom: 30px;
    }

    #gs-library .gs-category-grid .gs-category {
        height: 100px !important;
        min-height: 100px !important;
    }

    #gs-library .gs-search-section {
        margin-bottom: 30px;
    }

    #gs-library .gs-projector-filters {
        padding: 17px 14px;
        margin-bottom: 30px;
    }

    #gs-library .gs-filter-title {
        flex-direction: column;
        align-items: flex-start;
    }

    #gs-library .gs-filter-buttons .gs-subcategory {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
}

/* BASIC css end */

