@charset "utf-8";
@media screen and (min-width: 670px) {
    .menu-m {
        display: none !important;
    }
}
.menu-m {
	font-family: 'Noto Sans Thai', sans-serif;
	font-size: 1rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #e9d3ed;
	color: #333;
	border: 0px;
	border-radius: 15px;
	transition: all 0.3s ease;
	font-weight: 700;
	outline: none;
	float: left;
	padding-top: 15px;
	padding-right: 18px;
	padding-bottom: 15px;
	padding-left: 18px;
	margin-top: 3%;
	margin-left: 5%;
}
.menu-m:hover {
	background-color: #B46BCB;
	color: #FFF;
}

/* ปุ่มเปิด */
.main-toggle-btn {

}

/* Overlay พื้นหลัง */
.menu-container-full {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #cea0de; /* สีม่วงอ่อนหลัก */
    z-index: 1000;
    transition: top 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

.menu-m.active .menu-container-full {
    top: 0;
}

/* หัวข้อข้างในเมนู */
.menu-header {
    background-color: #92278f; /* สีม่วงเข้ม */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
}

.menu-title {
	font-size: 1.5rem;
	font-weight: bold;
	font-family: "Noto Sans Thai";
	color: #FFF;
}

/* ปุ่มปิด (X) */
.exit-action-icon {
    font-size: 50px;
    cursor: pointer;
    line-height: 0.5;
}

/* รายการเมนู */
.nav-list-wrapper {
	list-style: none;
	padding: 0;
	margin: 0;
	overflow-y: auto;
	font-family: "Noto Sans Thai";
}

.nav-list-wrapper li {
    width: 100%;
}

/* สลับสีพื้นหลังเมนูย่อยให้ต่างกัน */
.nav-list-wrapper li:nth-child(odd) .nav-item-link {
    background-color: rgba(255, 255, 255, 0.2); /* สีขาวจางๆ */
}
.nav-list-wrapper li:nth-child(even) .nav-item-link {
    background-color: transparent;
}

/* ตัวอักษรชิดซ้าย */
.nav-item-link {
	display: block;
	text-decoration: none;
	color: #4a148c;
	font-size: 1.3rem;
	padding: 18px 40px; /* เว้นด้านซ้าย 40px ให้ดูไม่ติดขอบเกินไป */
	text-align: left;
	transition: all 0.2s;
	border-bottom: 1px solid rgba(146, 39, 143, 0.1);
	font-family: "Noto Sans Thai";
}

/* เมาส์วางแล้วเปลี่ยนสี */
.nav-item-link:hover {
    background-color: #e26cb4 !important;
    color: white;
    padding-left: 50px; /* ขยับตัวอักษรนิดหน่อยตอน hover ให้มีลูกเล่น */
}

/* สำหรับ Mobile */
@media (max-width: 600px) {
    .nav-item-link {
        font-size: 1.1rem;
        padding: 15px 25px;
    }
}
