﻿/* --- KHUNG CHÍNH MENU --- */
.menu-rs {
    position: fixed;
    z-index: 99999999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.menu-rs.show {
    opacity: 1;
    pointer-events: all;
}

.menu-rs .container {
    width: 75%; /* Tối ưu cho mobile */
    max-width: 320px;
    height: 100vh;
    background-color: #eab308; /* Màu vàng thương hiệu */
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.menu-rs.show .container {
    transform: translateX(0);
    position: relative;
}

/* --- HEADER TRONG MENU (Logo & Nút đóng) --- */
.menu-rs-top {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.menu-rs .btn-close i:last-child{
    display:none
}
.menu-rs .btn-close {
    position: absolute;
    right: 5px; /* Đẩy ra ngoài mép một chút */
    top: 15px;
    width: 32px;
    height: 32px;
    background-color: #eab308;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- BỘ CHỌN NGÔN NGỮ (LANGUAGE SELECTOR) --- */
.lang-selector-container {
    padding: 15px;
    width: 100%;
}
#langButtonRS div:first-child{
    display:flex;
    al;
    align-items: center;
    gap: 13px;
}
#langButtonRS {
    background: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 15px;
    height: 48px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#currentLangTextRS {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.bg-orange-100 {
    background-color: #fff7ed;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#ctl00_MenuRS_pnup{
    display:none
}
#langDropdownRS {
    background: #ffffff;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    z-index: 100;
}

#langSearchRS {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 8px;
    width: 100%;
    outline: none;
}

#langListContainerRS button {
    padding: 12px 15px;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    color: #64748b;
}

#langListContainerRS button:hover {
    background-color: #fff7ed;
    color: #eab308;
}

/* --- TÌM KIẾM --- */
.menu-rs-search {
    display: flex;
    width: 90%;
    margin: 10px auto;
    background: #fff;
    border-radius: 8px;
    height: 40px;
    overflow: hidden;
}

.menu-rs-search input {
    flex: 1;
    border: none;
    padding: 0 15px;
    outline: none;
}

/* --- DANH SÁCH MENU --- */
.menu-rs .list {
    width: 100%;
    padding: 10px 0;
}

.menu-rs .list-item {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-family: 'interSB', sans-serif;
    font-size: 15px;
}

.menu-rs .list li {
    list-style: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.menu-rs .list li.show {
    background-color: rgba(0,0,0,0.05);
}

.menu-rs .list li .drop {
    background-color: #fff;
    display: none;
}

.menu-rs .list li.show .drop {
    display: block;
}

.menu-rs .list li .drop a {
    display: block;
    padding: 12px 30px;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
}

/* --- FOOTER TRONG MENU --- */
.menu-rs-bot {
    width: 100%;
    /* margin-top: auto; */
    background-color: #e67854;
    padding: 15px;
    text-align: center;
    color: #fff;
    display: none;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

/* Tiện ích */
.hidden { display: none !important; }
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }