@charset "utf-8";
/* 官網新版頂部導航（對齊目標站 eamovers.wp.123nat.com 白底頂欄） */

.ea-main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    font-family: "Barlow Semi Condensed", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
}

.ea-main-header a {
    text-decoration: none;
    color: #090909;
}

.ea-main-header a:hover,
.ea-main-header a:visited,
.ea-main-header a:active {
    text-decoration: none !important;
}

.ea-header-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    padding: 6px 40px;
    box-sizing: border-box;
    background: none;
}

.ea-header-logo {
    flex: 0 0 auto;
    line-height: 0;
    padding-right: 12px;
}

.ea-header-logo a {
    display: inline-block;
}

.ea-header-logo img {
    max-height: 56px;
    width: auto;
    height: auto;
    max-width: 200px;
    margin: 0;
    padding: 0;
    border: 0;
}

.ea-header-nav-col {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 8px;
}

.ea-header-nav {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 5rem;
}

.ea-header-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ea-header-nav > ul > li {
    display: inline-block;
    position: relative;
    font-size: 16px;
    vertical-align: middle;
}

.ea-header-nav > ul > li > a {
    display: block;
    margin: 22px 12px;
    padding: 0 0 8px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #090909;
    white-space: nowrap;
    transition: color 0.2s;
}

.ea-header-nav > ul > li > a:hover,
.ea-header-nav > ul > li.ea-current > a {
    color: #FF1110;
}

.ea-header-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #FF1110;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s;
}

.ea-header-nav > ul > li.ea-current > a::after {
    transform: scaleX(1);
}

.ea-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-style: solid !important;
    border-width: 5px 4px 0 4px !important;
    border-color: currentColor transparent transparent transparent !important;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* 下拉選單 */
.ea-header-nav ul li .ea-sub-menu {
    position: absolute;
    top: 130%;
    left: 0;
    width: max-content;
    min-width: 205px;
    max-width: 320px;
    text-align: left;
    margin: 0;
    padding: 15px 5px 14px;
    z-index: 9999;
    list-style: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.09);
    background-color: #FF1110;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.ea-header-nav ul li .ea-sub-menu li {
    display: block;
    position: relative;
}

.ea-header-nav ul li .ea-sub-menu li a {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff !important;
    padding: 6px 17px;
    line-height: 1.4;
    white-space: nowrap;
    transition: 0.2s;
}

.ea-header-nav ul li .ea-sub-menu li a:hover {
    color: #ffffff;
    opacity: 0.85;
    margin-left: 5px;
}

.ea-header-nav > ul > li:hover > .ea-sub-menu {
    top: 100%;
    opacity: 1;
    visibility: visible;
}

/* 右側：語系、電話、WhatsApp、網上報價 */
.ea-header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 14px;
    margin-left: 12px;
}

.ea-main-header .ea-header-phone {
    color: #555555;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
}

.ea-main-header .ea-header-phone:hover {
    color: #FF1110;
}

.ea-header-wa,
.ea-header-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: 0.3s;
}

.ea-main-header .ea-header-wa {
    background: #ffffff;
    color: #25d366;
    border: 2px solid #25d366;
}

.ea-main-header .ea-header-wa:hover {
    background: #25d366;
    color: #ffffff;
}

.ea-wa-icon {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.ea-main-header .ea-header-quote {
    background: #FF1110;
    color: #ffffff;
    border: 2px solid #FF1110;
}

.ea-main-header .ea-header-quote:visited {
    color: #ffffff;
}

.ea-main-header .ea-header-quote:hover {
    background: #ffffff;
    color: #FF1110;
}

/* 新頂部改為文件流排列，取消舊固定頂欄預留空白 */
#header {
    padding-top: 0 !important;
    display: none !important;
}

#footer {
    display: none !important;
}

#page5_2,#hszx {
    min-height: 80vh !important;
}

.pagetop {
    display: none !important;
}

.res_numbox{
    border-radius: 5px;
}

