

        #menu-toggle { display: none; }

        /* --- ปุ่มเปิดแฮมเบอร์เกอร์ (หน้าหลัก) --- */
        .open-btn {
            display: inline-flex;
            flex-direction: column;
            gap: 4px;
            padding: 4px;
            background: #ffd600;
            border-radius: 8px;
            cursor: pointer;
            width: fit-content;
        }

        .bar {
            width: 25px;
            height: 3px;
            background: #333;
            border-radius: 2px;
        }

        /* --- Full Screen Menu Overlay --- */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 40%;
            height: 100%;
            background-color: #ffeb3b; /* พื้นหลังเมนูสีเหลือง */
            z-index: 10000;
            
            /* อนิเมชั่น */
            transform: translateX(-100%);
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            
            /* การจัดการ Layout */
            display: flex;
            flex-direction: column;
        }

        #menu-toggle:checked ~ .menu-overlay {
            transform: translateX(0);
            visibility: visible;
        }

        /* --- แท็บยาวด้านบน (Top Bar) --- */
        .menu-header {
            width: 30%;
            height: 70px; /* ความสูงของแท็บ */
            background-color: #fbc02d; /* สีเหลืองเข้มกว่าพื้นหลังเล็กน้อย */
            display: flex;
            align-items: center;
            padding: 0 20px;
            flex-shrink: 0; /* ป้องกันแท็บโดนบีบ */
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        /* ปุ่มกากบาทในแท็บ */
        .close-btn {
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .x-line {
            position: absolute;
            width: 25px;
            height: 3px;
            background: #333;
            border-radius: 2px;
        }
        .x-line.one { transform: rotate(45deg); }
        .x-line.two { transform: rotate(-45deg); }

        /* --- พื้นที่รายการเมนู (เลื่อนได้) --- */
        .menu-body {
            flex-grow: 1;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding: 10px 0;
			padding-bottom: 50px;
        }

        .menu-list {
            list-style: none;
        }

        .menu-list a {
	display: block;
	padding: 20px 25px;
	text-decoration: none;
	color: #2e7d32;
	font-size: 1rem;
	font-weight: bold;
	border-bottom: 1px solid rgba(0,0,0,0.05);
	transition: 0.2s;
	font-family: serithairegular;
        }

        /* --- หัวข้อหมวดหมู่ในเมนู --- */
        .menu-list-header {
            list-style: none;
            padding: 10px 25px 8px;
            margin-top: 6px;
            background-color: #fbc02d;
            color: #1b5e20;
            font-size: 0.82rem;
            font-weight: bold;
            font-family: serithairegular;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            border-left: 4px solid #1b5e20;
            pointer-events: none;
        }

        /* เมื่อกด/Hover เมนูจะเข้มขึ้น */
        .menu-list a:active, .menu-list a:hover {
            background-color: #fdd835;
            color: #1b5e20;
            padding-left: 35px;
        }
		@media screen and (max-width: 670px){
			   .menu-overlay { width: 100%;}
			   .menu-header {
            width: 60%;
			   }
		}
			@media screen and (min-width: 671px) and (max-width: 900px){
			   .menu-overlay { width: 100%;}
			   .menu-header {
            width: 60%;
			   }
		}