 .box_pc_menu {}
        .box_pc_menu_bg {
            display: block;
        }
        .box_mobile_menu {
            display: none;
        }
        @media screen and (max-width: 600px) {

            .box_pc_menu {}
            .box_mobile_menu {
                display: block;

            }
            .box_pc_menu_bg {
                display: none;

            }
            .box_sale_detil {
                padding: 0px;
                margin-top: -45px;
            }
        }

        .navbar {
            width: 100%;
            /* box-shadow: 0 1px 4px rgb(146 161 176 / 15%); */
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 62px;
        }

        .navbar .menu-items {
            display: flex;
        }

        .navbar .nav-container li {
            list-style: none;
        }

        .navbar .nav-container a {
            text-decoration: none;
            color: #0e2431;
            font-weight: 500;
            font-size: 1.2rem;
            padding: 0.7rem;
        }

        .navbar .nav-container a:hover {
            font-weight: bolder;
        }

        .nav-container {
            display: block;
            position: relative;
            height: 60px;
        }

        .nav-container .checkbox {
            position: absolute;
            display: block;
            height: 32px;
            width: 32px;
            top: 20px;
            left: 20px;
            z-index: 5;
            opacity: 0;
            cursor: pointer;
        }

        .nav-container .hamburger-lines {
            display: block;
            width: 35px;
            position: absolute;
            left: 20px;
            z-index: 2;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .nav-container .hamburger-lines .line {
            display: block;
            height: 4px;
            width: 100%;
            border-radius: 10px;
            background: #0e2431;
        }

        .nav-container .hamburger-lines .line1 {
            transform-origin: 0% 0%;
            transition: transform 0.4s ease-in-out;
        }

        .nav-container .hamburger-lines .line2 {
            transition: transform 0.2s ease-in-out;
        }

        .nav-container .hamburger-lines .line3 {
            transform-origin: 0% 100%;
            transition: transform 0.4s ease-in-out;
        }

        .navbar .menu-items {
            padding-top: 120px;
            box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
            height: 100vh;
            width: 100%;
            transform: translate(-150%);
            display: flex;
            flex-direction: column;
            margin-left: -40px;
            padding-left: 50px;
            transition: transform 0.5s ease-in-out;
            text-align: center;
        }

        .navbar .menu-items li {
            margin-bottom: 1.2rem;
            font-size: 1.5rem;
            font-weight: 500;
        }

        .logo {
            position: absolute;
            top: 5px;
            right: 15px;
            font-size: 1.2rem;
            color: #0e2431;
        }

        .nav-container input[type="checkbox"]:checked~.menu-items {
            transform: translateX(0);
            background-color: #f2f2f2b8;
        }

        .nav-container input[type="checkbox"]:checked~.hamburger-lines .line1 {
            transform: rotate(45deg);
        }

        .nav-container input[type="checkbox"]:checked~.hamburger-lines .line2 {
            transform: scaleY(0);
        }

        .nav-container input[type="checkbox"]:checked~.hamburger-lines .line3 {
            transform: rotate(-45deg);
        }

        .nav-container input[type="checkbox"]:checked~.logo {
            display: none;
        }


        @media only screen and (max-width: 767px) {
            .main_header {
                padding: 0px 0;
            }
        }

        @media only screen and (max-width: 767px) {
            .header_middle {
                border-bottom: 0;
                margin-bottom: 0px;
            }
        }


        @media only screen and (max-width: 767px) {
            .main_header {
                padding: 0px 0;
                position: fixed;
                z-index: 100;
                width: 100%;
                background-color: #fff;

            }


            .box_pc_menu_bg {
                display: none;
            }
        }


        .header_transparent {
 
    top: 10px;

}

/* --- [ใหม่] สไตล์สำหรับ Mobile Header ที่ปรับปรุงแล้ว --- */

/* สไตล์หลักสำหรับไอคอนซ้ายและขวา */
.mobile-header-icon {
    font-size: 1.3rem;  /* ขนาดไอคอน */
    color: #333;       /* สีไอคอน */
    text-decoration: none;
    padding: 10px;      /* เพิ่มพื้นที่ให้กดง่ายขึ้น */
}

/* สไตล์สำหรับโลโก้ตรงกลาง */
.mobile-logo-style {
    max-height: 28px; /* ปรับความสูงของโลโก้ให้พอดี */
    width: auto;
}

/* ทำให้ไอคอนตะกร้าเป็นจุดอ้างอิงสำหรับตัวเลขแจ้งเตือน */
.mobile-cart-icon {
    position: relative;
}

/* ปรับปรุงสไตล์ตัวเลขแจ้งเตือนบนตะกร้าสินค้า */
.mobile-cart-icon .item_count {
    position: absolute;
    top: -2px;
    right: -5px;
    background-color: #FF3300; /* สีแดงสด */
    color: white;
    font-size: 0.75rem; /* ขนาดฟอนต์ */
    font-weight: bold;
    width: 20px;
    height: 20px;
    line-height: 20px; /* ทำให้ตัวเลขอยู่กลางแนวตั้ง */
    text-align: center; /* ทำให้ตัวเลขอยู่กลางแนวนอน */
    border-radius: 50%; /* ทำให้เป็นวงกลม */
    border: 1px solid white;
}

#set_product_name_top_bar {
    /* ทำให้ข้อความแสดงในบรรทัดเดียวเสมอ */
    white-space: nowrap;
    
    /* ซ่อนข้อความส่วนที่เกินขอบเขตของพื้นที่ */
    overflow: hidden;
    
    /* แสดงเครื่องหมาย ... ท้ายข้อความที่ถูกซ่อน */
    text-overflow: ellipsis;
    
    /*จำเป็นต้องกำหนด display เป็น block เพื่อให้ overflow ทำงานได้*/
    display: block; 
}