/* ============ CẤP CHA (Home, Sản phẩm, Bảng giá) ============ */
.fsg-main-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fsg-menu-depth-0 {
    position: relative;
}

.fsg-menu-link-depth-0 {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px !important;
    border-radius: 10px;
    /* border: 1px solid transparent; */
    color: #8655DC !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.15s ease;
}

/* Hover: nền + viền tím */
.fsg-menu-link-depth-0:hover,
.fsg-menu-item--has-children:hover > .fsg-menu-link-depth-0 {
    background: rgba(139, 92, 246, 0.15) !important;
    border-color: #8b5cf6 !important;
    color: #fff !important;
}

.fsg-menu-arrow {
    transition: transform 0.15s ease;
}
.fsg-menu-item--has-children:hover .fsg-menu-arrow {
    transform: rotate(180deg);
}

/* ============ DROPDOWN (submenu) ============ */
.fsg-submenu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #16081e;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    min-width: 240px;
    z-index: 50;

    /* Ẩn mặc định, chỉ hiện khi hover cha */
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.18s ease;
}

.fsg-menu-item--has-children:hover > .fsg-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fsg-menu-depth-1 { margin: 0; }

.fsg-menu-link-depth-1 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #e4dcf0;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
}
.fsg-menu-link-depth-1:hover {
    background: rgba(139, 92, 246, 0.12);
    color: #fff;
}

.fsg-menu-icon {
    color: #a78bfa;
    display: flex;
    flex-shrink: 0;
}

.fsg-menu-label { flex: 1; }

.fsg-menu-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    color: #fff;
    flex-shrink: 0;
}
.fsg-menu-badge--free { background: #10b981; }
.fsg-menu-badge--new  { background: #f59e0b; }