/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Hello Elementor Child Theme
Author: Custom
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/


/* ==============================
   공통 헤더
============================== */

.osan-header,
.osan-header * {
    box-sizing: border-box;
}

.osan-header {
    position: relative;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.osan-header-inner {
    width: 100%;
    max-width: 1280px;
    height: 118px;
    margin: 0 auto;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ==============================
   로고
============================== */

.osan-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none !important;
}

.osan-logo-small {
    margin-bottom: 5px;
    color: #888888;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.4px;
}

.osan-logo-main {
    color: #222222;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -2px;
}


/* ==============================
   PC 메뉴
============================== */

.osan-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.osan-nav > a,
.osan-nav-parent {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 120px;
    height: 100%;
    padding: 0 25px;

    border: 0;
    background: transparent;

    color: #222222;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none !important;

    cursor: pointer;
}

.osan-nav > a:hover,
.osan-nav-parent:hover {
    color: #777777;
}


/* ==============================
   납품사례 드롭다운
============================== */

.osan-nav-dropdown {
    position: relative;
    height: 100%;
}

.osan-submenu {
    position: absolute;
    top: 90px;
    left: 50%;

    width: 150px;

    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);

    opacity: 0;
    visibility: hidden;

    transform: translateX(-50%) translateY(10px);
    transition: 0.2s ease;
}

.osan-nav-dropdown:hover .osan-submenu,
.osan-nav-dropdown:focus-within .osan-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.osan-submenu a {
    display: block;
    padding: 15px 20px;

    color: #333333;
    font-size: 14px;
    text-align: center;
    text-decoration: none !important;

    border-bottom: 1px solid #eeeeee;
}

.osan-submenu a:last-child {
    border-bottom: 0;
}

.osan-submenu a:hover {
    background: #f7f7f7;
}


/* ==============================
   모바일 햄버거 버튼
============================== */

.osan-mobile-button {
    display: none;

    width: 34px;
    height: 30px;
    padding: 3px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.osan-mobile-button span {
    display: block;

    width: 100%;
    height: 2px;
    margin: 6px 0;

    background: #222222;
}


/* ==============================
   모바일 메뉴
============================== */

.osan-mobile-menu {
    display: none;
}


/* ==============================
   태블릿 / 모바일 헤더
============================== */

@media (max-width: 900px) {

    .osan-header-inner {
        height: 85px;
        padding: 0 25px;
    }

    .osan-logo-main {
        font-size: 31px;
    }

    .osan-logo-small {
        font-size: 10px;
    }

    .osan-nav {
        display: none;
    }

    .osan-mobile-button {
        display: block;
    }

    .osan-mobile-menu {
        position: absolute;
        top: 85px;
        left: 0;

        width: 100%;

        background: #ffffff;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .osan-mobile-menu.open {
        display: block;
    }

    .osan-mobile-menu > a,
    .osan-mobile-parent {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        padding: 17px 25px;

        border: 0;
        border-bottom: 1px solid #eeeeee;

        background: #ffffff;

        color: #222222;
        font-size: 15px;
        font-weight: 600;
        text-align: left;
        text-decoration: none !important;
    }

    .osan-mobile-submenu {
        display: none;
        background: #f7f7f7;
    }

    .osan-mobile-submenu.open {
        display: block;
    }

    .osan-mobile-submenu a {
        display: block;
        padding: 14px 35px;

        color: #555555;
        font-size: 14px;
        text-decoration: none !important;

        border-bottom: 1px solid #eeeeee;
    }
}


/* ==============================
   작은 모바일
============================== */

@media (max-width: 600px) {

    .osan-header-inner {
        height: 72px;
        padding: 0 20px;
    }

    .osan-mobile-menu {
        top: 72px;
    }

    .osan-logo-main {
        font-size: 27px;
        letter-spacing: -1.5px;
    }

    .osan-logo-small {
        margin-bottom: 4px;
        font-size: 8px;
    }
}


/* ==============================
   PC - 모바일 메뉴 완전 숨김
============================== */

@media (min-width: 901px) {

    .osan-header .osan-mobile-button {
        display: none !important;
        visibility: hidden !important;
    }

    .osan-header .osan-mobile-menu {
        display: none !important;
    }
}


/* ==============================
   태블릿/모바일 - 햄버거 표시
============================== */

@media (max-width: 900px) {

    .osan-header .osan-mobile-button {
        display: block !important;
        visibility: visible !important;
    }
}

/* ========================================
   공통 전화문의 플로팅 버튼
======================================== */

html body .osan-floating-call {
    position: fixed !important;

    right: 30px !important;
    left: auto !important;
    bottom: 30px !important;
    top: auto !important;

    z-index: 999999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    width: auto !important;
    min-width: 135px !important;
    height: 58px !important;

    margin: 0 !important;
    padding: 0 22px !important;

    background: #e53935 !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 50px !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-decoration: none !important;

    box-shadow: 0 5px 20px rgba(0,0,0,0.25) !important;

    cursor: pointer;
}

html body .osan-floating-call:hover,
html body .osan-floating-call:focus {
    background: #c62828 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

html body .osan-floating-call-icon {
    display: inline-block !important;

    color: #ffffff !important;

    font-size: 21px !important;
    line-height: 1 !important;
}

html body .osan-floating-call-text {
    display: inline-block !important;

    color: #ffffff !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}


/* ========================================
   모바일
   전화 아이콘 + 전화문의 텍스트 표시
======================================== */

@media (max-width: 767px) {

    html body .osan-floating-call {
        right: 16px !important;
        left: auto !important;

        bottom: 16px !important;
        top: auto !important;

        width: auto !important;
        min-width: 125px !important;
        height: 52px !important;

        padding: 0 18px !important;

        border-radius: 50px !important;
    }

    html body .osan-floating-call-icon {
        display: inline-block !important;

        font-size: 19px !important;
    }

    html body .osan-floating-call-text {
        display: inline-block !important;

        font-size: 14px !important;
        font-weight: 700 !important;
    }
}


/* ========================================
   HEADER BUTTON 충돌 강제 초기화
======================================== */

/* PC 납품사례 버튼 */
html body .osan-header .osan-nav-parent {
    appearance: none !important;
    -webkit-appearance: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 120px !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 25px !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #222222 !important;

    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: normal !important;

    text-decoration: none !important;

    cursor: pointer !important;
}


/* 햄버거 버튼 */
html body .osan-header .osan-mobile-button {
    appearance: none !important;
    -webkit-appearance: none !important;

    width: 34px !important;
    min-width: 34px !important;
    height: 30px !important;
    min-height: 30px !important;

    margin: 0 !important;
    padding: 3px !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    cursor: pointer !important;
}


/* 햄버거 선 */
html body .osan-header .osan-mobile-button span {
    display: block !important;

    width: 100% !important;
    height: 2px !important;

    margin: 6px 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #222222 !important;

    pointer-events: none !important;
}


/* 모바일 납품사례 버튼 */
html body .osan-header .osan-mobile-parent {
    appearance: none !important;
    -webkit-appearance: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #ffffff !important;
    box-shadow: none !important;
}


/* PC */
@media (min-width: 901px) {

    html body .osan-header .osan-mobile-button {
        display: none !important;
        visibility: hidden !important;
    }

}


/* 모바일 */
@media (max-width: 900px) {

    html body .osan-header .osan-nav {
        display: none !important;
    }

    html body .osan-header .osan-mobile-button {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 10001 !important;
        pointer-events: auto !important;
    }

    html body .osan-header .osan-mobile-menu {
        z-index: 10000 !important;
    }

}