.res_imgbox{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.res_titlebox{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


/* 舊紅底選單已移除，保留零高度錨點供報價「下一步」捲動定位 */
#menu {
    display: block !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: none !important;
    border: 0 !important;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 1440px) {
    .ea-header-inner {
        padding: 6px 20px;
    }

    .ea-header-nav > ul > li > a {
        margin: 18px 8px;
        font-size: 15px;
    }

    .ea-header-actions {
        gap: 8px;
        margin-left: 4px;
    }

    .ea-header-wa,
    .ea-header-quote {
        padding: 7px 12px;
        font-size: 13px;
    }

    .ea-header-phone {
        font-size: 13px;
    }
}

@media (max-width: 1199px) {
    .ea-header-nav > ul > li > a {
        margin: 16px 6px;
        font-size: 14px;
    }

    .ea-header-logo img {
        max-height: 48px;
        max-width: 160px;
    }
}

@media (min-width: 992px) and (max-width: 1100px) {
    .ea-header-phone {
        display: none;
    }
}

/* 英文版導航文字較長，縮小間距以免擠壓 */
.ea-header-en .ea-header-nav > ul > li > a {
    margin: 22px 8px;
    font-size: 15px;
}

@media (max-width: 1440px) {
    .ea-header-en .ea-header-nav > ul > li > a {
        margin: 16px 5px;
        font-size: 13px;
    }
}

@media screen and (max-width: 991px) {
    .ea-main-header {
        display: none;
    }

    /* 手機頂欄對齊目標站：白底、左 Logo 100px、右漢堡 */
    #navshuo.ea-mobile-header {
        display: block !important;
        width: 100%;
        height: auto !important;
        min-height: 55px;
        background-color: #ffffff;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
        font-family: "Barlow Semi Condensed", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
        position: static;
        z-index: auto;
        overflow: visible;
    }

    .ea-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 55px;
        padding: 10px 12px;
        box-sizing: border-box;
        background-color: #ffffff;
    }

    .ea-mobile-logo {
        display: block;
        line-height: 0;
    }

    .ea-mobile-logo img {
        width: 100px !important;
        height: auto !important;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .ea-mobile-toggle {
        width: 26px;
        height: 35px;
        padding: 4px 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        flex-shrink: 0;
    }

    .ea-mobile-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #090909;
        margin: 0;
        border-radius: 1px;
    }

    .ea-mobile-header #mobile_menu {
        display: none;
    }

    /* 側欄從右側滑出，對齊目標站 300px 白底面板 */
    .ea-mobile-header #mobile_menu.leftMenu {
        left: auto !important;
        right: 0 !important;
        width: 300px !important;
        max-width: 80%;
        min-width: 260px;
        padding: 80px 20px 0 !important;
        box-sizing: border-box;
        z-index: 9999;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        overflow: auto;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.07);
        transform: translateX(100%);
        transition: transform 0.5s;
    }

    .ea-mobile-header #mobile_menu .f1 {
        flex: 1 1 auto;
        min-height: 0;
    }

    .ea-mobile-header #mobile_menu.leftMenu.menu-open {
        left: auto !important;
        right: 0 !important;
        transform: translateX(0);
    }

    .ea-mobile-close {
        position: absolute;
        top: 50px;
        right: 30px;
        width: 26px;
        height: 26px;
        z-index: 3;
        cursor: pointer;
    }

    .ea-mobile-close:before,
    .ea-mobile-close:after {
        content: "";
        position: absolute;
        left: 3px;
        top: 12px;
        width: 20px;
        height: 2px;
        background-color: #FF1110;
    }

    .ea-mobile-close:before {
        transform: rotate(45deg);
    }

    .ea-mobile-close:after {
        transform: rotate(-45deg);
    }

    .ea-mobile-panel-logo {
        text-align: left;
        margin-bottom: 20px;
        line-height: 0;
    }

    .ea-mobile-panel-logo img {
        width: 125px !important;
        max-width: 100%;
        height: auto !important;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .ea-mobile-header #mobile_menu.leftMenu ul {
        overflow: visible;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .ea-mobile-header #mobile_menu.leftMenu ul li {
        display: list-item !important;
        padding: 0 !important;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.5;
        width: 100% !important;
        margin: 0 !important;
        border-bottom: 0 !important;
        overflow: visible;
        color: #444444;
        position: relative;
    }

    .ea-mobile-header #mobile_menu.leftMenu ul li a {
        display: block;
        color: #444444 !important;
        font-size: 14px;
        font-weight: 500;
        padding: 12px 5px;
        border-top: 1px solid #dddddd;
    }

    .ea-mobile-header #mobile_menu.leftMenu ul > li:first-child > a,
    .ea-mobile-header #mobile_menu.leftMenu .f1 > ul > li:first-child > a {
        border-top: 0;
    }

    .ea-mobile-header #mobile_menu.leftMenu ul li.hasChild > a:after {
        content: "+";
        right: 0;
        top: 0;
        width: 26px;
        height: 20px;
        padding: 12px;
        font-size: 18px;
        font-weight: 700;
        line-height: 20px;
        text-align: center;
        color: #FF1110;
        background-color: rgba(102, 102, 102, 0.09);
        box-sizing: content-box;
    }

    .ea-mobile-header #mobile_menu.leftMenu ul li.hasChild.open > a:after {
        content: "-";
        right: 0;
        top: 0;
        font-size: 18px;
        font-weight: 700;
        color: #FF1110;
    }

    .ea-mobile-header #mobile_menu.leftMenu .f2 {
        padding-left: 0;
    }

    .ea-mobile-header #mobile_menu.leftMenu .f2 ul li {
        font-size: 14px;
        padding: 0 !important;
    }

    .ea-mobile-header #mobile_menu.leftMenu .f2 ul li a {
        padding: 14px 10%;
        border-top: 1px solid #dddddd;
        opacity: 0.85;
    }

    .menu-dark-backdrop.in {
        top: 0;
        background: rgba(0, 0, 0, 0.8);
        z-index: 998;
    }
}
