/* BASIC css start */
/* ==========================================
   GUIDE SAMJUNG MOBILE PRODUCT LIBRARY
========================================== */

#gsm-library {
    width: 100%;
    padding: 28px 15px 60px;
    margin: 0 auto;
    box-sizing: border-box;
    background: #fff;
    color: #172742;
    font-family: Arial, "Noto Sans KR", sans-serif;
    font-size: 13px;
}

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

#gsm-library .gsm-hidden {
    display: none !important;
}

/* 페이지 제목 */

#gsm-library .gsm-heading {
    text-align: center;
    margin-bottom: 28px;
}

#gsm-library .gsm-heading h1 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
    color: #111827;
    line-height: 1.4;
}

#gsm-library .gsm-heading p {
    margin: 10px 0 0;
    color: #8192ac;
    font-size: 11px;
    line-height: 1.7;
}

/* 제품군 버튼 */

#gsm-library .gsm-categories {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin-bottom: 28px;
}

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

    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 88px !important;
    height: auto !important;
    padding: 12px 6px !important;

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

    color: #29405f !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;

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

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

#gsm-library .gsm-category > span {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: center !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#gsm-library .gsm-category .gsm-category-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 25px !important;
    color: #617899 !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

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

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

/* 검색창 */

#gsm-library .gsm-search-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    height: 47px;
    margin-bottom: 25px;
    padding: 0 16px;
    border: 1px solid #cedbee;
    border-radius: 25px;
    background: #fff;
}

#gsm-library .gsm-search-wrap:focus-within {
    border-color: #0075ff;
}

#gsm-library #gsm-search {
    display: block !important;
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #172742 !important;
    font-size: 12px !important;
}

#gsm-library #gsm-search::placeholder {
    color: #94a2b7;
}

#gsm-library .gsm-search-wrap svg {
    display: block;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-left: 8px;
    color: #4d617d;
}

/* 필터 */

#gsm-library .gsm-filter-section {
    padding: 18px 15px;
    margin-bottom: 30px;
    border: 1px solid #e0e8f4;
    border-radius: 11px;
    background: #f8faff;
}

#gsm-library .gsm-filter-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
}

#gsm-library .gsm-filter-heading strong {
    color: #1b3050;
    font-size: 13px;
    font-weight: 700;
}

#gsm-library .gsm-filter-heading small {
    color: #9aa9bd;
    font-size: 10px;
    letter-spacing: .4px;
}

#gsm-library .gsm-filter-label {
    margin: 16px 0 9px;
    color: #526782;
    font-size: 12px;
    font-weight: 700;
}

#gsm-library .gsm-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

#gsm-library .gsm-filter-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-height: 35px !important;
    padding: 8px 12px !important;

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

    color: #506785 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-indent: 0 !important;

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

#gsm-library .gsm-filter-button.is-active {
    border-color: #0075ff !important;
    background: #0075ff !important;
    color: #fff !important;
}

/* 목록 제목 */

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

#gsm-library .gsm-list-heading h2 {
    margin: 0;
    color: #172742;
    font-size: 16px;
    font-weight: 800;
}

#gsm-library #gsm-list-count {
    color: #8597af;
    font-size: 11px;
    white-space: nowrap;
}

/* 제품 카드 */

#gsm-library .gsm-product-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

#gsm-library .gsm-product-card {
    padding: 18px 15px;
    border: 1px solid #dfe7f2;
    border-radius: 11px;
    background: #fff;
}

#gsm-library .gsm-product-name {
    display: block;
    color: #102747;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#gsm-library .gsm-product-spec {
    margin-top: 6px;
    color: #8798af;
    font-size: 11px;
    line-height: 1.5;
}

#gsm-library .gsm-download-list {
    margin-top: 15px;
    padding-top: 5px;
    border-top: 1px solid #edf1f7;
}

#gsm-library .gsm-download-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 43px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f3f8;
}

#gsm-library .gsm-download-row:last-child {
    border-bottom: 0;
}

#gsm-library .gsm-download-label {
    color: #566b88;
    font-size: 12px;
    font-weight: 500;
}

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

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

    width: auto !important;
    min-width: 65px;
    min-height: 31px;
    padding: 7px 10px !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;

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

#gsm-library .gsm-download-button:active {
    background: #0075ff !important;
    color: #fff !important;
}

#gsm-library .gsm-download-button.gsm-numbered {
    min-width: 30px;
    padding: 7px 9px !important;
}

#gsm-library .gsm-no-file {
    color: #a8b5c6;
    font-size: 12px;
}

#gsm-library .gsm-empty {
    padding: 40px 15px;
    border: 1px solid #e1e8f1;
    border-radius: 10px;
    color: #8999ae;
    font-size: 12px;
    text-align: center;
    line-height: 1.7;
}

#gsm-library .gsm-notice {
    margin: 22px 0 0;
    color: #93a0b2;
    font-size: 10px;
    line-height: 1.8;
}

/* 작은 모바일 화면 */

@media (max-width: 360px) {

    #gsm-library {
        padding-left: 12px;
        padding-right: 12px;
    }

    #gsm-library .gsm-category {
        min-height: 82px !important;
        font-size: 10px !important;
    }

    #gsm-library .gsm-product-card {
        padding: 15px 12px;
    }

    #gsm-library .gsm-filter-button {
        padding: 8px 10px !important;
    }
}

/* BASIC css end */

