.line-link {
    position: fixed;
    right: 3rem;
    bottom: 9rem;
    z-index: 998;
    width: 4.5rem;
    height: 50px;
    border-radius: 3px;
    display: block;
    text-align: center;
    font-size: 3rem;
    background: #fff;
}

.fb-link {
    position: fixed;
    right: 3rem;
    bottom: 16rem;
    z-index: 998;
    width: 4.5rem;
    height: 50px;
    border-radius: 3px;
    display: block;
    text-align: center;
    font-size: 3rem;
}


.btn-sm-imp {
    padding: .10rem .10rem !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    font-size: 1.2rem !important;
    border-radius: .2rem !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
}
.out-of-stock {
    color: #aaa; /* 灰色文字 */
    border-color: #ccc; /* 灰色邊框 */
    background-color: #f8f8f8; /* 淺灰背景 */
    opacity: 0.6; /* 降低透明度 */
}


/* 手機版選單分隔線 */
@media (max-width: 992px) { /* 確保只作用於手機與平板 */
    .navbar-nav .nav-item {
        border-bottom: 1px solid #ccc; /* 加上分隔線 */
        padding: 10px 0; /* 增加上下間距 */
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none; /* 移除最後一個項目的分隔線 */
    }
}


@media only screen and (max-width: 475px) {
    body {
        position: relative;
    }

    /* Header處理 */
    nav.mean-nav {
        position: fixed;
        width: 90% !important;
    }

    .header-toolbar-2 {
        /* -webkit-box-direction: reverse; */
        /* -webkit-box-orient: vertical; */
        /* -webkit-flex-direction: column-reverse; */
        -moz-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: initial !important;
    }

    .meanmenu-reveal span:after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
    }

    .navbar-brand {
        padding-top: .3125rem;
        padding-bottom: .3125rem;
        margin-right: 1rem;
        font-size: 2.25rem !important;
        line-height: inherit;
        white-space: nowrap;
        display: flex;
    }

    .navbar-brand img {
        min-width: 100px;
        height: auto;
    }

    .navbar-brand span {
        display: flex;
        align-items: center;
    }

    .bg-dark {
        background-color: #242424 !important;
    }

    .mb_button {
        margin-right: 10px;
        width: 150px;
        padding: 0;
    }

    /*彈跳選單*/
    #navbarTogglerContent {
        width: 250px;
        height: 100%;
        position: absolute;
        background: #333333;
        top: 0;
        right: 0;
        z-index: 999;
        text-align: center;
        padding: 10px;
    }

    .btn.btn-outline-dark {
        background-color: rgba(255, 255, 255, 0) !important;
        color: #242424;
        width: 140px;
        height: 20px;
        text-align: center;
        border-radius: 25px;
    }

    #navbarTogglerContent .navbar-nav li {
        margin-top: 3px;
        margin-bottom: 3px;
        text-align: center;
    }

    #navbarTogglerContent .navbar-nav li a {
        color: #fff;
    } 
    .btn-close {
        position: absolute;
        color: #ffffff;
        border: #ffffff 1px solid;
        border-radius: 50%;
        top: 2px;
        right: 5px;
        width: 20px;
    }
    #navbarTogglerContent {
        position: fixed;
        top: 0; /* 固定在頁面頂端 */
        right: 0;
        z-index: 9999; /* 提高層級 */
        overflow-y: auto; /* 如果內容太長，允許滾動 */
    }
    
    /*輸入框內的圖示屬性設定*/
    .inputWithin {
        position: relative;
        display: inline-block;
        width: 100%;
    }

    .inputWithin .icon {
        /*右邊圖示*/
        position: absolute;
        right: 30px;
        top: calc(50% - 0.5em);
    }

    .underLineStyle {
        outline: none;
        border: 1px solid #000;
        padding-top: 2px;
        padding-bottom: 2px;
        font-size: 14px;
        border-radius: 10px;
    }

    /* 首頁超熱銷商品處理 */
    .mirora-product {
        padding: 1.5rem;
        margin: 0 !important;
        background: #242424;
        border-radius: 4px;
        position: relative;
        text-align: left;
        transition: all 0.4s ease-out 0s;
        word-wrap: break-word;
        z-index: 1;
    }

    /* 商品規格按鈕 */
    .btn-sm-imp {
        padding: .10rem .10rem !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        font-size: 1.2rem !important;
        border-radius: .2rem !important;
        margin-left: 5px !important;
        margin-right: 5px !important;
        min-width: 150px;
    }




}